1 31 32 package org.opencms.workplace.administration; 33 34 import org.opencms.workplace.CmsWorkplace; 35 36 45 public class CmsAdminContextHelpMenuItem extends CmsAdminMenuItem { 46 47 50 public CmsAdminContextHelpMenuItem() { 51 52 super("conhelp", "Context Help", "", "", "", true, null); 53 } 54 55 58 public String itemHtml(CmsWorkplace wp) { 59 60 StringBuffer html = new StringBuffer (512); 61 html.append("<table border='0' cellspacing='0' cellpadding='0' width='100%' id='conhelp' class='node'>\n"); 62 html.append("\t<tr>\n"); 63 html.append("\t\t<td width='100%'><div id='contexthelp'><div>\n"); 64 html.append("\t\t\t<span id='contexthelp_text' class='hint'></span>\n"); 65 html.append("\t\t</div></div></td>\n"); 66 html.append("\t</tr>\n"); 67 html.append("</table>\n"); 68 return html.toString(); 69 } 70 71 } | Popular Tags |