+ 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

@@ -33,8 +33,8 @@ class Secure
$sql = "SELECT * FROM ".CENSORLIST_TABLE.";";
$query = DataBase::sql_query($sql,GENERAL,'Could not obtain censorlist information.');
while($word = DataBase::fetch($query))
{
$text = str_replace($word['word'],'[censored]', $text);
{
$text = str_replace($word['word'],$word['replace'], $text);
}
}
return $text;