openrat-cms

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

commit e5d862a89218963a6e4149a0fbfc0d9a7431e744
parent 065ee72635eee8540587d1dfe2b8270d8c0376a9
Author: dankert <devnull@localhost>
Date:   Thu, 20 Jan 2011 22:41:35 +0100

MenĂ¼-Befehle in Buttons umgewandelt.

Diffstat:
action/FolderAction.ini.php | 2+-
action/ProfileAction.class.php | 1+
themes/default/templates/file/prop.tpl.src.php | 11+++++++++++
themes/default/templates/file/show.tpl.src.php | 9+++++++++
themes/default/templates/folder/show.tpl.src.php | 16++++++++++++++--
5 files changed, 36 insertions(+), 3 deletions(-)

diff --git a/action/FolderAction.ini.php b/action/FolderAction.ini.php @@ -120,4 +120,4 @@ show=show,select,order,create,pub,prop,rights,aclform new=show,select,order,create,pub,prop,rights,aclform prop=show,select,order,create,pub,prop,rights,aclform rights=show,select,order,create,pub,prop,rights,aclform -menu=show,select,order,create,pub,prop,rights +menu=show,pub,prop,rights diff --git a/action/ProfileAction.class.php b/action/ProfileAction.class.php @@ -53,6 +53,7 @@ class ProfileAction extends Action $this->user->style = $this->getRequestVar('style' ); $this->setStyle( $this->user->style ); // Style sofort anwenden + Session::setUser( $this->user ); if ( !empty($this->user->fullname) ) { diff --git a/themes/default/templates/file/prop.tpl.src.php b/themes/default/templates/file/prop.tpl.src.php @@ -124,6 +124,17 @@ page row + cell colspan:2 + link class:action action:file subaction:compress + image file:icon/compress + text key:menu_file_compress + link class:action action:file subaction:uncompress + image file:icon/uncompress + text key:menu_file_uncompress + link class:action action:file subaction:extract + image file:icon/extract + text key:menu_file_extract + row cell colspan:2 class:act button type:ok focus field:name \ No newline at end of file diff --git a/themes/default/templates/file/show.tpl.src.php b/themes/default/templates/file/show.tpl.src.php @@ -4,3 +4,11 @@ page row cell colspan:2 insert url:var:preview_url + + link class:action action:file subaction:edit + image file:icon/edit + text key:menu_file_edit + link class:action action:file subaction:editvalue + image file:icon/editvalue + text key:menu_file_editvalue + + \ No newline at end of file diff --git a/themes/default/templates/folder/show.tpl.src.php b/themes/default/templates/folder/show.tpl.src.php @@ -28,4 +28,16 @@ page class:main row cell colspan:2 - text text:GLOBAL_NOT_FOUND- \ No newline at end of file + text text:GLOBAL_NOT_FOUND + + row + cell + link class:action action:folder subaction:select + image file:icon/select + text key:menu_folder_select + link class:action action:folder subaction:order + image file:icon/order + text key:menu_folder_order + link class:action action:folder subaction:create + image file:icon/create + text key:menu_folder_create+ \ No newline at end of file