openrat-cms

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

commit 8d44ad846ae3eeee237e4cfb5f911fd540082746
parent 774aa28f6df080468ca4230794a1d9fc3ec7c34f
Author: dankert <devnull@localhost>
Date:   Thu, 29 Oct 2009 09:45:12 +0100

Hinweismeldung 'schreibgeschuetzt'.

Diffstat:
actionClasses/TitleAction.class.php | 12+-----------
1 file changed, 1 insertion(+), 11 deletions(-)

diff --git a/actionClasses/TitleAction.class.php b/actionClasses/TitleAction.class.php @@ -41,20 +41,10 @@ class TitleAction extends Action */ function show() { - // Seite �ndert sich nur 1x pro Session - $user = Session::getUser(); -// $this->lastModified( $user->loginDate ); - - $user = Session::getUser(); -// if ( is_object($user) && isset($user->loginDate) ) -// $this->lastModified( $user->loginDate ); - $this->setTemplateVar('css_body_class','title'); $db = Session::getDatabase(); -// $this->setTemplateVar('dbid' ,$db->id ); - $this->setTemplateVar('dbname',$db->conf['comment'] ); -// $this->setTemplateVar('dbdescription',$db->conf['comment'] ); + $this->setTemplateVar('dbname',$db->conf['comment'].(readonly()?' ('.lang('readonly').')':'')); $user = Session::getUser(); $this->setTemplateVar('username' ,$user->name );