mirror of
https://github.com/e107inc/e107.git
synced 2025-08-03 05:07:27 +02:00
Notice removal
This commit is contained in:
@@ -35,7 +35,7 @@ class adminstyle_infopanel
|
|||||||
join_text: "auto",
|
join_text: "auto",
|
||||||
avatar_size: 16,
|
avatar_size: 16,
|
||||||
retweets: false,
|
retweets: false,
|
||||||
count: 3,
|
count: 4,
|
||||||
fetch: 5,
|
fetch: 5,
|
||||||
template: "{text}<br />- {time} » {retweet_action}",
|
template: "{text}<br />- {time} » {retweet_action}",
|
||||||
filter: function(t){ return ! /^@\w+/.test(t.tweet_raw_text); },
|
filter: function(t){ return ! /^@\w+/.test(t.tweet_raw_text); },
|
||||||
|
@@ -1838,10 +1838,9 @@ Inverse 10 <span class="badge badge-inverse">10</span>
|
|||||||
|
|
||||||
foreach($var as $key=>$link)
|
foreach($var as $key=>$link)
|
||||||
{
|
{
|
||||||
if(strpos(e_SELF,$link['link']))
|
if(varset($link['link']) && strpos(e_SELF,$link['link']))
|
||||||
{
|
{
|
||||||
$action = $key;
|
$action = $key;
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -1199,7 +1199,8 @@ class comment
|
|||||||
return $data;
|
return $data;
|
||||||
}
|
}
|
||||||
|
|
||||||
$files = e107::getPref('e_comment_list');
|
if($files = e107::getPref('e_comment_list'))
|
||||||
|
{
|
||||||
|
|
||||||
foreach ($files as $file=>$perms)
|
foreach ($files as $file=>$perms)
|
||||||
{
|
{
|
||||||
@@ -1231,9 +1232,11 @@ class comment
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
cachevars('e_comment', $data);
|
cachevars('e_comment', $data);
|
||||||
return $data;
|
return $data;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
/*
|
/*
|
||||||
* get number of records from comments db
|
* get number of records from comments db
|
||||||
* interchange the db rows and the e_comment vars
|
* interchange the db rows and the e_comment vars
|
||||||
|
Reference in New Issue
Block a user