Commit c64268c4 authored by changi67's avatar changi67

[FIX] Zend Recommendation [tiki-*]

parent 12c03534
......@@ -407,5 +407,3 @@ $installer = new Installer;
$smarty->assign('db_requires_update', $installer->requiresUpdate());
$smarty->display("tiki.tpl");
?>
......@@ -712,5 +712,3 @@ $smarty->assign("mootab",'y');
// Display the template
$smarty->assign('mid', 'tiki-admin_actionlog.tpl');
$smarty->display("tiki.tpl");
?>
......@@ -24,5 +24,3 @@ if($tiki_p_admin_banners != 'y') {
// Display the template
$smarty->assign('mid', 'tiki-edit_banner.tpl');
$smarty->display("tiki.tpl");
?>
\ No newline at end of file
......@@ -129,5 +129,3 @@ $smarty->assign('metatag_robots', 'NOINDEX, NOFOLLOW');
$smarty->assign('mid', 'tiki-admin_banning.tpl');
$smarty->display("tiki.tpl");
?>
......@@ -51,6 +51,3 @@ if (isset($secondLevelId) && $secondLevelId != '' && is_numeric($secondLevelId))
$smarty->assign_by_ref('toplevelfeatures', $topLevelFeatures);
$smarty->assign_by_ref('secondlevel', $secondLevelFeatures);
$smarty->assign_by_ref('thirdlevel', $thirdLevelFeatures);
?>
......@@ -250,5 +250,3 @@ $smarty->assign('metatag_robots', 'NOINDEX, NOFOLLOW');
$smarty->assign('uses_tabs', 'y');
$smarty->assign('mid', 'tiki-admin_calendars.tpl');
$smarty->display("tiki.tpl");
?>
......@@ -154,5 +154,3 @@ $smarty->assign('metatag_robots', 'NOINDEX, NOFOLLOW');
$smarty->assign('mid', 'tiki-admin_chart_items.tpl');
$smarty->display("tiki.tpl");
?>
......@@ -156,5 +156,3 @@ $smarty->assign('metatag_robots', 'NOINDEX, NOFOLLOW');
$smarty->assign('mid', 'tiki-admin_charts.tpl');
$smarty->display("tiki.tpl");
?>
......@@ -236,5 +236,3 @@ $smarty->assign('metatag_robots', 'NOINDEX, NOFOLLOW');
// Display the template
$smarty->assign('mid', 'tiki-admin_content_templates.tpl');
$smarty->display("tiki.tpl");
?>
......@@ -72,4 +72,3 @@ $smarty->assign_by_ref('contributions', $contributions['data']);
ask_ticket('admin_contribution');
$smarty->assign('mid', 'tiki-admin_contribution.tpl');
$smarty->display("tiki.tpl");
?>
......@@ -126,5 +126,3 @@ $smarty->assign('metatag_robots', 'NOINDEX, NOFOLLOW');
// Display the template
$smarty->assign('mid', 'tiki-admin_cookies.tpl');
$smarty->display("tiki.tpl");
?>
......@@ -118,5 +118,3 @@ $smarty->assign('metatag_robots', 'NOINDEX, NOFOLLOW');
$smarty->assign('mid', 'tiki-admin_drawings.tpl');
$smarty->display("tiki.tpl");
?>
......@@ -93,5 +93,3 @@ $smarty->assign('metatag_robots', 'NOINDEX, NOFOLLOW');
// Display the template
$smarty->assign('mid', 'tiki-admin_dsn.tpl');
$smarty->display("tiki.tpl");
?>
......@@ -92,5 +92,3 @@ $smarty->assign('metatag_robots', 'NOINDEX, NOFOLLOW');
// Display the template
$smarty->assign('mid', 'tiki-admin_external_wikis.tpl');
$smarty->display("tiki.tpl");
?>
......@@ -18,4 +18,3 @@ if ($_POST['submit'] != '') {
}
$smarty->assign('features', $features);
ask_ticket('admin_features');
?>
......@@ -325,5 +325,3 @@ $smarty->assign('metatag_robots', 'NOINDEX, NOFOLLOW');
// Display the template
$smarty->assign('mid', 'tiki-admin_forums.tpl');
$smarty->display("tiki.tpl");
?>
......@@ -87,5 +87,3 @@ $smarty->assign('metatag_robots', 'NOINDEX, NOFOLLOW');
// Display the template
$smarty->assign('mid', 'tiki-admin_hotwords.tpl');
$smarty->display("tiki.tpl");
?>
......@@ -114,5 +114,3 @@ $smarty->assign('metatag_robots', 'NOINDEX, NOFOLLOW');
// Display the template
$smarty->assign('mid', 'tiki-admin_html_page_content.tpl');
$smarty->display("tiki.tpl");
?>
......@@ -133,5 +133,3 @@ $smarty->assign('metatag_robots', 'NOINDEX, NOFOLLOW');
// Display the template
$smarty->assign('mid', 'tiki-admin_html_pages.tpl');
$smarty->display("tiki.tpl");
?>
......@@ -31,5 +31,3 @@ if (isset($_REQUEST["adssetup"])) {
}
}
?>
\ No newline at end of file
......@@ -73,5 +73,3 @@ ask_ticket('admin-inc-blogs');
$blogs = $tikilib->list_blogs(0, -1, 'created_desc', '');
$smarty->assign_by_ref('blogs', $blogs["data"]);
?>
......@@ -37,4 +37,3 @@ if (isset($_REQUEST["calprefs"])) {
}
ask_ticket('admin-inc-cal');
?>
......@@ -40,5 +40,3 @@ ask_ticket('admin-inc-category');
}
$headerlib->add_cssfile('css/admin.css');
?>
......@@ -73,4 +73,3 @@ if (isset($_REQUEST['import'])) {
}
ask_ticket('admin-inc-cms');
?>
......@@ -22,4 +22,3 @@ if (isset($_REQUEST["directory"])) {
simple_set_value('directory_open_links');
}
ask_ticket('admin-inc-directory');
?>
......@@ -20,4 +20,3 @@ if (isset($_REQUEST["faqcomprefs"])) {
simple_set_value('faq_prefix');
}
ask_ticket('admin-inc-faqs');
?>
......@@ -137,4 +137,3 @@ $smarty->assign('tabs', empty($_SESSION["tabbed_admin_features"])?'':'n');
$smarty->assign('php_major_version', substr(PHP_VERSION, 0, strpos(PHP_VERSION, '.')));
ask_ticket('admin-inc-features');
?>
......@@ -130,4 +130,3 @@ $file_galleries = $tikilib->list_visible_file_galleries(0, -1, 'name_desc', 'adm
$smarty->assign_by_ref('file_galleries', $file_galleries["data"]);
ask_ticket('admin-inc-fgal');
?>
......@@ -79,4 +79,3 @@ $forums = $commentslib->list_forums(0, -1, 'name_desc', '');
$smarty->assign_by_ref('forums', $forums["data"]);
ask_ticket('admin-inc-forums');
?>
......@@ -86,4 +86,3 @@ if (isset($_REQUEST["freetagsset3d"])) {
$headerlib->add_cssfile('css/admin.css');
ask_ticket('admin-inc-freetags');
?>
......@@ -158,4 +158,3 @@ $smarty->assign_by_ref('galleries', $galleries["data"]);
$smarty->assign("max_img_upload_size", $imagegallib->max_img_upload_size());
ask_ticket('admin-inc-gal');
?>
......@@ -211,4 +211,3 @@ $listgroups = $userlib->get_groups(0, -1, 'groupName_desc', '', '', 'n');
$smarty->assign("listgroups", $listgroups['data']);
ask_ticket('admin-inc-general');
?>
......@@ -25,4 +25,3 @@ if (isset($prefs['gmap_key']) and strlen($prefs['gmap_key']) == '86') {
$smarty->assign('show_map','n');
}
ask_ticket('admin-inc-gmap');
?>
......@@ -155,4 +155,3 @@ $smarty->assign("listgroups", $listgroups['data']);
ask_ticket('admin-inc-login');
?>
......@@ -266,4 +266,3 @@ if (isset($_REQUEST["looksetup"])) {
}
}
}
?>
......@@ -87,4 +87,3 @@ if (isset($_REQUEST["ogr2ogr"])) {
}
$smarty->assign('map_error', $map_error);
?>
......@@ -20,5 +20,3 @@ if (isset($_REQUEST["messagesprefs"])) {
simple_set_toggle('allowmsg_is_optional');
simple_set_toggle('allowmsg_by_default');
}
?>
......@@ -27,4 +27,3 @@ if (isset($_REQUEST["metatags"])) {
}
ask_ticket('admin-inc-metatags');
?>
......@@ -40,5 +40,3 @@ ask_ticket('admin-inc-module');
}
?>
\ No newline at end of file
......@@ -68,5 +68,3 @@ if (strpos($_SERVER["SCRIPT_NAME"],basename(__FILE__)) !== false) {
if (!isset($_REQUEST[$toggle])) $_REQUEST[$toggle] = $prefs[$toggle];
$tikilib->set_preference($toggle, $_REQUEST[$toggle]);
}
?>
......@@ -26,4 +26,3 @@ if (isset($_REQUEST["pollprefs"])) {
$headerlib->add_cssfile('css/admin.css');
ask_ticket('admin-inc-polls');
?>
......@@ -163,5 +163,3 @@ $smarty->assign( 'sources', $sources );
$smarty->assign( 'oldSources', $oldSources );
ask_ticket('admin-inc-profiles');
?>
......@@ -44,4 +44,3 @@ if (isset($_REQUEST['rss'])) {
}
ask_ticket('admin-inc-rss');
?>
......@@ -23,4 +23,3 @@ if (isset($_REQUEST["scoreevents"])) {
$smarty->assign('events',$scorelib->get_all_events());
ask_ticket('admin-inc-score');
?>
......@@ -126,4 +126,3 @@ if ($tiki_p_admin == 'y' && !empty($_REQUEST['refresh_tracker_index_now']) && $_
$headerlib->add_cssfile('css/admin.css');
ask_ticket('admin-inc-search');
?>
......@@ -19,4 +19,3 @@ if (!file_exists('.htaccess')) {
$smarty->assign('warning', tra('If you use apache, you need a .htaccess file to have this feature working'));
}
ask_ticket('admin-inc-sefurl');
?>
......@@ -85,5 +85,3 @@ if( isset($_POST['list']) ) {
}
ask_ticket('admin-inc-semantic');
?>
......@@ -244,5 +244,3 @@ if( isset($_REQUEST['plugin_alias']) && $pluginInfo = $tikilib->plugin_alias_inf
$smarty->assign( 'plugins_alias', $pluginsAlias );
$smarty->assign( 'plugins_real', $pluginsReal );
?>
......@@ -101,4 +101,3 @@ $urlquery['page'] = 'trackers';
$urlquery['sort_mode'] = $sort_mode;
$smarty->assign_by_ref('urlquery', $urlquery);
ask_ticket('admin-inc-trackers');
?>
......@@ -20,4 +20,3 @@ if (isset($_REQUEST["userfilesprefs"])) {
$tikilib->set_preference("userfiles_quota", $_REQUEST["userfiles_quota"]);
}
ask_ticket('admin-inc-userfiles');
?>
......@@ -34,4 +34,3 @@ if (isset($_REQUEST["webmail"])) {
}
ask_ticket('admin-inc-webmail');
?>
......@@ -133,5 +133,3 @@ $smarty->assign( 'storedTemplates', $storedTemplates );
$smarty->assign( 'url', $webservice->url );
$smarty->assign( 'postbody', $webservice->body );
$smarty->assign( 'params', $webservice->getParameterMap($_REQUEST['params']) );
?>
......@@ -301,4 +301,3 @@ $tags = $adminlib->get_tags();
$smarty->assign_by_ref("tags", $tags);
ask_ticket('admin-inc-wiki');
?>
......@@ -71,4 +71,3 @@ $urlquery['sort_mode'] = $sort_mode;
$smarty->assign_by_ref('urlquery', $urlquery);
ask_ticket('admin-inc-wikiatt');
?>
......@@ -36,4 +36,3 @@ if (isset($_REQUEST["wysiwygfeatures"])) {
}
ask_ticket('admin-inc-wysiwyg');
?>
......@@ -103,5 +103,3 @@ $smarty->assign('metatag_robots', 'NOINDEX, NOFOLLOW');
// Display the template
$smarty->assign('mid','tiki-admin_integrator.tpl');
$smarty->display("tiki.tpl");
?>
......@@ -202,5 +202,3 @@ $smarty->assign('metatag_robots', 'NOINDEX, NOFOLLOW');
// Display the template
$smarty->assign('mid','tiki-admin_integrator_rules.tpl');
$smarty->display("tiki.tpl");
?>
......@@ -74,5 +74,3 @@ $smarty->assign('metatag_robots', 'NOINDEX, NOFOLLOW');
// Display the template
$smarty->assign('mid', 'tiki-admin_layout.tpl');
$smarty->display("tiki.tpl");
?>
......@@ -87,5 +87,3 @@ $smarty->assign('metatag_robots', 'NOINDEX, NOFOLLOW');
$smarty->assign('mid', 'tiki-admin_links.tpl');
$smarty->display("tiki.tpl");
?>
......@@ -135,5 +135,3 @@ $smarty->assign('metatag_robots', 'NOINDEX, NOFOLLOW');
$smarty->assign('mid', 'tiki-admin_mailin.tpl');
$smarty->display("tiki.tpl");
?>
......@@ -186,5 +186,3 @@ $smarty->assign('metatag_robots', 'NOINDEX, NOFOLLOW');
// Display the template
$smarty->assign('mid', 'tiki-admin_menu_options.tpl');
$smarty->display("tiki.tpl");
?>
......@@ -100,5 +100,3 @@ $smarty->assign('metatag_robots', 'NOINDEX, NOFOLLOW');
// Display the template
$smarty->assign('mid', 'tiki-admin_menus.tpl');
$smarty->display("tiki.tpl");
?>
......@@ -333,5 +333,3 @@ $smarty->assign('metatag_robots', 'NOINDEX, NOFOLLOW');
$smarty->assign('mid', 'tiki-admin_modules.tpl');
$smarty->display("tiki.tpl");
?>
......@@ -274,5 +274,3 @@ $smarty->assign('metatag_robots', 'NOINDEX, NOFOLLOW');
// Display the template
$smarty->assign('mid', 'tiki-admin_newsletter_subscriptions.tpl');
$smarty->display("tiki.tpl");
?>
......@@ -167,5 +167,3 @@ $smarty->assign('metatag_robots', 'NOINDEX, NOFOLLOW');
// Display the template
$smarty->assign('mid', 'tiki-admin_newsletters.tpl');
$smarty->display("tiki.tpl");
?>
......@@ -207,5 +207,3 @@ $smarty->assign('admin_mail',$admin_mail);
// Display the template
$smarty->assign('mid', 'tiki-admin_notifications.tpl');
$smarty->display("tiki.tpl");
?>
......@@ -81,5 +81,3 @@ $smarty->assign('metatag_robots', 'NOINDEX, NOFOLLOW');
// Display the template
$smarty->assign('mid', 'tiki-admin_poll_options.tpl');
$smarty->display("tiki.tpl");
?>
......@@ -180,5 +180,3 @@ $smarty->assign('metatag_robots', 'NOINDEX, NOFOLLOW');
// Display the template
$smarty->assign('mid', 'tiki-admin_polls.tpl');
$smarty->display("tiki.tpl");
?>
......@@ -154,5 +154,3 @@ $smarty->assign('metatag_robots', 'NOINDEX, NOFOLLOW');
// Display the template
$smarty->assign('mid', 'tiki-admin_rssmodules.tpl');
$smarty->display("tiki.tpl");
?>
......@@ -387,5 +387,3 @@ $smarty->assign('metatag_robots', 'NOINDEX, NOFOLLOW');
$smarty->assign('mid', 'tiki-admin_security.tpl');
$smarty->display("tiki.tpl");
?>
......@@ -87,5 +87,3 @@ $smarty->assign('metatag_robots', 'NOINDEX, NOFOLLOW');
// Display the template
$smarty->assign('mid', 'tiki-admin_shoutbox_words.tpl');
$smarty->display("tiki.tpl");
?>
......@@ -319,5 +319,3 @@ $smarty->assign('pdf_export', file_exists('lib/mozilla2ps/mod_urltopdf.php') ? '
// Display the template
$smarty->assign('mid', 'tiki-admin_structures.tpl');
$smarty->display("tiki.tpl");
?>
......@@ -166,5 +166,3 @@ $smarty->assign('metatag_robots', 'NOINDEX, NOFOLLOW');
// Display the template
$smarty->assign('mid', 'tiki-admin_survey_questions.tpl');
$smarty->display("tiki.tpl");
?>
......@@ -185,5 +185,3 @@ $smarty->assign('metatag_robots', 'NOINDEX, NOFOLLOW');
// Display the template
$smarty->assign('mid', 'tiki-admin_surveys.tpl');
$smarty->display("tiki.tpl");
?>
......@@ -156,4 +156,3 @@ $smarty->assign('metatag_robots', 'NOINDEX, NOFOLLOW');
$smarty->assign('mid', 'tiki-admin_system.tpl');
$smarty->display("tiki.tpl");
?>
......@@ -311,5 +311,3 @@ $smarty->assign('metatag_robots', 'NOINDEX, NOFOLLOW');
// Display the template
$smarty->assign('mid', 'tiki-admin_tracker_fields.tpl');
$smarty->display("tiki.tpl");
?>
......@@ -619,5 +619,3 @@ $smarty->assign('metatag_robots', 'NOINDEX, NOFOLLOW');
// Display the template
$smarty->assign('mid', 'tiki-admin_trackers.tpl');
$smarty->display("tiki.tpl");
?>
......@@ -371,5 +371,3 @@ $smarty->assign('metatag_robots', 'NOINDEX, NOFOLLOW');
// Display the template for group administration
$smarty->assign('mid', 'tiki-admingroups.tpl');
$smarty->display("tiki.tpl");
?>
......@@ -558,4 +558,3 @@ $smarty->assign('metatag_robots', 'NOINDEX, NOFOLLOW');
$smarty->assign('mid', 'tiki-adminusers.tpl');
$smarty->display("tiki.tpl");
?>
......@@ -74,5 +74,3 @@ $smarty->assign( 'excluded', $excluded );
$smarty->assign( 'content', array_reverse( $contents ) );
$smarty->assign( 'mid', 'tiki-all_languages.tpl' );
$smarty->display( 'tiki.tpl' );
?>
......@@ -223,5 +223,3 @@ $smarty->assign('metatag_robots', 'NOINDEX, NOFOLLOW');
$smarty->assign('mid', 'tiki-approve_staging_page.tpl');
$smarty->display("tiki.tpl");
?>
......@@ -91,5 +91,3 @@ include_once ('tiki-section_options.php');
$smarty->assign('mid', 'tiki-article_types.tpl');
$smarty->display("tiki.tpl");
?>
......@@ -88,5 +88,3 @@ if ($output["data"]=="EMPTY") {
}
header("Content-type: ".$output["content-type"]);
print $output["data"];
?>
......@@ -174,5 +174,3 @@ $smarty->assign('metatag_robots', 'NOINDEX, NOFOLLOW');
// Display the template
$smarty->assign('mid', 'tiki-assignpermission.tpl');
$smarty->display("tiki.tpl");
?>
......@@ -142,5 +142,3 @@ $smarty->assign('metatag_robots', 'NOINDEX, NOFOLLOW');
// Display the template
$smarty->assign('mid', 'tiki-assignuser.tpl');
$smarty->display("tiki.tpl");
?>
......@@ -105,5 +105,3 @@ if ($output == "")
$output .= "</feed>";
}
?>
......@@ -71,5 +71,3 @@ $smarty->assign('metatag_robots', 'NOINDEX, NOFOLLOW');
// Display the template
$smarty->assign('mid', 'tiki-backlinks.tpl');
$smarty->display("tiki.tpl");
?>
......@@ -291,5 +291,3 @@ $smarty->assign('metatag_robots', 'NOINDEX, NOFOLLOW');
// Display the template
$smarty->assign('mid', 'tiki-batch_upload.tpl');
$smarty->display("tiki.tpl");
?>
......@@ -312,5 +312,3 @@ $smarty->assign('metatag_robots', 'NOINDEX, NOFOLLOW');
// Display the template
$smarty->assign('mid', 'tiki-batch_upload_files.tpl');
$smarty->display("tiki.tpl");
?>
......@@ -92,5 +92,3 @@ ask_ticket('blog-rankings');
// Display the template
$smarty->assign('mid', 'tiki-ranking.tpl');
$smarty->display("tiki.tpl");
?>
......@@ -85,5 +85,3 @@ if ($output["data"]=="EMPTY") {
}
header("Content-type: ".$output["content-type"]);
print $output["data"];
?>
......@@ -68,5 +68,3 @@ if ($output["data"]=="EMPTY") {
}
header("Content-type: ".$output["content-type"]);
print $output["data"];
?>
......@@ -188,5 +188,3 @@ else
$smarty->assign('mid', 'tiki-browse_categories.tpl');
$smarty->display("tiki.tpl");
}
?>
......@@ -182,5 +182,3 @@ $smarty->assign('objects_with_freetags', array(
));
$smarty->assign('mid', 'tiki-browse_freetags.tpl');
$smarty->display("tiki.tpl");
?>
......@@ -398,5 +398,3 @@ if ($prefs['feature_actionlog'] == 'y') {
$smarty->assign('mid', 'tiki-browse_gallery.tpl');
$smarty->display("tiki.tpl");
?>
......@@ -303,5 +303,3 @@ if ($popup) {
$smarty->assign('mid', 'tiki-browse_image.tpl');
$smarty->display("tiki.tpl");
}