1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-02 12:48:26 +02:00

Notice removal

This commit is contained in:
Cameron
2013-04-29 15:58:33 -07:00
parent 45b70ee005
commit 231f4344d1
3 changed files with 33 additions and 31 deletions

View File

@@ -35,7 +35,7 @@ class adminstyle_infopanel
join_text: "auto",
avatar_size: 16,
retweets: false,
count: 3,
count: 4,
fetch: 5,
template: "{text}<br />- {time} » {retweet_action}",
filter: function(t){ return ! /^@\w+/.test(t.tweet_raw_text); },

View File

@@ -1838,10 +1838,9 @@ Inverse 10 <span class="badge badge-inverse">10</span>
foreach($var as $key=>$link)
{
if(strpos(e_SELF,$link['link']))
if(varset($link['link']) && strpos(e_SELF,$link['link']))
{
$action = $key;
}
}

View File

@@ -1199,7 +1199,8 @@ class comment
return $data;
}
$files = e107::getPref('e_comment_list');
if($files = e107::getPref('e_comment_list'))
{
foreach ($files as $file=>$perms)
{
@@ -1231,9 +1232,11 @@ class comment
}
}
}
cachevars('e_comment', $data);
return $data;
}
}
/*
* get number of records from comments db
* interchange the db rows and the e_comment vars