Code

Updated inherit button filter, only display the button if gotoWorkstationTemplate...
[gosa.git] / plugins / admin / systems / servdb.tpl
index 424996d1e84ab67bcc8431fe9372c8b8f98d6a16..a2a4ec5d4a58a285860e35cc688d6a6afe39f62c 100644 (file)
@@ -1,11 +1,11 @@
-<table style="width:100%">
+<table summary="" style="width:100%">
  <tr>
  
   <td style="vertical-align:top; border-right:1px solid #A0A0A0; padding-right:5px;">
   
    <input type=checkbox name="goKrbServer" value="1" {$goKrbServer} {$goKrbServerACL} onclick="changeState('goKrbAdmin'); changeState('goKrbPassword'); changeState('goKrbRealm');"> <b>{t}Kerberos kadmin access{/t}</b>
   
-   <table>
+   <table summary="">
     <tr>
         <td>{t}Kerberos Realm{/t}</td>
         <td><input name="goKrbRealm" id="goKrbRealm" size=30 maxlength=60 {$goKrbRealmACL} value="{$goKrbRealm}" {$goKrbServerState}></td>
 
    <input type=checkbox name="goFaxServer" value="1" {$goFaxServer} {$goFaxServerACL} onclick="changeState('goFaxAdmin'); changeState('goFaxPassword');"> <b>{t}FAX database{/t}</b>
   
-   <table>
+   <table summary="">
     <tr>
         <td>{t}FAX DB user{/t}</td>
-        <td><input name="goFaxAdmin" size=30 maxlength=60 {$goFaxACL} id="goFaxAdmin" value="{$goFaxAdmin}" {$goFaxServerState}></td>
+        <td><input name="goFaxAdmin" size=30 maxlength=60 {$goFaxAdminACL} id="goFaxAdmin" value="{$goFaxAdmin}" {$goFaxServerState}></td>
        </tr>
     <tr>
         <td>{t}Password{/t}</td>
 
    <input type=checkbox name="goFonServer" value="1" {$goFonServer} {$goFonServerACL} onclick="changeState('goFonAdmin'); changeState('goFonPassword'); changeState('goFonCountryCode'); changeState('goFonAreaCode');"> <b>{t}Asterisk management{/t}</b>
   
-   <table>
+   <table summary="">
     <tr>
         <td>{t}Asterisk DB user{/t}</td>
-        <td><input name="goFonAdmin" size=30 maxlength=60 id="goFonAdmin" {$goFonACL} value="{$goFonAdmin}" {$goFonServerState}></td>
+        <td><input name="goFonAdmin" size=30 maxlength=60 id="goFonAdmin" {$goFonServerACL} value="{$goFonAdmin}" {$goFonServerState}></td>
        </tr>
     <tr>
         <td>{t}Password{/t}</td>
@@ -69,7 +69,7 @@
    <input type=checkbox name="goImapServer" value="1" {$goImapServer} {$goImapServerACL} onclick="changeState('goImapName'); changeState('goImapConnect');
    changeState('goImapAdmin'); changeState('goImapPassword'); changeState('goImapSievePort');"> <b>{t}IMAP admin access{/t}</b>
   
-   <table>
+   <table summary="">
     <tr>
         <td>{t}Server identifier{/t}</td>
         <td><input name="goImapName" id="goImapName" size=40 maxlength=60 {$goImapNameACL} value="{$goImapName}" {$goImapServerState}></td>
@@ -99,7 +99,7 @@ value="{$goImapSievePort}" {$goImapServerState}></td>
 
    <input type=checkbox name="goLogDBServer" value="1" {$goLogDBServer} {$goLogDBServerACL} onclick="changeState('goLogAdmin');changeState('goLogPassword');"> <b>{t}Logging database{/t}</b>
   
-   <table>
+   <table summary="">
     <tr>
         <td>{t}Logging DB user{/t}</td>
         <td><input name="goLogAdmin" id="goLogAdmin" size=30 maxlength=60 {$goLogAdminACL}
@@ -112,7 +112,33 @@ value="{$goLogPassword}" {$goLogDBServerState}></td>
        </tr>
    </table>
   
+   <p class="seperator">&nbsp;</p>
+   <br>
+
+
+   <input type=checkbox name="goGlpiServer" value="1" {$goGlpiServer} {$goGlpiServerACL} onclick="changeState('goGlpiAdmin');changeState('goGlpiPassword');changeState('goGlpiDatabase');"> <b>{t}Glpi database{/t}</b>
+  
+   <table summary="">
+    <tr>
+        <td>{t}Logging DB user{/t}</td>
+        <td><input name="goGlpiAdmin" id="goGlpiAdmin" size=30 maxlength=60 {$goGlpiAdminACL}
+value="{$goGlpiAdmin}" {$goGlpiServerState}></td>
+       </tr>
+    <tr>
+        <td>{t}Password{/t}</td>
+        <td><input type="password" name="goGlpiPassword" id="goGlpiPassword" size=30 maxlength=60 {$goGlpiPasswordACL}
+value="{$goGlpiPassword}" {$goGlpiServerState}></td>
+       </tr>
+    <tr>
+        <td>{t}Database{/t}</td>
+        <td><input name="goGlpiDatabase" id="goGlpiDatabase" size=30 maxlength=60 {$goGlpiDatabaseACL}
+value="{$goGlpiDatabase}" {$goGlpiServerState}></td>
+       </tr>
+   </table>
+  
   </td>
   
  </tr>
 </table>
+
+<input type="hidden" name="dbtab">