1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-22 14:13:03 +02:00

Notice removal

This commit is contained in:
Cameron
2012-12-15 18:06:55 -08:00
parent 0779798f89
commit d404081ce6
12 changed files with 73 additions and 58 deletions

View File

@@ -454,14 +454,16 @@ else
<tbody>
";
foreach ($search_prefs['comments_handlers'] as $key => $value) {
foreach ($search_prefs['comments_handlers'] as $key => $value)
{
$path = ($value['dir'] == 'core') ? e_HANDLER.'search/comments_'.$key.'.php' : e_PLUGIN.$value['dir'].'/search/search_comments.php';
if(is_readable($path)){
if(is_readable($path))
{
require_once($path);
}
$text .= "
<tr>
<td>{$comments_title}</td>
<td>".vartrue($comments_title)."</td>
<td>
".r_userclass("comments_handlers[".$key."][class]", $search_prefs['comments_handlers'][$key]['class'], "off", "public,guest,nobody,member,admin,classes")."
</td>