1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-04-21 08:12:17 +02:00

Added icon_report to imageset (mine was like a big exclamation mark but Paul's looks better me thinks).

Added topic_replies_real and forum_topics_real fields to store real numbers of posts and topics, including unapproved items.
Removed the duplicate group_display field bug that I had personnally introduced


git-svn-id: file:///svn/phpbb/trunk@3735 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Ludovic Arnaud 2003-03-28 00:29:56 +00:00
parent ede818ebde
commit 95a1f17db3
3 changed files with 8 additions and 6 deletions

File diff suppressed because one or more lines are too long

View File

@ -222,6 +222,7 @@ CREATE TABLE phpbb_forums (
forum_postable tinyint(4) DEFAULT '0' NOT NULL,
forum_posts mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
forum_topics mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
forum_topics_real mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
forum_last_topic_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
forum_last_post_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
forum_last_poster_id mediumint(8) DEFAULT '0' NOT NULL,
@ -265,7 +266,6 @@ CREATE TABLE phpbb_groups (
group_avatar_type tinyint(4),
group_rank int(11) DEFAULT '0',
group_colour varchar(6) DEFAULT '' NOT NULL,
group_display tinyint(1) DEFAULT '1' NOT NULL,
group_description varchar(255) NOT NULL,
PRIMARY KEY (group_id)
);
@ -663,6 +663,7 @@ CREATE TABLE phpbb_styles_imageset (
icon_quote varchar(200) default NULL,
icon_search varchar(200) default NULL,
icon_edit varchar(200) default NULL,
icon_report varchar(200) default NULL,
icon_email varchar(200) default NULL,
icon_www varchar(200) default NULL,
icon_icq varchar(200) default NULL,
@ -735,6 +736,7 @@ CREATE TABLE phpbb_topics (
topic_rating tinyint(4) DEFAULT '0' NOT NULL,
topic_views mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
topic_replies mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
topic_replies_real mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
topic_status tinyint(3) DEFAULT '0' NOT NULL,
topic_type tinyint(3) DEFAULT '0' NOT NULL,
topic_first_post_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,

View File

@ -148,7 +148,7 @@
document.write('</td><td>&nbsp;</td><td valign="top" nowrap="nowrap"><div style="position:relative"><div style="position:absolute">{postrow.ICQ_IMG}</div><div style="position:absolute;left:3px;top:-1px">{postrow.ICQ_STATUS_IMG}</div></div>');
//--></script><noscript>{postrow.ICQ_IMG}</noscript></td>
<td width="100%" align="right" nowrap="nowrap"><!-- span class="gensmall">{postrow.RATING}</span -->&nbsp;<a href="{postrow.U_REPORT}">{REPORTED_IMG}</a>&nbsp;</td>
<td width="100%" align="right" nowrap="nowrap"><!-- span class="gensmall">{postrow.RATING}</span --><a href="{postrow.U_REPORT}">{REPORT_IMG}</a></td>
</tr>
</table></td>
<!-- ENDIF -->