Code

Updated templates
[gosa.git] / gosa-plugins / goto / personal / environment / environment.tpl
index b2907d08aebb26eb1c3b73bf187ec2d45e250266..1259001a87163e5df92143d518a1a79fad5f9eec 100644 (file)
@@ -1,17 +1,19 @@
 {if $is_account ne 'true'}
- <img alt="" class="center" src="images/small-error.png" align="middle">
+ {image path="images/small-error.png"}
+
  {t}The environment extension is currently disabled.{/t}
 {else}
 
 
 <input type="hidden" name="iamposted" value="1">
 
-<h2> 
- <img class="center" alt="" src="plugins/goto/images/fai_settings.png" align="middle" /> 
+<h3> 
+ {image path="plugins/goto/images/fai_settings.png"} 
+
  {t}Profiles{/t}
-</h2>
+</h3>
 
-<table summary="{t}Environment managment settings{/t}" width="100%">
+<table {t}Environment managment settings{/t}" width="100%">
  <tr>
   <td style="width:50%;border-right:1px solid #B0B0B0;vertical-align:top;">
 
@@ -44,7 +46,7 @@
 {else}
 
 
-   <table summary="{t}Profile managment{/t}">
+   <table {t}Profile managment{/t}">
     <tr>
      <td style="vertical-align:top">
 {render acl=$gotoProfileACL}
@@ -59,7 +61,7 @@
      <td>&nbsp;
      </td>
      <td>
-      <table summary="{t}Profile server managment{/t}">
+      <table {t}Profile server managment{/t}">
        <tr>
         <td> 
          <label for="gotoProfileServer">{t}Profil path{/t}</label>
   <td style="vertical-align:top">
 
 
-  <table summary="{t}Kiosk profile settings{/t}">
+  <table {t}Kiosk profile settings{/t}">
 {if $kiosk_enabled}
     <tr>
      <td colwidth=2>
 
 <p class="seperator">&nbsp;</p>
 
-<table summary="{t}Environment managment settings{/t}" width="100%">
+<table {t}Environment managment settings{/t}" width="100%">
  <tr>
   <td style="width:50%;border-right:1px solid #B0B0B0">
-   <h2>
-    <img class="center" alt="" src="plugins/goto/images/edit_share.png" align="middle" />&nbsp;
+   <h3>
+    {image path="plugins/goto/images/edit_share.png"}&nbsp;
+
     <label for="gotoShare">{t}Shares{/t}</label>
-   </h2>
-   <table summary="" style="width:100%">
+   </h3>
+   <table style="width:100%">
     <tr>
      <td>
        
       title="{t}Mount path{/t}">
 {/render}
 {render acl=$gotoShareACL}
-      <input type="submit" name="gotoShareAdd" value="{msgPool type=addButton}"> 
+      <button type='submit' name='gotoShareAdd'>{msgPool type=addButton}</button> 
+
 {/render}
       <!--   <input type="submit" name="gotoShareDel" value="{t}Remove{/t}"> -->
      </td>
    </table>
   </td>
   <td style="vertical-align:top">
-   <h2>
-    <img class="center" alt="" src="plugins/goto/images/logon_script.png" align="middle" />&nbsp;
+   <h3>
+    {image path="plugins/goto/images/logon_script.png"}&nbsp;
+
     <label for="gotoLogonScript">{t}Logon scripts{/t}</label>
-   </h2>
-   <table summary="{t}Logon script management{/t}" style="width:100%">
+   </h3>
+   <table {t}Logon script management{/t}" style="width:100%">
     <tr>
      <td>
 {render acl=$gotoLogonScriptACL}
 
       <br>
 {render acl=$gotoLogonScriptACL}
-      <input type="submit" name="gotoLogonScriptNew" value="{msgPool type=addButton}">
+      <button type='submit' name='gotoLogonScriptNew'>{msgPool type=addButton}</button>
+
 {/render}
 {render acl=$gotoLogonScriptACL}
-      <input type="submit" name="gotoLogonScriptEdit"  value="{t}Edit{/t}" {if $gotoLogonScriptKeysCnt ==0} disabled {/if}>
+      <button type='submit' name='gotoLogonScriptEdit' {if $gotoLogonScriptKeysCnt ==0} disabled {/if}
+>{t}Edit{/t}</button>
+
 {/render}
 {render acl=$gotoLogonScriptACL}
-      <input type="submit" name="gotoLogonScriptDel"  value="{msgPool type=delButton}" {if $gotoLogonScriptKeysCnt ==0} disabled {/if}>
+      <button type='submit' name='gotoLogonScriptDel' {if $gotoLogonScriptKeysCnt ==0} disabled {/if}
+>{msgPool type=delButton}</button>
+
 {/render}
      </td>
     </tr>
 
 <p class="seperator">&nbsp;</p>
 
-<table summary="{t}Environment managment settings{/t}" width="100%">
+<table {t}Environment managment settings{/t}" width="100%">
  <tr>
   <td style="border-right:1px solid #B0B0B0; width:50%; vertical-align:top">
-   <h2>
-    <img alt="" src="plugins/goto/images/hotplug.png" align="middle" class="center" />&nbsp;
+   <h3>
+    {image path="plugins/goto/images/hotplug.png"}&nbsp;
+
     <label for="gotoHotplugDevice_post">{t}Hotplug devices{/t}</label>
-   </h2
-   <table style="width:100%" summary="{t}Hotplug device settings{/t}">
+   </h3
+   <table style="width:100%" {t}Hotplug device settings{/t}">
     <tr>
      <td>
 {render acl=$gotoHotplugDeviceACL}
     <tr>
      <td>
 {render acl=$gotoHotplugDeviceACL}
-      <input type="submit" name="gotoHotplugDeviceUse" value="{msgPool type=addButton}">
+      <button type='submit' name='gotoHotplugDeviceUse'>{msgPool type=addButton}</button>
+
 {/render}
 {render acl=$gotoHotplugDeviceACL}
-      <input type="submit" name="gotoHotplugDeviceDel" value="{msgPool type=delButton}"
-      {if !$gotoHotplugDevices} disabled {/if}>
+      <button type='submit' name='gotoHotplugDeviceDel' {if !$gotoHotplugDevices} disabled {/if}>{msgPool type=delButton}</button>
 {/render}
      </td>
     </tr>
 
 {if $multiple_support}
 
-   <h2>
+   <h3>
        <input type="checkbox" name="use_gotoPrinter" value="1" {if $use_gotoPrinter} checked {/if}
                class="center" onClick="$('div_gotoPrinter').toggle();">
-    <img alt="" src="plugins/systems/images/select_printer.png" align="middle" class="center" />&nbsp;
+    {image path="plugins/systems/images/select_printer.png"}&nbsp;
+
     <label for="gotoPrinter">{t}Printer{/t}</label>
-   </h2>
+   </h3>
 
    <div id="div_gotoPrinter" {if !$use_gotoPrinter} style="display: none;" {/if}>
        <b>{t}Using this option will overwrite the complete printer settings for all currently edited objects!{/t}</b>
-   <table style="width:100%" summary="{t}Printer settings{/t}">
+   <table style="width:100%" {t}Printer settings{/t}">
     <tr>
      <td>
 {render acl=$gotoPrinterACL}
 {/render}
       <br>
 {render acl=$gotoPrinterACL}
-      <input type="submit"  name="gotoPrinterAdd"     value="{msgPool type=addButton}">
+      <button type='submit' name='gotoPrinterAdd'>{msgPool type=addButton}</button>
+
 {/render}
 {render acl=$gotoPrinterACL}
-      <input type="submit" name="gotoPrinterDel"     value="{msgPool type=delButton}" {if !$gotoPrinter} disabled {/if}>
+      <button type='submit' name='gotoPrinterDel' {if !$gotoPrinter} disabled {/if}
+>{msgPool type=delButton}</button>
+
 {/render}
 {render acl=$gotoPrinterACL}
-      <input type="submit" name="gotoPrinterEdit"    value="{t}Toggle admin{/t}" {if !$gotoPrinter} disabled {/if}>
+      <button type='submit' name='gotoPrinterEdit' {if !$gotoPrinter} disabled {/if}
+>{t}Toggle admin{/t}</button>
+
 {/render}
 {render acl=$gosaDefaultPrinterACL}
-      <input type="submit" name="gotoPrinterDefault"    value="{t}Toggle default{/t}" {if !$gotoPrinter||$is_group} disabled {/if}>
+      <button type='submit' name='gotoPrinterDefault' {if !$gotoPrinter||$is_group} disabled {/if}
+>{t}Toggle default{/t}</button>
+
 {/render}
      </td>
     </tr>
 
 {else}
 
-   <h2>
-    <img alt="" src="plugins/systems/images/select_printer.png" align="middle" class="center" />&nbsp;
+   <h3>
+    {image path="plugins/systems/images/select_printer.png"}&nbsp;
+
     <label for="gotoPrinter">{t}Printer{/t}</label>
-   </h2>
-   <table style="width:100%" summary="{t}Printer settings{/t}">
+   </h3>
+   <table style="width:100%" {t}Printer settings{/t}">
     <tr>
      <td>
 {render acl=$gotoPrinterACL}
 {/render}
       <br>
 {render acl=$gotoPrinterACL}
-      <input type="submit"  name="gotoPrinterAdd"     value="{msgPool type=addButton}">
+      <button type='submit' name='gotoPrinterAdd'>{msgPool type=addButton}</button>
+
 {/render}
 {render acl=$gotoPrinterACL}
-      <input type="submit" name="gotoPrinterDel"     value="{msgPool type=delButton}" {if !$gotoPrinter} disabled {/if}>
+      <button type='submit' name='gotoPrinterDel' {if !$gotoPrinter} disabled {/if}
+>{msgPool type=delButton}</button>
+
 {/render}
 {render acl=$gotoPrinterACL}
-      <input type="submit" name="gotoPrinterEdit"    value="{t}Toggle admin{/t}" {if !$gotoPrinter} disabled {/if}>
+      <button type='submit' name='gotoPrinterEdit' {if !$gotoPrinter} disabled {/if}
+>{t}Toggle admin{/t}</button>
+
 {/render}
 {render acl=$gosaDefaultPrinterACL}
-      <input type="submit" name="gotoPrinterDefault"    value="{t}Toggle default{/t}" {if !$gotoPrinter||$is_group} disabled {/if}>
+      <button type='submit' name='gotoPrinterDefault' {if !$gotoPrinter||$is_group} disabled {/if}
+>{t}Toggle default{/t}</button>
+
 {/render}
      </td>
     </tr>