* @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, Frederic Schneider, add security fix * * $Id$: * }} * */ if(!defined('CON_FRAMEWORK')) { die('Illegal call'); } cInclude("includes", "functions.con.php"); $page = new cPage; conCreateLocationString($idcat, "/", $cat_str); $mcatlink = ""; $_cecIterator = $_cecRegistry->getIterator("Contenido.Content.CreateCategoryLink"); if ($_cecIterator->count() > 0) { while ($chainEntry = $_cecIterator->next()) { $catlink = $chainEntry->execute($idcat); if ($catlink != "") { $mcatlink = $catlink; } } } if ($mcatlink == "") { $mcatlink = "front_content.php?idcat=$idcat"; } $jslink = 'parent.parent.frames[\'left\'].frames[\'left_top\'].document.getElementById(\'selectedfile\').value= \''.$mcatlink.'\'; window.returnValue=\''.$mcatlink.'\'; window.close();'; $content[] = '
'; $cApiCategoryArticleCollection = new cApiCategoryArticleCollection; $cApiCategoryArticleCollection->link("cApiCategoryLanguageCollection"); $cApiCategoryArticleCollection->link("cApiArticleCollection"); $cApiCategoryArticleCollection->link("cApiArticleLanguageCollection"); $cApiCategoryArticleCollection->link("cApiCategoryCollection"); $cApiCategoryArticleCollection->setWhere("cApiCategoryLanguageCollection.idlang", $lang); $cApiCategoryArticleCollection->setWhere("cApiArticleLanguageCollection.idlang", $lang); $cApiCategoryArticleCollection->setWhere("cApiCategoryLanguageCollection.idcat", $idcat); $cApiCategoryArticleCollection->query(); $headlines = array(i18n("Start"), i18n("Title"), i18n("Created"), i18n("Modified"), i18n("Sort Order"), i18n("Online")); $fields = array("is_start", "title", "created", "lastmodified", "artsort", "online"); $content[] = ''.$headline.' | '; } $content[] = '
'.$value.' | '; } $content[] = '