aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/styles/prosilver
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2007-05-12 09:11:10 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2007-05-12 09:11:10 +0000
commit31a99bf5a9a1cb3a68035f097bd0f6d26126e946 (patch)
tree66a426bd82fe19a354affd3a27778f486afb347c /phpBB/styles/prosilver
parent3513b24a0f9bcfc9dad06d389b40cd4c9c73f1e2 (diff)
downloadforums-31a99bf5a9a1cb3a68035f097bd0f6d26126e946.tar
forums-31a99bf5a9a1cb3a68035f097bd0f6d26126e946.tar.gz
forums-31a99bf5a9a1cb3a68035f097bd0f6d26126e946.tar.bz2
forums-31a99bf5a9a1cb3a68035f097bd0f6d26126e946.tar.xz
forums-31a99bf5a9a1cb3a68035f097bd0f6d26126e946.zip
Make the life of style authors not too complicated.
git-svn-id: file:///svn/phpbb/trunk@7543 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/styles/prosilver')
-rw-r--r--phpBB/styles/prosilver/template/memberlist_body.html15
-rw-r--r--phpBB/styles/prosilver/template/memberlist_search.html2
2 files changed, 9 insertions, 8 deletions
diff --git a/phpBB/styles/prosilver/template/memberlist_body.html b/phpBB/styles/prosilver/template/memberlist_body.html
index 639957c31f..cf3be5cdeb 100644
--- a/phpBB/styles/prosilver/template/memberlist_body.html
+++ b/phpBB/styles/prosilver/template/memberlist_body.html
@@ -1,6 +1,5 @@
-<!-- IF S_SEARCH_USER and S_FORM_NAME -->
+<!-- IF S_IN_SEARCH_POPUP -->
<!-- INCLUDE simple_header.html -->
- <!-- S_FORM_NAME is only assigned on popup!!! -->
<!-- INCLUDE memberlist_search.html -->
<form method="post" id="results" action="{S_MODE_ACTION}" onsubmit="insert_marked(this.user); return false">
@@ -34,7 +33,7 @@
<ul class="linklist">
<li>
- <!-- IF U_FIND_MEMBER and not S_SEARCH_USER --><a href="{U_FIND_MEMBER}">{L_FIND_USERNAME}</a> &bull; <!-- ELSEIF S_SEARCH_USER and U_HIDE_FIND_MEMBER and not S_FORM_NAME --><a href="{U_HIDE_FIND_MEMBER}">{L_HIDE_MEMBER_SEARCH}</a> &bull; <!-- ENDIF -->
+ <!-- IF U_FIND_MEMBER and not S_SEARCH_USER --><a href="{U_FIND_MEMBER}">{L_FIND_USERNAME}</a> &bull; <!-- ELSEIF S_SEARCH_USER and U_HIDE_FIND_MEMBER and not S_IN_SEARCH_POPUP --><a href="{U_HIDE_FIND_MEMBER}">{L_HIDE_MEMBER_SEARCH}</a> &bull; <!-- ENDIF -->
<strong style="font-size: 0.95em;"><a href="{S_MODE_ACTION}&amp;first_char=">{L_ALL}</a>&nbsp;
<a href="{S_MODE_ACTION}&amp;first_char=a">A</a>&nbsp;
<a href="{S_MODE_ACTION}&amp;first_char=b">B</a>&nbsp;
@@ -116,7 +115,7 @@
<!-- ENDIF -->
<tr class="<!-- IF memberrow.S_ROW_COUNT is even -->bg1<!-- ELSE -->bg2<!-- ENDIF -->">
- <td><!-- IF memberrow.RANK_IMG --><span class="rank-img">{memberrow.RANK_IMG}</span><!-- ELSE --><span class="rank-img">{memberrow.RANK_TITLE}</span><!-- ENDIF --><!-- IF S_SEARCH_USER and S_FORM_NAME and not S_SELECT_SINGLE --><input type="checkbox" name="user" value="{memberrow.USERNAME}" /> <!-- ENDIF -->{memberrow.USERNAME_FULL}<!-- IF S_SELECT_SINGLE --><br />[&nbsp;<a href="#" onclick="insert_single('{memberrow.USERNAME}'); return false;">{L_SELECT}</a>&nbsp;]<!-- ENDIF --></td>
+ <td><!-- IF memberrow.RANK_IMG --><span class="rank-img">{memberrow.RANK_IMG}</span><!-- ELSE --><span class="rank-img">{memberrow.RANK_TITLE}</span><!-- ENDIF --><!-- IF S_IN_SEARCH_POPUP and not S_SELECT_SINGLE --><input type="checkbox" name="user" value="{memberrow.USERNAME}" /> <!-- ENDIF -->{memberrow.USERNAME_FULL}<!-- IF S_SELECT_SINGLE --><br />[&nbsp;<a href="#" onclick="insert_single('{memberrow.USERNAME}'); return false;">{L_SELECT}</a>&nbsp;]<!-- ENDIF --></td>
<td class="posts"><!-- IF memberrow.POSTS --><a href="{memberrow.U_SEARCH_USER}" title="{L_SEARCH_USER_POSTS}">{memberrow.POSTS}</a><!-- ELSE -->{memberrow.POSTS}<!-- ENDIF --></td>
<td class="info"><!-- IF memberrow.U_WWW or memberrow.LOCATION --><!-- IF memberrow.U_WWW --><div><a href="{memberrow.U_WWW}" title="{L_VISIT_WEBSITE}: {memberrow.U_WWW}">{memberrow.U_WWW}</a></div><!-- ENDIF --><!-- IF memberrow.LOCATION --><div>{memberrow.LOCATION}</div><!-- ENDIF --><!-- ELSE -->&nbsp;<!-- ENDIF --></td>
<td>{memberrow.JOINED}</td>
@@ -133,14 +132,16 @@
<span class="corners-bottom"><span></span></span></div>
</div>
-<!-- IF S_SEARCH_USER and S_FORM_NAME and not S_SELECT_SINGLE -->
+<!-- IF S_IN_SEARCH_POPUP and not S_SELECT_SINGLE -->
<fieldset class="display-actions">
<input type="submit" name="submit" value="{L_SELECT_MARKED}" class="button2" />
<div><a href="#" onclick="marklist('results', 'user', true); return false;">{L_MARK_ALL}</a> &bull; <a href="#" onclick="marklist('results', 'user', false); return false;">{L_UNMARK_ALL}</a></div>
</fieldset>
+<!-- ENDIF -->
+<!-- IF S_IN_SEARCH_POPUP -->
</form>
-<form method="post" action="{S_MODE_ACTION}">
+<form method="post" id="sort-results" action="{S_MODE_ACTION}">
<!-- ENDIF -->
<fieldset class="display-options">
@@ -158,7 +159,7 @@
<li class="rightside pagination">{TOTAL_USERS} &bull; <!-- IF PAGINATION --><a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{PAGE_NUMBER}</a> &bull; <span>{PAGINATION}</span><!-- ELSE -->{PAGE_NUMBER}<!-- ENDIF --></li>
</ul>
-<!-- IF S_SEARCH_USER and S_FORM_NAME -->
+<!-- IF S_IN_SEARCH_POPUP -->
<!-- INCLUDE simple_footer.html -->
<!-- ELSE -->
<!-- INCLUDE jumpbox.html -->
diff --git a/phpBB/styles/prosilver/template/memberlist_search.html b/phpBB/styles/prosilver/template/memberlist_search.html
index 07fa6069f6..9c2c61fdc8 100644
--- a/phpBB/styles/prosilver/template/memberlist_search.html
+++ b/phpBB/styles/prosilver/template/memberlist_search.html
@@ -1,4 +1,4 @@
-<!-- IF S_SEARCH_USER and S_FORM_NAME -->
+<!-- IF S_IN_SEARCH_POPUP -->
<!-- You should retain this javascript in your own template! -->
<script type="text/javascript">
<!--