+ 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

@@ -58,6 +58,13 @@ switch(trim($_GET['mode']))
{
if ((strpos($_POST['value'],'+')!==false) or (strpos($_POST['value'],'-')!==false))
{
if ($_POST['value'] == '+')
{
if (User::UserInformation($_GET['id'],'rank')>0)
{
message_forum($lng['cannot_add_warn_am'],'warns.php?mode=view&id='.$_GET['id']);
}
}
$_POST['textedit'] = Secure::TagsReplace($_POST['textedit']);
User::UserAddWarn($_GET['id'],$_POST['value'] ,addslashes(strip_tags($_POST['textedit'])));
$stop = TimeGeneration();