Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
tiki
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Insights
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
3
Merge Requests
3
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Security & Compliance
Security & Compliance
Dependency List
Packages
Packages
Container Registry
External Wiki
External Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
Tiki Wiki CMS Groupware
tiki
Commits
5364195a
Commit
5364195a
authored
May 09, 2008
by
sylvieg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[FIX] move section setting before setup
parent
1e5ec692
Changes
44
Show whitespace changes
Inline
Side-by-side
Showing
44 changed files
with
38 additions
and
48 deletions
+38
-48
messu-sent.php
messu-sent.php
+1
-1
tiki-admin_calendars.php
tiki-admin_calendars.php
+1
-1
tiki-admin_newsletter_subscriptions.php
tiki-admin_newsletter_subscriptions.php
+1
-1
tiki-admin_newsletters.php
tiki-admin_newsletters.php
+1
-1
tiki-batch_upload_files.php
tiki-batch_upload_files.php
+1
-1
tiki-browse_categories.php
tiki-browse_categories.php
+1
-5
tiki-browse_freetags.php
tiki-browse_freetags.php
+1
-1
tiki-browse_image.php
tiki-browse_image.php
+0
-1
tiki-calendar.php
tiki-calendar.php
+0
-1
tiki-calendar_import.php
tiki-calendar_import.php
+1
-1
tiki-directory_add_site.php
tiki-directory_add_site.php
+1
-1
tiki-directory_add_tiki_site.php
tiki-directory_add_tiki_site.php
+1
-1
tiki-directory_browse.php
tiki-directory_browse.php
+1
-1
tiki-directory_ranking.php
tiki-directory_ranking.php
+1
-1
tiki-directory_search.php
tiki-directory_search.php
+1
-1
tiki-edit_submission.php
tiki-edit_submission.php
+1
-1
tiki-edit_topic.php
tiki-edit_topic.php
+1
-1
tiki-export_sheet.php
tiki-export_sheet.php
+1
-1
tiki-file_archives.php
tiki-file_archives.php
+1
-1
tiki-forum_queue.php
tiki-forum_queue.php
+0
-1
tiki-forums_reported.php
tiki-forums_reported.php
+0
-1
tiki-history_sheets.php
tiki-history_sheets.php
+1
-1
tiki-import_sheet.php
tiki-import_sheet.php
+1
-1
tiki-index_p.php
tiki-index_p.php
+1
-1
tiki-index_raw.php
tiki-index_raw.php
+1
-1
tiki-list_file_gallery.php
tiki-list_file_gallery.php
+1
-1
tiki-list_games.php
tiki-list_games.php
+1
-1
tiki-list_submissions.php
tiki-list_submissions.php
+1
-1
tiki-list_surveys.php
tiki-list_surveys.php
+1
-1
tiki-list_trackers.php
tiki-list_trackers.php
+1
-1
tiki-quiz_result_stats.php
tiki-quiz_result_stats.php
+1
-1
tiki-read_article.php
tiki-read_article.php
+0
-1
tiki-send_blog_post.php
tiki-send_blog_post.php
+0
-1
tiki-send_newsletters.php
tiki-send_newsletters.php
+1
-1
tiki-sheets.php
tiki-sheets.php
+1
-1
tiki-slideshow.php
tiki-slideshow.php
+1
-1
tiki-slideshow2.php
tiki-slideshow2.php
+1
-1
tiki-survey_stats.php
tiki-survey_stats.php
+1
-1
tiki-survey_stats_survey.php
tiki-survey_stats_survey.php
+1
-1
tiki-take_survey.php
tiki-take_survey.php
+1
-1
tiki-upload_file.php
tiki-upload_file.php
+1
-1
tiki-view_sheets.php
tiki-view_sheets.php
+1
-1
tiki-view_tracker.php
tiki-view_tracker.php
+1
-1
tiki-view_tracker_item.php
tiki-view_tracker_item.php
+1
-1
No files found.
messu-sent.php
View file @
5364195a
...
@@ -5,6 +5,7 @@
...
@@ -5,6 +5,7 @@
// Copyright (c) 2002-2007, Luis Argerich, Garland Foster, Eduardo Polidor, et. al.
// 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.
// 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.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
$section
=
'user_messages'
;
require_once
(
'tiki-setup.php'
);
require_once
(
'tiki-setup.php'
);
include_once
(
'lib/messu/messulib.php'
);
include_once
(
'lib/messu/messulib.php'
);
...
@@ -161,7 +162,6 @@ if ($prefs['messu_sent_size']>0) {
...
@@ -161,7 +162,6 @@ if ($prefs['messu_sent_size']>0) {
$smarty
->
assign
(
'cellsize'
,
$cellsize
);
$smarty
->
assign
(
'cellsize'
,
$cellsize
);
$smarty
->
assign
(
'percentage'
,
$percentage
);
$smarty
->
assign
(
'percentage'
,
$percentage
);
$section
=
'user_messages'
;
include_once
(
'tiki-section_options.php'
);
include_once
(
'tiki-section_options.php'
);
include_once
(
'tiki-mytiki_shared.php'
);
include_once
(
'tiki-mytiki_shared.php'
);
...
...
tiki-admin_calendars.php
View file @
5364195a
...
@@ -7,6 +7,7 @@
...
@@ -7,6 +7,7 @@
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// Initialization
// Initialization
$section
=
'calendar'
;
require_once
(
'tiki-setup.php'
);
require_once
(
'tiki-setup.php'
);
include_once
(
'lib/calendar/calendarlib.php'
);
include_once
(
'lib/calendar/calendarlib.php'
);
...
@@ -195,7 +196,6 @@ $smarty->assign_by_ref('calendars', $calendars["data"]);
...
@@ -195,7 +196,6 @@ $smarty->assign_by_ref('calendars', $calendars["data"]);
// $cat_type = 'calendar';
// $cat_type = 'calendar';
// $cat_objid = $_REQUEST["calendarId"];
// $cat_objid = $_REQUEST["calendarId"];
// include_once ("categorize_list.php");
// include_once ("categorize_list.php");
$section
=
'calendar'
;
include_once
(
'tiki-section_options.php'
);
include_once
(
'tiki-section_options.php'
);
ask_ticket
(
'admin-calendars'
);
ask_ticket
(
'admin-calendars'
);
...
...
tiki-admin_newsletter_subscriptions.php
View file @
5364195a
...
@@ -7,6 +7,7 @@
...
@@ -7,6 +7,7 @@
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// Initialization
// Initialization
$section
=
'newsletters'
;
require_once
(
'tiki-setup.php'
);
require_once
(
'tiki-setup.php'
);
include_once
(
'lib/newsletters/nllib.php'
);
include_once
(
'lib/newsletters/nllib.php'
);
...
@@ -284,7 +285,6 @@ $cat_type='newsletter';
...
@@ -284,7 +285,6 @@ $cat_type='newsletter';
$cat_objid = $_REQUEST["nlId"];
$cat_objid = $_REQUEST["nlId"];
include_once("categorize_list.php");
include_once("categorize_list.php");
*/
*/
$section
=
'newsletters'
;
include_once
(
'tiki-section_options.php'
);
include_once
(
'tiki-section_options.php'
);
ask_ticket
(
'admin-nl-subsriptions'
);
ask_ticket
(
'admin-nl-subsriptions'
);
...
...
tiki-admin_newsletters.php
View file @
5364195a
...
@@ -7,6 +7,7 @@
...
@@ -7,6 +7,7 @@
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// Initialization
// Initialization
$section
=
'newsletters'
;
require_once
(
'tiki-setup.php'
);
require_once
(
'tiki-setup.php'
);
include_once
(
'lib/newsletters/nllib.php'
);
include_once
(
'lib/newsletters/nllib.php'
);
...
@@ -196,7 +197,6 @@ $cat_type='newsletter';
...
@@ -196,7 +197,6 @@ $cat_type='newsletter';
$cat_objid = $_REQUEST["nlId"];
$cat_objid = $_REQUEST["nlId"];
include_once("categorize_list.php");
include_once("categorize_list.php");
*/
*/
$section
=
'newsletters'
;
include_once
(
'tiki-section_options.php'
);
include_once
(
'tiki-section_options.php'
);
ask_ticket
(
'admin-nl'
);
ask_ticket
(
'admin-nl'
);
...
...
tiki-batch_upload_files.php
View file @
5364195a
<?php
<?php
// $Header$
// $Header$
$section
=
'file_galleries'
;
require_once
(
'tiki-setup.php'
);
require_once
(
'tiki-setup.php'
);
include_once
(
'lib/filegals/filegallib.php'
);
include_once
(
'lib/filegals/filegallib.php'
);
...
@@ -302,7 +303,6 @@ for ($i = 0; $i < $temp_max; $i++) {
...
@@ -302,7 +303,6 @@ for ($i = 0; $i < $temp_max; $i++) {
$smarty
->
assign_by_ref
(
'galleries'
,
$galleries
[
"data"
]);
$smarty
->
assign_by_ref
(
'galleries'
,
$galleries
[
"data"
]);
$section
=
'galleries'
;
include_once
(
'tiki-section_options.php'
);
include_once
(
'tiki-section_options.php'
);
// disallow robots to index page:
// disallow robots to index page:
...
...
tiki-browse_categories.php
View file @
5364195a
...
@@ -6,11 +6,8 @@
...
@@ -6,11 +6,8 @@
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
// 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.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// Initialization
// Initialization
$section
=
'categories'
;
require_once
(
'tiki-setup.php'
);
require_once
(
'tiki-setup.php'
);
include_once
(
'lib/categories/categlib.php'
);
include_once
(
'lib/categories/categlib.php'
);
...
@@ -166,7 +163,6 @@ if ($offset > 0) {
...
@@ -166,7 +163,6 @@ if ($offset > 0) {
$smarty
->
assign
(
'prev_offset'
,
-
1
);
$smarty
->
assign
(
'prev_offset'
,
-
1
);
}
}
$section
=
'categories'
;
include_once
(
'tiki-section_options.php'
);
include_once
(
'tiki-section_options.php'
);
ask_ticket
(
'browse-categories'
);
ask_ticket
(
'browse-categories'
);
...
...
tiki-browse_freetags.php
View file @
5364195a
...
@@ -8,6 +8,7 @@
...
@@ -8,6 +8,7 @@
// Initialization
// Initialization
$section
=
'freetags'
;
require_once
(
'tiki-setup.php'
);
require_once
(
'tiki-setup.php'
);
include_once
(
'lib/freetag/freetaglib.php'
);
include_once
(
'lib/freetag/freetaglib.php'
);
...
@@ -168,7 +169,6 @@ if ($offset > 0) {
...
@@ -168,7 +169,6 @@ if ($offset > 0) {
$smarty
->
assign
(
'prev_offset'
,
-
1
);
$smarty
->
assign
(
'prev_offset'
,
-
1
);
}
}
$section
=
'freetags'
;
include_once
(
'tiki-section_options.php'
);
include_once
(
'tiki-section_options.php'
);
ask_ticket
(
'browse-freetags'
);
ask_ticket
(
'browse-freetags'
);
...
...
tiki-browse_image.php
View file @
5364195a
...
@@ -273,7 +273,6 @@ if ($resultscale) {
...
@@ -273,7 +273,6 @@ if ($resultscale) {
}
}
$smarty
->
assign_by_ref
(
'scaleinfo'
,
$scaleinfo
);
$smarty
->
assign_by_ref
(
'scaleinfo'
,
$scaleinfo
);
$section
=
'galleries'
;
include_once
(
'tiki-section_options.php'
);
include_once
(
'tiki-section_options.php'
);
if
(
$prefs
[
'feature_theme_control'
]
==
'y'
)
{
if
(
$prefs
[
'feature_theme_control'
]
==
'y'
)
{
...
...
tiki-calendar.php
View file @
5364195a
...
@@ -323,7 +323,6 @@ if($prefs['feature_user_watches'] == 'y' && $user && count($_SESSION['CalendarVi
...
@@ -323,7 +323,6 @@ if($prefs['feature_user_watches'] == 'y' && $user && count($_SESSION['CalendarVi
}
}
$section
=
'calendar'
;
if
(
$prefs
[
'feature_theme_control'
]
==
'y'
and
isset
(
$_REQUEST
[
'calIds'
]))
{
if
(
$prefs
[
'feature_theme_control'
]
==
'y'
and
isset
(
$_REQUEST
[
'calIds'
]))
{
$cat_type
=
"calendar"
;
$cat_type
=
"calendar"
;
$cat_objid
=
$_REQUEST
[
'calIds'
][
0
];
$cat_objid
=
$_REQUEST
[
'calIds'
][
0
];
...
...
tiki-calendar_import.php
View file @
5364195a
...
@@ -8,6 +8,7 @@
...
@@ -8,6 +8,7 @@
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// Initialization
// Initialization
$section
=
'calendar'
;
require_once
(
'tiki-setup.php'
);
require_once
(
'tiki-setup.php'
);
require_once
(
'lib/calendar/calendarlib.php'
);
require_once
(
'lib/calendar/calendarlib.php'
);
...
@@ -30,7 +31,6 @@ if (isset($_REQUEST["import"]) && isset($_REQUEST["calendarId"]) && isset($_FILE
...
@@ -30,7 +31,6 @@ if (isset($_REQUEST["import"]) && isset($_REQUEST["calendarId"]) && isset($_FILE
$calendars
=
$calendarlib
->
list_calendars
();
// no check perm as p_admin only
$calendars
=
$calendarlib
->
list_calendars
();
// no check perm as p_admin only
$smarty
->
assign_by_ref
(
'calendars'
,
$calendars
[
'data'
]);
$smarty
->
assign_by_ref
(
'calendars'
,
$calendars
[
'data'
]);
$section
=
'calendar'
;
include_once
(
'tiki-section_options.php'
);
include_once
(
'tiki-section_options.php'
);
// disallow robots to index page:
// disallow robots to index page:
...
...
tiki-directory_add_site.php
View file @
5364195a
...
@@ -7,6 +7,7 @@
...
@@ -7,6 +7,7 @@
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// Initialization
// Initialization
$section
=
'directory'
;
require_once
(
'tiki-setup.php'
);
require_once
(
'tiki-setup.php'
);
include_once
(
'lib/directory/dirlib.php'
);
include_once
(
'lib/directory/dirlib.php'
);
...
@@ -218,7 +219,6 @@ usort($countries, 'country_sort');
...
@@ -218,7 +219,6 @@ usort($countries, 'country_sort');
$smarty
->
assign_by_ref
(
'countries'
,
$countries
);
$smarty
->
assign_by_ref
(
'countries'
,
$countries
);
// This page should be displayed with Directory section options
// This page should be displayed with Directory section options
$section
=
'directory'
;
include_once
(
'tiki-section_options.php'
);
include_once
(
'tiki-section_options.php'
);
ask_ticket
(
'dir-add-site'
);
ask_ticket
(
'dir-add-site'
);
...
...
tiki-directory_add_tiki_site.php
View file @
5364195a
<?php
<?php
// Initialization
// Initialization
$section
=
'directory'
;
require_once
(
'tiki-setup.php'
);
require_once
(
'tiki-setup.php'
);
include_once
(
'lib/directory/dirlib.php'
);
include_once
(
'lib/directory/dirlib.php'
);
...
@@ -70,7 +71,6 @@ $smarty->assign_by_ref('info',$info);
...
@@ -70,7 +71,6 @@ $smarty->assign_by_ref('info',$info);
$countries
=
$tikilib
->
get_flags
();
$countries
=
$tikilib
->
get_flags
();
$smarty
->
assign_by_ref
(
'countries'
,
$countries
);
$smarty
->
assign_by_ref
(
'countries'
,
$countries
);
$section
=
'directory'
;
include_once
(
'tiki-section_options.php'
);
include_once
(
'tiki-section_options.php'
);
$smarty
->
assign
(
'save'
,
'y'
);
$smarty
->
assign
(
'save'
,
'y'
);
...
...
tiki-directory_browse.php
View file @
5364195a
...
@@ -7,6 +7,7 @@
...
@@ -7,6 +7,7 @@
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// Initialization
// Initialization
$section
=
'directory'
;
require_once
(
'tiki-setup.php'
);
require_once
(
'tiki-setup.php'
);
include_once
(
'lib/directory/dirlib.php'
);
include_once
(
'lib/directory/dirlib.php'
);
...
@@ -147,7 +148,6 @@ if ($categ_info['allowSites'] == 'y') {
...
@@ -147,7 +148,6 @@ if ($categ_info['allowSites'] == 'y') {
$smarty
->
assign_by_ref
(
'items'
,
$items
[
"data"
]);
$smarty
->
assign_by_ref
(
'items'
,
$items
[
"data"
]);
}
}
$section
=
'directory'
;
include_once
(
'tiki-section_options.php'
);
include_once
(
'tiki-section_options.php'
);
// Related categs
// Related categs
...
...
tiki-directory_ranking.php
View file @
5364195a
...
@@ -7,6 +7,7 @@
...
@@ -7,6 +7,7 @@
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// Initialization
// Initialization
$section
=
'directory'
;
require_once
(
'tiki-setup.php'
);
require_once
(
'tiki-setup.php'
);
include_once
(
'lib/directory/dirlib.php'
);
include_once
(
'lib/directory/dirlib.php'
);
...
@@ -72,7 +73,6 @@ if ($offset > 0) {
...
@@ -72,7 +73,6 @@ if ($offset > 0) {
$smarty
->
assign_by_ref
(
'items'
,
$items
[
"data"
]);
$smarty
->
assign_by_ref
(
'items'
,
$items
[
"data"
]);
$smarty
->
assign_by_ref
(
'cant'
,
$items
[
"cant"
]);
$smarty
->
assign_by_ref
(
'cant'
,
$items
[
"cant"
]);
$section
=
'directory'
;
include_once
(
'tiki-section_options.php'
);
include_once
(
'tiki-section_options.php'
);
ask_ticket
(
'dir-ranking'
);
ask_ticket
(
'dir-ranking'
);
...
...
tiki-directory_search.php
View file @
5364195a
...
@@ -7,6 +7,7 @@
...
@@ -7,6 +7,7 @@
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// Initialization
// Initialization
$section
=
'directory'
;
require_once
(
'tiki-setup.php'
);
require_once
(
'tiki-setup.php'
);
include_once
(
'lib/directory/dirlib.php'
);
include_once
(
'lib/directory/dirlib.php'
);
...
@@ -75,7 +76,6 @@ if ($offset > 0) {
...
@@ -75,7 +76,6 @@ if ($offset > 0) {
$smarty
->
assign_by_ref
(
'items'
,
$items
[
"data"
]);
$smarty
->
assign_by_ref
(
'items'
,
$items
[
"data"
]);
$section
=
'directory'
;
include_once
(
'tiki-section_options.php'
);
include_once
(
'tiki-section_options.php'
);
// Display the template
// Display the template
...
...
tiki-edit_submission.php
View file @
5364195a
...
@@ -7,6 +7,7 @@
...
@@ -7,6 +7,7 @@
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// Initialization
// Initialization
$section
=
'cms'
;
require_once
(
'tiki-setup.php'
);
require_once
(
'tiki-setup.php'
);
include_once
(
'lib/articles/artlib.php'
);
include_once
(
'lib/articles/artlib.php'
);
...
@@ -448,7 +449,6 @@ $smarty->assign('showtags', 'n');
...
@@ -448,7 +449,6 @@ $smarty->assign('showtags', 'n');
$smarty
->
assign
(
'qtcycle'
,
''
);
$smarty
->
assign
(
'qtcycle'
,
''
);
ask_ticket
(
'edit-submission'
);
ask_ticket
(
'edit-submission'
);
$section
=
'cms'
;
$smarty
->
assign
(
'section'
,
$section
);
$smarty
->
assign
(
'section'
,
$section
);
include_once
(
'tiki-section_options.php'
);
include_once
(
'tiki-section_options.php'
);
...
...
tiki-edit_topic.php
View file @
5364195a
<?php
<?php
// $Id: /cvsroot/tikiwiki/tiki/tiki-edit_topic.php,v 1.9 2007-10-12 07:55:27 nyloth Exp $
// $Id: /cvsroot/tikiwiki/tiki/tiki-edit_topic.php,v 1.9 2007-10-12 07:55:27 nyloth Exp $
$section
=
'cms'
;
require_once
(
'tiki-setup.php'
);
require_once
(
'tiki-setup.php'
);
include_once
(
'lib/articles/artlib.php'
);
include_once
(
'lib/articles/artlib.php'
);
...
@@ -63,7 +64,6 @@ if(isset($_REQUEST["edittopic"])) {
...
@@ -63,7 +64,6 @@ if(isset($_REQUEST["edittopic"])) {
$smarty
->
assign_by_ref
(
'errors'
,
$errors
);
$smarty
->
assign_by_ref
(
'errors'
,
$errors
);
}
}
}
}
$section
=
'cms'
;
include_once
(
'tiki-section_options.php'
);
include_once
(
'tiki-section_options.php'
);
// disallow robots to index page:
// disallow robots to index page:
...
...
tiki-export_sheet.php
View file @
5364195a
...
@@ -8,6 +8,7 @@
...
@@ -8,6 +8,7 @@
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// Initialization
// Initialization
$section
=
'sheet'
;
require_once
(
'tiki-setup.php'
);
require_once
(
'tiki-setup.php'
);
require_once
(
'lib/sheet/grid.php'
);
require_once
(
'lib/sheet/grid.php'
);
...
@@ -98,7 +99,6 @@ $cat_type = 'sheet';
...
@@ -98,7 +99,6 @@ $cat_type = 'sheet';
$cat_objid
=
$_REQUEST
[
"sheetId"
];
$cat_objid
=
$_REQUEST
[
"sheetId"
];
include_once
(
"categorize_list.php"
);
include_once
(
"categorize_list.php"
);
$section
=
'sheet'
;
include_once
(
'tiki-section_options.php'
);
include_once
(
'tiki-section_options.php'
);
ask_ticket
(
'sheet'
);
ask_ticket
(
'sheet'
);
// Display the template
// Display the template
...
...
tiki-file_archives.php
View file @
5364195a
...
@@ -4,6 +4,7 @@
...
@@ -4,6 +4,7 @@
// Copyright (c) 2002-2007, Luis Argerich, Garland Foster, Eduardo Polidor, et. al.
// 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.
// 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.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
$section
=
'file_galleries'
;
require_once
(
'tiki-setup.php'
);
require_once
(
'tiki-setup.php'
);
include_once
(
'lib/filegals/filegallib.php'
);
include_once
(
'lib/filegals/filegallib.php'
);
...
@@ -109,7 +110,6 @@ $gal_info = array_merge($gal_info, array(
...
@@ -109,7 +110,6 @@ $gal_info = array_merge($gal_info, array(
));
));
$smarty
->
assign_by_ref
(
'gal_info'
,
$gal_info
);
$smarty
->
assign_by_ref
(
'gal_info'
,
$gal_info
);
$section
=
'file_galleries'
;
include_once
(
'tiki-section_options.php'
);
include_once
(
'tiki-section_options.php'
);
if
(
$prefs
[
'feature_theme_control'
]
==
'y'
)
{
if
(
$prefs
[
'feature_theme_control'
]
==
'y'
)
{
...
...
tiki-forum_queue.php
View file @
5364195a
...
@@ -78,7 +78,6 @@ if ($tiki_p_admin_forum != 'y') {
...
@@ -78,7 +78,6 @@ if ($tiki_p_admin_forum != 'y') {
}
}
$smarty
->
assign_by_ref
(
'forum_info'
,
$forum_info
);
$smarty
->
assign_by_ref
(
'forum_info'
,
$forum_info
);
$section
=
'forums'
;
include_once
(
'tiki-section_options.php'
);
include_once
(
'tiki-section_options.php'
);
if
(
$prefs
[
'feature_theme_control'
]
==
'y'
)
{
if
(
$prefs
[
'feature_theme_control'
]
==
'y'
)
{
...
...
tiki-forums_reported.php
View file @
5364195a
...
@@ -78,7 +78,6 @@ if ($tiki_p_admin_forum != 'y') {
...
@@ -78,7 +78,6 @@ if ($tiki_p_admin_forum != 'y') {
}
}
$smarty
->
assign_by_ref
(
'forum_info'
,
$forum_info
);
$smarty
->
assign_by_ref
(
'forum_info'
,
$forum_info
);
$section
=
'forums'
;
include_once
(
'tiki-section_options.php'
);
include_once
(
'tiki-section_options.php'
);
if
(
$prefs
[
'feature_theme_control'
]
==
'y'
)
{
if
(
$prefs
[
'feature_theme_control'
]
==
'y'
)
{
...
...
tiki-history_sheets.php
View file @
5364195a
...
@@ -8,6 +8,7 @@
...
@@ -8,6 +8,7 @@
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// Initialization
// Initialization
$section
=
'sheet'
;
require_once
(
'tiki-setup.php'
);
require_once
(
'tiki-setup.php'
);
require_once
(
'lib/sheet/grid.php'
);
require_once
(
'lib/sheet/grid.php'
);
...
@@ -46,7 +47,6 @@ while( $row = $result->fetchRow() )
...
@@ -46,7 +47,6 @@ while( $row = $result->fetchRow() )
$smarty
->
assign_by_ref
(
'history'
,
$data
);
$smarty
->
assign_by_ref
(
'history'
,
$data
);
$section
=
'sheet'
;
include_once
(
'tiki-section_options.php'
);
include_once
(
'tiki-section_options.php'
);
ask_ticket
(
'sheet'
);
ask_ticket
(
'sheet'
);
...
...
tiki-import_sheet.php
View file @
5364195a
...
@@ -8,6 +8,7 @@
...
@@ -8,6 +8,7 @@
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// Initialization
// Initialization
$section
=
'sheet'
;
require_once
(
'tiki-setup.php'
);
require_once
(
'tiki-setup.php'
);
require_once
(
'lib/sheet/grid.php'
);
require_once
(
'lib/sheet/grid.php'
);
...
@@ -114,7 +115,6 @@ $cat_type = 'sheet';
...
@@ -114,7 +115,6 @@ $cat_type = 'sheet';
$cat_objid
=
$_REQUEST
[
"sheetId"
];
$cat_objid
=
$_REQUEST
[
"sheetId"
];
include_once
(
"categorize_list.php"
);
include_once
(
"categorize_list.php"
);
$section
=
'sheet'
;
include_once
(
'tiki-section_options.php'
);
include_once
(
'tiki-section_options.php'
);
ask_ticket
(
'sheet'
);
ask_ticket
(
'sheet'
);
...
...
tiki-index_p.php
View file @
5364195a
...
@@ -7,6 +7,7 @@
...
@@ -7,6 +7,7 @@
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// Initialization
// Initialization
$section
=
'wiki page'
;
require_once
(
'tiki-setup.php'
);
require_once
(
'tiki-setup.php'
);
if
(
$prefs
[
'feature_ajax'
]
==
"y"
)
{
if
(
$prefs
[
'feature_ajax'
]
==
"y"
)
{
include_once
(
'lib/ajax/ajaxlib.php'
);
include_once
(
'lib/ajax/ajaxlib.php'
);
...
@@ -247,7 +248,6 @@ if (empty($info["user"])) {
...
@@ -247,7 +248,6 @@ if (empty($info["user"])) {
$smarty
->
assign_by_ref
(
'lastUser'
,
$info
[
"user"
]);
$smarty
->
assign_by_ref
(
'lastUser'
,
$info
[
"user"
]);
$smarty
->
assign_by_ref
(
'description'
,
$info
[
"description"
]);
$smarty
->
assign_by_ref
(
'description'
,
$info
[
"description"
]);
$section
=
'wiki'
;
include_once
(
'tiki-section_options.php'
);
include_once
(
'tiki-section_options.php'
);
$smarty
->
assign
(
'wiki_extras'
,
'y'
);
$smarty
->
assign
(
'wiki_extras'
,
'y'
);
...
...
tiki-index_raw.php
View file @
5364195a
...
@@ -7,6 +7,7 @@
...
@@ -7,6 +7,7 @@
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// Initialization
// Initialization
$section
=
'wiki page'
;
require_once
(
'tiki-setup.php'
);
require_once
(
'tiki-setup.php'
);
include_once
(
'lib/structures/structlib.php'
);
include_once
(
'lib/structures/structlib.php'
);
...
@@ -167,7 +168,6 @@ if ($prefs['feature_wiki_comments'] == 'y') {
...
@@ -167,7 +168,6 @@ if ($prefs['feature_wiki_comments'] == 'y') {
include_once
(
"comments.php"
);
include_once
(
"comments.php"
);
}
}
$section
=
'wiki'
;
include_once
(
'tiki-section_options.php'
);
include_once
(
'tiki-section_options.php'
);
ask_ticket
(
'index-raw'
);
ask_ticket
(
'index-raw'
);
...
...
tiki-list_file_gallery.php
View file @
5364195a
...
@@ -7,6 +7,7 @@
...
@@ -7,6 +7,7 @@
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// Initialization
// Initialization
$section
=
'file_galleries'
;
require_once
(
'tiki-setup.php'
);
require_once
(
'tiki-setup.php'
);
if
(
$prefs
[
'feature_file_galleries'
]
!=
'y'
)
{
if
(
$prefs
[
'feature_file_galleries'
]
!=
'y'
)
{
...
@@ -736,7 +737,6 @@ $smarty->assign_by_ref('options_sortorder', $options_sortorder);
...
@@ -736,7 +737,6 @@ $smarty->assign_by_ref('options_sortorder', $options_sortorder);
// Set section config
// Set section config
$section
=
'file_galleries'
;
include_once
(
'tiki-section_options.php'
);
include_once
(
'tiki-section_options.php'
);
// Theme control
// Theme control
...
...
tiki-list_games.php
View file @
5364195a
...
@@ -26,6 +26,7 @@
...
@@ -26,6 +26,7 @@
*/
*/
// Initialization
// Initialization
$section
=
'games'
;
require_once
(
'tiki-setup.php'
);
require_once
(
'tiki-setup.php'
);
include_once
(
'lib/games/gamelib.php'
);
include_once
(
'lib/games/gamelib.php'
);
...
@@ -255,7 +256,6 @@ if (isset($_REQUEST["remove"]) && $tiki_p_admin_games == 'y') {
...
@@ -255,7 +256,6 @@ if (isset($_REQUEST["remove"]) && $tiki_p_admin_games == 'y') {
}
}
}
}
$section
=
'games'
;
include_once
(
'tiki-section_options.php'
);
include_once
(
'tiki-section_options.php'
);
ask_ticket
(
'list-games'
);
ask_ticket
(
'list-games'
);
...
...
tiki-list_submissions.php
View file @
5364195a
...
@@ -7,6 +7,7 @@
...
@@ -7,6 +7,7 @@
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// Initialization
// Initialization
$section
=
'cms'
;
require_once
(
'tiki-setup.php'
);
require_once
(
'tiki-setup.php'
);
include_once
(
'lib/articles/artlib.php'
);
include_once
(
'lib/articles/artlib.php'
);
...
@@ -123,7 +124,6 @@ if ($offset > 0) {
...
@@ -123,7 +124,6 @@ if ($offset > 0) {
$smarty
->
assign
(
'prev_offset'
,
-
1
);
$smarty
->
assign
(
'prev_offset'
,
-
1
);
}
}
$section
=
'cms'
;
include_once
(
'tiki-section_options.php'
);
include_once
(
'tiki-section_options.php'
);
$smarty
->
assign_by_ref
(
'listpages'
,
$listpages
[
"data"
]);
$smarty
->
assign_by_ref
(
'listpages'
,
$listpages
[
"data"
]);
...
...
tiki-list_surveys.php
View file @
5364195a
...
@@ -7,6 +7,7 @@
...
@@ -7,6 +7,7 @@
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// Initialization
// Initialization
$section
=
'surveys'
;
require_once
(
'tiki-setup.php'
);
require_once
(
'tiki-setup.php'
);
include_once
(
'lib/surveys/surveylib.php'
);
include_once
(
'lib/surveys/surveylib.php'
);
...
@@ -103,7 +104,6 @@ if ($offset > 0) {
...
@@ -103,7 +104,6 @@ if ($offset > 0) {
$smarty
->
assign_by_ref
(
'channels'
,
$channels
[
"data"
]);
$smarty
->
assign_by_ref
(
'channels'
,
$channels
[
"data"
]);
$section
=
'surveys'
;
include_once
(
'tiki-section_options.php'
);
include_once
(
'tiki-section_options.php'
);
ask_ticket
(
'list-surveys'
);
ask_ticket
(
'list-surveys'
);
...
...
tiki-list_trackers.php
View file @
5364195a
...
@@ -7,6 +7,7 @@
...
@@ -7,6 +7,7 @@
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// Initialization
// Initialization
$section
=
'trackers'
;
require_once
(
'tiki-setup.php'
);
require_once
(
'tiki-setup.php'
);
include_once
(
'lib/trackers/trackerlib.php'
);
include_once
(
'lib/trackers/trackerlib.php'
);
...
@@ -101,7 +102,6 @@ if ($offset > 0) {
...
@@ -101,7 +102,6 @@ if ($offset > 0) {
$smarty
->
assign
(
'prev_offset'
,
-
1
);
$smarty
->
assign
(
'prev_offset'
,
-
1
);
}
}
$section
=
'trackers'
;
include_once
(
'tiki-section_options.php'
);
include_once
(
'tiki-section_options.php'
);
$smarty
->
assign_by_ref
(
'channels'
,
$channels
[
"data"
]);
$smarty
->
assign_by_ref
(
'channels'
,
$channels
[
"data"
]);
...
...
tiki-quiz_result_stats.php
View file @
5364195a
...
@@ -7,6 +7,7 @@
...
@@ -7,6 +7,7 @@
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// Initialization
// Initialization
$section
=
'quizzes'
;
require_once
(
'tiki-setup.php'
);
require_once
(
'tiki-setup.php'
);
include_once
(
'lib/quizzes/quizlib.php'
);
include_once
(
'lib/quizzes/quizlib.php'
);
...
@@ -86,7 +87,6 @@ $smarty->assign_by_ref('result', $result);
...
@@ -86,7 +87,6 @@ $smarty->assign_by_ref('result', $result);
$questions
=
$quizlib
->
get_user_quiz_questions
(
$_REQUEST
[
"userResultId"
]);
$questions
=
$quizlib
->
get_user_quiz_questions
(
$_REQUEST
[
"userResultId"
]);
$smarty
->
assign
(
'questions'
,
$questions
);
$smarty
->
assign
(
'questions'
,
$questions
);