openrat-cms

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

commit 83741d316f4f9c28ee98cafadf6f690bc5d3f17c
parent d5ed76055344f021e4bf9f63efae21f3a7a5d243
Author: Jan Dankert <devnull@localhost>
Date:   Tue,  8 Nov 2011 21:54:24 +0100

Fix: Link im Baum

Diffstat:
util/ProjectTree.class.php | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/util/ProjectTree.class.php b/util/ProjectTree.class.php @@ -295,6 +295,7 @@ class ProjectTree extends AbstractTree $treeElement = new TreeElement(); $treeElement->description= ''; $treeElement->id = 0; + $treeElement->action = 'language'; $treeElement->text = lang('GLOBAL_LANGUAGES'); $treeElement->url = Html::url('language','listing',0,array(REQ_PARAM_TARGETSUBACTION=>'listing',REQ_PARAM_TARGET=>'content')); $treeElement->icon = 'language_list'; @@ -320,6 +321,7 @@ class ProjectTree extends AbstractTree $treeElement->description= lang('GLOBAL_MODELS_DESC'); $treeElement->text = lang('GLOBAL_MODELS'); $treeElement->url = Html::url('model','listing',0,array(REQ_PARAM_TARGETSUBACTION=>'listing',REQ_PARAM_TARGET=>'content')); + $treeElement->action = 'model'; $treeElement->icon = 'model_list'; $treeElement->target = 'content'; $this->addTreeElement( $treeElement ); @@ -444,6 +446,7 @@ class ProjectTree extends AbstractTree $treeElement->text = $name; $treeElement->url = Html::url('model','edit',$id, array(REQ_PARAM_TARGETSUBACTION=>'edit',REQ_PARAM_TARGET=>'content')); + $treeElement->action = 'model'; $treeElement->icon = 'model'; $treeElement->description = ''; $treeElement->target = 'content';