mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
sticky/announcement time limit
git-svn-id: file:///svn/phpbb/trunk@4546 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
37411be1e4
commit
ffb736878c
3 changed files with 17 additions and 7 deletions
|
@ -612,6 +612,7 @@ CREATE TABLE phpbb_topics (
|
||||||
topic_title varchar(60) NOT NULL,
|
topic_title varchar(60) NOT NULL,
|
||||||
topic_poster mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
|
topic_poster mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
|
||||||
topic_time int(11) DEFAULT '0' NOT NULL,
|
topic_time int(11) DEFAULT '0' NOT NULL,
|
||||||
|
topic_time_limit int(11) DEFAULT '0' NOT NULL,
|
||||||
topic_views mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
|
topic_views mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
|
||||||
topic_replies 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_replies_real mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
|
||||||
|
|
|
@ -549,6 +549,9 @@ $lang += array(
|
||||||
'POST_REPLY' => 'Post a reply',
|
'POST_REPLY' => 'Post a reply',
|
||||||
'POST_TOPIC_AS' => 'Post topic as',
|
'POST_TOPIC_AS' => 'Post topic as',
|
||||||
'CHANGE_TOPIC_TO' => 'Change topic type to',
|
'CHANGE_TOPIC_TO' => 'Change topic type to',
|
||||||
|
'STICK_TOPIC_FOR' => 'Stick topic for',
|
||||||
|
'STICKY_ANNOUNCE_TIME_LIMIT' => 'Sticky/Announcement time limit',
|
||||||
|
'STICK_TOPIC_FOR_EXPLAIN' => 'Enter 0 or leave blank for a never ending Sticky/Announcement',
|
||||||
'EDIT_POST' => 'Edit post',
|
'EDIT_POST' => 'Edit post',
|
||||||
'OPTIONS' => 'Options',
|
'OPTIONS' => 'Options',
|
||||||
'MOD_OPTIONS' => 'Moderator Options',
|
'MOD_OPTIONS' => 'Moderator Options',
|
||||||
|
|
|
@ -199,12 +199,6 @@ function checkForm()
|
||||||
<td class="row2"><input type="checkbox" name="delete" /> <span class="gensmall">[ {L_DELETE_POST_WARN} ]</span></td>
|
<td class="row2"><input type="checkbox" name="delete" /> <span class="gensmall">[ {L_DELETE_POST_WARN} ]</span></td>
|
||||||
</tr>
|
</tr>
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
<!-- IF S_DISPLAY_USERNAME -->
|
|
||||||
<tr>
|
|
||||||
<td class="row1"><b class="genmed">{L_USERNAME}:</b></td>
|
|
||||||
<td class="row2"><input class="post" type="text" tabindex="1" name="username" size="25" maxlength="25" value="{USERNAME}" /></td>
|
|
||||||
</tr>
|
|
||||||
<!-- ENDIF -->
|
|
||||||
<!-- IF S_SHOW_TOPIC_ICONS -->
|
<!-- IF S_SHOW_TOPIC_ICONS -->
|
||||||
<tr>
|
<tr>
|
||||||
<td class="row1"><b class="genmed">{L_ICON}:</b></td>
|
<td class="row1"><b class="genmed">{L_ICON}:</b></td>
|
||||||
|
@ -215,6 +209,12 @@ function checkForm()
|
||||||
</table></td>
|
</table></td>
|
||||||
</tr>
|
</tr>
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
|
<!-- IF S_DISPLAY_USERNAME -->
|
||||||
|
<tr>
|
||||||
|
<td class="row1"><b class="genmed">{L_USERNAME}:</b></td>
|
||||||
|
<td class="row2"><input class="post" type="text" tabindex="1" name="username" size="25" maxlength="25" value="{USERNAME}" /></td>
|
||||||
|
</tr>
|
||||||
|
<!-- ENDIF -->
|
||||||
<tr>
|
<tr>
|
||||||
<td class="row1" width="22%"><b class="genmed">{L_SUBJECT}:</b></td>
|
<td class="row1" width="22%"><b class="genmed">{L_SUBJECT}:</b></td>
|
||||||
<td class="row2" width="78%"><input class="post" style="width:450px" type="text" name="subject" size="45" maxlength="60" tabindex="2" value="{SUBJECT}" /></td>
|
<td class="row2" width="78%"><input class="post" style="width:450px" type="text" name="subject" size="45" maxlength="60" tabindex="2" value="{SUBJECT}" /></td>
|
||||||
|
@ -332,12 +332,18 @@ function checkForm()
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
<!-- IF S_TYPE_TOGGLE -->
|
<!-- IF S_TYPE_TOGGLE -->
|
||||||
<tr>
|
<tr>
|
||||||
<td></td>
|
<td> </td>
|
||||||
<td class="gen"><!-- IF S_EDIT_POST -->{L_CHANGE_TOPIC_TO}<!-- ELSE -->{L_POST_TOPIC_AS}<!-- ENDIF -->: <!-- BEGIN topic_type --><input type="radio" name="topic_type" value="{topic_type.VALUE}"{topic_type.S_CHECKED} />{topic_type.L_TOPIC_TYPE} <!-- END topic_type --></td>
|
<td class="gen"><!-- IF S_EDIT_POST -->{L_CHANGE_TOPIC_TO}<!-- ELSE -->{L_POST_TOPIC_AS}<!-- ENDIF -->: <!-- BEGIN topic_type --><input type="radio" name="topic_type" value="{topic_type.VALUE}"{topic_type.S_CHECKED} />{topic_type.L_TOPIC_TYPE} <!-- END topic_type --></td>
|
||||||
</tr>
|
</tr>
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
</table></td>
|
</table></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<!-- IF S_TOPIC_TYPE_ANNOUNCE or S_TOPIC_TYPE_STICKY -->
|
||||||
|
<tr>
|
||||||
|
<td class="row1"><b class="genmed">{L_STICK_TOPIC_FOR}</b><br /><span class="gensmall">{L_STICKY_ANNOUNCE_TIME_LIMIT}</span></td>
|
||||||
|
<td class="row2"><input class="post" type="text" name="topic_time_limit" size="3" maxlength="3" value="{TOPIC_TIME_LIMIT}" /> <b class="gen">{L_DAYS}</b> <span class="gensmall">{L_STICK_TOPIC_FOR_EXPLAIN}</span></td>
|
||||||
|
</tr>
|
||||||
|
<!-- ENDIF -->
|
||||||
<!-- IF S_LOCK_TOPIC_ALLOWED or S_LOCK_POST_ALLOWED -->
|
<!-- IF S_LOCK_TOPIC_ALLOWED or S_LOCK_POST_ALLOWED -->
|
||||||
<tr>
|
<tr>
|
||||||
<td class="row1" valign="top"><b class="genmed">{L_MOD_OPTIONS}:</b></td>
|
<td class="row1" valign="top"><b class="genmed">{L_MOD_OPTIONS}:</b></td>
|
||||||
|
|
Loading…
Add table
Reference in a new issue