openrat-cms

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

commit 61e08c4cb61983090d0787a904f9fe9575ae48f8
parent a8b4356abf39d26482a34c039f5025081daeef05
Author: dankert <devnull@localhost>
Date:   Sun, 22 Mar 2009 22:38:39 +0100

Subaction "showprop" entfernt, da in "prop" mit aufgegangen.

Diffstat:
actionClasses/PageAction.class.php | 22----------------------
actionClasses/PageAction.ini.php | 11++++-------
themes/default/templates/page/showprop.tpl.src.php | 71-----------------------------------------------------------------------
3 files changed, 4 insertions(+), 100 deletions(-)

diff --git a/actionClasses/PageAction.class.php b/actionClasses/PageAction.class.php @@ -665,28 +665,6 @@ class PageAction extends ObjectAction - /** - * Die Eigenschaften der Seite anzeigen - */ - function showprop() - { - $this->page->public = true; - $this->page->load(); - $this->page->full_filename(); - - $this->setTemplateVars( $this->page->getProperties() ); - - if ( $this->userIsAdmin() ) - { - $this->setTemplateVar('template_url',Html::url('main','template',$this->page->templateid)); - } - - $template = new Template( $this->page->templateid ); - $template->load(); - $this->setTemplateVar('template_name',$template->name); - } - - /** * Die Eigenschaften der Seite anzeigen diff --git a/actionClasses/PageAction.ini.php b/actionClasses/PageAction.ini.php @@ -30,14 +30,11 @@ target=pubnow goto=pub [saveprop] -goto=showprop +goto=prop [saveform] goto=el -[showprop] -menu=prop - [prop] menu=prop target=saveprop @@ -52,7 +49,7 @@ menu=prop target=replacetemplate [replacetemplate] -goto=showprop +goto=prop [src] menu=src @@ -81,4 +78,4 @@ pub=pub elements=el,form rights=rights,aclform src=src -prop=showprop,prop,changetemplate- \ No newline at end of file +prop=prop,changetemplate+ \ No newline at end of file diff --git a/themes/default/templates/page/showprop.tpl.src.php b/themes/default/templates/page/showprop.tpl.src.php @@ -1,70 +0,0 @@ -page - - window icon:folder widths:40%,60% - row - cell - text text:global_name - cell class:name - text var:name - row - cell - text text:message:global_description - cell - text text:var:description - row - cell - text text:global_full_filename - cell class:filename - text var:full_filename - row - cell colspan:2 - fieldset title:message:additional_info - row - cell - text text:global_template - cell - if present:template_url - link url:var:template_url target:cms_main - image file:icon_template - text var:template_name - if empty:template_url - image file:icon_template - text var:template_name - row - cell - text key:FILE_MIMETYPE - cell class:filename - text var:mime_type - row - cell - text key:id - cell - text var:objectid - row - cell colspan:2 - fieldset title:message:prop_userinfo - row - cell - text text:global_created - cell - table - row - cell - image icon:el_date - date date:var:create_date - cell - image icon:user - user user:var:create_user - row - cell - text text:global_lastchange - cell - table - row - cell - image icon:el_date - date date:var:lastchange_date - cell - image icon:user - user user:var:lastchange_user - - \ No newline at end of file