Code

Added magic_quotes fix for Profile
[gosa.git] / plugins / admin / systems / printer.tpl
index 6893d3c776a5326db597eb2911068fe0bec41240..0664fa8dc38641cd9ad8fce7a14b664c39eab138 100644 (file)
@@ -3,10 +3,16 @@
        <tr>
                <td style="vertical-align:top; width:50%;">
 {if $is_terminal ne 'true'}
+                       <h2>{t}General{/t}</h2>
                        <table summary="">
+                        <tr>
+                         <td colspan=2>
+                          {$desc}
+                         </td>
+                        </tr>
                         <tr>
                          <td><LABEL for="cn" >{t}Printer name{/t}</LABEL>{$must}</td>
-                         <td><input name="cn" id="cn" size=20 maxlength=60 value="{$cn}"></td>
+                         <td><input name="cn" id="cn" size=20 maxlength=60 value="{$cn}" {$cnACL}></td>
                         </tr>
                         <tr>
                          <td><LABEL for="description">{t}Description{/t}</LABEL></td>
@@ -14,7 +20,7 @@
                         </tr>
                        </table>
                </td>
-               <td>
+               <td valign="top">
                        <table summary="">
                         <tr>
                                  <td colspan=2>&nbsp;</td>
@@ -37,6 +43,7 @@
        <tr>
                <td colspan="2">
 {/if}
+                       <h2>{t}Details{/t}</h2>
                        <table summary="">
                                <tr>
                                        <td><LABEL for="l">{t}Location{/t}</LABEL></td>
                                        <td><LABEL for="labeledURI">{t}Printer URL{/t}</LABEL></td>
                                        <td><input id="labeledURI" name="labeledURI" size=25 maxlength=80 value="{$labeledURI}"></td>
                                </tr>
+                       </table>
+                       <table summary="">
                                <tr>    
-                                       <td>{t}Driver{/t}:<br>{$driverInfo}<input type="submit" name="EditDriver" value="{t}Edit{/t}"></td>
-                                       
+                                       <td>
+                                               <br>
+                                               {t}PPD{/t} : {$driverInfo}<br><input type="submit" name="EditDriver" value="{t}Edit{/t}">
+                                       </td>
                                </tr>
                        </table>
   </td>
@@ -57,7 +68,7 @@
 
 <p class="plugbottom" style="margin-bottom:0px; padding:0px;">&nbsp;</p>
 
-{t}Permissions{/t}
+<h2>{t}Permissions{/t}</h2>
 <table summary="" width="100%">
        <tr>
                <td>
                                <tr>
                                        <td>
                                                {t}Following objects are assigned as user.{/t}<br>
-                                               <select size="1" name="UserMember" title="{t}Users{/t}" style="width:350px;height:200px;" size=10 multiple>
+                                               <select size="1" name="UserMember" title="{t}Users{/t}" style="width:350px;height:120px;"  multiple>
                                                {html_options options=$UserMembers values=$UserMemberKeys}
                                                </select><br>
-                                                       <input type="submit" value="Add user"  name="AddUser">
-                                                       <input type="submit" value="Add group" name="AddGroup">
-                                                       <input type="submit" value="Delete" name="DelUser">
+                                                       <input type="submit" value="{t}Add user{/t}"  name="AddUser">
+                                                       <input type="submit" value="{t}Add group{/t}" name="AddGroup">
+                                                       <input type="submit" value="{t}Delete{/t}" name="DelUser">
                                        </td>
                                </tr>
                        </table>        
                                <tr>
                                        <td>
                                                {t}Following objects are assigned as admin.{/t}<br>
-                                               <select size="1" name="AdminMember" title="{t}Admins{/t}" style="width:350px;height:200px;" size=10 multiple>
+                                               <select size="1" name="AdminMember" title="{t}Admins{/t}" style="width:350px;height:120px;"  multiple>
                                                {html_options options=$AdminMembers values=$AdminMemberKeys}
                                                </select><br>
-                                                       <input type="submit" value="Add admin user"  name="AddAdminUser">
-                                                       <input type="submit" value="Add admin group" name="AddAdminGroup">
-                                                       <input type="submit" value="Delete" name="DelAdmin">
+                                                       <input type="submit" value="{t}Add admin user{/t}"  name="AddAdminUser">
+                                                       <input type="submit" value="{t}Add admin group{/t}" name="AddAdminGroup">
+                                                       <input type="submit" value="{t}Delete{/t}" name="DelAdmin">
                
                                        </td>
                                </tr>