Commit a5ce00f3 authored by sylvieg's avatar sylvieg

[FIX]mytiki: section was declared too low to be effective in modules

parent e57df808
<?php
// $Header: /cvsroot/tikiwiki/tiki/tiki-minical.php,v 1.23 2007-06-16 16:01:45 sylvieg Exp $
// $Header: /cvsroot/tikiwiki/tiki/tiki-minical.php,v 1.24 2007-08-08 20:59:18 sylvieg Exp $
// Copyright (c) 2002-2007, 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 = 'calendar';
require_once('tiki-setup.php');
include_once('lib/minical/minicallib.php');
......@@ -270,7 +271,6 @@ $smarty->assign('duration_minutes', $duration_minutes);
$topics = $minicallib->minical_list_topics($user, 0, -1, 'name_asc', '');
$smarty->assign('topics', $topics['data']);
$section = 'calendar';
include_once ('tiki-section_options.php');
include_once('tiki-mytiki_shared.php');
......
<?php
// $Header: /cvsroot/tikiwiki/tiki/tiki-my_tiki.php,v 1.25 2007-03-06 19:29:50 sylvieg Exp $
// $Header: /cvsroot/tikiwiki/tiki/tiki-my_tiki.php,v 1.26 2007-08-08 20:59:18 sylvieg Exp $
// Copyright (c) 2002-2007, 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 = 'mytiki';
require_once ('tiki-setup.php');
include_once ('lib/wiki/wikilib.php');
......@@ -89,7 +90,6 @@ if ($feature_workflow == 'y' && $tiki_p_use_workflow == 'y' && $tikilib->get_use
$smarty->assign('mytiki_workflow', $tikilib->get_user_preference($user, 'mytiki_workflow'), 'y');
}
$section = 'mytiki';
include_once ('tiki-section_options.php');
$smarty->assign('mid', 'tiki-my_tiki.tpl');
......
<?php
// $Header: /cvsroot/tikiwiki/tiki/tiki-webmail.php,v 1.37 2007-06-16 16:01:47 sylvieg Exp $
// $Header: /cvsroot/tikiwiki/tiki/tiki-webmail.php,v 1.38 2007-08-08 20:59:18 sylvieg Exp $
// Copyright (c) 2002-2007, 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 = 'webmail';
require_once ('tiki-setup.php');
include_once ('lib/webmail/webmaillib.php');
......@@ -878,7 +879,6 @@ if ($_REQUEST["locSection"] == 'contacts') {
include_once ('tiki-mytiki_shared.php');
$section = 'webmail';
include_once ('tiki-section_options.php');
ask_ticket('webmail');
......
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