Commit b9f6822e authored by mose's avatar mose

[FIX] wiki: fixed section declaration

parent ff316911
<?php
// $Header: /cvsroot/tikiwiki/tiki/tiki-admin_structures.php,v 1.23 2006-09-19 16:33:13 ohertel Exp $
// $Header: /cvsroot/tikiwiki/tiki/tiki-admin_structures.php,v 1.24 2006-12-03 18:08:41 mose Exp $
// Copyright (c) 2002-2005, Luis Argerich, Garland Foster, Eduardo Polidor, et. al.
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// Initialization
$section = 'wiki page';
require_once ('tiki-setup.php');
include_once ('lib/structures/structlib.php');
......@@ -155,7 +156,7 @@ if ($offset > 0) {
$smarty->assign_by_ref('channels', $channels["data"]);
ask_ticket('admin-structures');
$section = 'wiki';
include_once ('tiki-section_options.php');
// disallow robots to index page:
......
<?php
// $Header: /cvsroot/tikiwiki/tiki/tiki-edit_structure.php,v 1.29 2006-09-19 16:33:15 ohertel Exp $
// $Header: /cvsroot/tikiwiki/tiki/tiki-edit_structure.php,v 1.30 2006-12-03 18:08:41 mose Exp $
// Copyright (c) 2002-2005, Luis Argerich, Garland Foster, Eduardo Polidor, et. al.
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// Initialization
$section = 'wiki page';
require_once ('tiki-setup.php');
include_once ('lib/structures/structlib.php');
......@@ -136,6 +137,8 @@ $smarty->assign('subtree', $subtree);
ask_ticket('edit-structure');
include_once ('tiki-section_options.php');
// disallow robots to index page:
$smarty->assign('metatag_robots', 'NOINDEX, NOFOLLOW');
......
<?php
// $Header: /cvsroot/tikiwiki/tiki/tiki-lastchanges.php,v 1.16 2006-09-19 16:33:16 ohertel Exp $
// $Header: /cvsroot/tikiwiki/tiki/tiki-lastchanges.php,v 1.17 2006-12-03 18:08:40 mose Exp $
// Copyright (c) 2002-2005, Luis Argerich, Garland Foster, Eduardo Polidor, et. al.
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// Initialization
$section = 'wiki page';
require_once ('tiki-setup.php');
include_once ('lib/wiki/histlib.php');
......@@ -104,6 +105,8 @@ if ($offset > 0) {
$smarty->assign_by_ref('lastchanges', $lastchanges["data"]);
ask_ticket('lastchanges');
include_once ('tiki-section_options.php');
// disallow robots to index page:
$smarty->assign('metatag_robots', 'NOINDEX, NOFOLLOW');
......
<?php
// $Header: /cvsroot/tikiwiki/tiki/tiki-likepages.php,v 1.13 2006-09-19 16:33:17 ohertel Exp $
// $Header: /cvsroot/tikiwiki/tiki/tiki-likepages.php,v 1.14 2006-12-03 18:08:41 mose Exp $
// Copyright (c) 2002-2005, Luis Argerich, Garland Foster, Eduardo Polidor, et. al.
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// Initialization
$section = 'wiki page';
require_once ('tiki-setup.php');
include_once ('lib/wiki/wikilib.php');
......@@ -75,6 +76,8 @@ ask_ticket('likepages');
// disallow robots to index page:
$smarty->assign('metatag_robots', 'NOINDEX, NOFOLLOW');
include_once ('tiki-section_options.php');
// Display the template
$smarty->assign('mid', 'tiki-likepages.tpl');
$smarty->assign('show_page_bar', 'y');
......
<?php
// $Header: /cvsroot/tikiwiki/tiki/tiki-listpages.php,v 1.28 2006-09-19 16:33:17 ohertel Exp $
// $Header: /cvsroot/tikiwiki/tiki/tiki-listpages.php,v 1.29 2006-12-03 18:08:40 mose Exp $
// Copyright (c) 2002-2005, Luis Argerich, Garland Foster, Eduardo Polidor, et. al.
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// Initialization
$section = 'wiki page';
require_once ('tiki-setup.php');
require_once("lib/ajax/ajaxlib.php");
......@@ -132,6 +133,8 @@ ask_ticket('list-pages');
$ajaxlib->registerTemplate('tiki-listpages_content.tpl');
$ajaxlib->processRequests();
include_once ('tiki-section_options.php');
// disallow robots to index page:
$smarty->assign('metatag_robots', 'NOINDEX, NOFOLLOW');
......
<?php
// $Header: /cvsroot/tikiwiki/tiki/tiki-orphan_pages.php,v 1.11 2006-09-19 16:33:17 ohertel Exp $
// $Header: /cvsroot/tikiwiki/tiki/tiki-orphan_pages.php,v 1.12 2006-12-03 18:08:41 mose Exp $
// Copyright (c) 2002-2005, Luis Argerich, Garland Foster, Eduardo Polidor, et. al.
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// Initialization
$section = 'wiki page';
require_once ('tiki-setup.php');
include_once ('lib/stats/statslib.php');
......@@ -89,6 +90,8 @@ $smarty->assign_by_ref('listpages', $listpages["data"]);
ask_ticket('orphan-pages');
include_once ('tiki-section_options.php');
// disallow robots to index page:
$smarty->assign('metatag_robots', 'NOINDEX, NOFOLLOW');
......
<?php
// $Header: /cvsroot/tikiwiki/tiki/tiki-pagehistory.php,v 1.34 2006-09-19 16:33:17 ohertel Exp $
// $Header: /cvsroot/tikiwiki/tiki/tiki-pagehistory.php,v 1.35 2006-12-03 18:08:41 mose Exp $
// Copyright (c) 2002-2005, Luis Argerich, Garland Foster, Eduardo Polidor, et. al.
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// Initialization
$section = 'wiki page';
require_once ('tiki-setup.php');
include_once ('lib/wiki/histlib.php');
......@@ -184,6 +185,8 @@ ask_ticket('page-history');
// disallow robots to index page:
$smarty->assign('metatag_robots', 'NOINDEX, NOFOLLOW');
include_once ('tiki-section_options.php');
// Display the template
$smarty->assign('mid', 'tiki-pagehistory.tpl');
$smarty->assign('show_page_bar', 'y');
......
<?php
// $Header: /cvsroot/tikiwiki/tiki/tiki-pagepermissions.php,v 1.27 2006-11-17 18:34:21 sylvieg Exp $
// $Header: /cvsroot/tikiwiki/tiki/tiki-pagepermissions.php,v 1.28 2006-12-03 18:08:41 mose Exp $
// Copyright (c) 2002-2005, Luis Argerich, Garland Foster, Eduardo Polidor, et. al.
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
$section = 'wiki page';
include_once ("tiki-setup.php");
include_once ('lib/notifications/notificationlib.php');
......@@ -147,6 +148,8 @@ $smarty->assign_by_ref('perms', $perms["data"]);
ask_ticket('page-perms');
include_once ('tiki-section_options.php');
$smarty->assign('mid', 'tiki-pagepermissions.tpl');
$smarty->assign('show_page_bar', 'y');
$smarty->display("tiki.tpl");
......
<?php
// $Header: /cvsroot/tikiwiki/tiki/tiki-print_pages.php,v 1.16 2006-09-19 16:33:17 ohertel Exp $
// $Header: /cvsroot/tikiwiki/tiki/tiki-print_pages.php,v 1.17 2006-12-03 18:08:41 mose Exp $
// Copyright (c) 2002-2005, Luis Argerich, Garland Foster, Eduardo Polidor, et. al.
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// Initialization
$section = 'wiki page';
require_once ('tiki-setup.php');
include_once ('lib/structures/structlib.php');
......@@ -77,7 +78,7 @@ $pages = $tikilib->list_pageNames(0, -1, 'pageName_asc', $find);
$smarty->assign_by_ref('pages', $pages["data"]);
$structures = $structlib->list_structures(0,-1,'pageName_asc',0);
$smarty->assign_by_ref('structures',$structures["data"]);
$section = 'wiki';
include_once ('tiki-section_options.php');
ask_ticket('print-pages');
......
<?php
// $Header: /cvsroot/tikiwiki/tiki/tiki-removepage.php,v 1.15 2006-09-19 16:33:17 ohertel Exp $
// $Header: /cvsroot/tikiwiki/tiki/tiki-removepage.php,v 1.16 2006-12-03 18:08:41 mose Exp $
// Copyright (c) 2002-2005, Luis Argerich, Garland Foster, Eduardo Polidor, et. al.
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// Initialization
$section = 'wiki page';
require_once ('tiki-setup.php');
include_once ('lib/wiki/histlib.php');
......@@ -80,6 +81,8 @@ if (isset($_REQUEST["remove"])) {
ask_ticket('remove-page');
include_once ('tiki-section_options.php');
// disallow robots to index page:
$smarty->assign('metatag_robots', 'NOINDEX, NOFOLLOW');
......
<?php
// $Header: /cvsroot/tikiwiki/tiki/tiki-rename_page.php,v 1.16 2006-09-19 16:33:17 ohertel Exp $
// $Header: /cvsroot/tikiwiki/tiki/tiki-rename_page.php,v 1.17 2006-12-03 18:08:41 mose Exp $
// Copyright (c) 2002-2005, Luis Argerich, Garland Foster, Eduardo Polidor, et. al.
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// Initialization
$section = 'wiki page';
require_once ('tiki-setup.php');
include_once ('lib/wiki/wikilib.php');
......@@ -81,6 +82,8 @@ if (isset($_REQUEST["rename"])) {
ask_ticket('rename-page');
include_once ('tiki-section_options.php');
// disallow robots to index page:
$smarty->assign('metatag_robots', 'NOINDEX, NOFOLLOW');
......
<?php
// $Header: /cvsroot/tikiwiki/tiki/tiki-wiki_rankings.php,v 1.13 2005-05-18 10:59:01 mose Exp $
// $Header: /cvsroot/tikiwiki/tiki/tiki-wiki_rankings.php,v 1.14 2006-12-03 18:08:40 mose Exp $
// Copyright (c) 2002-2005, Luis Argerich, Garland Foster, Eduardo Polidor, et. al.
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// Initialization
$section = 'wiki page';
require_once ('tiki-setup.php');
include_once ('lib/rankings/ranklib.php');
......@@ -85,6 +86,9 @@ $rankings[] = $rank;
$smarty->assign_by_ref('rankings', $rankings);
$smarty->assign('rpage', 'tiki-wiki_rankings.php');
include_once ('tiki-section_options.php');
// Display the template
$smarty->assign('mid', 'tiki-ranking.tpl');
$smarty->display("tiki.tpl");
......
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