<?php // $Id: /cvsroot/tikiwiki/tiki/tiki-list_contents.php,v 1.17 2007-10-12 07:55:28 nyloth 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 require_once 'tiki-setup.php'; include_once 'lib/dcs/dcslib.php'; $auto_query_args = array('sort_mode', 'offset', 'find'); if (!isset($dcslib)) { $dcslib = new DCSLib($dbTiki); } if ($prefs['feature_dynamic_content'] != 'y') { $smarty->assign('msg', tra("This feature is disabled") . ": feature_dynamic_content"); $smarty->display("error.tpl"); die; } if ($tiki_p_admin_dynamic != 'y') { $smarty->assign('errortype', 401); $smarty->assign('msg', tra("You do not have permission to use this feature")); $smarty->display("error.tpl"); die; } if (isset($_REQUEST["remove"])) { $area = 'delcontents'; if ($prefs['feature_ticketlib2'] != 'y' or isset($_POST['daconfirm']) and isset($_SESSION["ticket_{$area}"])) { key_check($area); $dcslib->remove_contents($_REQUEST["remove"]); } else { key_get($area);
// 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. // $Id: tiki-admin_modules.php 41399 2012-05-09 16:58:22Z jonnybradley $ $section = 'admin'; require_once ('tiki-setup.php'); include_once ('lib/menubuilder/menulib.php'); include_once ('lib/rss/rsslib.php'); include_once ('lib/polls/polllib.php'); include_once ('lib/banners/bannerlib.php'); include_once ('lib/dcs/dcslib.php'); include_once ('lib/modules/modlib.php'); include_once ('lib/structures/structlib.php'); if (!isset($dcslib)) { $dcslib = new DCSLib($dbTiki); } if (!isset($bannerlib)) { $bannerlib = new BannerLib($dbTiki); } if (!isset($rsslib)) { $rsslib = new RssLib($dbTiki); } if (!isset($polllib)) { $polllib = new PollLib($dbTiki); } if (!isset($structlib)) {
<?php // (c) Copyright 2002-2012 by authors of the Tiki Wiki CMS Groupware Project // // 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. // $Id: tiki-edit_programmed_content.php 40234 2012-03-17 19:17:41Z changi67 $ require_once ('tiki-setup.php'); include_once ('lib/dcs/dcslib.php'); $auto_query_args = array('contentId','sort_mode','offset','find'); if (!isset($dcslib)) { $dcslib = new DCSLib; } $access->check_feature('feature_dynamic_content'); $access->check_permission('tiki_p_admin_dynamic'); if (!isset($_REQUEST["contentId"])) { $smarty->assign('msg', tra("No content id indicated")); $smarty->display("error.tpl"); die; } $smarty->assign('contentId', $_REQUEST["contentId"]); $smarty->assign('pId', 0); $info = $dcslib->get_content($_REQUEST["contentId"]); $smarty->assign('description', $info["description"]); if (isset($_REQUEST["remove"])) { $access->check_authenticity();
<?php // $Header: /cvsroot/tikiwiki/tiki/tiki-admin_modules.php,v 1.33.2.10 2006/09/03 16:32:32 ohertel 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. require_once 'tiki-setup.php'; include_once 'lib/menubuilder/menulib.php'; include_once 'lib/rss/rsslib.php'; include_once 'lib/polls/polllib.php'; include_once 'lib/banners/bannerlib.php'; include_once 'lib/dcs/dcslib.php'; include_once 'lib/modules/modlib.php'; include_once 'lib/structures/structlib.php'; if (!isset($dcslib)) { $dcslib = new DCSLib($dbTiki); } if (!isset($bannerlib)) { $bannerlib = new BannerLib($dbTiki); } if (!isset($rsslib)) { $rsslib = new RssLib($dbTiki); } if (!isset($polllib)) { $polllib = new PollLib($dbTiki); } if (!isset($structlib)) { $structlib = new StructLib($dbTiki); } $smarty->assign('wysiwyg', 'n'); if (isset($_REQUEST['wysiwyg']) && $_REQUEST['wysiwyg'] == 'y') {