diff -urbB punbb-1.1.1/upload/admin_bans.php punbb-1.1.5/upload/admin_bans.php --- punbb-1.1.1/upload/admin_bans.php 2004-03-21 16:29:19.000000000 +0100 +++ punbb-1.1.5/upload/admin_bans.php 2004-04-25 22:34:47.000000000 +0200 @@ -54,7 +54,7 @@ } else // Otherwise the username is in POST { - $ban_user = trim(strtolower($_POST['new_ban_user'])); + $ban_user = trim($_POST['new_ban_user']); if ($ban_user != '') { @@ -121,8 +121,8 @@
Username The username to ban (case insensitive). |
- + | Username The username to ban. |
+ |
IP-adresses The IP or IP-ranges you wish to ban (e.g. 150.11.110.1 or 150.11.110). Separate addresses with spaces. If an IP is entered already it is the last known IP of this user in the database.here to see IP statistics for this user.' ?> |
diff -urbB punbb-1.1.1/upload/admin_maintenance.php punbb-1.1.5/upload/admin_maintenance.php
--- punbb-1.1.1/upload/admin_maintenance.php 2004-03-21 16:29:19.000000000 +0100
+++ punbb-1.1.5/upload/admin_maintenance.php 2004-03-21 16:29:24.000000000 +0100
@@ -42,6 +42,8 @@
if (empty($per_page) || empty($start_at))
message($lang_common['Bad request']);
+ @set_time_limit(0);
+
// If this is the first cycle of posts we empty the search index before we proceed
if (isset($_GET['empty_index']))
{
diff -urbB punbb-1.1.1/upload/admin_options.php punbb-1.1.5/upload/admin_options.php
--- punbb-1.1.1/upload/admin_options.php 2004-03-21 16:29:19.000000000 +0100
+++ punbb-1.1.5/upload/admin_options.php 2004-03-21 16:29:24.000000000 +0100
@@ -94,13 +94,24 @@
$form['maintenance'] = '0';
}
+ $form['timeout_visit'] = intval($form['timeout_visit']);
+ $form['timeout_online'] = intval($form['timeout_online']);
+ $form['redirect_delay'] = intval($form['redirect_delay']);
+ $form['flood_interval'] = intval($form['flood_interval']);
+ $form['topic_review'] = intval($form['topic_review']);
+ $form['disp_topics_default'] = intval($form['disp_topics_default']);
+ $form['disp_posts_default'] = intval($form['disp_posts_default']);
+ $form['indent_num_spaces'] = intval($form['indent_num_spaces']);
+ $form['avatars_width'] = intval($form['avatars_width']);
+ $form['avatars_height'] = intval($form['avatars_height']);
+ $form['avatars_size'] = intval($form['avatars_size']);
while (list($key, $input) = @each($form))
{
// Only update values that have changed
if ($pun_config['o_'.$key] != $input)
{
- if ($input != '')
+ if ($input != '' || is_int($input))
$value = '\''.escape($input).'\'';
else
$value = 'NULL';
@@ -392,11 +403,11 @@
|||
SMTP username Username for SMTP server. Only enter a username if it is required by the SMTP server (most servers don't require authentication). |
- + | ||
SMTP password Password for SMTP server. Only enter a password if it is required by the SMTP server (most servers don't require authentication). |
- + |