Vorschaukorrektur in CMS und CIS

CMS Vorschau immer anzeigen, auch wenn Content unsichtbar.
CIS nur anzeigen, wenn Content sichtbar.
This commit is contained in:
kindlm
2015-04-02 20:20:13 +02:00
parent 312fe6a887
commit 27873b2756
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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;">';
}
/**