diff options
author | Paul S. Owen <psotfx@users.sourceforge.net> | 2002-07-28 23:56:26 +0000 |
---|---|---|
committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2002-07-28 23:56:26 +0000 |
commit | 862fb87e51a61c1d856255dcd2700ed4185abb22 (patch) | |
tree | 5b4232d3d98af6908d79f7a27a6a35e31a3f5a11 /phpBB/admin | |
parent | 4fce84ef0a17736a3b4c69b1b1654017b0e83275 (diff) | |
download | forums-862fb87e51a61c1d856255dcd2700ed4185abb22.tar forums-862fb87e51a61c1d856255dcd2700ed4185abb22.tar.gz forums-862fb87e51a61c1d856255dcd2700ed4185abb22.tar.bz2 forums-862fb87e51a61c1d856255dcd2700ed4185abb22.tar.xz forums-862fb87e51a61c1d856255dcd2700ed4185abb22.zip |
Missed settings and some reorg ...
git-svn-id: file:///svn/phpbb/trunk@2779 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/admin')
-rw-r--r-- | phpBB/admin/admin_board.php | 57 |
1 files changed, 49 insertions, 8 deletions
diff --git a/phpBB/admin/admin_board.php b/phpBB/admin/admin_board.php index 55e6e46e22..c8110a0cbb 100644 --- a/phpBB/admin/admin_board.php +++ b/phpBB/admin/admin_board.php @@ -229,6 +229,12 @@ switch ( $mode ) $override_user_style_yes = ( $new['override_user_style'] ) ? 'checked="checked"' : ''; $override_user_style_no = ( !$new['override_user_style'] ) ? 'checked="checked"' : ''; + $topic_notify_yes = ( $new['allow_topic_notify'] ) ? 'checked="checked"' : ''; + $topic_notify_no = ( !$new['allow_topic_notify'] ) ? 'checked="checked"' : ''; + + $forum_notify_yes = ( $new['allow_forum_notify'] ) ? 'checked="checked"' : ''; + $forum_notify_no = ( !$new['allow_forum_notify'] ) ? 'checked="checked"' : ''; + $html_yes = ( $new['allow_html'] ) ? 'checked="checked"' : ''; $html_no = ( !$new['allow_html'] ) ? 'checked="checked"' : ''; @@ -266,6 +272,26 @@ switch ( $mode ) <td class="row2"><?php echo $timezone_select; ?></td> </tr> <tr> + <td class="row1"><?php echo $lang['Char_limit']; ?><br /><span class="gensmall"><?php echo $lang['Char_limit_explain']; ?></span</td> + <td class="row2"><input type="text" size="4" maxlength="4" name="max_post_chars" value="<?php echo $new['max_post_chars']; ?>" /></td> + </tr> + <tr> + <td class="row1"><?php echo $lang['Smilies_limit']; ?><br /><span class="gensmall"><?php echo $lang['Smilies_limit_explain']; ?></span</td> + <td class="row2"><input type="text" size="4" maxlength="4" name="max_post_smilies" value="<?php echo $new['max_post_smilies']; ?>" /></td> + </tr> + <tr> + <td class="row1"><?php echo $lang['Allow_topic_notify']; ?></td> + <td class="row2"><input type="radio" name="allow_topic_notify" value="1" <?php echo $topic_notify_yes; ?> /> <?php echo $lang['Yes']; ?> <input type="radio" name="allow_topic_notify" value="0" <?php echo $topic_notify_no; ?> /> <?php echo $lang['No']; ?></td> + </tr> + <tr> + <td class="row1"><?php echo $lang['Allow_forum_notify']; ?></td> + <td class="row2"><input type="radio" name="allow_forum_notify" value="1" <?php echo $forum_notify_yes; ?> /> <?php echo $lang['Yes']; ?> <input type="radio" name="allow_forum_notify" value="0" <?php echo $forum_notify_no; ?> /> <?php echo $lang['No']; ?></td> + </tr> + <tr> + <td class="row1"><?php echo $lang['Allow_name_change']; ?></td> + <td class="row2"><input type="radio" name="allow_namechange" value="1" <?php echo $namechange_yes; ?> /> <?php echo $lang['Yes']; ?> <input type="radio" name="allow_namechange" value="0" <?php echo $namechange_no; ?> /> <?php echo $lang['No']; ?></td> + </tr> + <tr> <td class="row1"><?php echo $lang['Allow_HTML']; ?></td> <td class="row2"><input type="radio" name="allow_html" value="1" <?php echo $html_yes; ?> /> <?php echo $lang['Yes']; ?> <input type="radio" name="allow_html" value="0" <?php echo $html_no; ?> /> <?php echo $lang['No']; ?></td> </tr> @@ -282,10 +308,6 @@ switch ( $mode ) <td class="row2"><input type="radio" name="allow_smilies" value="1" <?php echo $smile_yes; ?> /> <?php echo $lang['Yes']; ?> <input type="radio" name="allow_smilies" value="0" <?php echo $smile_no; ?> /> <?php echo $lang['No']; ?></td> </tr> <tr> - <td class="row1"><?php echo $lang['Smilies_path']; ?> <br /><span class="gensmall"><?php echo $lang['Smilies_path_explain']; ?></span></td> - <td class="row2"><input type="text" size="20" maxlength="255" name="smilies_path" value="<?php echo $new['smilies_path']; ?>" /></td> - </tr> - <tr> <td class="row1"><?php echo $lang['Allow_sig']; ?></td> <td class="row2"><input type="radio" name="allow_sig" value="1" <?php echo $sig_yes; ?> /> <?php echo $lang['Yes']; ?> <input type="radio" name="allow_sig" value="0" <?php echo $sig_no; ?> /> <?php echo $lang['No']; ?></td> </tr> @@ -293,10 +315,6 @@ switch ( $mode ) <td class="row1"><?php echo $lang['Max_sig_length']; ?><br /><span class="gensmall"><?php echo $lang['Max_sig_length_explain']; ?></span></td> <td class="row2"><input type="text" size="5" maxlength="4" name="max_sig_chars" value="<?php echo $new['max_sig_chars']; ?>" /></td> </tr> - <tr> - <td class="row1"><?php echo $lang['Allow_name_change']; ?></td> - <td class="row2"><input type="radio" name="allow_namechange" value="1" <?php echo $namechange_yes; ?> /> <?php echo $lang['Yes']; ?> <input type="radio" name="allow_namechange" value="0" <?php echo $namechange_no; ?> /> <?php echo $lang['No']; ?></td> - </tr> <?php break; @@ -306,6 +324,9 @@ switch ( $mode ) $disable_board_yes = ( $new['board_disable'] ) ? 'checked="checked"' : ''; $disable_board_no = ( !$new['board_disable'] ) ? 'checked="checked"' : ''; + $coppa_enable_yes = ( $new['coppa_enable'] ) ? 'checked="checked"' : ''; + $coppa_enable_no = ( !$new['coppa_enable'] ) ? 'checked="checked"' : ''; + $activation_none = ( $new['require_activation'] == USER_ACTIVATION_NONE ) ? 'checked="checked"' : ''; $activation_user = ( $new['require_activation'] == USER_ACTIVATION_SELF ) ? 'checked="checked"' : ''; $activation_admin = ( $new['require_activation'] == USER_ACTIVATION_ADMIN ) ? 'checked="checked"' : ''; @@ -334,6 +355,14 @@ switch ( $mode ) <td class="row2"><input type="radio" name="board_disable" value="1" <?php echo $disable_board_yes; ?> /> <?php echo $lang['Yes']; ?> <input type="radio" name="board_disable" value="0" <?php echo $disable_board_no; ?> /> <?php echo $lang['No']; ?><br /><input type="text" name="board_disable_msg" maxlength="255" size="40" value="<?php echo $new['board_disable_msg']; ?>" /></td> </tr> <tr> + <td class="row1"><?php echo $lang['Limit_load']; ?><br /><span class="gensmall"><?php echo $lang['Limit_load_explain']; ?></span></td> + <td class="row2"><input type="text" size="4" maxlength="4" name="limit_load" value="<?php echo $new['limit_load']; ?>" /></td> + </tr> + <tr> + <td class="row1"><?php echo $lang['Limit_sessions']; ?><br /><span class="gensmall"><?php echo $lang['Limit_sessions_explain']; ?></span></td> + <td class="row2"><input type="text" size="4" maxlength="4" name="active_sessions" value="<?php echo $new['active_sessions']; ?>" /></td> + </tr> + <tr> <td class="row1"><?php echo $lang['Enable_gzip']; ?></td> <td class="row2"><input type="radio" name="gzip_compress" value="1" <?php echo $gzip_yes; ?> /> <?php echo $lang['Yes']; ?> <input type="radio" name="gzip_compress" value="0" <?php echo $gzip_no; ?> /> <?php echo $lang['No']; ?></td> </tr> @@ -374,6 +403,18 @@ switch ( $mode ) <td class="row2"><input type="text" size="3" maxlength="4" name="flood_interval" value="<?php echo $new['flood_interval']; ?>" /></td> </tr> <tr> + <td class="row1"><?php echo $lang['Search_Interval']; ?> <br /><span class="gensmall"><?php echo $lang['Search_Interval_explain']; ?></span></td> + <td class="row2"><input type="text" size="3" maxlength="4" name="search_interval" value="<?php echo $new['search_interval']; ?>" /></td> + </tr> + <tr> + <td class="row1"><?php echo $lang['Smilies_path']; ?> <br /><span class="gensmall"><?php echo $lang['Smilies_path_explain']; ?></span></td> + <td class="row2"><input type="text" size="20" maxlength="255" name="smilies_path" value="<?php echo $new['smilies_path']; ?>" /></td> + </tr> + <tr> + <td class="row1"><?php echo $lang['Icons_path']; ?> <br /><span class="gensmall"><?php echo $lang['Icons_path_explain']; ?></span></td> + <td class="row2"><input type="text" size="20" maxlength="255" name="icons_path" value="<?php echo $new['icons_path']; ?>" /></td> + </tr> + <tr> <td class="row1"><?php echo $lang['Topics_per_page']; ?></td> <td class="row2"><input type="text" name="topics_per_page" size="3" maxlength="4" value="<?php echo $new['topics_per_page']; ?>" /></td> </tr> |