commit d6fe98069ab2f68402f6119fea109348ef88a5a0
parent e64e20e62004d1a3d535f585a696629563035019
Author: dankert <devnull@localhost>
Date: Sat, 27 Nov 2004 14:07:05 +0100
*** empty log message ***
Diffstat:
1 file changed, 60 insertions(+), 57 deletions(-)
diff --git a/actionClasses/MainAction.class.php b/actionClasses/MainAction.class.php
@@ -1,59 +1,62 @@
-<?php
-// ---------------------------------------------------------------------------
-// $Id$
-// ---------------------------------------------------------------------------
-// OpenRat Content Management System
-// Copyright (C) 2002 Jan Dankert, jandankert@jandankert.de
-//
-// This program is free software; you can redistribute it and/or
-// modify it under the terms of the GNU General Public License
-// as published by the Free Software Foundation; either version 2
-// of the License, or (at your option) any later version.
-//
-// This program is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public License
-// along with this program; if not, write to the Free Software
-// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-// ---------------------------------------------------------------------------
+<?php
+// ---------------------------------------------------------------------------
+// $Id$
+// ---------------------------------------------------------------------------
+// OpenRat Content Management System
+// Copyright (C) 2002 Jan Dankert, jandankert@jandankert.de
+//
+// This program is free software; you can redistribute it and/or
+// modify it under the terms of the GNU General Public License
+// as published by the Free Software Foundation; either version 2
+// of the License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+// ---------------------------------------------------------------------------
// $Log$
-// Revision 1.2 2004-05-02 14:49:37 dankert
-// Einfügen package-name (@package)
-//
-// Revision 1.1 2004/04/24 15:14:52 dankert
-// Initiale Version
-//
-// ---------------------------------------------------------------------------
-
-
-/**
- * Action-Klasse fuer die Darstellung des Unter-Framesets
- * @author $Author$
- * @version $Revision$
- * @package openrat.actions
- */
-
-class MainAction extends Action
-{
- var $defaultSubAction = 'show';
-
- function show()
- {
- if ( $this->getRequestVar('callSubaction')!='')
- {
- $this->setSessionVar( $this->getRequestVar('callAction').'action',$this->getRequestVar('callSubaction') );
- }
-
- $this->setTemplateVar('frame_src_main_menu',Html::url( array('action'=>'mainmenu' ,'subaction'=>$this->getRequestVar('callAction' ) ) ));
- $this->setTemplateVar('frame_src_main_main',Html::url( array('action'=>$this->getRequestVar('callAction'),'subaction'=>$this->getSessionVar( $this->getRequestVar('callAction').'action' ) ) ));
-
- $this->forward('frameset_main');
- }
-
-}
-
-
+// Revision 1.3 2004-11-27 13:07:05 dankert
+// *** empty log message ***
+//
+// Revision 1.2 2004/05/02 14:49:37 dankert
+// Einf?gen package-name (@package)
+//
+// Revision 1.1 2004/04/24 15:14:52 dankert
+// Initiale Version
+//
+// ---------------------------------------------------------------------------
+
+
+/**
+ * Action-Klasse fuer die Darstellung des Unter-Framesets
+ * @author $Author$
+ * @version $Revision$
+ * @package openrat.actions
+ */
+
+class MainAction extends Action
+{
+ var $defaultSubAction = 'show';
+
+ function show()
+ {
+ if ( $this->getRequestVar('callSubaction')!='')
+ {
+ $this->setSessionVar( $this->getRequestVar('callAction').'action',$this->getRequestVar('callSubaction') );
+ }
+
+ $this->setTemplateVar('frame_src_main_menu',Html::url( array('action'=>'mainmenu','subaction'=>$this->getRequestVar('subaction') ) ));
+ $this->setTemplateVar('frame_src_main_main',Html::url( array('action'=>$this->getRequestVar('subaction')) ));
+
+ $this->forward('frameset_main');
+ }
+
+}
+
+
?>
\ No newline at end of file