show link to Indexer only if fulltext is enabled

This commit is contained in:
Uwe Steinmann 2015-06-15 15:28:25 +02:00
parent 9eb9114ece
commit 5b03c3dcc3

View File

@ -438,7 +438,7 @@ $(document).ready(function () {
}
echo "<li><a href=\"../out/out.FolderNotify.php?folderid=". $folderID ."&showtree=".showtree()."\">".getMLText("edit_existing_notify")."</a></li>\n";
}
if ($this->params['user']->isAdmin()) {
if ($this->params['user']->isAdmin() && $this->params['enablefullsearch']) {
echo "<li><a href=\"../out/out.Indexer.php?folderid=". $folderID ."\">".getMLText("index_folder")."</a></li>\n";
}
echo "</ul>\n";