Code

Fixed baseSelectDialog parameters
[gosa.git] / plugins / personal / generic / generic.tpl
index 1af32ea6bee13db30c09cc3faeec9b1cd3551436..83635680ad6d457c817abd2ad6df11785acb7247 100644 (file)
  <tr>
 
   <!-- Image container -->
+       <!-- Image container -->
+       <td style="vertical-align:top">
+         <table>
+          <tr>
+               <td width="147" height="200" bgcolor="gray">
+                <img align="center" valign="center" border="0" width="100%" src="getbin.php?rand={$rand}" alt="{t}Personal picture{/t}">
+               </td>
+          </tr>
+          <tr>
+               <td>
+                <input valign="top" 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>
-          <input type="image" name="chooseBase" src="images/folder.png">
+               {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}">
+               {/if}
      </td>
     </tr>
    </table>