mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-20 08:22:17 +00:00
Vorschaukorrektur in CMS und CIS
CMS Vorschau immer anzeigen, auch wenn Content unsichtbar. CIS nur anzeigen, wenn Content sichtbar.
This commit is contained in:
+1
-1
@@ -1258,7 +1258,7 @@ function print_content()
|
||||
if($content->template_kurzbz=='redirect')
|
||||
echo '<a href="content.php?content_id='.$content_id.'&version='.$version.'&sprache='.$sprache.'&sichtbar&filter='.implode(' ', $filterstr).'" target="_blank">Vorschau in eigenem Fenster öffnen</a>';
|
||||
else
|
||||
echo '<iframe src="content.php?content_id='.$content_id.'&version='.$version.'&sprache='.$sprache.'&filter='.implode(' ', $filterstr).'" style="width: 800px; height: 500px; border: 1px solid black;">';
|
||||
echo '<iframe src="content.php?content_id='.$content_id.'&version='.$version.'&sprache='.$sprache.'&filter='.implode(' ', $filterstr).'&sichtbar" style="width: 800px; height: 500px; border: 1px solid black;">';
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
+1
-1
@@ -36,7 +36,7 @@ else
|
||||
|
||||
$version = (isset($_GET['version'])?$_GET['version']:null);
|
||||
$sprache = (isset($_GET['sprache'])?$_GET['sprache']:getSprache());
|
||||
$sichtbar = (isset($_GET['sichtbar'])?($_GET['sichtbar']=='true'?true:($_GET['sichtbar']=='false'?false:null)):null);
|
||||
$sichtbar = (isset($_GET['sichtbar'])?($_GET['sichtbar']=='true'?true:($_GET['sichtbar']=='false'?false:null)):true);
|
||||
|
||||
$p = new phrasen($sprache);
|
||||
//XML Content laden
|
||||
|
||||
Reference in New Issue
Block a user