Location: PHPKode > projects > papaya CMS > files/papaya/topic.php
<?php
/**
* Edit pages
*
* @copyright 2002-2009 by papaya Software GmbH - All rights reserved.
* @link http://www.papaya-cms.com/
* @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU General Public License, version 2
*
* You can redistribute and/or modify this script under the terms of the GNU General Public
* License (GPL) version 2, provided that the copyright and license notes, including these
* lines, remain unmodified. papaya is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE.
*
* @package Papaya
* @subpackage Administration
* @version $Id: topic.php 32291 2009-09-30 18:22:23Z weinert $
*/

/**
* Authentication
*/
require_once("./inc.auth.php");

if ($PAPAYA_SHOW_ADMIN_PAGE) {
  include_once(PAPAYA_INCLUDE_PATH.'system/papaya_topic.php');
  initNavigation();
  $PAPAYA_LAYOUT->setParam('PAGE_TITLE', _gt('Content').' - '._gt('Pages'));
  $PAPAYA_LAYOUT->setParam('PAGE_ICON', $PAPAYA_IMAGES['items-page']);

  $topic = &new papaya_topic;
  $topic->authUser = &$PAPAYA_USER;
  $topic->msgs = &$PAPAYA_MSG;
  $topic->layout = &$PAPAYA_LAYOUT;
  $topic->images = &$PAPAYA_IMAGES;

  $topic->initialize(@(int)$_REQUEST['p_id']);
  $topic->execute();
}
require('inc.footer.php');
?>
Return current item: papaya CMS