Commit f4728d5a authored by dheltzel's avatar dheltzel

Added the feature name to the "This feature is disabled" message. RFE [764198]...

Added the feature name to the "This feature is disabled" message. RFE [764198] Indicate what feature is disabled.
parent a74b2999
<?php
// $Header: /cvsroot/tikiwiki/tiki/messu-broadcast.php,v 1.12 2003-08-07 04:33:56 rossta Exp $
// $Header: /cvsroot/tikiwiki/tiki/messu-broadcast.php,v 1.13 2003-10-08 03:53:08 dheltzel Exp $
// Copyright (c) 2002-2003, Luis Argerich, Garland Foster, Eduardo Polidor, et. al.
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
......@@ -17,7 +17,7 @@ if (!$user) {
}
if ($feature_messages != 'y') {
$smarty->assign('msg', tra("This feature is disabled"));
$smarty->assign('msg', tra("This feature is disabled").": feature_messages");
$smarty->display("styles/$style_base/error.tpl");
die;
......@@ -140,4 +140,4 @@ include_once ('tiki-section_options.php');
include_once ('tiki-mytiki_shared.php');
$smarty->display("styles/$style_base/tiki.tpl");
?>
\ No newline at end of file
?>
<?php
// $Header: /cvsroot/tikiwiki/tiki/messu-compose.php,v 1.10 2003-09-17 10:52:20 mose Exp $
// $Header: /cvsroot/tikiwiki/tiki/messu-compose.php,v 1.11 2003-10-08 03:53:08 dheltzel Exp $
// Copyright (c) 2002-2003, Luis Argerich, Garland Foster, Eduardo Polidor, et. al.
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
......@@ -17,7 +17,7 @@ if (!$user) {
}
if ($feature_messages != 'y') {
$smarty->assign('msg', tra("This feature is disabled"));
$smarty->assign('msg', tra("This feature is disabled").": feature_messages");
$smarty->display("styles/$style_base/error.tpl");
die;
......
<?php
// $Header: /cvsroot/tikiwiki/tiki/messu-mailbox.php,v 1.8 2003-08-07 04:33:56 rossta Exp $
// $Header: /cvsroot/tikiwiki/tiki/messu-mailbox.php,v 1.9 2003-10-08 03:53:08 dheltzel Exp $
// Copyright (c) 2002-2003, Luis Argerich, Garland Foster, Eduardo Polidor, et. al.
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
......@@ -17,7 +17,7 @@ if (!$user) {
}
if ($feature_messages != 'y') {
$smarty->assign('msg', tra("This feature is disabled"));
$smarty->assign('msg', tra("This feature is disabled").": feature_messages");
$smarty->display("styles/$style_base/error.tpl");
die;
......@@ -120,4 +120,4 @@ include_once ('tiki-mytiki_shared.php');
$smarty->assign('mid', 'messu-mailbox.tpl');
$smarty->display("styles/$style_base/tiki.tpl");
?>
\ No newline at end of file
?>
<?php
// $Header: /cvsroot/tikiwiki/tiki/messu-read.php,v 1.9 2003-08-07 04:33:56 rossta Exp $
// $Header: /cvsroot/tikiwiki/tiki/messu-read.php,v 1.10 2003-10-08 03:53:08 dheltzel Exp $
// Copyright (c) 2002-2003, Luis Argerich, Garland Foster, Eduardo Polidor, et. al.
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
......@@ -17,7 +17,7 @@ if (!$user) {
}
if ($feature_messages != 'y') {
$smarty->assign('msg', tra("This feature is disabled"));
$smarty->assign('msg', tra("This feature is disabled").": feature_messages");
$smarty->display("styles/$style_base/error.tpl");
die;
......@@ -76,4 +76,4 @@ include_once ('tiki-mytiki_shared.php');
$smarty->assign('mid', 'messu-read.tpl');
$smarty->display("styles/$style_base/tiki.tpl");
?>
\ No newline at end of file
?>
......@@ -10,7 +10,7 @@ require_once ('tiki-setup.php');
include_once ('lib/ban/banlib.php');
if ($feature_banning != 'y') {
$smarty->assign('msg', tra("This feature is disabled"));
$smarty->assign('msg', tra("This feature is disabled").": feature_banning");
$smarty->display("styles/$style_base/error.tpl");
die;
......@@ -169,4 +169,4 @@ $smarty->assign('sections', $sections);
$smarty->assign('mid', 'tiki-admin_banning.tpl');
$smarty->display("styles/$style_base/tiki.tpl");
?>
\ No newline at end of file
?>
<?php
// $Header: /cvsroot/tikiwiki/tiki/tiki-admin_categories.php,v 1.12 2003-08-07 04:33:56 rossta Exp $
// $Header: /cvsroot/tikiwiki/tiki/tiki-admin_categories.php,v 1.13 2003-10-08 03:53:08 dheltzel Exp $
// Copyright (c) 2002-2003, 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.
//
// $Header: /cvsroot/tikiwiki/tiki/tiki-admin_categories.php,v 1.12 2003-08-07 04:33:56 rossta Exp $
// $Header: /cvsroot/tikiwiki/tiki/tiki-admin_categories.php,v 1.13 2003-10-08 03:53:08 dheltzel Exp $
//
// Initialization
......@@ -24,7 +24,7 @@ if (!isset($polllib)) {
}
if ($feature_categories != 'y') {
$smarty->assign('msg', tra("This feature is disabled"));
$smarty->assign('msg', tra("This feature is disabled").": feature_categories");
$smarty->display("styles/$style_base/error.tpl");
die;
......@@ -264,4 +264,4 @@ $smarty->assign_by_ref('directories', $directories["data"]);
$smarty->assign('mid', 'tiki-admin_categories.tpl');
$smarty->display("styles/$style_base/tiki.tpl");
?>
\ No newline at end of file
?>
<?php
// $Header: /cvsroot/tikiwiki/tiki/tiki-admin_chart_items.php,v 1.4 2003-08-07 04:33:56 rossta Exp $
// $Header: /cvsroot/tikiwiki/tiki/tiki-admin_chart_items.php,v 1.5 2003-10-08 03:53:08 dheltzel Exp $
// Copyright (c) 2002-2003, Luis Argerich, Garland Foster, Eduardo Polidor, et. al.
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
......@@ -10,7 +10,7 @@ require_once ('tiki-setup.php');
include_once ('lib/charts/chartlib.php');
if ($feature_charts != 'y') {
$smarty->assign('msg', tra("This feature is disabled"));
$smarty->assign('msg', tra("This feature is disabled").": feature_charts");
$smarty->display("styles/$style_base/error.tpl");
die;
......@@ -144,4 +144,4 @@ $sameurl_elements = array(
$smarty->assign('mid', 'tiki-admin_chart_items.tpl');
$smarty->display("styles/$style_base/tiki.tpl");
?>
\ No newline at end of file
?>
<?php
// $Header: /cvsroot/tikiwiki/tiki/tiki-admin_charts.php,v 1.6 2003-08-07 04:33:56 rossta Exp $
// $Header: /cvsroot/tikiwiki/tiki/tiki-admin_charts.php,v 1.7 2003-10-08 03:53:08 dheltzel Exp $
// Copyright (c) 2002-2003, Luis Argerich, Garland Foster, Eduardo Polidor, et. al.
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
......@@ -10,7 +10,7 @@ require_once('tiki-setup.php');
include_once('lib/charts/chartlib.php');
if ($feature_charts != 'y') {
$smarty->assign('msg', tra("This feature is disabled"));
$smarty->assign('msg', tra("This feature is disabled").": feature_charts");
$smarty->display("styles/$style_base/error.tpl");
die;
......@@ -174,4 +174,4 @@ $sameurl_elements = array(
$smarty->assign('mid', 'tiki-admin_charts.tpl');
$smarty->display("styles/$style_base/tiki.tpl");
?>
\ No newline at end of file
?>
<?php
// $Header: /cvsroot/tikiwiki/tiki/tiki-admin_forums.php,v 1.16 2003-10-01 14:10:18 lrargerich Exp $
// $Header: /cvsroot/tikiwiki/tiki/tiki-admin_forums.php,v 1.17 2003-10-08 03:53:08 dheltzel Exp $
// Copyright (c) 2002-2003, Luis Argerich, Garland Foster, Eduardo Polidor, et. al.
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
......@@ -16,7 +16,7 @@ if (!isset($_REQUEST["forumId"])) {
$smarty->assign('forumId', $_REQUEST["forumId"]);
if ($feature_forums != 'y') {
$smarty->assign('msg', tra("This feature is disabled"));
$smarty->assign('msg', tra("This feature is disabled").": feature_forums");
$smarty->display("styles/$style_base/error.tpl");
die;
......
<?php
// $Header: /cvsroot/tikiwiki/tiki/tiki-admin_hotwords.php,v 1.5 2003-08-07 04:33:56 rossta Exp $
// $Header: /cvsroot/tikiwiki/tiki/tiki-admin_hotwords.php,v 1.6 2003-10-08 03:53:08 dheltzel Exp $
// Copyright (c) 2002-2003, Luis Argerich, Garland Foster, Eduardo Polidor, et. al.
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
......@@ -12,7 +12,7 @@ require_once ('tiki-setup.php');
include_once ('lib/hotwords/hotwordlib.php');
if ($feature_hotwords != 'y') {
$smarty->assign('msg', tra("This feature is disabled"));
$smarty->assign('msg', tra("This feature is disabled").": feature_hotwords");
$smarty->display("styles/$style_base/error.tpl");
die;
......@@ -88,4 +88,4 @@ $smarty->assign_by_ref('words', $words["data"]);
$smarty->assign('mid', 'tiki-admin_hotwords.tpl');
$smarty->display("styles/$style_base/tiki.tpl");
?>
\ No newline at end of file
?>
<?php
// $Header: /cvsroot/tikiwiki/tiki/tiki-admin_html_page_content.php,v 1.4 2003-08-07 04:33:56 rossta Exp $
// $Header: /cvsroot/tikiwiki/tiki/tiki-admin_html_page_content.php,v 1.5 2003-10-08 03:53:08 dheltzel Exp $
// Copyright (c) 2002-2003, Luis Argerich, Garland Foster, Eduardo Polidor, et. al.
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
......@@ -12,7 +12,7 @@ require_once ('tiki-setup.php');
include_once ('lib/htmlpages/htmlpageslib.php');
if ($feature_html_pages != 'y') {
$smarty->assign('msg', tra("This feature is disabled"));
$smarty->assign('msg', tra("This feature is disabled").": feature_html_pages");
$smarty->display("styles/$style_base/error.tpl");
die;
......@@ -125,4 +125,4 @@ $smarty->assign_by_ref('channels', $channels["data"]);
$smarty->assign('mid', 'tiki-admin_html_page_content.tpl');
$smarty->display("styles/$style_base/tiki.tpl");
?>
\ No newline at end of file
?>
<?php
// $Header: /cvsroot/tikiwiki/tiki/tiki-admin_html_pages.php,v 1.4 2003-08-07 04:33:56 rossta Exp $
// $Header: /cvsroot/tikiwiki/tiki/tiki-admin_html_pages.php,v 1.5 2003-10-08 03:53:08 dheltzel Exp $
// Copyright (c) 2002-2003, Luis Argerich, Garland Foster, Eduardo Polidor, et. al.
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
......@@ -12,7 +12,7 @@ require_once ('tiki-setup.php');
include_once ('lib/htmlpages/htmlpageslib.php');
if ($feature_html_pages != 'y') {
$smarty->assign('msg', tra("This feature is disabled"));
$smarty->assign('msg', tra("This feature is disabled").": feature_html_pages");
$smarty->display("styles/$style_base/error.tpl");
die;
......@@ -135,4 +135,4 @@ $smarty->assign_by_ref('templates', $templates["data"]);
$smarty->assign('mid', 'tiki-admin_html_pages.tpl');
$smarty->display("styles/$style_base/tiki.tpl");
?>
\ No newline at end of file
?>
<?php
// $Header: /cvsroot/tikiwiki/tiki/tiki-admin_layout.php,v 1.7 2003-08-07 04:33:56 rossta Exp $
// $Header: /cvsroot/tikiwiki/tiki/tiki-admin_layout.php,v 1.8 2003-10-08 03:53:08 dheltzel Exp $
// Copyright (c) 2002-2003, Luis Argerich, Garland Foster, Eduardo Polidor, et. al.
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
......@@ -10,7 +10,7 @@
require_once ('tiki-setup.php');
if ($layout_section != 'y') {
$smarty->assign('msg', tra("This feature is disabled"));
$smarty->assign('msg', tra("This feature is disabled").": layout_section");
$smarty->display("styles/$style_base/error.tpl");
die;
......@@ -126,4 +126,4 @@ $smarty->assign('sections', $sections_smt);
$smarty->assign('mid', 'tiki-admin_layout.tpl');
$smarty->display("styles/$style_base/tiki.tpl");
?>
\ No newline at end of file
?>
<?php
// $Header: /cvsroot/tikiwiki/tiki/tiki-admin_links.php,v 1.8 2003-08-07 04:33:56 rossta Exp $
// $Header: /cvsroot/tikiwiki/tiki/tiki-admin_links.php,v 1.9 2003-10-08 03:53:08 dheltzel Exp $
// Copyright (c) 2002-2003, Luis Argerich, Garland Foster, Eduardo Polidor, et. al.
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
......@@ -10,7 +10,7 @@ require_once ('tiki-setup.php');
include_once ('lib/featured_links/flinkslib.php');
if ($feature_featuredLinks != 'y') {
$smarty->assign('msg', tra("This feature is disabled"));
$smarty->assign('msg', tra("This feature is disabled").": feature_featuredLinks");
$smarty->display("styles/$style_base/error.tpl");
die;
......@@ -75,4 +75,4 @@ $smarty->assign_by_ref('links', $links);
$smarty->assign('mid', 'tiki-admin_links.tpl');
$smarty->display("styles/$style_base/tiki.tpl");
?>
\ No newline at end of file
?>
<?php
// $Header: /cvsroot/tikiwiki/tiki/tiki-admin_newsletter_subscriptions.php,v 1.4 2003-08-07 04:33:56 rossta Exp $
// $Header: /cvsroot/tikiwiki/tiki/tiki-admin_newsletter_subscriptions.php,v 1.5 2003-10-08 03:53:08 dheltzel Exp $
// Copyright (c) 2002-2003, Luis Argerich, Garland Foster, Eduardo Polidor, et. al.
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
......@@ -12,7 +12,7 @@ require_once ('tiki-setup.php');
include_once ('lib/newsletters/nllib.php');
if ($feature_newsletters != 'y') {
$smarty->assign('msg', tra("This feature is disabled"));
$smarty->assign('msg', tra("This feature is disabled").": feature_newsletters");
$smarty->display("styles/$style_base/error.tpl");
die;
......@@ -149,4 +149,4 @@ include_once("categorize_list.php");
$smarty->assign('mid', 'tiki-admin_newsletter_subscriptions.tpl');
$smarty->display("styles/$style_base/tiki.tpl");
?>
\ No newline at end of file
?>
<?php
// $Header: /cvsroot/tikiwiki/tiki/tiki-admin_newsletters.php,v 1.4 2003-10-07 20:19:23 dheltzel Exp $
// $Header: /cvsroot/tikiwiki/tiki/tiki-admin_newsletters.php,v 1.5 2003-10-08 03:53:08 dheltzel Exp $
// Copyright (c) 2002-2003, Luis Argerich, Garland Foster, Eduardo Polidor, et. al.
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
......@@ -12,7 +12,7 @@ require_once ('tiki-setup.php');
include_once ('lib/newsletters/nllib.php');
if ($feature_newsletters != 'y') {
$smarty->assign('msg', tra("This feature is disabled"));
$smarty->assign('msg', tra("This feature is disabled").": feature_newsletters");
$smarty->display("styles/$style_base/error.tpl");
die;
......@@ -49,7 +49,7 @@ if ($userlib->object_has_one_permission($_REQUEST["nlId"], 'newsletter')) {
}
if ($tiki_p_admin_newsletters != 'y') {
$smarty->assign('msg', tra("You dont have permission to use this feature"));
$smarty->assign('msg', tra("You do not have permission to use this feature"));
$smarty->display("styles/$style_base/error.tpl");
die;
......
<?php
// $Header: /cvsroot/tikiwiki/tiki/tiki-admin_survey_questions.php,v 1.5 2003-08-07 04:33:56 rossta Exp $
// $Header: /cvsroot/tikiwiki/tiki/tiki-admin_survey_questions.php,v 1.6 2003-10-08 03:53:08 dheltzel Exp $
// Copyright (c) 2002-2003, Luis Argerich, Garland Foster, Eduardo Polidor, et. al.
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
......@@ -12,7 +12,7 @@ require_once ('tiki-setup.php');
include_once ('lib/surveys/surveylib.php');
if ($feature_surveys != 'y') {
$smarty->assign('msg', tra("This feature is disabled"));
$smarty->assign('msg', tra("This feature is disabled").": feature_surveys");
$smarty->display("styles/$style_base/error.tpl");
die;
......@@ -152,4 +152,4 @@ $smarty->assign('positions', $positions);
$smarty->assign('mid', 'tiki-admin_survey_questions.tpl');
$smarty->display("styles/$style_base/tiki.tpl");
?>
\ No newline at end of file
?>
<?php
// $Header: /cvsroot/tikiwiki/tiki/tiki-admin_surveys.php,v 1.5 2003-08-07 04:33:56 rossta Exp $
// $Header: /cvsroot/tikiwiki/tiki/tiki-admin_surveys.php,v 1.6 2003-10-08 03:53:08 dheltzel Exp $
// Copyright (c) 2002-2003, Luis Argerich, Garland Foster, Eduardo Polidor, et. al.
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
......@@ -12,7 +12,7 @@ require_once ('tiki-setup.php');
include_once ('lib/surveys/surveylib.php');
if ($feature_surveys != 'y') {
$smarty->assign('msg', tra("This feature is disabled"));
$smarty->assign('msg', tra("This feature is disabled").": feature_surveys");
$smarty->display("styles/$style_base/error.tpl");
die;
......@@ -187,4 +187,4 @@ include_once ("categorize_list.php");
$smarty->assign('mid', 'tiki-admin_surveys.tpl');
$smarty->display("styles/$style_base/tiki.tpl");
?>
\ No newline at end of file
?>
<?php
// $Header: /cvsroot/tikiwiki/tiki/tiki-admin_topics.php,v 1.8 2003-09-24 03:58:43 dheltzel Exp $
// $Header: /cvsroot/tikiwiki/tiki/tiki-admin_topics.php,v 1.9 2003-10-08 03:53:08 dheltzel Exp $
// Copyright (c) 2002-2003, Luis Argerich, Garland Foster, Eduardo Polidor, et. al.
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
......@@ -10,7 +10,7 @@ require_once ('tiki-setup.php');
include_once ('lib/articles/artlib.php');
if ($feature_articles != 'y') {
$smarty->assign('msg', tra("This feature is disabled"));
$smarty->assign('msg', tra("This feature is disabled").": feature_articles");
$smarty->display("styles/$style_base/error.tpl");
die;
......
<?php
// $Header: /cvsroot/tikiwiki/tiki/tiki-admin_tracker_fields.php,v 1.6 2003-08-07 04:33:56 rossta Exp $
// $Header: /cvsroot/tikiwiki/tiki/tiki-admin_tracker_fields.php,v 1.7 2003-10-08 03:53:08 dheltzel Exp $
// Copyright (c) 2002-2003, Luis Argerich, Garland Foster, Eduardo Polidor, et. al.
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
......@@ -12,7 +12,7 @@ require_once ('tiki-setup.php');
include_once ('lib/trackers/trackerlib.php');
if ($feature_trackers != 'y') {
$smarty->assign('msg', tra("This feature is disabled"));
$smarty->assign('msg', tra("This feature is disabled").": feature_trackers");
$smarty->display("styles/$style_base/error.tpl");
die;
......@@ -136,4 +136,4 @@ $smarty->assign_by_ref('channels', $channels["data"]);
$smarty->assign('mid', 'tiki-admin_tracker_fields.tpl');
$smarty->display("styles/$style_base/tiki.tpl");
?>
\ No newline at end of file
?>
<?php
// $Header: /cvsroot/tikiwiki/tiki/tiki-admin_trackers.php,v 1.4 2003-08-07 04:33:56 rossta Exp $
// $Header: /cvsroot/tikiwiki/tiki/tiki-admin_trackers.php,v 1.5 2003-10-08 03:53:08 dheltzel Exp $
// Copyright (c) 2002-2003, Luis Argerich, Garland Foster, Eduardo Polidor, et. al.
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
......@@ -12,7 +12,7 @@ require_once ('tiki-setup.php');
include_once ('lib/trackers/trackerlib.php');
if ($feature_trackers != 'y') {
$smarty->assign('msg', tra("This feature is disabled"));
$smarty->assign('msg', tra("This feature is disabled").": feature_trackers");
$smarty->display("styles/$style_base/error.tpl");
die;
......@@ -157,4 +157,4 @@ $smarty->assign_by_ref('channels', $channels["data"]);
$smarty->assign('mid', 'tiki-admin_trackers.tpl');
$smarty->display("styles/$style_base/tiki.tpl");
?>
\ No newline at end of file
?>
<?php
// $Header: /cvsroot/tikiwiki/tiki/tiki-backlinks.php,v 1.5 2003-08-07 04:33:56 rossta Exp $
// $Header: /cvsroot/tikiwiki/tiki/tiki-backlinks.php,v 1.6 2003-10-08 03:53:08 dheltzel Exp $
// Copyright (c) 2002-2003, Luis Argerich, Garland Foster, Eduardo Polidor, et. al.
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
......@@ -12,14 +12,14 @@ require_once ('tiki-setup.php');
include_once ('lib/wiki/wikilib.php');
if ($feature_wiki != 'y') {
$smarty->assign('msg', tra("This feature is disabled"));
$smarty->assign('msg', tra("This feature is disabled").": feature_wiki");
$smarty->display("styles/$style_base/error.tpl");
die;
}
if ($feature_backlinks != 'y') {
$smarty->assign('msg', tra("This feature is disabled"));
$smarty->assign('msg', tra("This feature is disabled").": feature_backlinks");
$smarty->display("styles/$style_base/error.tpl");
die;
......@@ -64,4 +64,4 @@ $smarty->assign('mid', 'tiki-backlinks.tpl');
$smarty->assign('show_page_bar', 'y');
$smarty->display("styles/$style_base/tiki.tpl");
?>
\ No newline at end of file
?>
<?php
// $Header: /cvsroot/tikiwiki/tiki/tiki-blog_post.php,v 1.21 2003-08-07 04:33:56 rossta Exp $
// $Header: /cvsroot/tikiwiki/tiki/tiki-blog_post.php,v 1.22 2003-10-08 03:53:08 dheltzel Exp $
// Copyright (c) 2002-2003, Luis Argerich, Garland Foster, Eduardo Polidor, et. al.
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
......@@ -12,7 +12,7 @@ require_once ('tiki-setup.php');
include_once ('lib/blogs/bloglib.php');
if ($feature_blogs != 'y') {
$smarty->assign('msg', tra("This feature is disabled"));
$smarty->assign('msg', tra("This feature is disabled").": feature_blogs");
$smarty->display("styles/$style_base/error.tpl");
die;
......@@ -262,4 +262,4 @@ $smarty->assign('mid', 'tiki-blog_post.tpl');
$smarty->assign('show_page_bar', 'n');
$smarty->display("styles/$style_base/tiki.tpl");
?>
\ No newline at end of file
?>
<?php
// $Header: /cvsroot/tikiwiki/tiki/tiki-blog_rankings.php,v 1.7 2003-08-07 04:33:56 rossta Exp $
// $Header: /cvsroot/tikiwiki/tiki/tiki-blog_rankings.php,v 1.8 2003-10-08 03:53:08 dheltzel Exp $
// Copyright (c) 2002-2003, Luis Argerich, Garland Foster, Eduardo Polidor, et. al.
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
......@@ -12,7 +12,7 @@ require_once ('tiki-setup.php');
include_once ('lib/rankings/ranklib.php');
if ($feature_blogs != 'y') {
$smarty->assign('msg', tra("This feature is disabled"));
$smarty->assign('msg', tra("This feature is disabled").": feature_blogs");
$smarty->display("styles/$style_base/error.tpl");
die;
......@@ -84,4 +84,4 @@ $smarty->assign('rpage', 'tiki-blog_rankings.php');
$smarty->assign('mid', 'tiki-ranking.tpl');
$smarty->display("styles/$style_base/tiki.tpl");
?>
\ No newline at end of file
?>
<?php
// $Header: /cvsroot/tikiwiki/tiki/tiki-blog_rss.php,v 1.14 2003-09-02 19:38:22 ohertel Exp $
// $Header: /cvsroot/tikiwiki/tiki/tiki-blog_rss.php,v 1.15 2003-10-08 03:53:08 dheltzel Exp $
// Copyright (c) 2002-2003, Luis Argerich, Garland Foster, Eduardo Polidor, et. al.
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
......@@ -11,7 +11,7 @@ include_once ('lib/blogs/bloglib.php');
// object specific things:
if ($rss_blog != 'y') {
$smarty -> assign('msg', tra("This feature is disabled"));
$smarty->assign('msg', tra("This feature is disabled").": rss_blog");
$smarty -> display("styles/$style_base/error.tpl");
die; // TODO: output of rss file with message: rss disabled
}
......@@ -143,4 +143,4 @@ if ($rss_version == 2) {
} else {
print "</rdf:RDF>\n";
}
?>
\ No newline at end of file
?>
<?php
// $Header: /cvsroot/tikiwiki/tiki/tiki-browse_categories.php,v 1.9 2003-08-07 04:33:56 rossta Exp $
// $Header: /cvsroot/tikiwiki/tiki/tiki-browse_categories.php,v 1.10 2003-10-08 03:53:08 dheltzel Exp $
// Copyright (c) 2002-2003, 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.
//
// $Header: /cvsroot/tikiwiki/tiki/tiki-browse_categories.php,v 1.9 2003-08-07 04:33:56 rossta Exp $
// $Header: /cvsroot/tikiwiki/tiki/tiki-browse_categories.php,v 1.10 2003-10-08 03:53:08 dheltzel Exp $
//
// Initialization
......@@ -17,7 +17,7 @@ include_once ('lib/categories/categlib.php');
include_once ('lib/tree/categ_browse_tree.php');
if ($feature_categories != 'y') {
$smarty->assign('msg', tra("This feature is disabled"));
$smarty->assign('msg', tra("This feature is disabled").": feature_categories");
$smarty->display("styles/$style_base/error.tpl");
die;
......@@ -126,4 +126,4 @@ include_once ('tiki-section_options.php');
$smarty->assign('mid', 'tiki-browse_categories.tpl');
$smarty->display("styles/$style_base/tiki.tpl");
?>
\ No newline at end of file
?>
<?php
// $Header: /cvsroot/tikiwiki/tiki/tiki-browse_gallery.php,v 1.14 2003-10-03 22:10:49 rlpowell Exp $
// $Header: /cvsroot/tikiwiki/tiki/tiki-browse_gallery.php,v 1.15 2003-10-08 03:53:08 dheltzel Exp $
// Copyright (c) 2002-2003, Luis Argerich, Garland Foster, Eduardo Polidor, et. al.
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
......@@ -12,7 +12,7 @@ require_once ('tiki-setup.php');
include_once ("lib/imagegals/imagegallib.php");
if ($feature_galleries != 'y') {
$smarty->assign('msg', tra("This feature is disabled"));
$smarty->assign('msg', tra("This feature is disabled").": feature_galleries");
$smarty->display("styles/$style_base/error.tpl");
die;
......
<?php
// $Header: /cvsroot/tikiwiki/tiki/tiki-browse_image.php,v 1.19 2003-08-07 04:33:57 rossta Exp $
// $Header: /cvsroot/tikiwiki/tiki/tiki-browse_image.php,v 1.20 2003-10-08 03:53:08 dheltzel Exp $
// Copyright (c) 2002-2003, Luis Argerich, Garland Foster, Eduardo Polidor, et. al.
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
......@@ -12,7 +12,7 @@ require_once('tiki-setup.php');
include_once("lib/imagegals/imagegallib.php");
if ($feature_galleries != 'y') {
$smarty->assign('msg', tra("This feature is disabled"));
$smarty->assign('msg', tra("This feature is disabled").": feature_galleries");
$smarty->display("styles/$style_base/error.tpl");
die;
......@@ -265,4 +265,4 @@ if (isset($_REQUEST['popup'])and ($_REQUEST['popup'])) {
$smarty->assign('mid', 'tiki-browse_image.tpl');
$smarty->display("styles/$style_base/tiki.tpl");
?>
\ No newline at end of file
?>
<?php
// $Header: /cvsroot/tikiwiki/tiki/tiki-calendar.php,v 1.14 2003-08-07 04:33:57 rossta Exp $
// $Header: /cvsroot/tikiwiki/tiki/tiki-calendar.php,v 1.15 2003-10-08 03:53:08 dheltzel Exp $
// Copyright (c) 2002-2003, Luis Argerich, Garland Foster, Eduardo Polidor, et. al.
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
......@@ -16,7 +16,7 @@ include_once ('lib/calendar/calendarlib.php');
# $tiki_p_change_events
# $tiki_p_add_events
if ($feature_calendar != 'y') {
$smarty->assign('msg', tra("This feature is disabled"));
$smarty->assign('msg', tra("This feature is disabled").": feature_calendar");
$smarty->display("styles/$style_base/error.tpl");
die;
......@@ -607,4 +607,4 @@ $smarty->assign('var', '');
$smarty->assign('mid', 'tiki-calendar.tpl');
$smarty->display("styles/$style_base/tiki.tpl");
?>
\ No newline at end of file
?>
<?php
// $Header: /cvsroot/tikiwiki/tiki/tiki-charts.php,v 1.3 2003-08-07 04:33:57 rossta Exp $
// $Header: /cvsroot/tikiwiki/tiki/tiki-charts.php,v 1.4 2003-10-08 03:53:08 dheltzel Exp $
// Copyright (c) 2002-2003, Luis Argerich, Garland Foster, Eduardo Polidor, et. al.
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
......@@ -10,7 +10,7 @@ require_once ('tiki-setup.php');
include_once ('lib/charts/chartlib.php');
if ($feature_charts != 'y') {
$smarty->assign('msg', tra("This feature is disabled"));
$smarty->assign('msg', tra("This feature is disabled").": feature_charts");
$smarty->display("styles/$style_base/error.tpl");
die;
......@@ -77,4 +77,4 @@ $sameurl_elements = array(
$smarty->assign('mid', 'tiki-charts.tpl');
$smarty->display("styles/$style_base/tiki.tpl");
?>