openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 5dfd68dd915a60fcb4e6593d36b3291facf25b1e
parent b9f70528cde5a5753d09004e849c403f00144586
Author: Jan Dankert <devnull@localhost>
Date:   Mon,  6 Nov 2017 22:10:50 +0100

Page-Properties mit ausgeben, um diese über die API verfügbar zu machen.

Diffstat:
action/PageAction.class.php | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/action/PageAction.class.php b/action/PageAction.class.php @@ -512,6 +512,7 @@ class PageAction extends ObjectAction } $this->setTemplateVar('preview_url',Html::url('page','show',$this->page->objectid,array('withIcons'=>'1') ) ); + $this->setTemplateVar('properties',$this->page->getProperties() ); $this->setTemplateVar('el',$list); }