piwigo/template/default/profile.tpl
plegall da60b94ca0 - new features : multipages users list. The list can be ordered by id (same
effect than registration date) or by username. On each line, you can
  access properties and permissions for the user


git-svn-id: http://piwigo.org/svn/trunk@709 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-01-19 23:36:43 +00:00

162 lines
5.3 KiB
Smarty

<!-- BEGIN select_user -->
<div class="admin">{L_SELECT_USERNAME}</div>
<form method="post" name="post" action="{F_SEARCH_USER_ACTION}">
<input type="text" name="username" maxlength="50" size="20" />
<input type="submit" name="submituser" value="{L_LOOKUP_USER}" class="bouton" />
<input type="submit" name="usersubmit" value="{L_FIND_USERNAME}" class="bouton" onClick="window.open('{U_SEARCH_USER}', '_phpwgsearch', 'HEIGHT=250,resizable=yes,WIDTH=400');return false;" />
</form>
<div class="admin">{L_USERS_LIST}</div>
<form method="get" action="{F_ORDER_ACTION}">
<input type="hidden" name="page" value="profile" />
<div style="text-align:center">
{L_ORDER_BY}
<select name="order_by">
<!-- BEGIN order_by -->
<option value="{select_user.order_by.VALUE}" {select_user.order_by.SELECTED} >{select_user.order_by.CONTENT}</option>
<!-- END order_by -->
</select>
<select name="direction">
<!-- BEGIN direction -->
<option value="{select_user.direction.VALUE}" {select_user.direction.SELECTED} >{select_user.direction.CONTENT}</option>
<!-- END direction -->
</select>
<input type="submit" value="{L_SUBMIT}" class="bouton" />
</div>
</form>
<table style="width:100%;" >
<tr class="throw">
<th style="width:20%;">{L_USERNAME}</th>
<th style="width:20%;">{L_STATUS}</th>
<th style="width:30%;">{L_EMAIL}</th>
<th style="width:30%;">{L_GROUPS}</th>
<th style="width:1%;">{L_ACTIONS}</th>
</tr>
<!-- BEGIN user -->
<tr>
<td><a href="{select_user.user.U_MOD}">{select_user.user.USERNAME}</a></td>
<td>{select_user.user.STATUS}</td>
<td>{select_user.user.EMAIL}</td>
<td>{select_user.user.GROUPS}</td>
<!-- [<a href="{select_user.user.U_MOD}">{L_MODIFY}</a>] -->
<td>[<a href="{select_user.user.U_PERM}">{L_PERMISSIONS}</a>]</td>
</tr>
<!-- END user -->
</table>
<div class="navigationBar">{NAVBAR}</div>
<!-- END select_user -->
<!-- BEGIN modify -->
<!-- BEGIN profile -->
<div class="titrePage">{L_TITLE}</div>
<!-- END profile -->
<!-- BEGIN errors -->
<div class="errors">
<ul>
<!-- BEGIN error -->
<li>{modify.errors.error.ERROR}</li>
<!-- END error -->
</ul>
</div>
<!-- END errors -->
<form method="post" action="{F_ACTION}">
<table width="70%" align="center">
<tr class="admin">
<th colspan="2">{L_REGISTRATION_INFO}</th>
</tr>
<tr>
<td width="50%">{L_USERNAME}</td>
<td><input type="text" name="username" value="{USERNAME}" />
<input type="hidden" name="userid" value="{USERID}" /></td>
</tr>
<tr>
<td>{L_EMAIL}</td>
<td><input type="text" name="mail_address" value="{EMAIL}" /></td>
</tr>
<!-- BEGIN profile -->
<tr>
<td>{L_CURRENT_PASSWORD} : <br /><span class="small">{L_CURRENT_PASSWORD_HINT}</span></td>
<td><input type="password" name="password" value="" /></td>
</tr>
<!-- END profile -->
<tr>
<td>{L_NEW_PASSWORD} : <br /><span class="small">{L_NEW_PASSWORD_HINT}</span></td>
<td><input type="password" name="use_new_pwd" value="" /></td>
</tr>
<tr>
<td>{L_CONFIRM_PASSWORD} : <br /><span class="small">{L_CONFIRM_PASSWORD_HINT}</span></td>
<td><input type="password" name="passwordConf" value="" /></td>
</tr>
<tr class="admin">
<th colspan="2">{L_PREFERENCES}</th>
</tr>
<tr>
<td width="60%">{L_NB_IMAGE_LINE}</td>
<td width="40%"><input type="text" size="3" maxlength="2" name="nb_image_line" value="{NB_IMAGE_LINE}" /></td>
</tr>
<tr>
<td>{L_NB_ROW_PAGE}</td>
<td><input type="text" size="3" maxlength="2" name="nb_line_page" value="{NB_ROW_PAGE}" /></td>
</tr>
<tr>
<td>{L_STYLE_SELECT}</td>
<td>{STYLE_SELECT}</td>
</tr>
<tr>
<td>{L_LANG_SELECT}</td>
<td>{LANG_SELECT}</td>
</tr>
<tr>
<td>{L_RECENT_PERIOD}</td>
<td><input type="text" size="3" maxlength="2" name="recent_period" value="{RECENT_PERIOD}" /></td>
</tr>
<tr>
<td>{L_EXPAND_TREE}</td>
<td><input type="radio" class="radio" name="expand" value="true" {EXPAND_TREE_YES} />{L_YES}&nbsp;&nbsp;
<input type="radio" class="radio" name="expand" value="false" {EXPAND_TREE_NO} />{L_NO}</td>
</tr>
<tr>
<td>{L_NB_COMMENTS}</td>
<td><input type="radio" class="radio" name="show_nb_comments" value="true" {NB_COMMENTS_YES} />{L_YES}&nbsp;&nbsp;
<input type="radio" class="radio" name="show_nb_comments" value="false" {NB_COMMENTS_NO} />{L_NO}</td>
</tr>
<tr>
<td>{L_MAXWIDTH}</td>
<td><input type="text" size="4" maxlength="4" name="maxwidth" value="{MAXWIDTH}" />
</td>
</tr>
<tr>
<td>{L_MAXHEIGHT}</td>
<td><input type="text" size="4" maxlength="4" name="maxheight" value="{MAXHEIGHT}" />
</td>
</tr>
<!-- BEGIN admin -->
<tr class="admin">
<th colspan="2">{modify.admin.L_ADMIN_USER}</th>
</tr>
<tr>
<td>{modify.admin.L_STATUS}</td>
<td>{modify.admin.STATUS}
</td>
</tr>
<tr>
<td>{modify.admin.L_DELETE}<br />
<span class="small">{modify.admin.L_DELETE_HINT}</span></td>
<td><input name="user_delete" type="checkbox" value="1">
</td>
</tr>
<!-- END admin -->
<tr>
<td colspan="2" align="center">
<input type="submit" name="submit" value="{L_SUBMIT}" class="bouton" />
<input type="reset" name="reset" value="{L_RESET}" class="bouton" />
</td>
</tr>
</table>
</form>
<!-- BEGIN profile -->
<div style="text-align:center;margin:5px;">
<a href="{U_RETURN}" title="{L_RETURN_HINT}">[{L_RETURN}]</a>
</div>
<!-- END profile -->
<!-- END modify -->