aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2006-11-18 10:05:58 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2006-11-18 10:05:58 +0000
commit40f0a1ea153e4acd46b04b7f43a2ffb962b866eb (patch)
tree90995cb8c1de2d5516852dc862729864a4c1e78c /phpBB
parentc2191ae9cc08981b80a9341053898f68e6addcbe (diff)
downloadforums-40f0a1ea153e4acd46b04b7f43a2ffb962b866eb.tar
forums-40f0a1ea153e4acd46b04b7f43a2ffb962b866eb.tar.gz
forums-40f0a1ea153e4acd46b04b7f43a2ffb962b866eb.tar.bz2
forums-40f0a1ea153e4acd46b04b7f43a2ffb962b866eb.tar.xz
forums-40f0a1ea153e4acd46b04b7f43a2ffb962b866eb.zip
- do not cache the activity queries, this is only a lot of overhead (haven't noticed the forums also get included)
- back to our known poster name display on viewtopic/topic review. :) git-svn-id: file:///svn/phpbb/trunk@6599 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/includes/functions_display.php4
-rw-r--r--phpBB/styles/subSilver/template/memberlist_view.html2
-rw-r--r--phpBB/styles/subSilver/template/posting_body.html2
-rw-r--r--phpBB/styles/subSilver/template/posting_topic_review.html4
-rw-r--r--phpBB/styles/subSilver/template/viewtopic_body.html5
5 files changed, 10 insertions, 7 deletions
diff --git a/phpBB/includes/functions_display.php b/phpBB/includes/functions_display.php
index 5521829dda..056af5c84a 100644
--- a/phpBB/includes/functions_display.php
+++ b/phpBB/includes/functions_display.php
@@ -1047,7 +1047,7 @@ function display_user_activity(&$userdata)
$forum_sql
GROUP BY forum_id
ORDER BY num_posts DESC";
- $result = $db->sql_query_limit($sql, 1, 0, 3600);
+ $result = $db->sql_query_limit($sql, 1);
$active_f_row = $db->sql_fetchrow($result);
$db->sql_freeresult($result);
@@ -1069,7 +1069,7 @@ function display_user_activity(&$userdata)
$forum_sql
GROUP BY topic_id
ORDER BY num_posts DESC";
- $result = $db->sql_query_limit($sql, 1, 0, 3600);
+ $result = $db->sql_query_limit($sql, 1);
$active_t_row = $db->sql_fetchrow($result);
$db->sql_freeresult($result);
diff --git a/phpBB/styles/subSilver/template/memberlist_view.html b/phpBB/styles/subSilver/template/memberlist_view.html
index 5ed1c8818e..9461186364 100644
--- a/phpBB/styles/subSilver/template/memberlist_view.html
+++ b/phpBB/styles/subSilver/template/memberlist_view.html
@@ -64,7 +64,7 @@
<!-- IF U_NOTES or U_WARN -->
<tr>
<td class="gen" align="right" valign="top" nowrap="nowrap">{L_WARNINGS}: </td>
- <td width="100%"><b class="gen">{WARNINGS}</b><br /><span class="genmed">[ <a href="{U_NOTES}">{L_VIEW_NOTES}</a> <!-- IF U_WARN --> | <a href="{U_WARN}">{L_WARN_USER}</a> <!-- ENDIF -->]</td>
+ <td width="100%"><b class="gen">{WARNINGS}</b><br /><span class="genmed">[ <a href="{U_NOTES}">{L_VIEW_NOTES}</a> <!-- IF U_WARN --> | <a href="{U_WARN}">{L_WARN_USER}</a> <!-- ENDIF -->]</span></td>
</tr>
<!-- ENDIF -->
<tr>
diff --git a/phpBB/styles/subSilver/template/posting_body.html b/phpBB/styles/subSilver/template/posting_body.html
index 3d24e2c3b7..6ce895595d 100644
--- a/phpBB/styles/subSilver/template/posting_body.html
+++ b/phpBB/styles/subSilver/template/posting_body.html
@@ -195,6 +195,7 @@ function checkForm()
<tr>
<td class="row1"><b class="genmed">{L_TO}:</b></td>
<td class="row2">
+ {S_HIDDEN_ADDRESS_FIELD}
<!-- BEGIN to_recipient -->
<span class="genmed">
<a href="{to_recipient.U_VIEW}"<!-- IF to_recipient.COLOUR --> style="color:#{to_recipient.COLOUR}"<!-- ELSEIF to_recipient.IS_GROUP --> class="blue"<!-- ENDIF -->><b>{to_recipient.NAME}</b></a>&nbsp;</span><!-- IF not S_EDIT_POST --><input class="post" type="submit" name="remove_{to_recipient.TYPE}[{to_recipient.UG_ID}]" value="{L_REMOVE}" />&nbsp;<!-- ENDIF -->
@@ -214,7 +215,6 @@ function checkForm()
<!-- END bcc_recipient -->
</td>
</tr>
- {S_HIDDEN_ADDRESS_FIELD}
<!-- ENDIF -->
<tr>
diff --git a/phpBB/styles/subSilver/template/posting_topic_review.html b/phpBB/styles/subSilver/template/posting_topic_review.html
index d5ed8044d1..d54d581003 100644
--- a/phpBB/styles/subSilver/template/posting_topic_review.html
+++ b/phpBB/styles/subSilver/template/posting_topic_review.html
@@ -15,10 +15,10 @@
<!-- IF topic_review_row.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
- <td rowspan="2" align="left" valign="top"><a id="{topic_review_row.U_POST_ID}"></a>
+ <td rowspan="2" align="left" valign="top"><a id="pr{topic_review_row.U_POST_ID}"></a>
<table width="150" cellspacing="0">
<tr>
- <td align="center"><b class="postauthor">{topic_review_row.POST_AUTHOR_FULL}</b></td>
+ <td align="center"><b class="postauthor"<!-- IF topic_review_row.POST_AUTHOR_COLOUR --> style="color: {topic_rewview_row.POST_AUTHOR_COLOUR}"<!-- ENDIF -->>{topic_review_row.POST_AUTHOR}</b></td>
</tr>
</table>
</td>
diff --git a/phpBB/styles/subSilver/template/viewtopic_body.html b/phpBB/styles/subSilver/template/viewtopic_body.html
index 8cb8e0b041..bee02f94ee 100644
--- a/phpBB/styles/subSilver/template/viewtopic_body.html
+++ b/phpBB/styles/subSilver/template/viewtopic_body.html
@@ -133,7 +133,10 @@
<td class="gensmall" colspan="2" height="25" align="center"><!-- IF postrow.S_FIRST_UNREAD --><a name="unread"></a><!-- ENDIF --><a name="p{postrow.POST_ID}"></a>{postrow.L_IGNORE_POST}</td>
<!-- ELSE -->
- <td align="center" valign="middle"><!-- IF postrow.S_FIRST_UNREAD --><a name="unread"></a><!-- ENDIF --><a name="p{postrow.POST_ID}"></a><b class="postauthor">{postrow.POST_AUTHOR_FULL}</b></td>
+ <td align="center" valign="middle">
+ <!-- IF postrow.S_FIRST_UNREAD --><a name="unread"></a><!-- ENDIF --><a name="p{postrow.POST_ID}"></a>
+ <b class="postauthor"<!-- IF postrow.POST_AUTHOR_COLOUR --> style="color: {postrow.POST_AUTHOR_COLOUR}"<!-- ENDIF -->>{postrow.POST_AUTHOR}</b>
+ </td>
<td width="100%" height="25">
<table width="100%" cellspacing="0">
<tr>