index 28bd19a6891da6c5e3cef3a3215f46eb7de8da0d..1dbec3ea9bb13452cb97630e0d61d8b036f57525 100644 (file)
<table>
<tr>
<td width="147" height="200" bgcolor="gray">
- {render acl=$userPictureACL}
- <img align="center" valign="center" border="0" width="100%" src="getbin.php?rand={$rand}" alt="{t}Personal picture{/t}">
- {/render}
+ {if !$userPicture_is_readable}
+ <img align="center" valign="center" border="0" width="100%" src="images/default.jpg" alt="{t}Personal picture{/t}">
+ {else}
+ <img align="center" valign="center" border="0" width="100%" src="getbin.php?rand={$rand}" alt="{t}Personal picture{/t}">
+ {/if}
</td>
</tr>
<tr>
<td>
<div style="height:10px;"></div>
{render acl=$baseACL}
- <select id="base" size="1" name="base" title="{t}Choose subtree to place user in{/t}">
+ <select id="base" size="1" name="base" title="{t}Choose subtree to place user in{/t}" onchange="document.mainform.submit()">
{html_options options=$bases selected=$base_select}
</select>
+ {/render}
+ {render acl=$baseACL disable_picture='images/folder_gray.png'}
<input type="image" name="chooseBase" src="images/folder.png" class="center" title="{t}Select a base{/t}">
{/render}
</td>