openrat-cms

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

commit fc24f06f6c4b8dae6c06827db80ba2229af514d5
parent c4593047ef18703944bf73c691eea8452fb24066
Author: dankert <devnull@localhost>
Date:   Thu, 20 Jan 2011 22:18:25 +0100

Korrektur URLs...

Diffstat:
action/LanguageAction.class.php | 4++--
action/ModelAction.class.php | 4++--
action/TemplateAction.class.php | 2+-
3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/action/LanguageAction.class.php b/action/LanguageAction.class.php @@ -207,8 +207,8 @@ class LanguageAction extends Action if ( $this->userIsAdmin() ) { - $list[$id]['url' ] = Html::url('main','language',$id, - array(REQ_PARAM_TARGETSUBACTION=>'edit') ); + $list[$id]['url' ] = Html::url('language','edit',$id, + array() ); if ( ! $l->isDefault ) $list[$id]['default_url'] = Html::url( 'language','setdefault',$id ); diff --git a/action/ModelAction.class.php b/action/ModelAction.class.php @@ -175,8 +175,8 @@ class ModelAction extends Action $list[$id]['name'] = $m->name; if ( $this->userIsAdmin() ) - $list[$id]['url' ] = Html::url('main','model',$id, - array(REQ_PARAM_TARGETSUBACTION=>'edit') ); + $list[$id]['url' ] = Html::url('model','edit',$id, + array() ); if ( ! $m->isDefault && $this->userIsAdmin() ) $list[$id]['default_url'] = Html::url('model','setdefault',$id); diff --git a/action/TemplateAction.class.php b/action/TemplateAction.class.php @@ -644,7 +644,7 @@ class TemplateAction extends Action { $list[$id] = array(); $list[$id]['name'] = $name; - $list[$id]['url' ] = Html::url('main','template',$id,array(REQ_PARAM_TARGETSUBACTION=>'el')); + $list[$id]['url' ] = Html::url('template','el',$id,array()); } // $var['templatemodelid'] = htmlentities( $id );