+ 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:
@@ -138,7 +138,7 @@ function UserAgent($agent)
|
||||
function GenerateTime($request_time)
|
||||
{
|
||||
global $lng;
|
||||
if (date('d-m-Y',$request_time)== date('d-m-Y',time()))
|
||||
if (date('d M Y',$request_time)== date('d M Y',time()))
|
||||
{
|
||||
$date = $lng['today'].', '.date('G:i', $request_time);
|
||||
}
|
||||
@@ -150,7 +150,7 @@ function GenerateTime($request_time)
|
||||
}
|
||||
else
|
||||
{
|
||||
$date = date('d-m-Y, G:i',$request_time);
|
||||
$date = date('d M Y, G:i',$request_time);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -284,12 +284,12 @@ function TotalPosts()
|
||||
return($result);
|
||||
}
|
||||
|
||||
function DefaultLang()
|
||||
function DefaultLang($active = false)
|
||||
{
|
||||
global $forum_config;
|
||||
global $userdata;
|
||||
|
||||
if ($_SESSION['uid']>0)
|
||||
if ($_SESSION['uid']>0 && !$active)
|
||||
{
|
||||
return $userdata['lang'];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user