Code

Remplaced some images
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 2 Mar 2010 09:04:25 +0000 (09:04 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 2 Mar 2010 09:04:25 +0000 (09:04 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15830 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/personal/generic/generic.tpl
gosa-core/plugins/personal/generic/generic_certs.tpl
gosa-core/plugins/personal/generic/generic_picture.tpl
gosa-core/plugins/personal/generic/paste_generic.tpl

index 5e0264fd998620f78e4806f114988c8f90824156..0d02ca03d8f0fb2f30d01461e813c47b4908ac05 100644 (file)
     <tr>
      <td width="147" height="200" bgcolor="gray">
       {if !$userPicture_is_readable}
-      <img class='center' border="0" width="100%" src="plugins/users/images/default.jpg" alt="{t}Personal picture{/t}">
+      {image path="plugins/users/images/default.jpg"}
+
       {else}
-      <img class='center' border="0" width="100%" src="getbin.php?rand={$rand}" alt="{t}Personal picture{/t}">
+      {image path="getbin.php?rand={$rand}"}
+
       {/if}
      </td>
     </tr>
@@ -35,7 +37,8 @@
   <!--
   Old image container, with incorrect image scaling.
   <td style="vertical-align:top">
-   <img align="bottom" border="1" width="145" height="200" src="getbin.php?rand={$rand}" alt="{t}Personal picture{/t}">
+   {image path="getbin.php?rand={$rand}" align="bottom"}
+
    <br>
    <button type="submit" name="edit_picture">{t}Change picture{/t}...</button>
   </td>
       <input type='image' src='images/lists/edit.png' name='editManager' class='center'>
       {/render}
       {if $manager!=""}
-      {render acl=$managerACL  mode=read_active}}
-      <img src='images/info_small.png' title='{$manager}' class='center'>
+      {render acl=$managerACL  mode=read_active}
+      {image path="images/info_small.png" title="{$manager}"}
+
       {/render}
       {render acl=$managerACL}
       <input type='image' src='images/lists/trash.png' name='removeManager' class='center'>
       {if $use_manager}
       <input type='image' src='images/lists/edit.png' name='editManager' class='center'>
       {if $manager!=""}
-      <img src='images/info_small.png' title='{$manager}' class='center'>
+      {image path="images/info_small.png" title="{$manager}"}
+
       <input type='image' src='images/lists/trash.png' name='removeManager' class='center'>
       {/if}
       {/if}
index a4fc6fdbfb3fd22e8d8ac2140b4eb3b55477d482..a7db2bcd955326779a68c6b1c0b42412a7f924d7 100644 (file)
@@ -1,6 +1,7 @@
 <input type="hidden" name="MAX_FILE_SIZE" value="2000000">
  <!-- Headline container -->
-<h2><img alt="" class="center" align="middle" src="images/lists/key.png"> {t}Certificates{/t}</h2>
+<h2>{image path="images/lists/key.png"} {t}Certificates{/t}
+</h2>
 
 <table summary="" style="vertical-align:top; text-align:left;border-top: 1px solid rgb(176,176,176);" width="100%" cellpadding=4 border=0>
  <tr>
index de72255090d590f571a57be2568e8bd84c58962d..07fd4522d3a2bf38dbf2751b67d453bf78906ae9 100644 (file)
@@ -2,7 +2,8 @@
  <!-- Headline container -->
  <tr>
    <td colspan=2>
-     <h2><img alt="" class="center" align="middle" src="plugins/generic/images/head.png"> {t}Personal picture{/t}</h2>
+     <h2>{image path="plugins/generic/images/head.png"} {t}Personal picture{/t}
+</h2>
    </td>
  </tr>
  <!-- Base container -->
@@ -12,7 +13,8 @@
    <table>
     <tr>
      <td width="147" height="200" bgcolor="gray">
-      <img class="center" border="0" width="100%" src="getbin.php?rand={$rand}" alt="{t}Personal picture{/t}">
+      {image path="getbin.php?rand={$rand}"}
+
      </td>
     </tr>
    </table>
index ae722ea004479653f7d04fb9aef4ca09e580d78c..11e36c10a0b948e7d9d3d1774a3ef3b26e8883b6 100644 (file)
@@ -34,7 +34,8 @@
                        <table>
                          <tr>
                                <td width="147" height="200" bgcolor="gray">
-                                 <img align="middle" border="0" width="100%" src="getbin.php?rand={$rand}" alt="{t}Personal picture{/t}">
+                                 {image path="getbin.php?rand={$rand}"}
+
                                </td>
                          </tr>
                        </table>