Code

updated templates
[gosa.git] / gosa-plugins / goto / admin / systems / goto / printer.tpl
index f8622bc58fb63991ca6c29bf69b604a2b5f186ba..32171b8c7c3b0795330ee9d34741fc5ad61b6b82 100644 (file)
@@ -1,14 +1,15 @@
 <table summary="" width="100%">
  <tr>
-  <td style="vertical-align:top; width:50%; border-right:1px solid #B0B0B0">
-{if $StandAlone }
-   <h2>{t}General{/t}</h2>
+  <td style='width:50%; ' class='right-border'>
+
+{if $StandAlone}
+   <h3>{t}General{/t}</h3>
    <table summary="">
     <tr>
      <td><LABEL for="cn" >{t}Printer name{/t}</LABEL>{$must}</td>
      <td>
 {render acl=$cnACL}
-      <input name="cn" id="cn" size=20 maxlength=60 value="{$cn}">
+      <input type='text' name="cn" id="cn" size=20 maxlength=60 value="{$cn}">
 {/render}
      </td>
     </tr>
@@ -16,7 +17,7 @@
      <td><LABEL for="description">{t}Description{/t}</LABEL></td>
      <td>
 {render acl=$descriptionACL}
-      <input id="description" name="description" size=25 maxlength=80 value="{$description}">
+      <input type='text' id="description" name="description" size=25 maxlength=80 value="{$description}">
 {/render}
      </td>
     </tr>
      <td><LABEL for="base">{t}Base{/t}</LABEL>{$must}</td>
      <td>
 {render acl=$baseACL}
-      <select id="base" size="1" name="base" title="{t}Choose subtree to place user in{/t}">
-       {html_options options=$bases selected=$base_select}
-      </select>
-{/render}
-{render acl=$baseACL disable_picture='images/lists/folder_grey.png'}
-      <input type="image" name="chooseBase" src="images/lists/folder.png" class="center" title="{t}Select a base{/t}">
+       {$base}
 {/render}
      </td>
     </tr>
   </td>
   <td>
 {/if}
-   <h2>{t}Details{/t}</h2>
+   <h3>{t}Details{/t}</h3>
    <table summary="">
+{if !$StandAlone}
+      <tr> 
+        <td><LABEL for="description">{t}Description{/t}</LABEL></td> 
+        <td> 
+       {render acl=$descriptionACL} 
+          <input type='text' id="description" name="description" size=25 maxlength=80 value="{$description}"> 
+       {/render} 
+        </td> 
+      </tr> 
+{/if} 
      <tr>
        <td><LABEL for="l">{t}Printer location{/t}</LABEL></td>
        <td>
 {render acl=$lACL}
-        <input id="l" name="l" size=30 maxlength=80 value="{$l}">
+        <input type='text' id="l" name="l" size=30 maxlength=80 value="{$l}">
 {/render}
        </td>
      </tr>
@@ -54,7 +60,7 @@
        <td><LABEL for="labeledURI">{t}Printer URL{/t}</LABEL>{$must}</td>
        <td>
 {render acl=$labeledURIACL}
-        <input id="labeledURI" name="labeledURI" size=30 maxlength=80 value="{$labeledURI}">
+        <input type='text' id="labeledURI" name="labeledURI" size=30 maxlength=80 value="{$labeledURI}">
 {/render}
        </td>
      </tr>
       <br>
       {t}Driver{/t}: <i>{$driverInfo}</i>&nbsp;
 {render acl=$gotoPrinterPPDACL mode=read_active}
-       <input type="submit" name="EditDriver" value="{t}Edit{/t}">
+       <button type='submit' name='EditDriver'>{t}Edit{/t}</button>
+
 {/render}
 {render acl=$gotoPrinterPPDACL}
-       <input type="submit" name="RemoveDriver" value="{t}Remove{/t}">
+       <button type='submit' name='RemoveDriver'>{t}Remove{/t}</button>
+
 {/render}
      </td>
     </tr>
  </tr>
 </table>
 
-<p class="plugbottom" style="margin-bottom:0px; padding:0px;">&nbsp;</p>
+<hr>
 
-<h2><img class="center" alt="" align="middle" src="images/lists/locked.png"> {t}Permissions{/t}</h2>
+<h3>{t}Permissions{/t}</h3>
 <table summary="" width="100%">
  <tr>
-  <td style="border-right:1px solid #B0B0B0; width:50%">
+  <td style='width:50%' class='right-border'>
+
    <table style="width:100%" summary=''>
     <tr>
      <td>
       </select><br>
 {/render}
 {render acl=$gotoUserPrinterACL}
-      <input type="submit" value="{t}Add user{/t}"  name="AddUser">
-{/render}
-{render acl=$gotoUserPrinterACL}
-      <input type="submit" value="{t}Add group{/t}" name="AddGroup">
+      <button type='submit' name='AddUser'>{msgPool type=addButton}</button>
+
 {/render}
 {render acl=$gotoUserPrinterACL}
-      <input type="submit" value="{msgPool type=delButton}" name="DelUser">
+      <button type='submit' name='DelUser'>{msgPool type=delButton}</button>
+
 {/render}
      </td>
     </tr>
                    </select><br>
 {/render}
 {render acl=$gotoUserPrinterACL}
-       <input type="submit" value="{t}Add user{/t}"  name="AddAdminUser">
-{/render}
-{render acl=$gotoUserPrinterACL}
-       <input type="submit" value="{t}Add group{/t}" name="AddAdminGroup">
+       <button type='submit' name='AddAdminUser'>{msgPool type=addButton}</button>
+
 {/render}
 {render acl=$gotoUserPrinterACL}
-       <input type="submit" value="{msgPool type=delButton}" name="DelAdmin">
+       <button type='submit' name='DelAdmin'>{msgPool type=delButton}</button>
+
 {/render}
   
      </td>
 
 
 {if $netconfig ne ''}
-<p class="plugbottom" style="margin-bottom:0px; padding:0px;">&nbsp;</p>
+<hr>
 {$netconfig}
 {/if}