- | ';
+ | ';
$db = new basis_db();
@@ -659,10 +662,17 @@ echo '
Content |
-News
-
+News
+
';
-
$menu='content';
if(isset($_GET['menu']))
{
@@ -685,7 +695,11 @@ if($menu=='news')
else
{
$rootcontent = new content();
- $rootcontent->getRootContent();
+
+ if($filter!=null)
+ $rootcontent->searchCMS($filterstr);
+ else
+ $rootcontent->getRootContent();
}
foreach($rootcontent->result as $row)
@@ -703,14 +717,14 @@ foreach($rootcontent->result as $row)
if($content->template_kurzbz=='news')
{
$output.= '| ';
- $output.= drawmenulink($row->content_id, mb_substr($content->titel,0,15).' '.$datum_obj->formatDatum($content->insertamum,'d.m.Y'), $content->oe_kurzbz);
+ $output.= drawmenulink($row->content_id, mb_substr($content->titel,0,15).' '.$datum_obj->formatDatum($content->insertamum,'d.m.Y'), $content->oe_kurzbz, $content->aktiv);
$output.= ' | ';
}
else
{
$output.= ' ';
- $output.= drawmenulink($row->content_id, $content->titel, $content->oe_kurzbz);
+ $output.= drawmenulink($row->content_id, $content->titel, $content->oe_kurzbz, $content->aktiv);
$output.= ' | ';
$submenu_depth=0;
@@ -779,7 +793,7 @@ echo '
*/
function drawheader()
{
- global $content_id, $action, $sprache, $version, $action;
+ global $content_id, $action, $sprache, $version, $action, $filterstr;
//vorhandene Versionen dieser Sprache anzeigen
$content = new content();
@@ -799,7 +813,7 @@ function drawheader()
else
$class='';
- echo ' ';
+ echo ' ';
echo $row->version;
echo ', ';
}
@@ -815,12 +829,12 @@ function drawheader()
$class='marked';
else
$class='';
- echo ' '; //&version='.$version.'
+ echo ' '; //&version='.$version.'
echo $lang;
echo ',';
}
echo '';
- echo '';
echo ' | ';
@@ -831,7 +845,7 @@ function drawheader()
//wird ein Formular zum Erstellen der Uebersetzung angezeigt.
if(count($vorhandene_sprachen)!=count($sprache_obj->result))
{
- echo ' | |