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

Template file for config editing

git-svn-id: file:///svn/phpbb/trunk@751 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
James Atkinson 2001-07-24 22:12:50 +00:00
parent 982566faa0
commit 8f99a9123f

View File

@ -0,0 +1,159 @@
<h1>Configuration</h1>
<p>
The form below will allow you to customize all the general board options. For User and Forum configurations use the related links on the left hand side.
</p>
<form action="{S_CONFIG_ACTION}" method="POST">
<table border="0" cellpadding="1" cellspacing="0" width="70%" align="center">
<tr>
<td class="tablebg">
<table width="100%" cellpadding="4" cellspacing="1" border="0">
<tr>
<th colspan="2">General Board Settings</th>
</tr>
<tr>
<td class="row1">Site Name:</td>
<td class="row2"><input type="text" size="25" maxlength="100" name="sitename" value="{SITENAME}"></td>
</tr>
<tr>
<td class="row1">Require user account activation:</td>
<td class="row2"><input type="radio" name="require_activation" value="1" {ACTIVATION_YES}>Yes&nbsp;&nbsp;<input type="radio" name="require_activation" value="0" {ACTIVATION_NO}>No</td>
</tr>
<tr>
<td class="row1">Flood Interval: <br />
<span class="gensmall">(number of seconds a user must wait between posts)</span>
</td>
<td class="row2"><input type="text" size="3" maxlengh="4" name="flood_interval" value="{FLOOD_INTERVAL}"></td>
</tr>
<tr>
<td class="row1">Topics Per Page</td>
<td class="row2"><input type="text" name="topics_per_page" size="3" maxlengh="4" value="{TOPICS_PER_PAGE}"></td>
</tr>
<tr>
<td class="row1">Posts Per Page</td>
<td class="row2"><input type="text" name="posts_per_page" size="3" maxlengh="4" value="{POSTS_PER_PAGE}"></td>
</tr>
<tr>
<td class="row1">Hot Threshold</td>
<td class="row2"><input type="text" name="hot_topic" size="3" maxlengh="4" value="{HOT_TOPIC}"></td>
</tr>
<tr>
<td class="row1">Default Template:</td>
<td class="row2">{TEMPLATE_SELECT}</td>
</tr>
<tr>
<td class="row1">Default Theme:</td>
<td class="row2">{THEME_SELECT}</td>
</tr>
<tr>
<td class="row1">Default Language:</td>
<td class="row2">{LANG_SELECT}</td>
</tr>
<tr>
<td class="row1">Date Format:<br />
<span class="gensmall">{L_DATE_FORMAT_EXPLAIN}</span>
</td>
<td class="row2"><input type="text" maxlength="16" name="date_format" value="{DATE_FORMAT}"></td>
</tr>
<tr>
<td class="row1">System Timezone:</td>
<td class="row2">{TIMEZONE_SELECT}</td>
</tr>
<tr>
<td class="row1">Enable GZip Compression:</td>
<td class="row2"><input type="radio" name="gzip" value="1" {GZIP_YES}> Yes&nbsp;&nbsp;<input type="radio" name="gzip" value="1" {GZIP_NO}> No</td>
</tr>
<tr>
<th colspan="2">User/Forum Ability Settings</th>
</tr>
<tr>
<td class="row1">Allow HTML</td>
<td class="row2"><input type="radio" name="allow_html" value="1" {HTML_YES}> Yes&nbsp;&nbsp;<input type="radio" name="allow_html" value="0" {HTML_NO}> No</td>
</tr>
<tr>
<td class="row1">Allow BBCode</td>
<td class="row2"><input type="radio" name="allow_bbcode" value="1" {BBCODE_YES}> Yes&nbsp;&nbsp;<input type="radio" name="allow_bbcode" value="0" {BBCODE_NO}> No</td>
</tr>
<tr>
<td class="row1">Allow Smilies</td>
<td class="row2"><input type="radio" name="allow_smile" value="1" {SMILE_YES}> Yes&nbsp;&nbsp;<input type="radio" name="allow_smile" value="0" {SMILE_NO}> No</td>
</tr>
<tr>
<td class="row1">Allow Signatures</td>
<td class="row2"><input type="radio" name="allow_sig" value="1" {SIG_YES}> Yes&nbsp;&nbsp;<input type="radio" name="allow_sig" value="0" {SIG_NO}> No</td>
</tr>
<tr>
<td class="row1">Allow Name Change</td>
<td class="row2"><input type="radio" name="allow_namechange" value="1" {NAMECHANGE_YES}> Yes&nbsp;&nbsp;<input type="radio" name="allow_namechange" value="0" {NAMECHANGE_NO}> No</td>
</tr>
<tr>
<th colspan="2">Avatar Settings</th>
</tr>
<tr>
<td class="row1">Allow use of local avatar images</td>
<td class="row2"><input type="radio" name="allow_avatars_local" value="1" {AVATARS_LOCAL_YES}> Yes&nbsp;&nbsp;<input type="radio" name="allow_avatars_local" value="0" {AVATARS_LOCAL_NO}> No</td>
</tr>
<tr>
<td class="row1">Allow use of remote avatar images <br />
<span class="gensmall">(Avatars linked from another website)
</td>
<td class="row2"><input type="radio" name="allow_avatars_remote" value="1" {AVATARS_REMOTE_YES}> Yes&nbsp;&nbsp;<input type="radio" name="allow_avatars_remote" value="0" {AVATARS_REMOTE_NO}> No</td>
</tr>
<tr>
<td class="row1">Allow avatar uploading</td>
<td class="row2"><input type="radio" name="allow_avatars_upload" value="1" {AVATARS_UPLOAD_YES}> Yes&nbsp;&nbsp;<input type="radio" name="allow_avatars_upload" value="0" {AVATARS_UPLOAD_NO}> No</td>
</tr>
<tr>
<td class="row1">Max. Avatar File Size<br />
<span class="gensmall">(For uploaded avatar files)</span>
</td>
<td class="row2"><input type="text" size="4" maxlength="10" name="avatar_filesize" value="{AVATAR_FILESIZE}"> Bytes</td>
</tr>
<tr>
<td class="row1">Max. Avatar Size <br />
<span class="gensmall">(height x width)</span>
</td>
<td class="row2"><input type="text" size="3" maxlength="4" name="avatar_height" value="{AVATAR_HEIGHT}"> x <input type="text" size="3" maxlength="4" name="avatar_width" value="{AVATAR_WIDTH}"></td>
</tr>
<tr>
<td class="row1">Avatar Storage Path <br />
<span class="gensmall">(Specify the path under your phpBB root dir. e.g.: images/avatars)</span>
</td>
<td class="row2"><input type="text" size="20" maxlength="255" name="avatar_path" value="{AVATAR_PATH}"></td>
</tr>
<tr>
<th colspan="2">Email Settings</th>
</tr>
<tr>
<td class="row1">Admin Email Address</td>
<td class="row2"><input type="text" size="25" maxlength="100" name="admin_email" value="{ADMIN_EMAIL}"></td>
</tr>
<tr>
<td class="row1">Email Signature<br />
<span class="gensmall">(This text will be attached to all emails the board sends)</span>
</td>
<td class="row2"><textarea name="email_sig" rows="5" cols="30">{EMAIL_SIG}</textarea></td>
</tr>
<tr>
<td class="row1">Use SMTP for delivery<br />
<span class="gensmall">(This will tell phpBB to use a specified email server insted of the built in mail() function)</span>
</td>
<td class="row2"><input type="radio" name="use_smtp" value="1" {SMTP_YES}> Yes&nbsp;&nbsp;<input type="radio" name="use_smtp" value="0" {SMTP_NO}> No</td>
</tr>
<tr>
<td class="row1">SMTP Server</td>
<td class="row2"><input type="text" name="smtp_server" value="{SMTP_SERVER}" size="25" maxlength="50"></td>
</tr>
<tr>
<td class="row1" align="center" colspan="2">
<input type="hidden" name="mode" value="config">
<input type="submit" name="submit" value="Save Settings">
</td>
</tr>
</table>
</td>
</tr>
</table>
</form>
<br clear="all">