From: <sy...@us...> - 2007-10-29 20:20:16
|
Update of /cvsroot/tikiwiki/tiki In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv532 Modified Files: Tag: BRANCH-1-10 tiki-calendar.php Log Message: [FIX]calendar: call only once tiki-tc.php Index: tiki-calendar.php =================================================================== RCS file: /cvsroot/tikiwiki/tiki/tiki-calendar.php,v retrieving revision 1.73 retrieving revision 1.73.2.1 diff -u -d -r1.73 -r1.73.2.1 --- tiki-calendar.php 12 Oct 2007 07:55:25 -0000 1.73 +++ tiki-calendar.php 29 Oct 2007 20:20:19 -0000 1.73.2.1 @@ -32,11 +32,6 @@ $rawcals = $calendarlib->list_calendars(); $viewOneCal = $tiki_p_view_calendar; $modifTab = 0; -if ($prefs['feature_theme_control'] == 'y' and isset($_REQUEST['calIds'])) { - $cat_type = "calendar"; - $cat_objid = $_REQUEST['calIds'][0]; - include('tiki-tc.php'); -} foreach ($rawcals["data"] as $cal_id=>$cal_data) { if ($tiki_p_admin == 'y') { @@ -329,6 +324,10 @@ } $section = 'calendar'; +if ($prefs['feature_theme_control'] == 'y' and isset($_REQUEST['calIds'])) { + $cat_type = "calendar"; + $cat_objid = $_REQUEST['calIds'][0]; +} include_once ('tiki-section_options.php'); setcookie('tab',$cookietab); |