* @license http://www.contenido.org/license/LIZENZ.txt * @link http://www.4fb.de * @link http://www.contenido.org * @since file available since contenido release <= 4.6 * * {@internal * created unknown * modified 2008-06-27, Dominik Ziegler, add security fix * * $Id$: * }} * */ if(!defined('CON_FRAMEWORK')) { die('Illegal call'); } if ($action == "note_delete") { $oNoteCollection = new NoteCollection; $oNoteCollection->delete($deleteitem); } $page = new cPage; $oNoteList = new NoteList($itemtype, $itemid); $oNoteList->setDeleteable(true); $page->setExtra('background: '.$cfg["color"]["table_light"]); $page->setMargin(0); $page->setContent($oNoteList); $page->render(); ?>