Code

Updated enviroment images/buttons...
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 2 Mar 2010 10:50:21 +0000 (10:50 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 2 Mar 2010 10:50:21 +0000 (10:50 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15836 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/goto/personal/environment/environment.tpl
gosa-plugins/goto/personal/environment/hotplugSelect/selectHotplug-filter.tpl
gosa-plugins/goto/personal/environment/hotplugSelect/selectHotplug-list.tpl
gosa-plugins/goto/personal/environment/logonManagement.tpl
gosa-plugins/goto/personal/environment/printerSelect/selectPrinter-filter.tpl
gosa-plugins/goto/personal/environment/printerSelect/selectPrinter-list.tpl

index b2907d08aebb26eb1c3b73bf187ec2d45e250266..508a8388b0b192fe46530080aaa7fc1ccea4e5b6 100644 (file)
@@ -1,5 +1,6 @@
 {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}
 
@@ -7,7 +8,8 @@
 <input type="hidden" name="iamposted" value="1">
 
 <h2> 
- <img class="center" alt="" src="plugins/goto/images/fai_settings.png" align="middle" /> 
+ {image path="plugins/goto/images/fai_settings.png"} 
+
  {t}Profiles{/t}
 </h2>
 
  <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;
+    {image path="plugins/goto/images/edit_share.png"}&nbsp;
+
     <label for="gotoShare">{t}Shares{/t}</label>
    </h2>
    <table summary="" style="width:100%">
       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>
   </td>
   <td style="vertical-align:top">
    <h2>
-    <img class="center" alt="" src="plugins/goto/images/logon_script.png" align="middle" />&nbsp;
+    {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%">
 
       <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>
  <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;
+    {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}">
     <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>
    <h2>
        <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>
 
 {/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;
+    {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}">
 {/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>
index ba7af5cdef3357da37d194fd90ccfb3a1e676e82..bc48ec173dd2816710c7226c5cbd0ef7ba463038 100644 (file)
@@ -1,6 +1,7 @@
 <div class="contentboxh">
  <p class="contentboxh">
-  <img src="images/launch.png" align="right" alt="[F]">{t}Filter{/t}
+  {image path="images/launch.png" align="right"}{t}Filter{/t}
+
  </p>
 </div>
 
@@ -14,7 +15,8 @@
   <tr>
    <td>
     <label for="NAME">
-     <img src="images/lists/search.png" align=middle>&nbsp;Name
+     {image path="images/lists/search.png"}&nbsp;Name
+
     </label>
    </td>
    <td>
index 7637addb708a1648074c74531e3e14a9442e1783..ae703bee812d7a55a82c071ba7e6aab3d5c3b4a8 100644 (file)
@@ -1,4 +1,5 @@
-<input type='image' src='images/empty.png' name='no_action_posted' value='do_nothing' alt='' style='width:2px;height:2px;'>
+{image path="images/empty.png" action="no_action_posted" value="do_nothing"}
+
 
 <table summary="" style="width:100%;height:100%; vertical-align:top; text-align:left;" cellpadding=2>
   <tr>
@@ -10,7 +11,8 @@
       <div class="contentboxb">
        <div style='background:white;padding:3px;'>
         <table><tr>
-          <td>{$ROOT}&nbsp;</td><td>{$BACK}&nbsp;</td><td>{$HOME}&nbsp;</td><td>{$RELOAD}&nbsp;</td><td>{$SEPARATOR}&nbsp;</td><td>{t}Base{/t} {$BASE}&nbsp;</td><td>{$SEPARATOR}&nbsp;</td><td><img src='images/rocket.png' alt='' class='center'></td><td> {$ACTIONS}</td>
+          <td>{$ROOT}&nbsp;</td><td>{$BACK}&nbsp;</td><td>{$HOME}&nbsp;</td><td>{$RELOAD}&nbsp;</td><td>{$SEPARATOR}&nbsp;</td><td>{t}Base{/t} {$BASE}&nbsp;</td><td>{$SEPARATOR}&nbsp;</td><td>{image path="images/rocket.png"}
+</td><td> {$ACTIONS}</td>
         </tr></table>
        </div>
       </div>
 
 <input type="hidden" value="1" name="PosixGroupDialogPosted">
 <p class="plugbottom">
-  <input type=submit name="hotplugSelect_save" value="{msgPool type=addButton}">
+  <button type='submit' name='hotplugSelect_save'>{msgPool type=addButton}</button>
+
   &nbsp;
-  <input type=submit name="hotplugSelect_cancel" value="{msgPool type=cancelButton}">
+  <button type='submit' name='hotplugSelect_cancel'>{msgPool type=cancelButton}</button>
+
 </p>
 
 
index 937f71f9db578716fe879194d14cc71437a764ec..a7fa9b660a9078271c89d5c3d3828d5bce16886b 100644 (file)
@@ -1,4 +1,5 @@
-<h2><img class="center" alt="" src="plugins/goto/images/logon_script.png" align="middle">&nbsp;{t}Logon script management{/t}</h2>
+<h2>{image path="plugins/goto/images/logon_script.png"}&nbsp;{t}Logon script management{/t}
+</h2>
 
     <input type="hidden" name="dialogissubmitted" value="1">
 
@@ -52,7 +53,8 @@
        <table width="100%" summary="">
                <tr>
                        <td colspan="2">
-                       <h2><img class="center" alt="" src="plugins/goto/images/logon_script.png" align="middle">&nbsp;{t}Script{/t}</h2>
+                       <h2>{image path="plugins/goto/images/logon_script.png"}&nbsp;{t}Script{/t}
+</h2>
                                        <table width="100%" summary="{t}Logon script{/t}">
                                                <tr>
                                                        <td>
@@ -62,7 +64,8 @@
                                                <tr>
                                                        <td>
                                                                <input type="file" name="importFile" id="importFile">
-                                                               <input type="submit" value="{t}Import{/t}" name="StartImport" >
+                                                               <button type='submit' name='StartImport'>{t}Import{/t}</button>
+
                                                        </td>
                                                </tr>
                                        </table>
 
        <p class="seperator">&nbsp;</p>
     <p align="right">
-    <input type="submit" name="LogonSave"     value="{msgPool type=applyButton}">
-    <input type="submit" name="LogonCancel"   value="{msgPool type=cancelButton}">
+    <button type='submit' name='LogonSave'>{msgPool type=applyButton}</button>
+
+    <button type='submit' name='LogonCancel'>{msgPool type=cancelButton}</button>
+
     </p>
 
 <script language="JavaScript" type="text/javascript">
index ba7af5cdef3357da37d194fd90ccfb3a1e676e82..bc48ec173dd2816710c7226c5cbd0ef7ba463038 100644 (file)
@@ -1,6 +1,7 @@
 <div class="contentboxh">
  <p class="contentboxh">
-  <img src="images/launch.png" align="right" alt="[F]">{t}Filter{/t}
+  {image path="images/launch.png" align="right"}{t}Filter{/t}
+
  </p>
 </div>
 
@@ -14,7 +15,8 @@
   <tr>
    <td>
     <label for="NAME">
-     <img src="images/lists/search.png" align=middle>&nbsp;Name
+     {image path="images/lists/search.png"}&nbsp;Name
+
     </label>
    </td>
    <td>
index 5247baa267d09eb9a74e56e0d9a8965aec199ece..d6f904ed367b54777a588f0f9253742660cdc017 100644 (file)
@@ -1,4 +1,5 @@
-<input type='image' src='images/empty.png' name='no_action_posted' value='do_nothing' alt='' style='width:2px;height:2px;'>
+{image path="images/empty.png" action="no_action_posted" value="do_nothing"}
+
 
 <table summary="" style="width:100%;height:100%; vertical-align:top; text-align:left;" cellpadding=2>
   <tr>
@@ -10,7 +11,8 @@
       <div class="contentboxb">
        <div style='background:white;padding:3px;'>
         <table><tr>
-          <td>{$ROOT}&nbsp;</td><td>{$BACK}&nbsp;</td><td>{$HOME}&nbsp;</td><td>{$RELOAD}&nbsp;</td><td>{$SEPARATOR}&nbsp;</td><td>{t}Base{/t} {$BASE}&nbsp;</td><td>{$SEPARATOR}&nbsp;</td><td><img src='images/rocket.png' alt='' class='center'></td><td> {$ACTIONS}</td>
+          <td>{$ROOT}&nbsp;</td><td>{$BACK}&nbsp;</td><td>{$HOME}&nbsp;</td><td>{$RELOAD}&nbsp;</td><td>{$SEPARATOR}&nbsp;</td><td>{t}Base{/t} {$BASE}&nbsp;</td><td>{$SEPARATOR}&nbsp;</td><td>{image path="images/rocket.png"}
+</td><td> {$ACTIONS}</td>
         </tr></table>
        </div>
       </div>
 
 <input type="hidden" value="1" name="PosixGroupDialogPosted">
 <p class="plugbottom">
-  <input type=submit name="printerSelect_save" value="{msgPool type=addButton}">
+  <button type='submit' name='printerSelect_save'>{msgPool type=addButton}</button>
+
   &nbsp;
-  <input type=submit name="printerSelect_cancel" value="{msgPool type=cancelButton}">
+  <button type='submit' name='printerSelect_cancel'>{msgPool type=cancelButton}</button>
+
 </p>