commit 2402395f218757882e6af9cbde407e677379221b
parent f0d14b9361cedecf7c84f37a0a1f2ed6b7871d7f
Author: dankert <devnull@localhost>
Date: Wed, 24 Oct 2007 23:13:04 +0200
Action "treemenu" nicht mehr vorhanden.
Diffstat:
2 files changed, 0 insertions(+), 63 deletions(-)
diff --git a/actionClasses/TreemenuAction.class.php b/actionClasses/TreemenuAction.class.php
@@ -1,56 +0,0 @@
-<?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.
-
-/**
- * Action-Klasse zur Darstellung des Projekt-Auswahlmenues
- * @author $Author$
- * @version $Revision$
- * @package openrat.actions
- */
-
-class TreemenuAction extends Action
-{
- var $defaultSubAction = 'show';
-
- function show()
- {
- $user = Session::getUser();
- $projects = $user->projects;
-
- foreach($projects as $pid=>$p)
- $projects[$pid]=Text::maxLength($p,17,'..',STR_PAD_BOTH);
-
- // Administrator sieht Administrationsbereich
- if ( $user->isAdmin )
- $projects = array("-1"=>lang('GLOBAL_ADMINISTRATION')) + $projects;
-
- $this->setTemplateVar('projects',$projects);
-
- // Das aktuelle Projekt voreinstellen
- $project = Session::getProject();
- if ( is_object( $project ) )
- $this->setTemplateVar( 'act_projectid',$project->projectid );
-
- // Ausgabe des Templates
- $this->forward('tree_menu');
- }
-}
-
-?>-
\ No newline at end of file
diff --git a/actionClasses/TreemenuAction.ini.php b/actionClasses/TreemenuAction.ini.php
@@ -1,5 +0,0 @@
-
-[default]
-goto=show
-
-[show]-
\ No newline at end of file