Code

Updated templates
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 2 Mar 2010 12:21:53 +0000 (12:21 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 2 Mar 2010 12:21:53 +0000 (12:21 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15844 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/samba/personal/samba/samba3.tpl
gosa-plugins/samba/personal/samba/samba3_workstations.tpl
gosa-plugins/samba/personal/samba/sambaLogonHours.tpl

index f78c1348b2961cab0b9b93c239128107584223c5..61c1b47af8b3331d5b34711ec0daac360b416739 100644 (file)
@@ -3,7 +3,8 @@
  <!-- Headline container -->
  <tr>
   <td colspan="2" style="width:50%; vertical-align:top;">
-   <h2><img class="center" alt="" align="middle" src="images/rightarrow.png"/>&nbsp;{t}Generic{/t}</h2>
+   <h2>{image path="images/rightarrow.png"}&nbsp;{t}Generic{/t}
+</h2>
   </td>
  </tr>
  <tr>
@@ -32,7 +33,8 @@
       </select>
 {/render}
 {render acl=$sambaDomainNameACL  checkbox=$multiple_support checked=$use_sambaDomainName}
-     <input type='submit' name='display_information' value='{t}Show information{/t}'>
+     <button type='submit' name='display_information'>{t}Show information{/t}</button>
+
 {/render}
      </td>
     </tr>
@@ -66,7 +68,8 @@
 
 <p class="seperator">&nbsp;</p>
 
-<h2><img class="center" alt="" align="middle" src="plugins/samba/images/terminal_server.png" />&nbsp;{t}Terminal Server{/t}</h2>
+<h2>{image path="plugins/samba/images/terminal_server.png"}&nbsp;{t}Terminal Server{/t}
+</h2>
 
 <table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding=0 border=0>
  <tr>
 
 <p class="seperator">&nbsp;</p>
 
-<h2><img class="center" alt="" align="middle" src="images/lists/key.png" />&nbsp;{t}Access options{/t}</h2>
+<h2>{image path="images/lists/key.png"}&nbsp;{t}Access options{/t}
+</h2>
 
 <table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding=4 border=0>
  <tr>
     <tr>
      <td colspan=2>
       {render acl=$sambaLogonHoursACL mode=read_active  checkbox=$multiple_support checked=$use_SetSambaLogonHours}
-       {t}Samba logon times{/t}&nbsp;<input type='submit' name='SetSambaLogonHours' value='{t}Edit settings...{/t}'>
+       {t}Samba logon times{/t}&nbsp;<button type='submit' name='SetSambaLogonHours'>{t}Edit settings...{/t}</button>
+
       {/render}
      </td>
     </tr>
        {/foreach}
    </select>
    <br>
-   <input type="submit" value="{msgPool type=addButton}" name="add_ws">
-   <input type="submit" value="{msgPool type=delButton}" name="delete_ws">
+   <button type='submit' name='add_ws'>{msgPool type=addButton}</button>
+
+   <button type='submit' name='delete_ws'>{msgPool type=delButton}</button>
+
 {else}
        {render acl=$sambaUserWorkstationsACL}
           <select id="workstation_list" style="width:100%;" name="workstation_list[]" size=10 multiple>
        {/render}
           <br>
        {render acl=$sambaUserWorkstationsACL}
-          <input type="submit" value="{msgPool type=addButton}" name="add_ws">
+          <button type='submit' name='add_ws'>{msgPool type=addButton}</button>
+
        {/render}
        {render acl=$sambaUserWorkstationsACL}
-          <input type="submit" value="{msgPool type=delButton}" name="delete_ws">
+          <button type='submit' name='delete_ws'>{msgPool type=delButton}</button>
+
        {/render}
 {/if}
   </td>
index c44f17c3a65e9579326fb4a607e58379ace969e9..8e13fd8df5dab1de743e16433bb9dec19ea1f2a5 100644 (file)
   </td>
   <td style="vertical-align:top;width:350px">
    <div class="contentboxh" style="height:20px;">
-    <p class="contentboxh" style="font-size:12px"><img src="{$launchimage}" align="right" alt="[F]">
+    <p class="contentboxh" style="font-size:12px">{image path="{$launchimage}" align="right"}
+
        <b>{t}Filters{/t}</b></p>
    </div>
    <div class="contentboxb">
      <table summary="" style="width:100%;border-top:1px solid #B0B0B0;background-color:#F8F8F8">
       {$alphabet}
      </table>
-    <table summary="" width="100%" style="border-top:1px solid #B0B0B0;background-color:#F8F8F8"><tr><td><img class="center" alt="{t}Display workstations of department{/t}" src="{$tree_image}" align="middle">&nbsp;
+    <table summary="" width="100%" style="border-top:1px solid #B0B0B0;background-color:#F8F8F8"><tr><td>{image path="{$tree_image}"}&nbsp;
+
     <select name="depselect" size=1 onChange="mainform.submit()" title="{t}Choose the department the search will be based on{/t}">
       {html_options options=$deplist selected=$depselect}
     </select></td></tr></table>
-    <table summary="" width="100%" style="border-top:1px solid #B0B0B0;background-color:#F8F8F8"><tr><td width="18"><img class="center" alt="" src="{$search_image}" align="middle">&nbsp;</td>
+    <table summary="" width="100%" style="border-top:1px solid #B0B0B0;background-color:#F8F8F8"><tr><td width="18">{image path="{$search_image}"}&nbsp;
+</td>
     <td><input type='text' name='regex' maxlength='20' style="width:99%" value='{$regex}' title='{t}Regular expression for matching addresses{/t}' onChange="mainform.submit()"></td></tr></table>
    {$apply}
    </div>
@@ -36,7 +39,9 @@
 </table>
 
 <p class="plugbottom">
-  <input type=submit name="add_ws_finish" value="{msgPool type=addButton}">
+  <button type='submit' name='add_ws_finish'>{msgPool type=addButton}</button>
+
   &nbsp;
-  <input type=submit name="add_ws_cancel" value="{msgPool type=cancelButton}">
+  <button type='submit' name='add_ws_cancel'>{msgPool type=cancelButton}</button>
+
 </p>
index b9bdaa0876f97fc20d7b52978c8df5764ab6d96b..87187087ba6ca89a58942f0ff8ae3292aee40847 100644 (file)
 <br>
 <p class="plugbottom">
 {if $acl}
-  <input type=submit name="save_logonHours" value="{msgPool type=saveButton}">
+  <button type='submit' name='save_logonHours'>{msgPool type=saveButton}</button>
+
   &nbsp;
 {/if}
-  <input type=submit name="cancel_logonHours" value="{msgPool type=cancelButton}">
+  <button type='submit' name='cancel_logonHours'>{msgPool type=cancelButton}</button>
+
 </p>
 
 <!--