Code

Updated generic tpl
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 2 Mar 2010 09:42:43 +0000 (09:42 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 2 Mar 2010 09:42:43 +0000 (09:42 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15831 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/personal/generic/generic.tpl

index 0d02ca03d8f0fb2f30d01461e813c47b4908ac05..31e5baf9f7632efb6d3ba4c22023cb4af70d24f3 100644 (file)
     <tr>
      <td width="147" height="200" bgcolor="gray">
       {if !$userPicture_is_readable}
-      {image path="plugins/users/images/default.jpg"}
-
+      <img  src="plugins/users/images/default.jpg" alt=''>
       {else}
-      {image path="getbin.php?rand={$rand}"}
-
+      <img  src="getbin.php?rand={$rand}" alt=''>
       {/if}
      </td>
     </tr>
     </tr>
    </table>
   </td>
-  <!--
-  Old image container, with incorrect image scaling.
-  <td style="vertical-align:top">
-   {image path="getbin.php?rand={$rand}" align="bottom"}
-
-   <br>
-   <button type="submit" name="edit_picture">{t}Change picture{/t}...</button>
-  </td>
-  -->
   
   <!-- Name, ... -->
   <td style="vertical-align:top;">
       title='{$manager}'>
       {/render}
       {render acl=$managerACL}
-      <input type='image' src='images/lists/edit.png' name='editManager' class='center'>
+      {image path="images/lists/edit.png" action="editManager"}
+
       {/render}
       {if $manager!=""}
       {render acl=$managerACL  mode=read_active}
 
       {/render}
       {render acl=$managerACL}
-      <input type='image' src='images/lists/trash.png' name='removeManager' class='center'>
+      {image path="images/lists/trash.png" action="removeManager"}
+
       {/render}
       {/if}
      </td>
       <input type='text' name='manager_name' id='manager_name' value='{$manager_name}' disabled
       title='{$manager}'>
       {if $use_manager}
-      <input type='image' src='images/lists/edit.png' name='editManager' class='center'>
+      {image path="images/lists/edit.png" action="editManager"}
+
       {if $manager!=""}
       {image path="images/info_small.png" title="{$manager}"}
 
-      <input type='image' src='images/lists/trash.png' name='removeManager' class='center'>
+      {image path="images/lists/trash.png" action="removeManager"}
+
       {/if}
       {/if}
      </td>