aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/adm/style
diff options
context:
space:
mode:
authorGraham Eames <grahamje@users.sourceforge.net>2006-09-23 12:27:51 +0000
committerGraham Eames <grahamje@users.sourceforge.net>2006-09-23 12:27:51 +0000
commitcbece78f7b180253af95071ab859c468ed061ff5 (patch)
tree420dcaac9aadf3144a4a65ced3f1bd25be10054e /phpBB/adm/style
parent36fa521f9230d2b2a8bbb6dc79185cfc17112f39 (diff)
downloadforums-cbece78f7b180253af95071ab859c468ed061ff5.tar
forums-cbece78f7b180253af95071ab859c468ed061ff5.tar.gz
forums-cbece78f7b180253af95071ab859c468ed061ff5.tar.bz2
forums-cbece78f7b180253af95071ab859c468ed061ff5.tar.xz
forums-cbece78f7b180253af95071ab859c468ed061ff5.zip
A reworking of how we handle inactive users
git-svn-id: file:///svn/phpbb/trunk@6394 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/adm/style')
-rwxr-xr-xphpBB/adm/style/acp_inactive.html75
-rw-r--r--phpBB/adm/style/acp_main.html25
2 files changed, 83 insertions, 17 deletions
diff --git a/phpBB/adm/style/acp_inactive.html b/phpBB/adm/style/acp_inactive.html
new file mode 100755
index 0000000000..b4e617b864
--- /dev/null
+++ b/phpBB/adm/style/acp_inactive.html
@@ -0,0 +1,75 @@
+<!-- INCLUDE overall_header.html -->
+
+<a name="maincontent"></a>
+
+<h2>{L_INACTIVE_USERS}</h2>
+
+<p>{L_INACTIVE_USERS_EXPLAIN}</p>
+
+<form id="inactive" method="post" action="{U_ACTION}">
+
+<div class="clearfix"></div>
+
+<div class="pagination">
+ <!-- IF PAGINATION -->
+ <a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{S_ON_PAGE}</a> &bull; <span>{PAGINATION}</span>
+ <!-- ELSE -->
+ {S_ON_PAGE}
+ <!-- ENDIF -->
+</div>
+
+<table cellspacing="1">
+<thead>
+<tr>
+ <th>{L_USERNAME}</th>
+ <th>{L_JOINED}</th>
+ <th>{L_INACTIVE_DATE}</th>
+ <th>{L_INACTIVE_REASON}</th>
+ <th>{L_LAST_VISIT}</th>
+ <th>{L_MARK}</th>
+</tr>
+</thead>
+<tbody>
+<!-- BEGIN inactive -->
+ <!-- IF inactive.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
+
+ <td><a href="{inactive.U_USER_ADMIN}">{inactive.USERNAME}</a></td>
+ <td>{inactive.JOINED}</td>
+ <td>{inactive.INACTIVE_DATE}</td>
+ <td>{inactive.REASON}</td>
+ <td>{inactive.LAST_VISIT}</td>
+ <td>&nbsp;<input type="checkbox" class="radio" name="mark[]" value="{inactive.USER_ID}" />&nbsp;</td>
+ </tr>
+<!-- BEGINELSE -->
+ <tr>
+ <td colspan="5" style="text-align: center;">{L_NO_INACTIVE_USERS}</td>
+ </tr>
+<!-- END inactive -->
+</tbody>
+</table>
+
+<!-- IF .inactive -->
+ <fieldset class="quick" style="float: left;">
+ {L_DISPLAY_LOG}: &nbsp;{S_LIMIT_DAYS}&nbsp;{L_SORT_BY}: {S_SORT_KEY} {S_SORT_DIR}
+ <input class="button2" type="submit" value="{L_GO}" name="sort" />
+ </fieldset>
+
+ <fieldset class="quick">
+ <p><a href="#" onclick="marklist('inactive', 'mark', true); return false;">{L_MARK_ALL}</a> &bull; <a href="#" onclick="marklist('inactive', 'mark', false); return false;">{L_UNMARK_ALL}</a></p>
+ <select name="action">{S_INACTIVE_OPTIONS}</select>
+
+ <input class="button2" type="submit" name="submit" value="{L_SUBMIT}" />
+ </fieldset>
+<!-- ENDIF -->
+
+<div class="pagination">
+ <!-- IF PAGINATION -->
+ <a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{S_ON_PAGE}</a> &bull; <span>{PAGINATION}</span>
+ <!-- ELSE -->
+ {S_ON_PAGE}
+ <!-- ENDIF -->
+</div>
+
+</form>
+
+<!-- INCLUDE overall_footer.html --> \ No newline at end of file
diff --git a/phpBB/adm/style/acp_main.html b/phpBB/adm/style/acp_main.html
index af1623146e..ce4dde47b0 100644
--- a/phpBB/adm/style/acp_main.html
+++ b/phpBB/adm/style/acp_main.html
@@ -133,17 +133,18 @@
<!-- IF S_INACTIVE_USERS -->
<h2>{L_INACTIVE_USERS}</h2>
- <p>{L_INACTIVE_USERS_EXPLAIN}</p>
+ <p>{L_INACTIVE_USERS_EXPLAIN_INDEX}</p>
- <form id="inactive" method="post" action="{U_ACTION}">
+ <div style="text-align: right;"><a href="{U_INACTIVE_USERS}">&raquo; {L_VIEW_INACTIVE_USERS}</a></div>
<table cellspacing="1">
<thead>
<tr>
<th>{L_USERNAME}</th>
<th>{L_JOINED}</th>
+ <th>{L_INACTIVE_DATE}</th>
+ <th>{L_INACTIVE_REASON}</th>
<th>{L_LAST_VISIT}</th>
- <th>{L_MARK}</th>
</tr>
</thead>
<tbody>
@@ -151,29 +152,19 @@
<!-- IF inactive.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
<td><a href="{inactive.U_USER_ADMIN}">{inactive.USERNAME}</a></td>
- <td>{inactive.DATE}</td>
+ <td>{inactive.JOINED}</td>
+ <td>{inactive.INACTIVE_DATE}</td>
+ <td>{inactive.REASON}</td>
<td>{inactive.LAST_VISIT}</td>
- <td>&nbsp;<input type="checkbox" class="radio" name="mark[]" value="{inactive.USER_ID}" />&nbsp;</td>
</tr>
<!-- BEGINELSE -->
<tr>
- <td colspan="3" style="text-align: center;">{L_NO_INACTIVE_USERS}</td>
+ <td colspan="4" style="text-align: center;">{L_NO_INACTIVE_USERS}</td>
</tr>
<!-- END inactive -->
</tbody>
</table>
- <!-- IF .inactive -->
- <fieldset class="quick">
- <p><a href="#" onclick="marklist('inactive', 'mark', true); return false;">{L_MARK_ALL}</a> &bull; <a href="#" onclick="marklist('inactive', 'mark', false); return false;">{L_UNMARK_ALL}</a></p>
- <select name="action">{S_INACTIVE_OPTIONS}</select>
-
- <input class="button2" type="submit" name="submit" value="{L_SUBMIT}" />
- </fieldset>
- <!-- ENDIF -->
-
- </form>
-
<!-- ENDIF -->
<!-- ENDIF -->