+ Censorlist was extended - added replacement parametr

+ Fixed bug with DB Size in check_script.php
+ Deleted a lot of indexes in check_script_data.php
+ Deleted cache index and forum lastpost section in cache_index.php and cache_forum.php
+ Fixed other bugs in warnings
+ Fixed pagination in search.php
+ Replaced DSF logo to uForum logo
+ Moved differend elements in skin
+ Added "WHOIS" option in "Admin/Mod Pool" in view topic
+ Fixed bug in add warnings: couldn't add warn for admin/mod

git-svn-id: https://svn.pioder.pl/uf-svn/uF@29 72ec579a-5ced-4fa4-82f3-afba5d98df2f
This commit is contained in:
pioder
2009-05-31 15:20:17 +00:00
parent b67095eb0b
commit b157d6653e
30 changed files with 228 additions and 128 deletions

View File

@@ -34,13 +34,14 @@ if ($_SESSION['uid']<1)
{
message_forum($lng['youarenotlogd'],'login.php?mode=login');
}
foreach ($_POST as $name => $value)
/**foreach ($_POST as $name => $value)
{
if ($forum_config['use_censorlist'])
{
$_POST[$name] = Secure::UseCensorlist($value);
}
}
*/
$start = TimeGeneration();
//add skin variables
$skin = array(
@@ -209,6 +210,7 @@ switch(trim($_GET['mode']))
setcookie('antiflood_time',(time() + $forum_config['time_antiflood']));
}
$_POST['textedit'] = Secure::TagsReplace($_POST['textedit']);
$id = Post::NewPost(intval($_GET['id']),$_POST['textedit'], $_SESSION['uid']);
$count =ceil(($id / 15 ));
if ($count >1)