Changeset 2121


Ignore:
Timestamp:
Mar 29, 2006, 8:37:57 AM (18 years ago)
Author:
Nicklas Nordborg
Message:

Added gui for administrering help texts

Location:
trunk/www/admin/clients
Files:
5 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/www/admin/clients/view_client.jsp

    r2004 r2121  
    106106      Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 740, 540);
    107107    }
     108    function viewHelp()
     109    {
     110      location.href = 'help/index.jsp?ID=<%=ID%>&cmd=List&client_id=<%=itemId%>';
     111    }
     112    function switchTab(tabControlId, tabId)
     113    {
     114      if (tabId == 'help')
     115      {
     116        viewHelp();
     117      }
     118      else
     119      {
     120        TabControl.setActiveTab(tabControlId, tabId);
     121      }
     122    }
    108123    </script>
    109124  </base:head>
     
    115130    </p:path>
    116131   
    117     <t:tabcontrol id="main" active="properties">
     132    <t:tabcontrol id="main" active="properties" switch="switchTab">
    118133    <t:tab id="properties" title="Properties">
    119134   
     
    207222    </div>
    208223      </t:tab>
     224     
     225      <t:tab id="help" title="Help" tooltip="View and manage help texts for this client application" />
    209226      </t:tabcontrol>
    210227
Note: See TracChangeset for help on using the changeset viewer.