- 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
This commit is contained in:
plegall
2005-01-19 23:36:43 +00:00
parent 54e615890c
commit da60b94ca0
5 changed files with 183 additions and 2 deletions
+42 -1
View File
@@ -5,6 +5,46 @@
<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 -->
@@ -109,6 +149,7 @@
<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>
@@ -118,4 +159,4 @@
<a href="{U_RETURN}" title="{L_RETURN_HINT}">[{L_RETURN}]</a>
</div>
<!-- END profile -->
<!-- END modify -->
<!-- END modify -->