Commit e2db6039 authored by changi67's avatar changi67

[TRA] Adding comment to avoid unused word

parent b8bc1105
......@@ -7,6 +7,7 @@
require_once ('tiki-setup.php');
include_once ('lib/rss/rsslib.php');
//get_strings tra('External Feeds')
$auto_query_args = array(
'rssId',
'offset',
......
......@@ -7,7 +7,7 @@
require_once ('tiki-setup.php');
$access->check_permission(array('tiki_p_clean_cache'));
//get_strings tra('Tiki Cache/Sys Admin')
$done = '';
$output = '';
$buf = '';
......
......@@ -9,7 +9,7 @@ $section = 'file_galleries';
require_once ('tiki-setup.php');
include_once ('lib/filegals/filegallib.php');
$access->check_feature(array('feature_file_galleries', 'feature_file_galleries_batch'));
//get_strings tra('Directory batch')
// Now check permissions to access this page
$access->check_permission('tiki_p_batch_upload_file_dir');
......
......@@ -10,7 +10,7 @@ require_once ('tiki-setup.php');
include_once ('lib/directory/dirlib.php');
$access->check_feature('feature_directory');
$access->check_permission('tiki_p_submit_link');
//get_strings tra('Submit a new link')
// If no parent category then the parent category is 0
if (!isset($_REQUEST["parent"])) $_REQUEST["parent"] = 0;
// If no site category then the site category is -1
......
......@@ -9,7 +9,7 @@ require_once ('tiki-setup.php');
include_once ('lib/directory/dirlib.php');
$access->check_feature('feature_directory');
$access->check_permission_either(array('tiki_p_admin_directory_sites','tiki_p_admin_directory_cats','tiki_p_validate_links'));
//get_strings tra('Admin Directory')
// This will only display a menu to
// admin_categories
// admin_sites
......
......@@ -10,6 +10,7 @@ require_once ('tiki-setup.php');
include_once ('lib/directory/dirlib.php');
$access->check_feature('feature_directory');
$access->check_permission('tiki_p_view_directory');
//get_strings tra('Browse Directory')
// If no parent category then the parent category is 0
if (!isset($_REQUEST["parent"])) $_REQUEST["parent"] = 0;
$smarty->assign('parent', $_REQUEST["parent"]);
......
......@@ -7,7 +7,7 @@
$section = 'forums';
require_once ('tiki-setup.php');
//get_strings tra('List Forums')
$auto_query_args = array('sort_mode', 'offset', 'find', 'mode');
$smarty->assign('headtitle',tra('Forums'));
......
......@@ -9,6 +9,7 @@ $section = 'blogs';
require_once ('tiki-setup.php');
include_once ('lib/blogs/bloglib.php');
$smarty->assign('headtitle', tra('Blogs'));
//get_strings tra('List Blog Posts')
if ($prefs['feature_categories'] == 'y') {
include_once ('lib/categories/categlib.php');
}
......
......@@ -11,6 +11,7 @@ $auto_query_args = array('sort_mode', 'offset', 'find');
if (!isset($dcslib)) {
$dcslib = new DCSLib;
}
//get_strings tra('Dynamic content')
$access->check_feature('feature_dynamic_content');
$access->check_permission('tiki_p_admin_dynamic');
if (isset($_REQUEST["remove"])) {
......
......@@ -8,6 +8,7 @@
require_once ('tiki-setup.php');
$access->check_feature('feature_maps');
$access->check_permission('tiki_p_map_edit');
//get_strings tra('Layer Management')
if (!is_dir($prefs['map_path'])) {
$smarty->assign('msg', tr('Please create a directory named %0 to hold your map files.', $prefs['map_path']));
$smarty->display('error.tpl');
......
......@@ -25,7 +25,7 @@ $smarty->assign('headtitle', tra('Search'));
$access->check_feature('feature_search');
$access->check_permission('tiki_p_search');
//get_strings tra("Searchindex")
//ini_set('display_errors', true);
//error_reporting(E_ALL);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment