openrat-cms

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

commit 710d337d52980eb39c6d0b3d84b8ab4a0d671920
parent ab75a3a492f0ed5877ac5b780a2e5ca3216d7090
Author: dankert <devnull@localhost>
Date:   Sun, 26 Dec 2010 00:11:59 +0100

Projektnamen in die Ausgabe schreiben und anzeigen.

Diffstat:
actionClasses/TreeAction.class.php | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

diff --git a/actionClasses/TreeAction.class.php b/actionClasses/TreeAction.class.php @@ -227,6 +227,12 @@ class TreeAction extends Action */ function show() { + $project = Session::getProject(); + if ( is_object($project) ) + { + $this->setTemplateVar('projectname',$project->name); + } + $this->tree = Session::getTree(); if ( $this->getRequestVar('target')!='tree' )