mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-16 22:42:16 +00:00
CMS-System
- Versionierung - Review und Übersetzer Benachrichtigung - News Prototyp
This commit is contained in:
+2
-1
@@ -35,6 +35,7 @@ else
|
||||
|
||||
$version = (isset($_GET['version'])?$_GET['version']:null);
|
||||
$sprache = (isset($_GET['sprache'])?$_GET['sprache']:getSprache());
|
||||
$sichtbar = !isset($_GET['sichtbar']);
|
||||
|
||||
//XML Content laden
|
||||
$content = new content();
|
||||
@@ -46,7 +47,7 @@ if($content->islocked($content_id))
|
||||
die($uid.': Sie haben keine Berechtigung fuer diese Seite');
|
||||
}
|
||||
|
||||
if(!$content->getContent($content_id, $sprache, $version))
|
||||
if(!$content->getContent($content_id, $sprache, $version, $sichtbar, true))
|
||||
die($content->errormsg);
|
||||
|
||||
$XML = new DOMDocument();
|
||||
|
||||
Reference in New Issue
Block a user