Code

Only display last department name in apps-list.
[gosa.git] / plugins / personal / generic / generic.tpl
index 81fd56016a5fcec407dd3aa7a71503e181992ce9..0f02daef40dd1d361fc74989531e759c2db5d911 100644 (file)
  <tr>
 
   <!-- Image container -->
+       <!-- Image container -->
+       <td style="vertical-align:top">
+         <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}">
+               </td>
+          </tr>
+          <tr>
+               <td>
+                <input type="submit" name="edit_picture" {$jpegPhotoACL} value="{t}Change picture{/t}...">
+               </td>
+          </tr>
+         </table>
+       </td>
+       <!--
+       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}">
    <br>
    <input type="submit" name="edit_picture" {$jpegPhotoACL} value="{t}Change picture{/t}...">
   </td>
+       -->
 
   <!-- Name, ... -->
   <td style="vertical-align:top;">
       <select id="base" size="1" name="base" {$selectmode} title="{t}Choose subtree to place user in{/t}">
        {html_options options=$bases selected=$base_select}
       </select>
+               {if $selectmode == ""}
+                       <input type="image" name="chooseBase" src="images/folder.png" class="center" title="{t}Select a base{/t}">
+               {else}
+                       <img src="images/folder_gray.png" class="center" title="{t}Select a base{/t}" alt=''>
+               {/if}
      </td>
     </tr>
    </table>
   <td style="vertical-align:top;">
    <table summary="" style="width:100%"> 
     <tr>
-     <td><label for="l">{t}Location{/t}</l></td>
+     <td><label for="l">{t}Location{/t}</label></td>
      <td><input id="l" name="l" size=22 maxlength=60 {$lACL} value="{$l}"></td>
     </tr>
     <tr>