openrat-cms

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

commit f6511d6e13ea968ae157430ceae06afa2dec65f4
parent 56259b72331a2cad3225e8e5112b3ec35597d2c1
Author: dankert <devnull@localhost>
Date:   Wed,  5 Jan 2011 22:48:59 +0100

Entfernen nicht mehr notwendiger Action-Klassen und Theme-Dateien.

Diffstat:
action/BackgroundAction.class.php | 125-------------------------------------------------------------------------------
action/BackgroundAction.ini.php | 5-----
action/BorderAction.class.php | 124-------------------------------------------------------------------------------
action/BorderAction.ini.php | 5-----
action/ClipboardAction.class.php | 58----------------------------------------------------------
action/EmptyAction.class.php | 74--------------------------------------------------------------------------
action/EmptyAction.ini.php | 9---------
action/MainAction.class.php | 98-------------------------------------------------------------------------------
action/MainAction.ini.php | 47-----------------------------------------------
action/StatusAction.class.php | 78------------------------------------------------------------------------------
action/StatusAction.ini.php | 7-------
action/TransferAction.class.php | 242-------------------------------------------------------------------------------
action/TreetitleAction.class.php | 79-------------------------------------------------------------------------------
action/TreetitleAction.ini.php | 11-----------
themes/default/pages/html/background/show.tpl.php | 35-----------------------------------
themes/default/pages/html/border/show.tpl.php | 35-----------------------------------
themes/default/pages/html/empty/background.tpl.php | 35-----------------------------------
themes/default/pages/html/empty/blank.tpl.php | 35-----------------------------------
themes/default/pages/html/empty/border.tpl.php | 35-----------------------------------
themes/default/pages/html/main/show.tpl.php | 49-------------------------------------------------
themes/default/pages/html/mainmenu/show.tpl.php | 304-------------------------------------------------------------------------------
themes/default/pages/html/prefs/show.tpl.php | 151------------------------------------------------------------------------------
themes/default/pages/html/status/show.tpl.php | 762-------------------------------------------------------------------------------
themes/default/pages/html/treetitle/show.tpl.php | 233-------------------------------------------------------------------------------
themes/default/templates/background/show.tpl.src.php | 2--
themes/default/templates/border/show.tpl.src.php | 2--
themes/default/templates/empty/background.tpl.src.php | 2--
themes/default/templates/empty/blank.tpl.src.php | 2--
themes/default/templates/empty/border.tpl.src.php | 2--
themes/default/templates/main/menu.tpl.src.php | 20--------------------
themes/default/templates/main/show.tpl.src.php | 12------------
themes/default/templates/mainmenu/show.tpl.src.php | 43-------------------------------------------
themes/default/templates/status/show.tpl.src.php | 46----------------------------------------------
themes/default/templates/treetitle/show.tpl.src.php | 30------------------------------
34 files changed, 0 insertions(+), 2797 deletions(-)

diff --git a/action/BackgroundAction.class.php b/action/BackgroundAction.class.php @@ -1,124 +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. -// --------------------------------------------------------------------------- -// $Log$ -// Revision 1.2 2006-06-16 21:26:29 dankert -// Methode maxAge(), setzen von Expires-Headern im HTTP-Header. -// -// Revision 1.1 2006/01/11 22:38:33 dankert -// Neue Aktionsklassen f?r neue Darstellungsart -// -// Revision 1.21 2005/04/16 21:35:23 dankert -// Uebergabe von Loginfehlern als normale Hinweismeldung -// -// Revision 1.20 2005/03/13 16:39:00 dankert -// Neue Methoden, um Baum ein- und auszublenden -// -// Revision 1.19 2005/02/17 19:21:00 dankert -// Titelanzeige geaendert -// -// Revision 1.18 2005/01/27 00:03:57 dankert -// Variable "nopublish" an das Template liefern -// -// Revision 1.17 2005/01/23 11:13:54 dankert -// Schalter "nologin" beruecksichtigen -// -// Revision 1.16 2005/01/14 21:41:23 dankert -// Aufruf von lastModified() fuer Conditional-GET -// -// Revision 1.15 2005/01/04 21:42:09 dankert -// Uebertragen von MOTD -// -// Revision 1.14 2004/12/29 20:19:55 dankert -// Korrektur -// -// Revision 1.13 2004/12/28 22:58:39 dankert -// Fuellen Variablen logo* fuer Loginmaske -// -// Revision 1.12 2004/12/26 20:20:17 dankert -// Bei Logout entfernen aller Session-Variablen -// -// Revision 1.11 2004/12/26 18:49:58 dankert -// Projektname im Seiten-Titel -// -// Revision 1.10 2004/12/25 22:11:20 dankert -// Logo-Bild ueber Parameter -// -// Revision 1.9 2004/12/19 21:57:02 dankert -// Korrektur bei direktem Objektaufruf in object() -// -// Revision 1.8 2004/12/19 14:54:31 dankert -// language() und model() korrigiert -// -// Revision 1.7 2004/12/18 00:16:26 dankert -// language_read() entfernt -// -// Revision 1.6 2004/12/15 23:23:27 dankert -// div. neue Methoden -// -// Revision 1.5 2004/11/28 18:26:15 dankert -// Anpassen an neue Sprachdatei-Konventionen -// -// Revision 1.4 2004/11/15 21:34:05 dankert -// Korrektur fuer Administrationsmodus -// -// Revision 1.3 2004/11/10 22:36:45 dankert -// Laden von Projektklassen und Lesen/Schreiben von/nach Session -// -// 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 Hintergrund - * @author $Author$ - * @version $Revision$ - * @package openrat.actions - */ - -class BackgroundAction extends Action -{ - var $defaultSubAction = 'show'; - - function show() - { - global $conf; - global $PHP_AUTH_USER; - global $PHP_AUTH_PW; - - $user = Session::getUser(); - - // Seite �ndert sich nur 1x pro Session - $this->lastModified( $user->loginDate ); - - $this->setTemplateVar( 'stylesheet',$user->style ); - $this->setTemplateVar( 'css_body_class','background' ); - - $this->maxAge( 4*60*60 ); // 1 Stunde Browsercache - } -} - -?>- \ No newline at end of file diff --git a/action/BackgroundAction.ini.php b/action/BackgroundAction.ini.php @@ -1,5 +0,0 @@ - -[default] -goto=show - -[show] diff --git a/action/BorderAction.class.php b/action/BorderAction.class.php @@ -1,123 +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. -// --------------------------------------------------------------------------- -// $Log$ -// Revision 1.2 2006-06-16 21:26:29 dankert -// Methode maxAge(), setzen von Expires-Headern im HTTP-Header. -// -// Revision 1.1 2006/01/11 22:38:33 dankert -// Neue Aktionsklassen f?r neue Darstellungsart -// -// Revision 1.21 2005/04/16 21:35:23 dankert -// Uebergabe von Loginfehlern als normale Hinweismeldung -// -// Revision 1.20 2005/03/13 16:39:00 dankert -// Neue Methoden, um Baum ein- und auszublenden -// -// Revision 1.19 2005/02/17 19:21:00 dankert -// Titelanzeige geaendert -// -// Revision 1.18 2005/01/27 00:03:57 dankert -// Variable "nopublish" an das Template liefern -// -// Revision 1.17 2005/01/23 11:13:54 dankert -// Schalter "nologin" beruecksichtigen -// -// Revision 1.16 2005/01/14 21:41:23 dankert -// Aufruf von lastModified() fuer Conditional-GET -// -// Revision 1.15 2005/01/04 21:42:09 dankert -// Uebertragen von MOTD -// -// Revision 1.14 2004/12/29 20:19:55 dankert -// Korrektur -// -// Revision 1.13 2004/12/28 22:58:39 dankert -// Fuellen Variablen logo* fuer Loginmaske -// -// Revision 1.12 2004/12/26 20:20:17 dankert -// Bei Logout entfernen aller Session-Variablen -// -// Revision 1.11 2004/12/26 18:49:58 dankert -// Projektname im Seiten-Titel -// -// Revision 1.10 2004/12/25 22:11:20 dankert -// Logo-Bild ueber Parameter -// -// Revision 1.9 2004/12/19 21:57:02 dankert -// Korrektur bei direktem Objektaufruf in object() -// -// Revision 1.8 2004/12/19 14:54:31 dankert -// language() und model() korrigiert -// -// Revision 1.7 2004/12/18 00:16:26 dankert -// language_read() entfernt -// -// Revision 1.6 2004/12/15 23:23:27 dankert -// div. neue Methoden -// -// Revision 1.5 2004/11/28 18:26:15 dankert -// Anpassen an neue Sprachdatei-Konventionen -// -// Revision 1.4 2004/11/15 21:34:05 dankert -// Korrektur fuer Administrationsmodus -// -// Revision 1.3 2004/11/10 22:36:45 dankert -// Laden von Projektklassen und Lesen/Schreiben von/nach Session -// -// 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 das Anzeigen eines Randes - * @author $Author$ - * @version $Revision$ - * @package openrat.actions - */ - -class BorderAction extends Action -{ - var $defaultSubAction = 'show'; - - function show() - { - global $conf; - global $PHP_AUTH_USER; - global $PHP_AUTH_PW; - - $user = Session::getUser(); - - // Seite �ndert sich nur 1x pro Session - $this->lastModified( $user->loginDate ); - - $this->setTemplateVar( 'stylesheet',$user->style ); - $this->setTemplateVar( 'css_body_class','border' ); - - $this->maxAge( 4*60*60 ); // 1 Stunde Browsercache - } -} - -?>- \ No newline at end of file diff --git a/action/BorderAction.ini.php b/action/BorderAction.ini.php @@ -1,5 +0,0 @@ - -[default] -goto=show - -[show] diff --git a/action/ClipboardAction.class.php b/action/ClipboardAction.class.php @@ -1,57 +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 fuer die Start-Action - * @author $Author$ - * @version $Revision$ - * @package openrat.actions - */ - -class ClipboardAction extends Action -{ - var $defaultSubAction = 'show'; - - - function show() - { - global $conf; - $o = Session::getClipboard(); - if ( is_object($o)) - { - $o->load(); - $this->setTemplateVar('object',$o); - } - } - - - function set() - { - global $conf; - $o = new Object( $this->getRequestId() ); - Session::setClipboard( $o ); - $this->callSubAction( 'show' ); - - } -} - -?>- \ No newline at end of file diff --git a/action/EmptyAction.class.php b/action/EmptyAction.class.php @@ -1,73 +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 fuer eine leere Seite. - * - * @author $Author$ - * @version $Revision$ - * @package openrat.actions - */ - -class EmptyAction extends Action -{ - var $defaultSubAction = 'show'; - - - - function EmptyAction() - { - global $conf; - global $PHP_AUTH_USER; - global $PHP_AUTH_PW; - - $user = Session::getUser(); - - // Seite ndert sich nur 1x pro Session - $this->lastModified( $user->loginDate ); - - - $this->maxAge( 4*60*60 ); // 1 Stunde Browsercache - - } - - - - function background() - { - } - - - - function border() - { - } - - - - function blank() - { - } -} - -?>- \ No newline at end of file diff --git a/action/EmptyAction.ini.php b/action/EmptyAction.ini.php @@ -1,9 +0,0 @@ - -[default] -goto=blank - -[border] - -[blank] - -[background] diff --git a/action/MainAction.class.php b/action/MainAction.class.php @@ -1,97 +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. -// --------------------------------------------------------------------------- -// $Log$ -// Revision 1.11 2007-12-21 23:21:40 dankert -// Beim Aufruf von "Administration" oder "Projekt" mit leerer Seite starten. -// -// Revision 1.10 2007/01/21 15:35:44 dankert -// Requestparameter-Namen aus Konstanten lesen. -// -// Revision 1.9 2006/02/27 19:17:50 dankert -// Parameter "targetSubAction" auswerten. -// -// Revision 1.8 2006/01/23 23:10:46 dankert -// *** empty log message *** -// -// Revision 1.7 2006/01/11 22:52:24 dankert -// URLs f?r neue Frames setzen -// -// Revision 1.6 2005/01/14 21:41:23 dankert -// Aufruf von lastModified() fuer Conditional-GET -// -// Revision 1.5 2004/12/19 14:55:50 dankert -// Bestimmte Paramer weiterleiten -// -// Revision 1.4 2004/12/15 23:23:47 dankert -// Html::url()-Parameter angepasst -// -// 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 -{ - function show() - { - $doActionName = $this->subActionName; - - $user = Session::getUser(); - if ( is_object($user) && isset($user->loginDate) ) - $this->lastModified( $user->loginDate ); - - $doSubActionName = $this->getRequestVar( REQ_PARAM_TARGETSUBACTION ); - - // Bestimmte Parameter weiterleiten - $params = array(); - - foreach( array('elementid') as $p ) - { - if ( $this->getRequestVar( $p ) != '' ) - $params[ $p ] = $this->getRequestVar( $p ); - } - - // Variablen fuellen - $this->setTemplateVar('frame_src_main_menu' ,Html::url( 'mainmenu' ,$doActionName ,$this->getRequestId(),$params ) ); - $this->setTemplateVar('frame_src_main_main' ,Html::url( $doActionName,$doSubActionName,$this->getRequestId(),$params ) ); - $this->setTemplateVar('frame_src_border' ,Html::url( 'border' ) ); - $this->setTemplateVar('frame_src_background',Html::url( 'background' ) ); - } - -} - - -?>- \ No newline at end of file diff --git a/action/MainAction.ini.php b/action/MainAction.ini.php @@ -1,47 +0,0 @@ - -[element] -alias=show - -[file] -alias=show - -[empty] -alias=show - -[folder] -alias=show - -[group] -alias=show - -[language] -alias=show - -[link] -alias=show - -[model] -alias=show - -[page] -alias=show - -[pageelement] -alias=show - -[project] -alias=show - -[search] -alias=show - -[show] - -[template] -alias=show - -[transfer] -alias=show - -[user] -alias=show diff --git a/action/StatusAction.class.php b/action/StatusAction.class.php @@ -1,77 +0,0 @@ -<?php -// --------------------------------------------------------------------------- -// $Id$ -// --------------------------------------------------------------------------- -// OpenRat Content Management System -// Copyright (C) 2002-2007 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; version 2. -// -// 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 fuer die Statusleiste - * @author $Author$ - * @version $Revision$ - * @package openrat.actions - */ - -class StatusAction extends Action -{ - /** - */ - function show() - { - global $conf; - $metaList = array(); - - $user = Session::getUser(); - if ( is_object($user) ) - { - // Projekte ermitteln - $projects = $user->projects; - $this->setTemplateVar('projects',$projects); - } - - $project = Session::getProject(); - if ( is_object($project) ) - { - if ( $project->projectid > 0 ) - { - $this->setTemplateVar('projectid',$project->projectid); - $this->setTemplateVar('languages',$project->getLanguages()); - $language = Session::getProjectLanguage(); - if ( is_object($language) ) - $this->setTemplateVar('languageid',$language->languageid); - $this->setTemplateVar('models' ,$project->getModels() ); - $model = Session::getProjectModel(); - if ( is_object($model) ) - $this->setTemplateVar('modelid',$model->modelid); - - // TODO: Nur Projekt-Admins - $this->setTemplateVar('templates',$project->getTemplates()); - } - else - { - $this->setTemplateVar('users' ,User::listAll() ); - $this->setTemplateVar('groups',Group::getAll() ); - } - } - - } - -} - - -?>- \ No newline at end of file diff --git a/action/StatusAction.ini.php b/action/StatusAction.ini.php @@ -1,7 +0,0 @@ - -admin=false - -[default] -goto=show - -[show] diff --git a/action/TransferAction.class.php b/action/TransferAction.class.php @@ -1,241 +0,0 @@ -<?php -// --------------------------------------------------------------------------- -// $Id$ -// --------------------------------------------------------------------------- -// OpenRat Content Management System -// Copyright (C) 2002-2004 Jan Dankert, cms@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.5 2004-12-26 20:20:57 dankert -// Bei erstem Aufruf Fehlermeldung vermeiden -// -// Revision 1.4 2004/11/28 23:55:36 dankert -// addNotice() -// -// Revision 1.3 2004/05/02 14:49:37 dankert -// Einf?gen package-name (@package) -// -// Revision 1.2 2004/04/24 20:30:23 dankert -// addslashes() entfernt -// -// Revision 1.1 2004/04/24 15:14:52 dankert -// Initiale Version -// -// --------------------------------------------------------------------------- - - -/** - * Action-Klasse fuer Dateitransfers - * @author $Author$ - * @version $Revision$ - * @package openrat.actions - */ - -class TransferAction extends Action -{ - var $defaultSubAction = 'import'; - - - function TransferAction() - { - } - - - function import() - { - $folderName = $this->getRequestVar('local_folder'); - - if ( $folderName != '' ) - { - $dir = @opendir( $folderName ); - - if ( !is_resource( $dir ) ) - { - $this->addNotice('file',"directory '$folderName' not readable",'ERROR','error'); - } - else - { - while( $filename = readdir($dir) ) - { - $full_filename = $folderName.'/'.$filename; - - if ( $filename != "." && - $filename != ".." && - is_file($full_filename) ) - { - $file = new File(); - $file->parentid = intval( $this->getRequestVar('objectid') ); - $file->parse_filename( basename($filename) ); - $file->name = $file->filename; - $file->desc = ''; - - // Datei lesen - $f = fopen( $full_filename,'r' ); - $file->value = fread($f,filesize($full_filename)); - fclose( $f ); - - $file->add(); - $this->addNotice('file',$file->name,'IMPORTED','ok'); - - unset( $file ); - } - } - closedir( $dir ); - } - } - - $folders = array(); - - $folder = new Folder(); - foreach( $folder->getAllFolders() as $objectid ) - { - $f = new Folder( $objectid ); - $folders[$objectid] = implode( FILE_SEP,$f->parentObjectNames(true,true) ); - } - - asort( $folders ); - $this->setTemplateVar( 'folders',$folders ); - } - - -// function export() -// { -// if ( isset($REQ['folderid']) && isset($REQ['local_folder']) ) -// { -// if ( !is_dir( $REQ['local_folder'] ) ) -// { -// $var['log'] = 'directory not found'; -// } -// else -// { -// $var['log'] = "reading projectfolder ...\n"; -// -// $sql = new Sql( 'SELECT * FROM {t_file}'. -// ' WHERE folderid={folderid}' ); -// $sql->setInt('folderid',$REQ['folderid']); -// $files = $db->getCol( $sql->query ); -// -// foreach( $files as $fileid ) -// { -// $file = new File(); -// $file->fileid = $fileid; -// $file->load(); -// -// $full_filename = $REQ['local_folder'].'/'.$file->filename; -// if ( $file->extension != '' ) -// $full_filename .= '.'.$file->extension; -// $var['log'] .= "saving $full_filename\n"; -// -// // Datei lesen -// $f = fopen( $file->tmpfile(),'r' ); -// $value = fread($f,filesize($file->tmpfile())); -// fclose( $f ); -// -// // Datei lesen -// $f = fopen( $full_filename,'w' ); -// fwrite( $f,$value ); -// fclose( $f ); -// -// unset( $file ); -// } -// } -// } -// -// -// $folders = array(); -// -// $folder = new Folder(); -// foreach( $folder->getAllFolders() as $objectid ) -// { -// $f = new Folder( $objectid ); -// $folders[$objectid] = implode( ' &raquo; ',$f->parentObjectNames(true,true) ); -// } -// -// asort( $folders ); -// $this->setTemplateVar( 'folders',$folders ); -// -// -// $this->forward( 'transfer_export' ); -// } - - -// function copyproject() -// { -// if ( isset($REQ['folderid']) && isset($REQ['local_folder']) ) -// { -// if ( !is_dir( $REQ['local_folder'] ) ) -// { -// $var['log'] = 'directory not found'; -// } -// else -// { -// $var['log'] = "reading projectfolder ...\n"; -// -// $sql = new Sql( 'SELECT * FROM {t_file}'. -// ' WHERE folderid={folderid}' ); -// $sql->setInt('folderid',$REQ['folderid']); -// $files = $db->getCol( $sql->query ); -// -// foreach( $files as $fileid ) -// { -// $file = new File(); -// $file->fileid = $fileid; -// $file->load(); -// -// $full_filename = $REQ['local_folder'].'/'.$file->filename; -// if ( $file->extension != '' ) -// $full_filename .= '.'.$file->extension; -// $var['log'] .= "saving $full_filename\n"; -// -// // Datei lesen -// $f = fopen( $file->tmpfile(),'r' ); -// $value = fread($f,filesize($file->tmpfile())); -// fclose( $f ); -// -// // Datei lesen -// $f = fopen( $full_filename,'w' ); -// fwrite( $f,$value ); -// fclose( $f ); -// -// unset( $file ); -// } -// } -// } -// -// -// $sql = new Sql( 'SELECT id FROM {t_folder}' ); -// $sql->setInt('projectid',$projectid); -// $folders = $db->getCol( $sql->query ); -// -// $var['folders'] = array(); -// -// foreach( $folders as $folderid ) -// { -// $folder = new Folder( $folderid ); -// $folder->load(); -// $folder->filenames = false; -// $var['folders'][$folderid] = implode(' &raquo; ',$folder->parentfolder( true,true )); -// } -// -// asort( $var['folders'] ); -// -// $this->forward( 'transfer_copyproject' ); -// } - -} - -?>- \ No newline at end of file diff --git a/action/TreetitleAction.class.php b/action/TreetitleAction.class.php @@ -1,78 +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 - */ - -define('PROJECTID_ADMIN',-1); - -class TreetitleAction extends Action -{ - var $defaultSubAction = 'show'; - - function show() - { - // Das aktuelle Projekt voreinstellen - $project = Session::getProject(); - - if ( $project->projectid == PROJECTID_ADMIN ) - { - $this->setTemplateVar( 'text',lang('GLOBAL_ADMINISTRATION') ); - $this->setTemplateVar( 'type','administration' ); - } - else - { - $this->setTemplateVar( 'text',$project->name ); - $this->setTemplateVar( 'type','project' ); - -// // Ermitteln Sprache -// $language = Session::getProjectLanguage(); -// -// $windowMenu[] = array( 'text'=>lang('GLOBAL_LANGUAGE').' ('.$language->name.')', -// 'url' =>Html::url('main','language'), -// 'target'=>'cms_main' ); -// -// // Ermitteln Projektmodell -// $model = Session::getProjectModel(); -// -// $windowMenu[] = array( 'text'=>lang('GLOBAL_MODEL').' ('.$model->name.')', -// 'url' =>Html::url('main','model'), -// 'target'=>'cms_main' ); - } - } - - - function checkMenu( $name ) - { - switch( $name ) - { - case 'administration': - return $this->userIsAdmin(); - default: - return true; - } - } -} - -?>- \ No newline at end of file diff --git a/action/TreetitleAction.ini.php b/action/TreetitleAction.ini.php @@ -1,10 +0,0 @@ - -[default] -goto=show - -[show] -menu=project -menuaction=index - -[menu] -project=projectmenu,administration- \ No newline at end of file diff --git a/themes/default/pages/html/background/show.tpl.php b/themes/default/pages/html/background/show.tpl.php @@ -1,34 +0,0 @@ -<?php $a1_class='background'; ?><?php - if (!defined('OR_VERSION')) die('Forbidden'); - if (!headers_sent()) header('Content-Type: text/html; charset='.$charset) -?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<html> -<head> - <title><?php echo isset($a1_title)?langHtml($a1_title).' - ':(isset($windowTitle)?langHtml($windowTitle).' - ':'') ?><?php echo $cms_title ?></title> - <meta http-equiv="content-type" content="text/html; charset=<?php echo $charset ?>" > -<?php if ( isset($refresh_url) ) { ?> - <meta http-equiv="refresh" content="<?php echo isset($refresh_timeout)?$refresh_timeout:0 ?>; URL=<?php echo $refresh_url; if (ini_get('session.use_trans_sid')) echo '&'.session_name().'='.session_id(); ?>"> -<?php } ?> - <meta name="MSSmartTagsPreventParsing" content="true" > - <meta name="robots" content="noindex,nofollow" > -<?php if (isset($windowMenu) && is_array($windowMenu)) foreach( $windowMenu as $menu ) - { - ?> - <link rel="section" href="<?php echo Html::url($actionName,@$menu['subaction'],$this->getRequestId() ) ?>" title="<?php echo lang($menu['text']) ?>" > -<?php - } -?><?php if (isset($metaList) && is_array($metaList)) foreach( $metaList as $meta ) - { - ?> - <link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo $meta['title'] ?>" ><?php - } -?><?php if(!empty($root_stylesheet)) { ?> - <link rel="stylesheet" type="text/css" href="<?php echo $root_stylesheet ?>" > -<?php } ?> -<?php if($root_stylesheet!=$user_stylesheet) { ?> - <link rel="stylesheet" type="text/css" href="<?php echo $user_stylesheet ?>" > -<?php } ?> -</head> -<body class="background" <?php if (@$conf['interface']['application_mode']) { ?> style="padding:0px;margin:0px;"<?php } ?> > -<?php /* Debug-Information */ if ($showDuration) { echo "<!-- Output Variables are:\n";echo str_replace('-->','-- >',print_r($this->templateVars,true));echo "\n-->";} ?><?php unset($a1_class) ?></body> -</html>- \ No newline at end of file diff --git a/themes/default/pages/html/border/show.tpl.php b/themes/default/pages/html/border/show.tpl.php @@ -1,34 +0,0 @@ -<?php $a1_class='border'; ?><?php - if (!defined('OR_VERSION')) die('Forbidden'); - if (!headers_sent()) header('Content-Type: text/html; charset='.$charset) -?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<html> -<head> - <title><?php echo isset($a1_title)?langHtml($a1_title).' - ':(isset($windowTitle)?langHtml($windowTitle).' - ':'') ?><?php echo $cms_title ?></title> - <meta http-equiv="content-type" content="text/html; charset=<?php echo $charset ?>" > -<?php if ( isset($refresh_url) ) { ?> - <meta http-equiv="refresh" content="<?php echo isset($refresh_timeout)?$refresh_timeout:0 ?>; URL=<?php echo $refresh_url; if (ini_get('session.use_trans_sid')) echo '&'.session_name().'='.session_id(); ?>"> -<?php } ?> - <meta name="MSSmartTagsPreventParsing" content="true" > - <meta name="robots" content="noindex,nofollow" > -<?php if (isset($windowMenu) && is_array($windowMenu)) foreach( $windowMenu as $menu ) - { - ?> - <link rel="section" href="<?php echo Html::url($actionName,@$menu['subaction'],$this->getRequestId() ) ?>" title="<?php echo lang($menu['text']) ?>" > -<?php - } -?><?php if (isset($metaList) && is_array($metaList)) foreach( $metaList as $meta ) - { - ?> - <link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo $meta['title'] ?>" ><?php - } -?><?php if(!empty($root_stylesheet)) { ?> - <link rel="stylesheet" type="text/css" href="<?php echo $root_stylesheet ?>" > -<?php } ?> -<?php if($root_stylesheet!=$user_stylesheet) { ?> - <link rel="stylesheet" type="text/css" href="<?php echo $user_stylesheet ?>" > -<?php } ?> -</head> -<body class="border" <?php if (@$conf['interface']['application_mode']) { ?> style="padding:0px;margin:0px;"<?php } ?> > -<?php /* Debug-Information */ if ($showDuration) { echo "<!-- Output Variables are:\n";echo str_replace('-->','-- >',print_r($this->templateVars,true));echo "\n-->";} ?><?php unset($a1_class) ?></body> -</html>- \ No newline at end of file diff --git a/themes/default/pages/html/empty/background.tpl.php b/themes/default/pages/html/empty/background.tpl.php @@ -1,34 +0,0 @@ -<?php $a1_class='background'; ?><?php - if (!defined('OR_VERSION')) die('Forbidden'); - if (!headers_sent()) header('Content-Type: text/html; charset='.$charset) -?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<html> -<head> - <title><?php echo isset($a1_title)?langHtml($a1_title).' - ':(isset($windowTitle)?langHtml($windowTitle).' - ':'') ?><?php echo $cms_title ?></title> - <meta http-equiv="content-type" content="text/html; charset=<?php echo $charset ?>" > -<?php if ( isset($refresh_url) ) { ?> - <meta http-equiv="refresh" content="<?php echo isset($refresh_timeout)?$refresh_timeout:0 ?>; URL=<?php echo $refresh_url; if (ini_get('session.use_trans_sid')) echo '&'.session_name().'='.session_id(); ?>"> -<?php } ?> - <meta name="MSSmartTagsPreventParsing" content="true" > - <meta name="robots" content="noindex,nofollow" > -<?php if (isset($windowMenu) && is_array($windowMenu)) foreach( $windowMenu as $menu ) - { - ?> - <link rel="section" href="<?php echo Html::url($actionName,@$menu['subaction'],$this->getRequestId() ) ?>" title="<?php echo lang($menu['text']) ?>" > -<?php - } -?><?php if (isset($metaList) && is_array($metaList)) foreach( $metaList as $meta ) - { - ?> - <link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo $meta['title'] ?>" ><?php - } -?><?php if(!empty($root_stylesheet)) { ?> - <link rel="stylesheet" type="text/css" href="<?php echo $root_stylesheet ?>" > -<?php } ?> -<?php if($root_stylesheet!=$user_stylesheet) { ?> - <link rel="stylesheet" type="text/css" href="<?php echo $user_stylesheet ?>" > -<?php } ?> -</head> -<body class="background" <?php if (@$conf['interface']['application_mode']) { ?> style="padding:0px;margin:0px;"<?php } ?> > -<?php /* Debug-Information */ if ($showDuration) { echo "<!-- Output Variables are:\n";echo str_replace('-->','-- >',print_r($this->templateVars,true));echo "\n-->";} ?><?php unset($a1_class) ?></body> -</html>- \ No newline at end of file diff --git a/themes/default/pages/html/empty/blank.tpl.php b/themes/default/pages/html/empty/blank.tpl.php @@ -1,34 +0,0 @@ -<?php $a1_class='main'; ?><?php - if (!defined('OR_VERSION')) die('Forbidden'); - if (!headers_sent()) header('Content-Type: text/html; charset='.$charset) -?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<html> -<head> - <title><?php echo isset($a1_title)?langHtml($a1_title).' - ':(isset($windowTitle)?langHtml($windowTitle).' - ':'') ?><?php echo $cms_title ?></title> - <meta http-equiv="content-type" content="text/html; charset=<?php echo $charset ?>" > -<?php if ( isset($refresh_url) ) { ?> - <meta http-equiv="refresh" content="<?php echo isset($refresh_timeout)?$refresh_timeout:0 ?>; URL=<?php echo $refresh_url; if (ini_get('session.use_trans_sid')) echo '&'.session_name().'='.session_id(); ?>"> -<?php } ?> - <meta name="MSSmartTagsPreventParsing" content="true" > - <meta name="robots" content="noindex,nofollow" > -<?php if (isset($windowMenu) && is_array($windowMenu)) foreach( $windowMenu as $menu ) - { - ?> - <link rel="section" href="<?php echo Html::url($actionName,@$menu['subaction'],$this->getRequestId() ) ?>" title="<?php echo lang($menu['text']) ?>" > -<?php - } -?><?php if (isset($metaList) && is_array($metaList)) foreach( $metaList as $meta ) - { - ?> - <link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo $meta['title'] ?>" ><?php - } -?><?php if(!empty($root_stylesheet)) { ?> - <link rel="stylesheet" type="text/css" href="<?php echo $root_stylesheet ?>" > -<?php } ?> -<?php if($root_stylesheet!=$user_stylesheet) { ?> - <link rel="stylesheet" type="text/css" href="<?php echo $user_stylesheet ?>" > -<?php } ?> -</head> -<body class="main" <?php if (@$conf['interface']['application_mode']) { ?> style="padding:0px;margin:0px;"<?php } ?> > -<?php /* Debug-Information */ if ($showDuration) { echo "<!-- Output Variables are:\n";echo str_replace('-->','-- >',print_r($this->templateVars,true));echo "\n-->";} ?><?php unset($a1_class) ?></body> -</html>- \ No newline at end of file diff --git a/themes/default/pages/html/empty/border.tpl.php b/themes/default/pages/html/empty/border.tpl.php @@ -1,34 +0,0 @@ -<?php $a1_class='border'; ?><?php - if (!defined('OR_VERSION')) die('Forbidden'); - if (!headers_sent()) header('Content-Type: text/html; charset='.$charset) -?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<html> -<head> - <title><?php echo isset($a1_title)?langHtml($a1_title).' - ':(isset($windowTitle)?langHtml($windowTitle).' - ':'') ?><?php echo $cms_title ?></title> - <meta http-equiv="content-type" content="text/html; charset=<?php echo $charset ?>" > -<?php if ( isset($refresh_url) ) { ?> - <meta http-equiv="refresh" content="<?php echo isset($refresh_timeout)?$refresh_timeout:0 ?>; URL=<?php echo $refresh_url; if (ini_get('session.use_trans_sid')) echo '&'.session_name().'='.session_id(); ?>"> -<?php } ?> - <meta name="MSSmartTagsPreventParsing" content="true" > - <meta name="robots" content="noindex,nofollow" > -<?php if (isset($windowMenu) && is_array($windowMenu)) foreach( $windowMenu as $menu ) - { - ?> - <link rel="section" href="<?php echo Html::url($actionName,@$menu['subaction'],$this->getRequestId() ) ?>" title="<?php echo lang($menu['text']) ?>" > -<?php - } -?><?php if (isset($metaList) && is_array($metaList)) foreach( $metaList as $meta ) - { - ?> - <link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo $meta['title'] ?>" ><?php - } -?><?php if(!empty($root_stylesheet)) { ?> - <link rel="stylesheet" type="text/css" href="<?php echo $root_stylesheet ?>" > -<?php } ?> -<?php if($root_stylesheet!=$user_stylesheet) { ?> - <link rel="stylesheet" type="text/css" href="<?php echo $user_stylesheet ?>" > -<?php } ?> -</head> -<body class="border" <?php if (@$conf['interface']['application_mode']) { ?> style="padding:0px;margin:0px;"<?php } ?> > -<?php /* Debug-Information */ if ($showDuration) { echo "<!-- Output Variables are:\n";echo str_replace('-->','-- >',print_r($this->templateVars,true));echo "\n-->";} ?><?php unset($a1_class) ?></body> -</html>- \ No newline at end of file diff --git a/themes/default/pages/html/main/show.tpl.php b/themes/default/pages/html/main/show.tpl.php @@ -1,48 +0,0 @@ -<?php - if (!headers_sent()) header('Content-Type: text/html; charset='.$charset) -?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN"> -<html> - <head> - <title><?php echo @$title ?> - <?php echo $cms_title ?></title> - <link rel="shortcut icon" href="<?php echo $image_dir.'favicon.ico' ?>" > - <?php if (isset($windowMenu) && is_array($windowMenu)) foreach( $windowMenu as $menu ) - { - ?> - <link rel="section" href="<?php echo Html::url($actionName,$menu['subaction'],$this->getRequestId() ) ?>" title="<?php echo lang($menu['text']) ?>" ><?php - } -?> - <?php if (isset($metaList) && is_array($metaList)) foreach( $metaList as $meta ) - { - ?> - <link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo $meta['title'] ?>" ><?php - } -?> - <meta name="robots" content="noindex,nofollow" > - </head> -<?php $a2_true=@$conf['interface']['application_mode']; ?><?php - if (gettype($a2_true) === '' && gettype($a2_true) === '1') - $a2_tmp_exec = $$a2_true == true; - else - $a2_tmp_exec = $a2_true == true; - $a2_tmp_last_exec = $a2_tmp_exec; - if ( $a2_tmp_exec ) - { -?> -<?php unset($a2_true) ?><?php $a3_var='menuheight';$a3_value='30'; ?><?php - if (isset($a3_key)) - $$a3_var = $a3_value[$a3_key]; - else - $$a3_var = $a3_value; -?><?php unset($a3_var,$a3_value) ?><?php } ?><?php if (!$a2_tmp_last_exec) { ?> -<?php $a3_var='menuheight';$a3_value='60'; ?><?php - if (isset($a3_key)) - $$a3_var = $a3_value[$a3_key]; - else - $$a3_var = $a3_value; -?><?php unset($a3_var,$a3_value) ?><?php } -unset($a1_tmp_last_exec) ?><?php $a2_rows=''.$menuheight.',*'; ?><frameset -<?php echo ' rows="'.$a2_rows.'"' ?> - border="0" frameborder="5" framespacing="0" bordercolor="#000000"><?php unset($a2_rows) ?><?php $a3_file=$frame_src_main_menu;$a3_name='cms_main_menu'; ?><frame src="<?php echo $a3_file ?>" name="<?php echo empty($a3_name)?'':$a3_name ?>" marginheight="0" marginwidth="0" scrolling="<?php echo empty($a3_scrolling)?'no':$a3_scrolling ?>"> -<?php unset($a3_file,$a3_name) ?><?php $a3_file=$frame_src_main_main;$a3_name='cms_main_main';$a3_scrolling='auto'; ?><frame src="<?php echo $a3_file ?>" name="<?php echo empty($a3_name)?'':$a3_name ?>" marginheight="0" marginwidth="0" scrolling="<?php echo empty($a3_scrolling)?'no':$a3_scrolling ?>"> -<?php unset($a3_file,$a3_name,$a3_scrolling) ?></frameset> -</html>- \ No newline at end of file diff --git a/themes/default/pages/html/mainmenu/show.tpl.php b/themes/default/pages/html/mainmenu/show.tpl.php @@ -1,303 +0,0 @@ -<?php $a1_class='menu'; ?><?php - if (!defined('OR_VERSION')) die('Forbidden'); - if (!headers_sent()) header('Content-Type: text/html; charset='.$charset) -?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<html> -<head> - <title><?php echo isset($a1_title)?langHtml($a1_title).' - ':(isset($windowTitle)?langHtml($windowTitle).' - ':'') ?><?php echo $cms_title ?></title> - <meta http-equiv="content-type" content="text/html; charset=<?php echo $charset ?>" > -<?php if ( isset($refresh_url) ) { ?> - <meta http-equiv="refresh" content="<?php echo isset($refresh_timeout)?$refresh_timeout:0 ?>; URL=<?php echo $refresh_url; if (ini_get('session.use_trans_sid')) echo '&'.session_name().'='.session_id(); ?>"> -<?php } ?> - <meta name="MSSmartTagsPreventParsing" content="true" > - <meta name="robots" content="noindex,nofollow" > -<?php if (isset($windowMenu) && is_array($windowMenu)) foreach( $windowMenu as $menu ) - { - ?> - <link rel="section" href="<?php echo Html::url($actionName,@$menu['subaction'],$this->getRequestId() ) ?>" title="<?php echo lang($menu['text']) ?>" > -<?php - } -?><?php if (isset($metaList) && is_array($metaList)) foreach( $metaList as $meta ) - { - ?> - <link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo $meta['title'] ?>" ><?php - } -?><?php if(!empty($root_stylesheet)) { ?> - <link rel="stylesheet" type="text/css" href="<?php echo $root_stylesheet ?>" > -<?php } ?> -<?php if($root_stylesheet!=$user_stylesheet) { ?> - <link rel="stylesheet" type="text/css" href="<?php echo $user_stylesheet ?>" > -<?php } ?> -</head> -<body class="menu" <?php if (@$conf['interface']['application_mode']) { ?> style="padding:0px;margin:0px;"<?php } ?> > -<?php /* Debug-Information */ if ($showDuration) { echo "<!-- Output Variables are:\n";echo str_replace('-->','-- >',print_r($this->templateVars,true));echo "\n-->";} ?><?php unset($a1_class) ?><?php $a2_class='mainmenu';$a2_width='100%';$a2_space='0';$a2_padding='5'; ?><?php - $last_row_idx = @$row_idx; - $last_column_idx = @$column_idx; - $row_idx = 0; - $column_idx = 0; - $coloumn_widths = array(); - $row_classes = array(); - $column_classes = array(); -?><table class="mainmenu" cellspacing="0" width="100%" cellpadding="5"> -<?php unset($a2_class,$a2_width,$a2_space,$a2_padding) ?><?php $a3_true=! @$conf['interface']['application_mode']; ?><?php - if (gettype($a3_true) === '' && gettype($a3_true) === '1') - $a3_tmp_exec = $$a3_true == true; - else - $a3_tmp_exec = $a3_true == true; - $a3_tmp_last_exec = $a3_tmp_exec; - if ( $a3_tmp_exec ) - { -?> -<?php unset($a3_true) ?><?php $a4_class='title'; ?><?php - $row_idx++; - $column_idx = 0; -?> -<tr - class="title" -> -<?php unset($a4_class) ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> -><?php $a6_equals='empty';$a6_value=$type;$a6_not=true; ?><?php - $a6_tmp_exec = $a6_equals == $a6_value; - $a6_tmp_exec = !$a6_tmp_exec; - $a6_tmp_last_exec = $a6_tmp_exec; - if ( $a6_tmp_exec ) - { -?> -<?php unset($a6_equals,$a6_value,$a6_not) ?><?php $a7_align='left';$a7_type=$type; ?><?php - $a7_tmp_image_file = $image_dir.'icon_'.$a7_type.IMG_ICON_EXT; - $a7_size = '16x16'; - $a7_tmp_title = basename($a7_tmp_image_file); -?><img alt="<?php echo $a7_tmp_title; if (isset($a7_size)) { echo ' ('; list($a7_tmp_width,$a7_tmp_height)=explode('x',$a7_size);echo $a7_tmp_width.'x'.$a7_tmp_height; echo')';} ?>" src="<?php echo $a7_tmp_image_file ?>" border="0"<?php if(isset($a7_align)) echo ' align="'.$a7_align.'"' ?><?php if (isset($a7_size)) { list($a7_tmp_width,$a7_tmp_height)=explode('x',$a7_size);echo ' width="'.$a7_tmp_width.'" height="'.$a7_tmp_height.'"';} ?>><?php unset($a7_align,$a7_type) ?><?php } ?><?php $a6_list='path';$a6_extract=true;$a6_key='list_key';$a6_value='xy'; ?><?php - $a6_list_tmp_key = $a6_key; - $a6_list_tmp_value = $a6_value; - $a6_list_extract = $a6_extract; - unset($a6_key); - unset($a6_value); - if ( !isset($$a6_list) || !is_array($$a6_list) ) - $$a6_list = array(); - foreach( $$a6_list as $$a6_list_tmp_key => $$a6_list_tmp_value ) - { - if ( $a6_list_extract ) - { - if ( !is_array($$a6_list_tmp_value) ) - { - print_r($$a6_list_tmp_value); - die( 'not an array at key: '.$$a6_list_tmp_key ); - } - extract($$a6_list_tmp_value); - } -?><?php unset($a6_list,$a6_extract,$a6_key,$a6_value) ?><?php $a7_title=$title;$a7_target='cms_main';$a7_url=$url;$a7_class='path'; ?><?php - $params = array(); - $tmp_url = ''; - $tmp_url = $a7_url; -?><a<?php if (isset($a7_name)) echo ' name="'.$a7_name.'"'; else echo ' href="'.$tmp_url.(isset($a7_anchor)?'#'.$a7_anchor:'').'"' ?> class="<?php echo $a7_class ?>" target="<?php echo $a7_target ?>"<?php if (isset($a7_accesskey)) echo ' accesskey="'.$a7_accesskey.'"' ?> title="<?php echo encodeHtml($a7_title) ?>"><?php unset($a7_title,$a7_target,$a7_url,$a7_class) ?><?php $a8_class='text';$a8_var='name';$a8_maxlength='15';$a8_escape=true;$a8_cut='both'; ?><?php - $a8_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a8_class ?>" title="<?php echo $a8_title ?>"><?php - $langF = $a8_escape?'langHtml':'lang'; - $tmp_text = isset($$a8_var)?$$a8_var:$langF('UNKNOWN'); - $tmp_text = Text::maxLength( $tmp_text,intval($a8_maxlength),'..',constant('STR_PAD_'.strtoupper($a8_cut)) ); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a8_class,$a8_var,$a8_maxlength,$a8_escape,$a8_cut) ?></a><?php $a7_type='filesep'; ?><?php - if ($a7_type=='filesep') - echo '&nbsp;<strong>&raquo;</strong>&nbsp;'; - else - echo "char error"; -?><?php unset($a7_type) ?><?php } ?><?php $a6_title=$text;$a6_class='title';$a6_var='text';$a6_maxlength='20';$a6_escape=true;$a6_cut='both'; ?><?php - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a6_class ?>" title="<?php echo $a6_title ?>"><?php - $langF = $a6_escape?'langHtml':'lang'; - $tmp_text = isset($$a6_var)?$$a6_var:$langF('UNKNOWN'); - $tmp_text = Text::maxLength( $tmp_text,intval($a6_maxlength),'..',constant('STR_PAD_'.strtoupper($a6_cut)) ); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a6_title,$a6_class,$a6_var,$a6_maxlength,$a6_escape,$a6_cut) ?></td><?php $a5_style='text-align:right;';$a5_class='menu'; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> - style="text-align:right;" - class="menu" -><?php unset($a5_style,$a5_class) ?><?php $a6_true=$this->search; ?><?php - if (gettype($a6_true) === '' && gettype($a6_true) === '1') - $a6_tmp_exec = $$a6_true == true; - else - $a6_tmp_exec = $a6_true == true; - $a6_tmp_last_exec = $a6_tmp_exec; - if ( $a6_tmp_exec ) - { -?> -<?php unset($a6_true) ?><?php $a7_action='search';$a7_subaction='quicksearch';$a7_name='';$a7_target='cms_main_main';$a7_method='post';$a7_enctype='application/x-www-form-urlencoded'; ?><?php - $a7_id = $this->getRequestId(); - if ($this->isEditable()) - { - if ($this->isEditMode()) - { - $a7_method = 'POST'; - } - else - { - $a7_method = 'GET'; - $a7_subaction = $subActionName; - } - } -?><form name="<?php echo $a7_name ?>" - target="<?php echo $a7_target ?>" - action="<?php echo Html::url( $a7_action,$a7_subaction,$a7_id ) ?>" - method="<?php echo $a7_method ?>" - enctype="<?php echo $a7_enctype ?>" style="margin:0px;padding:0px;"> -<?php if ($this->isEditable() && !$this->isEditMode()) { ?> -<input type="hidden" name="mode" value="edit" /> -<?php } ?> -<input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /> -<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $a7_action ?>" /> -<input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo $a7_subaction ?>" /> -<input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo $a7_id ?>" /><?php - if ( $conf['interface']['url_sessionid'] ) - echo '<input type="hidden" name="'.session_name().'" value="'.session_id().'" />'."\n"; -?><?php unset($a7_action,$a7_subaction,$a7_name,$a7_target,$a7_method,$a7_enctype) ?><?php $a8_class='search';$a8_default='';$a8_type='text';$a8_name='search';$a8_size='15';$a8_maxlength='256';$a8_onchange='';$a8_readonly=false; ?><?php if ($this->isEditable() && !$this->isEditMode()) $a8_readonly=true; - if ($a8_readonly && empty($$a8_name)) $$a8_name = '- '.lang('EMPTY').' -'; - if(!isset($a8_default)) $a8_default=''; - $tmp_value = Text::encodeHtml(isset($$a8_name)?$$a8_name:$a8_default); -?><?php if (!$a8_readonly || $a8_type=='hidden') { -?><input<?php if ($a8_readonly) echo ' disabled="true"' ?> id="id_<?php echo $a8_name ?><?php if ($a8_readonly) echo '_disabled' ?>" name="<?php echo $a8_name ?><?php if ($a8_readonly) echo '_disabled' ?>" type="<?php echo $a8_type ?>" size="<?php echo $a8_size ?>" maxlength="<?php echo $a8_maxlength ?>" class="<?php echo $a8_class ?>" value="<?php echo $tmp_value ?>" <?php if (in_array($a8_name,$errors)) echo 'style="border:2px dashed red;"' ?> /><?php -if ($a8_readonly) { -?><input type="hidden" id="id_<?php echo $a8_name ?>" name="<?php echo $a8_name ?>" value="<?php echo $tmp_value ?>" /><?php - } } else { ?><span class="<?php echo $a8_class ?>"><?php echo $tmp_value ?></span><?php } ?><?php unset($a8_class,$a8_default,$a8_type,$a8_name,$a8_size,$a8_maxlength,$a8_onchange,$a8_readonly) ?><?php $a8_true=@$conf['search']['quicksearch']['show_button']; ?><?php - if (gettype($a8_true) === '' && gettype($a8_true) === '1') - $a8_tmp_exec = $$a8_true == true; - else - $a8_tmp_exec = $a8_true == true; - $a8_tmp_last_exec = $a8_tmp_exec; - if ( $a8_tmp_exec ) - { -?> -<?php unset($a8_true) ?><?php $a9_type='ok';$a9_class='searchbutton';$a9_value='ok';$a9_text='search'; ?><?php - if ($this->isEditable() && !$this->isEditMode()) - $a9_text = 'MODE_EDIT'; - $a9_type = 'submit'; - if ( $this->isEditable() && readonly() ) - $a9_type = ''; // Knopf nicht anzeigen - $a9_src = ''; - if ( !empty($a9_type) ) { -?><input type="<?php echo $a9_type ?>"<?php if(isset($a9_src)) { ?> src="<?php echo $image_dir.'icon_'.$a9_src.IMG_ICON_EXT ?>"<?php } ?> name="<?php echo $a9_value ?>" class="searchbutton" title="<?php echo lang($a9_text.'_DESC') ?>" value="&nbsp;&nbsp;&nbsp;&nbsp;<?php echo langHtml($a9_text) ?>&nbsp;&nbsp;&nbsp;&nbsp;" /><?php unset($a9_src) -?><?php } -?><?php unset($a9_type,$a9_class,$a9_value,$a9_text) ?><?php } ?></form> -<?php } ?></td></tr><?php } ?><?php $a3_class='menu'; ?><?php - $row_idx++; - $column_idx = 0; -?> -<tr - class="menu" -> -<?php unset($a3_class) ?><?php $a4_colspan='2'; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> - colspan="2" -><?php unset($a4_colspan) ?><?php $a5_class='submenu';$a5_width='100%';$a5_space='0px';$a5_padding='0px'; ?><?php - $last_row_idx = @$row_idx; - $last_column_idx = @$column_idx; - $row_idx = 0; - $column_idx = 0; - $coloumn_widths = array(); - $row_classes = array(); - $column_classes = array(); -?><table class="submenu" cellspacing="0px" width="100%" cellpadding="0px"> -<?php unset($a5_class,$a5_width,$a5_space,$a5_padding) ?><?php - $row_idx++; - $column_idx = 0; -?> -<tr -> -<?php $a7_list='windowMenu';$a7_extract=true;$a7_key='list_key';$a7_value='xy'; ?><?php - $a7_list_tmp_key = $a7_key; - $a7_list_tmp_value = $a7_value; - $a7_list_extract = $a7_extract; - unset($a7_key); - unset($a7_value); - if ( !isset($$a7_list) || !is_array($$a7_list) ) - $$a7_list = array(); - foreach( $$a7_list as $$a7_list_tmp_key => $$a7_list_tmp_value ) - { - if ( $a7_list_extract ) - { - if ( !is_array($$a7_list_tmp_value) ) - { - print_r($$a7_list_tmp_value); - die( 'not an array at key: '.$$a7_list_tmp_key ); - } - extract($$a7_list_tmp_value); - } -?><?php unset($a7_list,$a7_extract,$a7_key,$a7_value) ?><?php $a8_not=true;$a8_empty='url'; ?><?php - if ( !isset($$a8_empty) ) - $a8_tmp_exec = empty($a8_empty); - elseif ( is_array($$a8_empty) ) - $a8_tmp_exec = (count($$a8_empty)==0); - elseif ( is_bool($$a8_empty) ) - $a8_tmp_exec = true; - else - $a8_tmp_exec = empty( $$a8_empty ); - $a8_tmp_exec = !$a8_tmp_exec; - $a8_tmp_last_exec = $a8_tmp_exec; - if ( $a8_tmp_exec ) - { -?> -<?php unset($a8_not,$a8_empty) ?><?php $a9_class='action'; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> - class="action" -><?php unset($a9_class) ?><?php $a10_title=lang($title);$a10_target='cms_main_main';$a10_url=$url;$a10_class='';$a10_accesskey=$key; ?><?php - $params = array(); - $tmp_url = ''; - $tmp_url = $a10_url; -?><a<?php if (isset($a10_name)) echo ' name="'.$a10_name.'"'; else echo ' href="'.$tmp_url.(isset($a10_anchor)?'#'.$a10_anchor:'').'"' ?> class="<?php echo $a10_class ?>" target="<?php echo $a10_target ?>"<?php if (isset($a10_accesskey)) echo ' accesskey="'.$a10_accesskey.'"' ?> title="<?php echo encodeHtml($a10_title) ?>"><?php unset($a10_title,$a10_target,$a10_url,$a10_class,$a10_accesskey) ?><?php $a11_class='text';$a11_key=$text;$a11_accesskey=$key;$a11_escape=true;$a11_cut='both'; ?><?php - $a11_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a11_class ?>" title="<?php echo $a11_title ?>"><?php - $langF = $a11_escape?'langHtml':'lang'; - $tmp_text = $langF($a11_key); - $pos = strpos(strtolower($tmp_text),strtolower($a11_accesskey)); - if ( $pos !== false ) - $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a11_class,$a11_key,$a11_accesskey,$a11_escape,$a11_cut) ?></a></td><?php } ?><?php if (!$a8_tmp_last_exec) { ?> -<?php $a9_class='noaction'; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> - class="noaction" -><?php unset($a9_class) ?><?php $a10_class='text';$a10_key=$text;$a10_escape=true;$a10_cut='both'; ?><?php - $a10_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a10_class ?>" title="<?php echo $a10_title ?>"><?php - $langF = $a10_escape?'langHtml':'lang'; - $tmp_text = $langF($a10_key); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a10_class,$a10_key,$a10_escape,$a10_cut) ?></td><?php } -unset($a7_tmp_last_exec) ?><?php } ?></tr><?php - $row_idx = $last_row_idx; - $column_idx = $last_column_idx; -?> -</table></td></tr><?php - $row_idx = $last_row_idx; - $column_idx = $last_column_idx; -?> -</table></body> -</html>- \ No newline at end of file diff --git a/themes/default/pages/html/prefs/show.tpl.php b/themes/default/pages/html/prefs/show.tpl.php @@ -1,150 +0,0 @@ -<?php /* source: ./themes/default/templates/include/html/insert.inc.php - compile time: Tue, 20 Dec 2005 00:37:16 +0100 */ ?><?php $attr = array('file'=>'header') ?><?php $attr_file='header' ?><?php include( $tpl_dir.$attr_file.'.tpl.php') ?> -<?php unset($attr) ?><?php unset($attr_file) ?> -<?php /* source: ./themes/default/templates/include/html/form.inc.php - compile time: Tue, 20 Dec 2005 00:37:16 +0100 */ ?><?php $attr = array('action'=>'prefs','subaction'=>'save') ?><?php $attr_action='prefs' ?><?php $attr_subaction='save' ?><?php - global $conf; - - if ( !isset($attr_target ) ) $attr_target = '_self'; - if ( !isset($attr_method ) ) $attr_method = 'post'; - if ( !isset($attr_name ) ) $attr_name = ''; - if ( !isset($attr_enctype ) ) $attr_enctype = ''; - if ( !isset($attr_id ) ) $attr_id = 0; - - $url = Html::url( $attr_action,$attr_subaction,$attr_id ); -?> - -<form name="<?php echo $name ?>" target="<?php echo $target ?>" action="<?php echo $attr_url ?>" method="<?php echo $method ?>" enctype="<?php echo $enctype ?>"> -<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $attr_action ?>" /> -<input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo $attr_subaction ?>" /> -<input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo $attr_id ?>" /> -<?php - if ( $conf['interface']['url_sessionid'] ) - echo '<input type="hidden" name="'.session_name().'" value="'.session_id().'" />'."\n"; - - unset($attr['target' ]); - unset($attr['method' ]); - unset($attr['name' ]); - unset($attr['enctype']); - foreach( $attr as $paramName=>$paramValue ) - echo '<input type="hidden" name="'.$paramName.'" value="'.$paramValue.'" />'."\n"; -?> -<?php unset($attr) ?><?php unset($attr_action) ?><?php unset($attr_subaction) ?> -<?php /* source: ./themes/default/templates/include/html/form-end.inc.php - compile time: Tue, 20 Dec 2005 00:37:16 +0100 */ ?><?php $attr = array() ?></form> -<?php unset($attr) ?><?php /* source: ./themes/default/templates/include/html/window.inc.php - compile time: Tue, 20 Dec 2005 00:37:16 +0100 */ ?><?php $attr = array('name'=>'GLOBAL_PROP','title'=>'global_prefs','width'=>'90%','widths'=>'40%,60%') ?><?php $attr_name='GLOBAL_PROP' ?><?php $attr_title='global_prefs' ?><?php $attr_width='90%' ?><?php $attr_widths='40%,60%' ?><?php - $coloumn_widths=array(); - if (isset($attr_widths)) - { - $column_widths = explode(',',$attr_widths); - unset($attr['widths']); - } - global $image_dir; - if ( !isset($attr_width)) $width='90%'; - echo '<br/><br/><br/><center>'; - echo '<table class="main" cellspacing="0" cellpadding="4" '; - foreach( $attr as $aName=>$aValue ) - echo " $aName=\"$aValue\""; - echo '>'; - echo '<tr><th>'; - if ( !empty($attr_icon) ) - echo '<img src="'.$image_dir.'icon_'.$attr_icon.IMG_EXT.'" align="left" border="0">'; - if ( !isset($$attr_name)) $$attr_name=''; - echo $$attr_name.': '; - echo lang( $attr_title ); - ?> - </th> - </tr> - <tr> - <td> - <table class="n" cellspacing="0" width="100%" cellpadding="4"> -<?php unset($attr) ?><?php unset($attr_name) ?><?php unset($attr_title) ?><?php unset($attr_width) ?><?php unset($attr_widths) ?> -<?php /* source: ./themes/default/templates/include/html/row.inc.php - compile time: Tue, 20 Dec 2005 00:37:16 +0100 */ ?><?php $attr = array() ?><?php - global $fx; - if ( $fx =='f1') - $fx='f2'; - else $fx='f1'; - - global $cell_column_nr; - $cell_column_nr=0; - -?><tr> -<?php unset($attr) ?><?php /* source: ./themes/default/templates/include/html/cell.inc.php - compile time: Tue, 20 Dec 2005 00:37:16 +0100 */ ?><?php $attr = array('class'=>'fx') ?><?php $attr_class='fx' ?><?php - global $fx; - if (!isset($attr_class)) $attr['class']=''; - if ($attr_class=='fx') $attr['class']=$fx; - - global $cell_column_nr; - $cell_column_nr++; - if ( isset($column_widths[$cell_column_nr]) && !isset($attr_rowspan) ) - $attr['width']=$column_widths[$cell_column_nr]; - -?><td <?php foreach( $attr as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>> -<?php unset($attr) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/templates/include/html/text.inc.php - compile time: Tue, 20 Dec 2005 00:37:16 +0100 */ ?><?php $attr = array('text'=>'GLOBAL_name') ?><?php $attr_text='GLOBAL_name' ?><?php if(!isset($attr_class)) $attr_class='' ?><?php if(!isset($attr_title)) $attr_title=$attr_text ?><span class="<?php echo $attr_class ?>"><?php - if (isset($attr_url)) echo "<a href=\"".$$attr_url."\" title=\"$attr_title\">"; - if (isset($attr_text)) echo lang($attr_text); - elseif (isset($attr_var)) echo $$attr_var; - elseif (isset($attr_raw)) echo str_replace('_',' ',$attr_raw); - if (isset($attr_url)) echo '</a'; -?></span> -<?php unset($attr) ?><?php unset($attr_text) ?><?php /* source: ./themes/default/templates/include/html/cell-end.inc.php - compile time: Tue, 20 Dec 2005 00:37:16 +0100 */ ?><?php $attr = array() ?></td> -<?php unset($attr) ?><?php /* source: ./themes/default/templates/include/html/cell.inc.php - compile time: Tue, 20 Dec 2005 00:37:16 +0100 */ ?><?php $attr = array('class'=>'fx') ?><?php $attr_class='fx' ?><?php - global $fx; - if (!isset($attr_class)) $attr['class']=''; - if ($attr_class=='fx') $attr['class']=$fx; - - global $cell_column_nr; - $cell_column_nr++; - if ( isset($column_widths[$cell_column_nr]) && !isset($attr_rowspan) ) - $attr['width']=$column_widths[$cell_column_nr]; - -?><td <?php foreach( $attr as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>> -<?php unset($attr) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/templates/include/html/text.inc.php - compile time: Tue, 20 Dec 2005 00:37:16 +0100 */ ?><?php $attr = array('var'=>'name') ?><?php $attr_var='name' ?><?php if(!isset($attr_class)) $attr_class='' ?><?php if(!isset($attr_title)) $attr_title=$attr_text ?><span class="<?php echo $attr_class ?>"><?php - if (isset($attr_url)) echo "<a href=\"".$$attr_url."\" title=\"$attr_title\">"; - if (isset($attr_text)) echo lang($attr_text); - elseif (isset($attr_var)) echo $$attr_var; - elseif (isset($attr_raw)) echo str_replace('_',' ',$attr_raw); - if (isset($attr_url)) echo '</a'; -?></span> -<?php unset($attr) ?><?php unset($attr_var) ?><?php /* source: ./themes/default/templates/include/html/cell-end.inc.php - compile time: Tue, 20 Dec 2005 00:37:16 +0100 */ ?><?php $attr = array() ?></td> -<?php unset($attr) ?><?php /* source: ./themes/default/templates/include/html/row-end.inc.php - compile time: Tue, 20 Dec 2005 00:37:16 +0100 */ ?><?php $attr = array() ?></tr> -<?php unset($attr) ?><?php /* source: ./themes/default/templates/include/html/row.inc.php - compile time: Tue, 20 Dec 2005 00:37:16 +0100 */ ?><?php $attr = array() ?><?php - global $fx; - if ( $fx =='f1') - $fx='f2'; - else $fx='f1'; - - global $cell_column_nr; - $cell_column_nr=0; - -?><tr> -<?php unset($attr) ?><?php /* source: ./themes/default/templates/include/html/cell.inc.php - compile time: Tue, 20 Dec 2005 00:37:16 +0100 */ ?><?php $attr = array('colspan'=>'2','class'=>'fx') ?><?php $attr_colspan='2' ?><?php $attr_class='fx' ?><?php - global $fx; - if (!isset($attr_class)) $attr['class']=''; - if ($attr_class=='fx') $attr['class']=$fx; - - global $cell_column_nr; - $cell_column_nr++; - if ( isset($column_widths[$cell_column_nr]) && !isset($attr_rowspan) ) - $attr['width']=$column_widths[$cell_column_nr]; - -?><td <?php foreach( $attr as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>> -<?php unset($attr) ?><?php unset($attr_colspan) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/templates/include/html/text.inc.php - compile time: Tue, 20 Dec 2005 00:37:16 +0100 */ ?><?php $attr = array('url'=>'editprop_url','text'=>'GLOBAL_CHANGE') ?><?php $attr_url='editprop_url' ?><?php $attr_text='GLOBAL_CHANGE' ?><?php if(!isset($attr_class)) $attr_class='' ?><?php if(!isset($attr_title)) $attr_title=$attr_text ?><span class="<?php echo $attr_class ?>"><?php - if (isset($attr_url)) echo "<a href=\"".$$attr_url."\" title=\"$attr_title\">"; - if (isset($attr_text)) echo lang($attr_text); - elseif (isset($attr_var)) echo $$attr_var; - elseif (isset($attr_raw)) echo str_replace('_',' ',$attr_raw); - if (isset($attr_url)) echo '</a'; -?></span> -<?php unset($attr) ?><?php unset($attr_url) ?><?php unset($attr_text) ?> -<?php /* source: ./themes/default/templates/include/html/cell-end.inc.php - compile time: Tue, 20 Dec 2005 00:37:16 +0100 */ ?><?php $attr = array() ?></td> -<?php unset($attr) ?><?php /* source: ./themes/default/templates/include/html/row-end.inc.php - compile time: Tue, 20 Dec 2005 00:37:16 +0100 */ ?><?php $attr = array() ?></tr> -<?php unset($attr) ?><?php /* source: ./themes/default/templates/include/html/window-end.inc.php - compile time: Tue, 20 Dec 2005 00:37:16 +0100 */ ?><?php $attr = array() ?> </table> - </td> - </tr> -</table> - -</center> -<?php unset($attr) ?><?php /* source: ./themes/default/templates/include/html/focus.inc.php - compile time: Tue, 20 Dec 2005 00:37:16 +0100 */ ?><?php $attr = array('field'=>'name') ?><?php $attr_field='name' ?><script name="JavaScript" type="text/javascript"><!-- -document.forms[0].<?php echo $$attr_field ?>.focus(); -//--></script> -<?php unset($attr) ?><?php unset($attr_field) ?> -<?php /* source: ./themes/default/templates/include/html/insert.inc.php - compile time: Tue, 20 Dec 2005 00:37:16 +0100 */ ?><?php $attr = array('file'=>'footer') ?><?php $attr_file='footer' ?><?php include( $tpl_dir.$attr_file.'.tpl.php') ?> -<?php unset($attr) ?><?php unset($attr_file) ?>- \ No newline at end of file diff --git a/themes/default/pages/html/status/show.tpl.php b/themes/default/pages/html/status/show.tpl.php @@ -1,761 +0,0 @@ -<?php $a1_class='status'; ?><?php - if (!defined('OR_VERSION')) die('Forbidden'); - if (!headers_sent()) header('Content-Type: text/html; charset='.$charset) -?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<html> -<head> - <title><?php echo isset($a1_title)?langHtml($a1_title).' - ':(isset($windowTitle)?langHtml($windowTitle).' - ':'') ?><?php echo $cms_title ?></title> - <meta http-equiv="content-type" content="text/html; charset=<?php echo $charset ?>" > -<?php if ( isset($refresh_url) ) { ?> - <meta http-equiv="refresh" content="<?php echo isset($refresh_timeout)?$refresh_timeout:0 ?>; URL=<?php echo $refresh_url; if (ini_get('session.use_trans_sid')) echo '&'.session_name().'='.session_id(); ?>"> -<?php } ?> - <meta name="MSSmartTagsPreventParsing" content="true" > - <meta name="robots" content="noindex,nofollow" > -<?php if (isset($windowMenu) && is_array($windowMenu)) foreach( $windowMenu as $menu ) - { - ?> - <link rel="section" href="<?php echo Html::url($actionName,@$menu['subaction'],$this->getRequestId() ) ?>" title="<?php echo lang($menu['text']) ?>" > -<?php - } -?><?php if (isset($metaList) && is_array($metaList)) foreach( $metaList as $meta ) - { - ?> - <link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo $meta['title'] ?>" ><?php - } -?><?php if(!empty($root_stylesheet)) { ?> - <link rel="stylesheet" type="text/css" href="<?php echo $root_stylesheet ?>" > -<?php } ?> -<?php if($root_stylesheet!=$user_stylesheet) { ?> - <link rel="stylesheet" type="text/css" href="<?php echo $user_stylesheet ?>" > -<?php } ?> -</head> -<body class="status" <?php if (@$conf['interface']['application_mode']) { ?> style="padding:0px;margin:0px;"<?php } ?> > -<?php /* Debug-Information */ if ($showDuration) { echo "<!-- Output Variables are:\n";echo str_replace('-->','-- >',print_r($this->templateVars,true));echo "\n-->";} ?><?php unset($a1_class) ?><?php $a2_width='100%';$a2_space='0px';$a2_padding='0px'; ?><?php - $last_row_idx = @$row_idx; - $last_column_idx = @$column_idx; - $row_idx = 0; - $column_idx = 0; - $coloumn_widths = array(); - $row_classes = array(); - $column_classes = array(); -?><table class="%class%" cellspacing="0px" width="100%" cellpadding="0px"> -<?php unset($a2_width,$a2_space,$a2_padding) ?><?php - $row_idx++; - $column_idx = 0; -?> -<tr -> -<?php $a4_present='projects'; ?><?php - $a4_tmp_exec = isset($$a4_present); - $a4_tmp_last_exec = $a4_tmp_exec; - if ( $a4_tmp_exec ) - { -?> -<?php unset($a4_present) ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> -><?php $a6_action='index';$a6_subaction='project';$a6_name='';$a6_target='_top';$a6_method='post';$a6_enctype='application/x-www-form-urlencoded'; ?><?php - $a6_id = $this->getRequestId(); - if ($this->isEditable()) - { - if ($this->isEditMode()) - { - $a6_method = 'POST'; - } - else - { - $a6_method = 'GET'; - $a6_subaction = $subActionName; - } - } -?><form name="<?php echo $a6_name ?>" - target="<?php echo $a6_target ?>" - action="<?php echo Html::url( $a6_action,$a6_subaction,$a6_id ) ?>" - method="<?php echo $a6_method ?>" - enctype="<?php echo $a6_enctype ?>" style="margin:0px;padding:0px;"> -<?php if ($this->isEditable() && !$this->isEditMode()) { ?> -<input type="hidden" name="mode" value="edit" /> -<?php } ?> -<input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /> -<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $a6_action ?>" /> -<input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo $a6_subaction ?>" /> -<input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo $a6_id ?>" /><?php - if ( $conf['interface']['url_sessionid'] ) - echo '<input type="hidden" name="'.session_name().'" value="'.session_id().'" />'."\n"; -?><?php unset($a6_action,$a6_subaction,$a6_name,$a6_target,$a6_method,$a6_enctype) ?><?php $a7_class='text';$a7_default='projectid';$a7_type='hidden';$a7_name='idvar';$a7_size='40';$a7_maxlength='256';$a7_onchange='';$a7_readonly=false; ?><?php if ($this->isEditable() && !$this->isEditMode()) $a7_readonly=true; - if ($a7_readonly && empty($$a7_name)) $$a7_name = '- '.lang('EMPTY').' -'; - if(!isset($a7_default)) $a7_default=''; - $tmp_value = Text::encodeHtml(isset($$a7_name)?$$a7_name:$a7_default); -?><?php if (!$a7_readonly || $a7_type=='hidden') { -?><input<?php if ($a7_readonly) echo ' disabled="true"' ?> id="id_<?php echo $a7_name ?><?php if ($a7_readonly) echo '_disabled' ?>" name="<?php echo $a7_name ?><?php if ($a7_readonly) echo '_disabled' ?>" type="<?php echo $a7_type ?>" size="<?php echo $a7_size ?>" maxlength="<?php echo $a7_maxlength ?>" class="<?php echo $a7_class ?>" value="<?php echo $tmp_value ?>" <?php if (in_array($a7_name,$errors)) echo 'style="border:2px dashed red;"' ?> /><?php -if ($a7_readonly) { -?><input type="hidden" id="id_<?php echo $a7_name ?>" name="<?php echo $a7_name ?>" value="<?php echo $tmp_value ?>" /><?php - } } else { ?><span class="<?php echo $a7_class ?>"><?php echo $tmp_value ?></span><?php } ?><?php unset($a7_class,$a7_default,$a7_type,$a7_name,$a7_size,$a7_maxlength,$a7_onchange,$a7_readonly) ?><?php $a7_icon='project';$a7_align='left'; ?><?php - $a7_tmp_image_file = $image_dir.'icon_'.$a7_icon.IMG_ICON_EXT; - $a7_size = '16x16'; - $a7_tmp_title = basename($a7_tmp_image_file); -?><img alt="<?php echo $a7_tmp_title; if (isset($a7_size)) { echo ' ('; list($a7_tmp_width,$a7_tmp_height)=explode('x',$a7_size);echo $a7_tmp_width.'x'.$a7_tmp_height; echo')';} ?>" src="<?php echo $a7_tmp_image_file ?>" border="0"<?php if(isset($a7_align)) echo ' align="'.$a7_align.'"' ?><?php if (isset($a7_size)) { list($a7_tmp_width,$a7_tmp_height)=explode('x',$a7_size);echo ' width="'.$a7_tmp_width.'" height="'.$a7_tmp_height.'"';} ?>><?php unset($a7_icon,$a7_align) ?><?php $a7_list='projects';$a7_name='projectid';$a7_onchange='submit()';$a7_title='';$a7_class='';$a7_addempty='projects';$a7_multiple=false;$a7_size='1';$a7_lang=false; ?><?php -$a7_readonly=false; -$a7_tmp_list = $$a7_list; -if ($this->isEditable() && !$this->isEditMode()) -{ - echo empty($$a7_name)?'- '.lang('EMPTY').' -':$a7_tmp_list[$$a7_name]; -} -else -{ -if ( $a7_addempty!==FALSE ) -{ - if ($a7_addempty===TRUE) - $a7_tmp_list = array(''=>lang('LIST_ENTRY_EMPTY'))+$a7_tmp_list; - else - $a7_tmp_list = array(''=>'- '.lang($a7_addempty).' -')+$a7_tmp_list; -} -?><select<?php if ($a7_readonly) echo ' disabled="disabled"' ?> id="id_<?php echo $a7_name ?>" name="<?php echo $a7_name; if ($a7_multiple) echo '[]'; ?>" onchange="<?php echo $a7_onchange ?>" title="<?php echo $a7_title ?>" class="<?php echo $a7_class ?>"<?php -if (count($$a7_list)<=1) echo ' disabled="disabled"'; -if ($a7_multiple) echo ' multiple="multiple"'; -if (in_array($a7_name,$errors)) echo ' style="background-color:red; border:2px dashed red;"'; -echo ' size="'.intval($a7_size).'"'; -?>><?php - if ( isset($$a7_name) && isset($a7_tmp_list[$$a7_name]) ) - $a7_tmp_default = $$a7_name; - elseif ( isset($a7_default) ) - $a7_tmp_default = $a7_default; - else - $a7_tmp_default = ''; - foreach( $a7_tmp_list as $box_key=>$box_value ) - { - if ( is_array($box_value) ) - { - $box_key = $box_value['key' ]; - $box_title = $box_value['title']; - $box_value = $box_value['value']; - } - elseif( $a7_lang ) - { - $box_title = lang( $box_value.'_DESC'); - $box_value = lang( $box_value ); - } - else - { - $box_title = ''; - } - echo '<option class="'.$a7_class.'" value="'.$box_key.'" title="'.$box_title.'"'; - if ((string)$box_key==$a7_tmp_default) - echo ' selected="selected"'; - echo '>'.$box_value.'</option>'; - } -?></select><?php -if (count($$a7_list)==0) echo '<input type="hidden" name="'.$a7_name.'" value="" />'; -if (count($$a7_list)==1) echo '<input type="hidden" name="'.$a7_name.'" value="'.$box_key.'" />'; -} -?><?php unset($a7_list,$a7_name,$a7_onchange,$a7_title,$a7_class,$a7_addempty,$a7_multiple,$a7_size,$a7_lang) ?><?php $a7_type='ok';$a7_class='ok';$a7_value='ok';$a7_text=lang('>'); ?><?php - if ($this->isEditable() && !$this->isEditMode()) - $a7_text = 'MODE_EDIT'; - $a7_type = 'submit'; - if ( $this->isEditable() && readonly() ) - $a7_type = ''; // Knopf nicht anzeigen - $a7_src = ''; - if ( !empty($a7_type) ) { -?><input type="<?php echo $a7_type ?>"<?php if(isset($a7_src)) { ?> src="<?php echo $image_dir.'icon_'.$a7_src.IMG_ICON_EXT ?>"<?php } ?> name="<?php echo $a7_value ?>" class="ok" title="<?php echo lang($a7_text.'_DESC') ?>" value="&nbsp;&nbsp;&nbsp;&nbsp;<?php echo langHtml($a7_text) ?>&nbsp;&nbsp;&nbsp;&nbsp;" /><?php unset($a7_src) -?><?php } -?><?php unset($a7_type,$a7_class,$a7_value,$a7_text) ?></form> -</td><?php } ?><?php $a4_value=@count($models);$a4_greaterthan='1'; ?><?php - $a4_tmp_exec = intval($a4_greaterthan) < intval($a4_value); - $a4_tmp_last_exec = $a4_tmp_exec; - if ( $a4_tmp_exec ) - { -?> -<?php unset($a4_value,$a4_greaterthan) ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> -><?php $a6_action='index';$a6_subaction='model';$a6_name='';$a6_target='_top';$a6_method='get';$a6_enctype='application/x-www-form-urlencoded'; ?><?php - $a6_id = $this->getRequestId(); - if ($this->isEditable()) - { - if ($this->isEditMode()) - { - $a6_method = 'POST'; - } - else - { - $a6_method = 'GET'; - $a6_subaction = $subActionName; - } - } -?><form name="<?php echo $a6_name ?>" - target="<?php echo $a6_target ?>" - action="<?php echo Html::url( $a6_action,$a6_subaction,$a6_id ) ?>" - method="<?php echo $a6_method ?>" - enctype="<?php echo $a6_enctype ?>" style="margin:0px;padding:0px;"> -<?php if ($this->isEditable() && !$this->isEditMode()) { ?> -<input type="hidden" name="mode" value="edit" /> -<?php } ?> -<input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /> -<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $a6_action ?>" /> -<input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo $a6_subaction ?>" /> -<input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo $a6_id ?>" /><?php - if ( $conf['interface']['url_sessionid'] ) - echo '<input type="hidden" name="'.session_name().'" value="'.session_id().'" />'."\n"; -?><?php unset($a6_action,$a6_subaction,$a6_name,$a6_target,$a6_method,$a6_enctype) ?><?php $a7_class='text';$a7_default='modelid';$a7_type='hidden';$a7_name='idvar';$a7_size='40';$a7_maxlength='256';$a7_onchange='';$a7_readonly=false; ?><?php if ($this->isEditable() && !$this->isEditMode()) $a7_readonly=true; - if ($a7_readonly && empty($$a7_name)) $$a7_name = '- '.lang('EMPTY').' -'; - if(!isset($a7_default)) $a7_default=''; - $tmp_value = Text::encodeHtml(isset($$a7_name)?$$a7_name:$a7_default); -?><?php if (!$a7_readonly || $a7_type=='hidden') { -?><input<?php if ($a7_readonly) echo ' disabled="true"' ?> id="id_<?php echo $a7_name ?><?php if ($a7_readonly) echo '_disabled' ?>" name="<?php echo $a7_name ?><?php if ($a7_readonly) echo '_disabled' ?>" type="<?php echo $a7_type ?>" size="<?php echo $a7_size ?>" maxlength="<?php echo $a7_maxlength ?>" class="<?php echo $a7_class ?>" value="<?php echo $tmp_value ?>" <?php if (in_array($a7_name,$errors)) echo 'style="border:2px dashed red;"' ?> /><?php -if ($a7_readonly) { -?><input type="hidden" id="id_<?php echo $a7_name ?>" name="<?php echo $a7_name ?>" value="<?php echo $tmp_value ?>" /><?php - } } else { ?><span class="<?php echo $a7_class ?>"><?php echo $tmp_value ?></span><?php } ?><?php unset($a7_class,$a7_default,$a7_type,$a7_name,$a7_size,$a7_maxlength,$a7_onchange,$a7_readonly) ?><?php $a7_icon='model';$a7_align='left'; ?><?php - $a7_tmp_image_file = $image_dir.'icon_'.$a7_icon.IMG_ICON_EXT; - $a7_size = '16x16'; - $a7_tmp_title = basename($a7_tmp_image_file); -?><img alt="<?php echo $a7_tmp_title; if (isset($a7_size)) { echo ' ('; list($a7_tmp_width,$a7_tmp_height)=explode('x',$a7_size);echo $a7_tmp_width.'x'.$a7_tmp_height; echo')';} ?>" src="<?php echo $a7_tmp_image_file ?>" border="0"<?php if(isset($a7_align)) echo ' align="'.$a7_align.'"' ?><?php if (isset($a7_size)) { list($a7_tmp_width,$a7_tmp_height)=explode('x',$a7_size);echo ' width="'.$a7_tmp_width.'" height="'.$a7_tmp_height.'"';} ?>><?php unset($a7_icon,$a7_align) ?><?php $a7_list='models';$a7_name='modelid';$a7_onchange='submit()';$a7_title='';$a7_class='';$a7_addempty='model';$a7_multiple=false;$a7_size='1';$a7_lang=false; ?><?php -$a7_readonly=false; -$a7_tmp_list = $$a7_list; -if ($this->isEditable() && !$this->isEditMode()) -{ - echo empty($$a7_name)?'- '.lang('EMPTY').' -':$a7_tmp_list[$$a7_name]; -} -else -{ -if ( $a7_addempty!==FALSE ) -{ - if ($a7_addempty===TRUE) - $a7_tmp_list = array(''=>lang('LIST_ENTRY_EMPTY'))+$a7_tmp_list; - else - $a7_tmp_list = array(''=>'- '.lang($a7_addempty).' -')+$a7_tmp_list; -} -?><select<?php if ($a7_readonly) echo ' disabled="disabled"' ?> id="id_<?php echo $a7_name ?>" name="<?php echo $a7_name; if ($a7_multiple) echo '[]'; ?>" onchange="<?php echo $a7_onchange ?>" title="<?php echo $a7_title ?>" class="<?php echo $a7_class ?>"<?php -if (count($$a7_list)<=1) echo ' disabled="disabled"'; -if ($a7_multiple) echo ' multiple="multiple"'; -if (in_array($a7_name,$errors)) echo ' style="background-color:red; border:2px dashed red;"'; -echo ' size="'.intval($a7_size).'"'; -?>><?php - if ( isset($$a7_name) && isset($a7_tmp_list[$$a7_name]) ) - $a7_tmp_default = $$a7_name; - elseif ( isset($a7_default) ) - $a7_tmp_default = $a7_default; - else - $a7_tmp_default = ''; - foreach( $a7_tmp_list as $box_key=>$box_value ) - { - if ( is_array($box_value) ) - { - $box_key = $box_value['key' ]; - $box_title = $box_value['title']; - $box_value = $box_value['value']; - } - elseif( $a7_lang ) - { - $box_title = lang( $box_value.'_DESC'); - $box_value = lang( $box_value ); - } - else - { - $box_title = ''; - } - echo '<option class="'.$a7_class.'" value="'.$box_key.'" title="'.$box_title.'"'; - if ((string)$box_key==$a7_tmp_default) - echo ' selected="selected"'; - echo '>'.$box_value.'</option>'; - } -?></select><?php -if (count($$a7_list)==0) echo '<input type="hidden" name="'.$a7_name.'" value="" />'; -if (count($$a7_list)==1) echo '<input type="hidden" name="'.$a7_name.'" value="'.$box_key.'" />'; -} -?><?php unset($a7_list,$a7_name,$a7_onchange,$a7_title,$a7_class,$a7_addempty,$a7_multiple,$a7_size,$a7_lang) ?><?php $a7_type='ok';$a7_class='ok';$a7_value='ok';$a7_text='>'; ?><?php - if ($this->isEditable() && !$this->isEditMode()) - $a7_text = 'MODE_EDIT'; - $a7_type = 'submit'; - if ( $this->isEditable() && readonly() ) - $a7_type = ''; // Knopf nicht anzeigen - $a7_src = ''; - if ( !empty($a7_type) ) { -?><input type="<?php echo $a7_type ?>"<?php if(isset($a7_src)) { ?> src="<?php echo $image_dir.'icon_'.$a7_src.IMG_ICON_EXT ?>"<?php } ?> name="<?php echo $a7_value ?>" class="ok" title="<?php echo lang($a7_text.'_DESC') ?>" value="&nbsp;&nbsp;&nbsp;&nbsp;<?php echo langHtml($a7_text) ?>&nbsp;&nbsp;&nbsp;&nbsp;" /><?php unset($a7_src) -?><?php } -?><?php unset($a7_type,$a7_class,$a7_value,$a7_text) ?></form> -</td><?php } ?><?php $a4_value=@count($languages);$a4_greaterthan='1'; ?><?php - $a4_tmp_exec = intval($a4_greaterthan) < intval($a4_value); - $a4_tmp_last_exec = $a4_tmp_exec; - if ( $a4_tmp_exec ) - { -?> -<?php unset($a4_value,$a4_greaterthan) ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> -><?php $a6_action='index';$a6_subaction='language';$a6_name='';$a6_target='_top';$a6_method='get';$a6_enctype='application/x-www-form-urlencoded'; ?><?php - $a6_id = $this->getRequestId(); - if ($this->isEditable()) - { - if ($this->isEditMode()) - { - $a6_method = 'POST'; - } - else - { - $a6_method = 'GET'; - $a6_subaction = $subActionName; - } - } -?><form name="<?php echo $a6_name ?>" - target="<?php echo $a6_target ?>" - action="<?php echo Html::url( $a6_action,$a6_subaction,$a6_id ) ?>" - method="<?php echo $a6_method ?>" - enctype="<?php echo $a6_enctype ?>" style="margin:0px;padding:0px;"> -<?php if ($this->isEditable() && !$this->isEditMode()) { ?> -<input type="hidden" name="mode" value="edit" /> -<?php } ?> -<input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /> -<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $a6_action ?>" /> -<input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo $a6_subaction ?>" /> -<input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo $a6_id ?>" /><?php - if ( $conf['interface']['url_sessionid'] ) - echo '<input type="hidden" name="'.session_name().'" value="'.session_id().'" />'."\n"; -?><?php unset($a6_action,$a6_subaction,$a6_name,$a6_target,$a6_method,$a6_enctype) ?><?php $a7_class='text';$a7_default='languageid';$a7_type='hidden';$a7_name='idvar';$a7_size='40';$a7_maxlength='256';$a7_onchange='';$a7_readonly=false; ?><?php if ($this->isEditable() && !$this->isEditMode()) $a7_readonly=true; - if ($a7_readonly && empty($$a7_name)) $$a7_name = '- '.lang('EMPTY').' -'; - if(!isset($a7_default)) $a7_default=''; - $tmp_value = Text::encodeHtml(isset($$a7_name)?$$a7_name:$a7_default); -?><?php if (!$a7_readonly || $a7_type=='hidden') { -?><input<?php if ($a7_readonly) echo ' disabled="true"' ?> id="id_<?php echo $a7_name ?><?php if ($a7_readonly) echo '_disabled' ?>" name="<?php echo $a7_name ?><?php if ($a7_readonly) echo '_disabled' ?>" type="<?php echo $a7_type ?>" size="<?php echo $a7_size ?>" maxlength="<?php echo $a7_maxlength ?>" class="<?php echo $a7_class ?>" value="<?php echo $tmp_value ?>" <?php if (in_array($a7_name,$errors)) echo 'style="border:2px dashed red;"' ?> /><?php -if ($a7_readonly) { -?><input type="hidden" id="id_<?php echo $a7_name ?>" name="<?php echo $a7_name ?>" value="<?php echo $tmp_value ?>" /><?php - } } else { ?><span class="<?php echo $a7_class ?>"><?php echo $tmp_value ?></span><?php } ?><?php unset($a7_class,$a7_default,$a7_type,$a7_name,$a7_size,$a7_maxlength,$a7_onchange,$a7_readonly) ?><?php $a7_icon='language';$a7_align='left'; ?><?php - $a7_tmp_image_file = $image_dir.'icon_'.$a7_icon.IMG_ICON_EXT; - $a7_size = '16x16'; - $a7_tmp_title = basename($a7_tmp_image_file); -?><img alt="<?php echo $a7_tmp_title; if (isset($a7_size)) { echo ' ('; list($a7_tmp_width,$a7_tmp_height)=explode('x',$a7_size);echo $a7_tmp_width.'x'.$a7_tmp_height; echo')';} ?>" src="<?php echo $a7_tmp_image_file ?>" border="0"<?php if(isset($a7_align)) echo ' align="'.$a7_align.'"' ?><?php if (isset($a7_size)) { list($a7_tmp_width,$a7_tmp_height)=explode('x',$a7_size);echo ' width="'.$a7_tmp_width.'" height="'.$a7_tmp_height.'"';} ?>><?php unset($a7_icon,$a7_align) ?><?php $a7_list='languages';$a7_name='languageid';$a7_onchange='submit()';$a7_title='';$a7_class='';$a7_addempty='language';$a7_multiple=false;$a7_size='1';$a7_lang=false; ?><?php -$a7_readonly=false; -$a7_tmp_list = $$a7_list; -if ($this->isEditable() && !$this->isEditMode()) -{ - echo empty($$a7_name)?'- '.lang('EMPTY').' -':$a7_tmp_list[$$a7_name]; -} -else -{ -if ( $a7_addempty!==FALSE ) -{ - if ($a7_addempty===TRUE) - $a7_tmp_list = array(''=>lang('LIST_ENTRY_EMPTY'))+$a7_tmp_list; - else - $a7_tmp_list = array(''=>'- '.lang($a7_addempty).' -')+$a7_tmp_list; -} -?><select<?php if ($a7_readonly) echo ' disabled="disabled"' ?> id="id_<?php echo $a7_name ?>" name="<?php echo $a7_name; if ($a7_multiple) echo '[]'; ?>" onchange="<?php echo $a7_onchange ?>" title="<?php echo $a7_title ?>" class="<?php echo $a7_class ?>"<?php -if (count($$a7_list)<=1) echo ' disabled="disabled"'; -if ($a7_multiple) echo ' multiple="multiple"'; -if (in_array($a7_name,$errors)) echo ' style="background-color:red; border:2px dashed red;"'; -echo ' size="'.intval($a7_size).'"'; -?>><?php - if ( isset($$a7_name) && isset($a7_tmp_list[$$a7_name]) ) - $a7_tmp_default = $$a7_name; - elseif ( isset($a7_default) ) - $a7_tmp_default = $a7_default; - else - $a7_tmp_default = ''; - foreach( $a7_tmp_list as $box_key=>$box_value ) - { - if ( is_array($box_value) ) - { - $box_key = $box_value['key' ]; - $box_title = $box_value['title']; - $box_value = $box_value['value']; - } - elseif( $a7_lang ) - { - $box_title = lang( $box_value.'_DESC'); - $box_value = lang( $box_value ); - } - else - { - $box_title = ''; - } - echo '<option class="'.$a7_class.'" value="'.$box_key.'" title="'.$box_title.'"'; - if ((string)$box_key==$a7_tmp_default) - echo ' selected="selected"'; - echo '>'.$box_value.'</option>'; - } -?></select><?php -if (count($$a7_list)==0) echo '<input type="hidden" name="'.$a7_name.'" value="" />'; -if (count($$a7_list)==1) echo '<input type="hidden" name="'.$a7_name.'" value="'.$box_key.'" />'; -} -?><?php unset($a7_list,$a7_name,$a7_onchange,$a7_title,$a7_class,$a7_addempty,$a7_multiple,$a7_size,$a7_lang) ?><?php $a7_type='ok';$a7_class='ok';$a7_value='ok';$a7_text='>'; ?><?php - if ($this->isEditable() && !$this->isEditMode()) - $a7_text = 'MODE_EDIT'; - $a7_type = 'submit'; - if ( $this->isEditable() && readonly() ) - $a7_type = ''; // Knopf nicht anzeigen - $a7_src = ''; - if ( !empty($a7_type) ) { -?><input type="<?php echo $a7_type ?>"<?php if(isset($a7_src)) { ?> src="<?php echo $image_dir.'icon_'.$a7_src.IMG_ICON_EXT ?>"<?php } ?> name="<?php echo $a7_value ?>" class="ok" title="<?php echo lang($a7_text.'_DESC') ?>" value="&nbsp;&nbsp;&nbsp;&nbsp;<?php echo langHtml($a7_text) ?>&nbsp;&nbsp;&nbsp;&nbsp;" /><?php unset($a7_src) -?><?php } -?><?php unset($a7_type,$a7_class,$a7_value,$a7_text) ?></form> -</td><?php } ?><?php $a4_present='templates'; ?><?php - $a4_tmp_exec = isset($$a4_present); - $a4_tmp_last_exec = $a4_tmp_exec; - if ( $a4_tmp_exec ) - { -?> -<?php unset($a4_present) ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> -><?php $a6_action='main';$a6_subaction='template';$a6_name='';$a6_target='cms_main';$a6_method='get';$a6_enctype='application/x-www-form-urlencoded'; ?><?php - $a6_id = $this->getRequestId(); - if ($this->isEditable()) - { - if ($this->isEditMode()) - { - $a6_method = 'POST'; - } - else - { - $a6_method = 'GET'; - $a6_subaction = $subActionName; - } - } -?><form name="<?php echo $a6_name ?>" - target="<?php echo $a6_target ?>" - action="<?php echo Html::url( $a6_action,$a6_subaction,$a6_id ) ?>" - method="<?php echo $a6_method ?>" - enctype="<?php echo $a6_enctype ?>" style="margin:0px;padding:0px;"> -<?php if ($this->isEditable() && !$this->isEditMode()) { ?> -<input type="hidden" name="mode" value="edit" /> -<?php } ?> -<input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /> -<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $a6_action ?>" /> -<input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo $a6_subaction ?>" /> -<input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo $a6_id ?>" /><?php - if ( $conf['interface']['url_sessionid'] ) - echo '<input type="hidden" name="'.session_name().'" value="'.session_id().'" />'."\n"; -?><?php unset($a6_action,$a6_subaction,$a6_name,$a6_target,$a6_method,$a6_enctype) ?><?php $a7_class='text';$a7_default='templateid';$a7_type='hidden';$a7_name='idvar';$a7_size='40';$a7_maxlength='256';$a7_onchange='';$a7_readonly=false; ?><?php if ($this->isEditable() && !$this->isEditMode()) $a7_readonly=true; - if ($a7_readonly && empty($$a7_name)) $$a7_name = '- '.lang('EMPTY').' -'; - if(!isset($a7_default)) $a7_default=''; - $tmp_value = Text::encodeHtml(isset($$a7_name)?$$a7_name:$a7_default); -?><?php if (!$a7_readonly || $a7_type=='hidden') { -?><input<?php if ($a7_readonly) echo ' disabled="true"' ?> id="id_<?php echo $a7_name ?><?php if ($a7_readonly) echo '_disabled' ?>" name="<?php echo $a7_name ?><?php if ($a7_readonly) echo '_disabled' ?>" type="<?php echo $a7_type ?>" size="<?php echo $a7_size ?>" maxlength="<?php echo $a7_maxlength ?>" class="<?php echo $a7_class ?>" value="<?php echo $tmp_value ?>" <?php if (in_array($a7_name,$errors)) echo 'style="border:2px dashed red;"' ?> /><?php -if ($a7_readonly) { -?><input type="hidden" id="id_<?php echo $a7_name ?>" name="<?php echo $a7_name ?>" value="<?php echo $tmp_value ?>" /><?php - } } else { ?><span class="<?php echo $a7_class ?>"><?php echo $tmp_value ?></span><?php } ?><?php unset($a7_class,$a7_default,$a7_type,$a7_name,$a7_size,$a7_maxlength,$a7_onchange,$a7_readonly) ?><?php $a7_icon='template';$a7_align='left'; ?><?php - $a7_tmp_image_file = $image_dir.'icon_'.$a7_icon.IMG_ICON_EXT; - $a7_size = '16x16'; - $a7_tmp_title = basename($a7_tmp_image_file); -?><img alt="<?php echo $a7_tmp_title; if (isset($a7_size)) { echo ' ('; list($a7_tmp_width,$a7_tmp_height)=explode('x',$a7_size);echo $a7_tmp_width.'x'.$a7_tmp_height; echo')';} ?>" src="<?php echo $a7_tmp_image_file ?>" border="0"<?php if(isset($a7_align)) echo ' align="'.$a7_align.'"' ?><?php if (isset($a7_size)) { list($a7_tmp_width,$a7_tmp_height)=explode('x',$a7_size);echo ' width="'.$a7_tmp_width.'" height="'.$a7_tmp_height.'"';} ?>><?php unset($a7_icon,$a7_align) ?><?php $a7_list='templates';$a7_name='templateid';$a7_onchange='submit()';$a7_title='';$a7_class='';$a7_addempty='template';$a7_multiple=false;$a7_size='1';$a7_lang=false; ?><?php -$a7_readonly=false; -$a7_tmp_list = $$a7_list; -if ($this->isEditable() && !$this->isEditMode()) -{ - echo empty($$a7_name)?'- '.lang('EMPTY').' -':$a7_tmp_list[$$a7_name]; -} -else -{ -if ( $a7_addempty!==FALSE ) -{ - if ($a7_addempty===TRUE) - $a7_tmp_list = array(''=>lang('LIST_ENTRY_EMPTY'))+$a7_tmp_list; - else - $a7_tmp_list = array(''=>'- '.lang($a7_addempty).' -')+$a7_tmp_list; -} -?><select<?php if ($a7_readonly) echo ' disabled="disabled"' ?> id="id_<?php echo $a7_name ?>" name="<?php echo $a7_name; if ($a7_multiple) echo '[]'; ?>" onchange="<?php echo $a7_onchange ?>" title="<?php echo $a7_title ?>" class="<?php echo $a7_class ?>"<?php -if (count($$a7_list)<=1) echo ' disabled="disabled"'; -if ($a7_multiple) echo ' multiple="multiple"'; -if (in_array($a7_name,$errors)) echo ' style="background-color:red; border:2px dashed red;"'; -echo ' size="'.intval($a7_size).'"'; -?>><?php - if ( isset($$a7_name) && isset($a7_tmp_list[$$a7_name]) ) - $a7_tmp_default = $$a7_name; - elseif ( isset($a7_default) ) - $a7_tmp_default = $a7_default; - else - $a7_tmp_default = ''; - foreach( $a7_tmp_list as $box_key=>$box_value ) - { - if ( is_array($box_value) ) - { - $box_key = $box_value['key' ]; - $box_title = $box_value['title']; - $box_value = $box_value['value']; - } - elseif( $a7_lang ) - { - $box_title = lang( $box_value.'_DESC'); - $box_value = lang( $box_value ); - } - else - { - $box_title = ''; - } - echo '<option class="'.$a7_class.'" value="'.$box_key.'" title="'.$box_title.'"'; - if ((string)$box_key==$a7_tmp_default) - echo ' selected="selected"'; - echo '>'.$box_value.'</option>'; - } -?></select><?php -if (count($$a7_list)==0) echo '<input type="hidden" name="'.$a7_name.'" value="" />'; -if (count($$a7_list)==1) echo '<input type="hidden" name="'.$a7_name.'" value="'.$box_key.'" />'; -} -?><?php unset($a7_list,$a7_name,$a7_onchange,$a7_title,$a7_class,$a7_addempty,$a7_multiple,$a7_size,$a7_lang) ?><?php $a7_type='ok';$a7_class='ok';$a7_value='ok';$a7_text='>'; ?><?php - if ($this->isEditable() && !$this->isEditMode()) - $a7_text = 'MODE_EDIT'; - $a7_type = 'submit'; - if ( $this->isEditable() && readonly() ) - $a7_type = ''; // Knopf nicht anzeigen - $a7_src = ''; - if ( !empty($a7_type) ) { -?><input type="<?php echo $a7_type ?>"<?php if(isset($a7_src)) { ?> src="<?php echo $image_dir.'icon_'.$a7_src.IMG_ICON_EXT ?>"<?php } ?> name="<?php echo $a7_value ?>" class="ok" title="<?php echo lang($a7_text.'_DESC') ?>" value="&nbsp;&nbsp;&nbsp;&nbsp;<?php echo langHtml($a7_text) ?>&nbsp;&nbsp;&nbsp;&nbsp;" /><?php unset($a7_src) -?><?php } -?><?php unset($a7_type,$a7_class,$a7_value,$a7_text) ?></form> -</td><?php } ?><?php $a4_present='users'; ?><?php - $a4_tmp_exec = isset($$a4_present); - $a4_tmp_last_exec = $a4_tmp_exec; - if ( $a4_tmp_exec ) - { -?> -<?php unset($a4_present) ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> -><?php $a6_action='main';$a6_subaction='user';$a6_name='';$a6_target='cms_main';$a6_method='get';$a6_enctype='application/x-www-form-urlencoded'; ?><?php - $a6_id = $this->getRequestId(); - if ($this->isEditable()) - { - if ($this->isEditMode()) - { - $a6_method = 'POST'; - } - else - { - $a6_method = 'GET'; - $a6_subaction = $subActionName; - } - } -?><form name="<?php echo $a6_name ?>" - target="<?php echo $a6_target ?>" - action="<?php echo Html::url( $a6_action,$a6_subaction,$a6_id ) ?>" - method="<?php echo $a6_method ?>" - enctype="<?php echo $a6_enctype ?>" style="margin:0px;padding:0px;"> -<?php if ($this->isEditable() && !$this->isEditMode()) { ?> -<input type="hidden" name="mode" value="edit" /> -<?php } ?> -<input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /> -<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $a6_action ?>" /> -<input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo $a6_subaction ?>" /> -<input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo $a6_id ?>" /><?php - if ( $conf['interface']['url_sessionid'] ) - echo '<input type="hidden" name="'.session_name().'" value="'.session_id().'" />'."\n"; -?><?php unset($a6_action,$a6_subaction,$a6_name,$a6_target,$a6_method,$a6_enctype) ?><?php $a7_class='text';$a7_default='userid';$a7_type='hidden';$a7_name='idvar';$a7_size='40';$a7_maxlength='256';$a7_onchange='';$a7_readonly=false; ?><?php if ($this->isEditable() && !$this->isEditMode()) $a7_readonly=true; - if ($a7_readonly && empty($$a7_name)) $$a7_name = '- '.lang('EMPTY').' -'; - if(!isset($a7_default)) $a7_default=''; - $tmp_value = Text::encodeHtml(isset($$a7_name)?$$a7_name:$a7_default); -?><?php if (!$a7_readonly || $a7_type=='hidden') { -?><input<?php if ($a7_readonly) echo ' disabled="true"' ?> id="id_<?php echo $a7_name ?><?php if ($a7_readonly) echo '_disabled' ?>" name="<?php echo $a7_name ?><?php if ($a7_readonly) echo '_disabled' ?>" type="<?php echo $a7_type ?>" size="<?php echo $a7_size ?>" maxlength="<?php echo $a7_maxlength ?>" class="<?php echo $a7_class ?>" value="<?php echo $tmp_value ?>" <?php if (in_array($a7_name,$errors)) echo 'style="border:2px dashed red;"' ?> /><?php -if ($a7_readonly) { -?><input type="hidden" id="id_<?php echo $a7_name ?>" name="<?php echo $a7_name ?>" value="<?php echo $tmp_value ?>" /><?php - } } else { ?><span class="<?php echo $a7_class ?>"><?php echo $tmp_value ?></span><?php } ?><?php unset($a7_class,$a7_default,$a7_type,$a7_name,$a7_size,$a7_maxlength,$a7_onchange,$a7_readonly) ?><?php $a7_icon='user';$a7_align='left'; ?><?php - $a7_tmp_image_file = $image_dir.'icon_'.$a7_icon.IMG_ICON_EXT; - $a7_size = '16x16'; - $a7_tmp_title = basename($a7_tmp_image_file); -?><img alt="<?php echo $a7_tmp_title; if (isset($a7_size)) { echo ' ('; list($a7_tmp_width,$a7_tmp_height)=explode('x',$a7_size);echo $a7_tmp_width.'x'.$a7_tmp_height; echo')';} ?>" src="<?php echo $a7_tmp_image_file ?>" border="0"<?php if(isset($a7_align)) echo ' align="'.$a7_align.'"' ?><?php if (isset($a7_size)) { list($a7_tmp_width,$a7_tmp_height)=explode('x',$a7_size);echo ' width="'.$a7_tmp_width.'" height="'.$a7_tmp_height.'"';} ?>><?php unset($a7_icon,$a7_align) ?><?php $a7_list='users';$a7_name='userid';$a7_onchange='submit()';$a7_title='';$a7_class='';$a7_addempty='user';$a7_multiple=false;$a7_size='1';$a7_lang=false; ?><?php -$a7_readonly=false; -$a7_tmp_list = $$a7_list; -if ($this->isEditable() && !$this->isEditMode()) -{ - echo empty($$a7_name)?'- '.lang('EMPTY').' -':$a7_tmp_list[$$a7_name]; -} -else -{ -if ( $a7_addempty!==FALSE ) -{ - if ($a7_addempty===TRUE) - $a7_tmp_list = array(''=>lang('LIST_ENTRY_EMPTY'))+$a7_tmp_list; - else - $a7_tmp_list = array(''=>'- '.lang($a7_addempty).' -')+$a7_tmp_list; -} -?><select<?php if ($a7_readonly) echo ' disabled="disabled"' ?> id="id_<?php echo $a7_name ?>" name="<?php echo $a7_name; if ($a7_multiple) echo '[]'; ?>" onchange="<?php echo $a7_onchange ?>" title="<?php echo $a7_title ?>" class="<?php echo $a7_class ?>"<?php -if (count($$a7_list)<=1) echo ' disabled="disabled"'; -if ($a7_multiple) echo ' multiple="multiple"'; -if (in_array($a7_name,$errors)) echo ' style="background-color:red; border:2px dashed red;"'; -echo ' size="'.intval($a7_size).'"'; -?>><?php - if ( isset($$a7_name) && isset($a7_tmp_list[$$a7_name]) ) - $a7_tmp_default = $$a7_name; - elseif ( isset($a7_default) ) - $a7_tmp_default = $a7_default; - else - $a7_tmp_default = ''; - foreach( $a7_tmp_list as $box_key=>$box_value ) - { - if ( is_array($box_value) ) - { - $box_key = $box_value['key' ]; - $box_title = $box_value['title']; - $box_value = $box_value['value']; - } - elseif( $a7_lang ) - { - $box_title = lang( $box_value.'_DESC'); - $box_value = lang( $box_value ); - } - else - { - $box_title = ''; - } - echo '<option class="'.$a7_class.'" value="'.$box_key.'" title="'.$box_title.'"'; - if ((string)$box_key==$a7_tmp_default) - echo ' selected="selected"'; - echo '>'.$box_value.'</option>'; - } -?></select><?php -if (count($$a7_list)==0) echo '<input type="hidden" name="'.$a7_name.'" value="" />'; -if (count($$a7_list)==1) echo '<input type="hidden" name="'.$a7_name.'" value="'.$box_key.'" />'; -} -?><?php unset($a7_list,$a7_name,$a7_onchange,$a7_title,$a7_class,$a7_addempty,$a7_multiple,$a7_size,$a7_lang) ?><?php $a7_type='ok';$a7_class='ok';$a7_value='ok';$a7_text='>'; ?><?php - if ($this->isEditable() && !$this->isEditMode()) - $a7_text = 'MODE_EDIT'; - $a7_type = 'submit'; - if ( $this->isEditable() && readonly() ) - $a7_type = ''; // Knopf nicht anzeigen - $a7_src = ''; - if ( !empty($a7_type) ) { -?><input type="<?php echo $a7_type ?>"<?php if(isset($a7_src)) { ?> src="<?php echo $image_dir.'icon_'.$a7_src.IMG_ICON_EXT ?>"<?php } ?> name="<?php echo $a7_value ?>" class="ok" title="<?php echo lang($a7_text.'_DESC') ?>" value="&nbsp;&nbsp;&nbsp;&nbsp;<?php echo langHtml($a7_text) ?>&nbsp;&nbsp;&nbsp;&nbsp;" /><?php unset($a7_src) -?><?php } -?><?php unset($a7_type,$a7_class,$a7_value,$a7_text) ?></form> -</td><?php } ?><?php $a4_present='groups'; ?><?php - $a4_tmp_exec = isset($$a4_present); - $a4_tmp_last_exec = $a4_tmp_exec; - if ( $a4_tmp_exec ) - { -?> -<?php unset($a4_present) ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> -><?php $a6_action='main';$a6_subaction='group';$a6_name='';$a6_target='cms_main';$a6_method='get';$a6_enctype='application/x-www-form-urlencoded'; ?><?php - $a6_id = $this->getRequestId(); - if ($this->isEditable()) - { - if ($this->isEditMode()) - { - $a6_method = 'POST'; - } - else - { - $a6_method = 'GET'; - $a6_subaction = $subActionName; - } - } -?><form name="<?php echo $a6_name ?>" - target="<?php echo $a6_target ?>" - action="<?php echo Html::url( $a6_action,$a6_subaction,$a6_id ) ?>" - method="<?php echo $a6_method ?>" - enctype="<?php echo $a6_enctype ?>" style="margin:0px;padding:0px;"> -<?php if ($this->isEditable() && !$this->isEditMode()) { ?> -<input type="hidden" name="mode" value="edit" /> -<?php } ?> -<input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /> -<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $a6_action ?>" /> -<input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo $a6_subaction ?>" /> -<input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo $a6_id ?>" /><?php - if ( $conf['interface']['url_sessionid'] ) - echo '<input type="hidden" name="'.session_name().'" value="'.session_id().'" />'."\n"; -?><?php unset($a6_action,$a6_subaction,$a6_name,$a6_target,$a6_method,$a6_enctype) ?><?php $a7_class='text';$a7_default='groupid';$a7_type='hidden';$a7_name='idvar';$a7_size='40';$a7_maxlength='256';$a7_onchange='';$a7_readonly=false; ?><?php if ($this->isEditable() && !$this->isEditMode()) $a7_readonly=true; - if ($a7_readonly && empty($$a7_name)) $$a7_name = '- '.lang('EMPTY').' -'; - if(!isset($a7_default)) $a7_default=''; - $tmp_value = Text::encodeHtml(isset($$a7_name)?$$a7_name:$a7_default); -?><?php if (!$a7_readonly || $a7_type=='hidden') { -?><input<?php if ($a7_readonly) echo ' disabled="true"' ?> id="id_<?php echo $a7_name ?><?php if ($a7_readonly) echo '_disabled' ?>" name="<?php echo $a7_name ?><?php if ($a7_readonly) echo '_disabled' ?>" type="<?php echo $a7_type ?>" size="<?php echo $a7_size ?>" maxlength="<?php echo $a7_maxlength ?>" class="<?php echo $a7_class ?>" value="<?php echo $tmp_value ?>" <?php if (in_array($a7_name,$errors)) echo 'style="border:2px dashed red;"' ?> /><?php -if ($a7_readonly) { -?><input type="hidden" id="id_<?php echo $a7_name ?>" name="<?php echo $a7_name ?>" value="<?php echo $tmp_value ?>" /><?php - } } else { ?><span class="<?php echo $a7_class ?>"><?php echo $tmp_value ?></span><?php } ?><?php unset($a7_class,$a7_default,$a7_type,$a7_name,$a7_size,$a7_maxlength,$a7_onchange,$a7_readonly) ?><?php $a7_icon='group';$a7_align='left'; ?><?php - $a7_tmp_image_file = $image_dir.'icon_'.$a7_icon.IMG_ICON_EXT; - $a7_size = '16x16'; - $a7_tmp_title = basename($a7_tmp_image_file); -?><img alt="<?php echo $a7_tmp_title; if (isset($a7_size)) { echo ' ('; list($a7_tmp_width,$a7_tmp_height)=explode('x',$a7_size);echo $a7_tmp_width.'x'.$a7_tmp_height; echo')';} ?>" src="<?php echo $a7_tmp_image_file ?>" border="0"<?php if(isset($a7_align)) echo ' align="'.$a7_align.'"' ?><?php if (isset($a7_size)) { list($a7_tmp_width,$a7_tmp_height)=explode('x',$a7_size);echo ' width="'.$a7_tmp_width.'" height="'.$a7_tmp_height.'"';} ?>><?php unset($a7_icon,$a7_align) ?><?php $a7_list='groups';$a7_name='groupid';$a7_onchange='submit()';$a7_title='';$a7_class='';$a7_addempty='group';$a7_multiple=false;$a7_size='1';$a7_lang=false; ?><?php -$a7_readonly=false; -$a7_tmp_list = $$a7_list; -if ($this->isEditable() && !$this->isEditMode()) -{ - echo empty($$a7_name)?'- '.lang('EMPTY').' -':$a7_tmp_list[$$a7_name]; -} -else -{ -if ( $a7_addempty!==FALSE ) -{ - if ($a7_addempty===TRUE) - $a7_tmp_list = array(''=>lang('LIST_ENTRY_EMPTY'))+$a7_tmp_list; - else - $a7_tmp_list = array(''=>'- '.lang($a7_addempty).' -')+$a7_tmp_list; -} -?><select<?php if ($a7_readonly) echo ' disabled="disabled"' ?> id="id_<?php echo $a7_name ?>" name="<?php echo $a7_name; if ($a7_multiple) echo '[]'; ?>" onchange="<?php echo $a7_onchange ?>" title="<?php echo $a7_title ?>" class="<?php echo $a7_class ?>"<?php -if (count($$a7_list)<=1) echo ' disabled="disabled"'; -if ($a7_multiple) echo ' multiple="multiple"'; -if (in_array($a7_name,$errors)) echo ' style="background-color:red; border:2px dashed red;"'; -echo ' size="'.intval($a7_size).'"'; -?>><?php - if ( isset($$a7_name) && isset($a7_tmp_list[$$a7_name]) ) - $a7_tmp_default = $$a7_name; - elseif ( isset($a7_default) ) - $a7_tmp_default = $a7_default; - else - $a7_tmp_default = ''; - foreach( $a7_tmp_list as $box_key=>$box_value ) - { - if ( is_array($box_value) ) - { - $box_key = $box_value['key' ]; - $box_title = $box_value['title']; - $box_value = $box_value['value']; - } - elseif( $a7_lang ) - { - $box_title = lang( $box_value.'_DESC'); - $box_value = lang( $box_value ); - } - else - { - $box_title = ''; - } - echo '<option class="'.$a7_class.'" value="'.$box_key.'" title="'.$box_title.'"'; - if ((string)$box_key==$a7_tmp_default) - echo ' selected="selected"'; - echo '>'.$box_value.'</option>'; - } -?></select><?php -if (count($$a7_list)==0) echo '<input type="hidden" name="'.$a7_name.'" value="" />'; -if (count($$a7_list)==1) echo '<input type="hidden" name="'.$a7_name.'" value="'.$box_key.'" />'; -} -?><?php unset($a7_list,$a7_name,$a7_onchange,$a7_title,$a7_class,$a7_addempty,$a7_multiple,$a7_size,$a7_lang) ?><?php $a7_type='ok';$a7_class='ok';$a7_value='ok';$a7_text='>'; ?><?php - if ($this->isEditable() && !$this->isEditMode()) - $a7_text = 'MODE_EDIT'; - $a7_type = 'submit'; - if ( $this->isEditable() && readonly() ) - $a7_type = ''; // Knopf nicht anzeigen - $a7_src = ''; - if ( !empty($a7_type) ) { -?><input type="<?php echo $a7_type ?>"<?php if(isset($a7_src)) { ?> src="<?php echo $image_dir.'icon_'.$a7_src.IMG_ICON_EXT ?>"<?php } ?> name="<?php echo $a7_value ?>" class="ok" title="<?php echo lang($a7_text.'_DESC') ?>" value="&nbsp;&nbsp;&nbsp;&nbsp;<?php echo langHtml($a7_text) ?>&nbsp;&nbsp;&nbsp;&nbsp;" /><?php unset($a7_src) -?><?php } -?><?php unset($a7_type,$a7_class,$a7_value,$a7_text) ?></form> -</td><?php } ?></tr><?php - $row_idx = $last_row_idx; - $column_idx = $last_column_idx; -?> -</table></body> -</html>- \ No newline at end of file diff --git a/themes/default/pages/html/treetitle/show.tpl.php b/themes/default/pages/html/treetitle/show.tpl.php @@ -1,232 +0,0 @@ -<?php $a1_class='menu'; ?><?php - if (!defined('OR_VERSION')) die('Forbidden'); - if (!headers_sent()) header('Content-Type: text/html; charset='.$charset) -?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<html> -<head> - <title><?php echo isset($a1_title)?langHtml($a1_title).' - ':(isset($windowTitle)?langHtml($windowTitle).' - ':'') ?><?php echo $cms_title ?></title> - <meta http-equiv="content-type" content="text/html; charset=<?php echo $charset ?>" > -<?php if ( isset($refresh_url) ) { ?> - <meta http-equiv="refresh" content="<?php echo isset($refresh_timeout)?$refresh_timeout:0 ?>; URL=<?php echo $refresh_url; if (ini_get('session.use_trans_sid')) echo '&'.session_name().'='.session_id(); ?>"> -<?php } ?> - <meta name="MSSmartTagsPreventParsing" content="true" > - <meta name="robots" content="noindex,nofollow" > -<?php if (isset($windowMenu) && is_array($windowMenu)) foreach( $windowMenu as $menu ) - { - ?> - <link rel="section" href="<?php echo Html::url($actionName,@$menu['subaction'],$this->getRequestId() ) ?>" title="<?php echo lang($menu['text']) ?>" > -<?php - } -?><?php if (isset($metaList) && is_array($metaList)) foreach( $metaList as $meta ) - { - ?> - <link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo $meta['title'] ?>" ><?php - } -?><?php if(!empty($root_stylesheet)) { ?> - <link rel="stylesheet" type="text/css" href="<?php echo $root_stylesheet ?>" > -<?php } ?> -<?php if($root_stylesheet!=$user_stylesheet) { ?> - <link rel="stylesheet" type="text/css" href="<?php echo $user_stylesheet ?>" > -<?php } ?> -</head> -<body class="menu" <?php if (@$conf['interface']['application_mode']) { ?> style="padding:0px;margin:0px;"<?php } ?> > -<?php /* Debug-Information */ if ($showDuration) { echo "<!-- Output Variables are:\n";echo str_replace('-->','-- >',print_r($this->templateVars,true));echo "\n-->";} ?><?php unset($a1_class) ?><?php $a2_class='treemenu';$a2_width='100%';$a2_space='0';$a2_padding='5'; ?><?php - $last_row_idx = @$row_idx; - $last_column_idx = @$column_idx; - $row_idx = 0; - $column_idx = 0; - $coloumn_widths = array(); - $row_classes = array(); - $column_classes = array(); -?><table class="treemenu" cellspacing="0" width="100%" cellpadding="5"> -<?php unset($a2_class,$a2_width,$a2_space,$a2_padding) ?><?php $a3_true=! @$conf['interface']['application_mode']; ?><?php - if (gettype($a3_true) === '' && gettype($a3_true) === '1') - $a3_tmp_exec = $$a3_true == true; - else - $a3_tmp_exec = $a3_true == true; - $a3_tmp_last_exec = $a3_tmp_exec; - if ( $a3_tmp_exec ) - { -?> -<?php unset($a3_true) ?><?php $a4_class='title'; ?><?php - $row_idx++; - $column_idx = 0; -?> -<tr - class="title" -> -<?php unset($a4_class) ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> -><?php $a6_align='left';$a6_type=$type; ?><?php - $a6_tmp_image_file = $image_dir.'icon_'.$a6_type.IMG_ICON_EXT; - $a6_size = '16x16'; - $a6_tmp_title = basename($a6_tmp_image_file); -?><img alt="<?php echo $a6_tmp_title; if (isset($a6_size)) { echo ' ('; list($a6_tmp_width,$a6_tmp_height)=explode('x',$a6_size);echo $a6_tmp_width.'x'.$a6_tmp_height; echo')';} ?>" src="<?php echo $a6_tmp_image_file ?>" border="0"<?php if(isset($a6_align)) echo ' align="'.$a6_align.'"' ?><?php if (isset($a6_size)) { list($a6_tmp_width,$a6_tmp_height)=explode('x',$a6_size);echo ' width="'.$a6_tmp_width.'" height="'.$a6_tmp_height.'"';} ?>><?php unset($a6_align,$a6_type) ?><?php $a6_list='path';$a6_extract=true;$a6_key='list_key';$a6_value='xy'; ?><?php - $a6_list_tmp_key = $a6_key; - $a6_list_tmp_value = $a6_value; - $a6_list_extract = $a6_extract; - unset($a6_key); - unset($a6_value); - if ( !isset($$a6_list) || !is_array($$a6_list) ) - $$a6_list = array(); - foreach( $$a6_list as $$a6_list_tmp_key => $$a6_list_tmp_value ) - { - if ( $a6_list_extract ) - { - if ( !is_array($$a6_list_tmp_value) ) - { - print_r($$a6_list_tmp_value); - die( 'not an array at key: '.$$a6_list_tmp_key ); - } - extract($$a6_list_tmp_value); - } -?><?php unset($a6_list,$a6_extract,$a6_key,$a6_value) ?><?php $a7_title='title';$a7_target='cms_main';$a7_url=$url;$a7_class='path'; ?><?php - $params = array(); - $tmp_url = ''; - $tmp_url = $a7_url; -?><a<?php if (isset($a7_name)) echo ' name="'.$a7_name.'"'; else echo ' href="'.$tmp_url.(isset($a7_anchor)?'#'.$a7_anchor:'').'"' ?> class="<?php echo $a7_class ?>" target="<?php echo $a7_target ?>"<?php if (isset($a7_accesskey)) echo ' accesskey="'.$a7_accesskey.'"' ?> title="<?php echo encodeHtml($a7_title) ?>"><?php unset($a7_title,$a7_target,$a7_url,$a7_class) ?><?php $a8_class='text';$a8_var='name';$a8_maxlength='20';$a8_escape=true;$a8_cut='both'; ?><?php - $a8_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a8_class ?>" title="<?php echo $a8_title ?>"><?php - $langF = $a8_escape?'langHtml':'lang'; - $tmp_text = isset($$a8_var)?$$a8_var:$langF('UNKNOWN'); - $tmp_text = Text::maxLength( $tmp_text,intval($a8_maxlength),'..',constant('STR_PAD_'.strtoupper($a8_cut)) ); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a8_class,$a8_var,$a8_maxlength,$a8_escape,$a8_cut) ?></a><?php $a7_type='filesep'; ?><?php - if ($a7_type=='filesep') - echo '&nbsp;<strong>&raquo;</strong>&nbsp;'; - else - echo "char error"; -?><?php unset($a7_type) ?><?php } ?><?php $a6_title=$text;$a6_class='title';$a6_var='text';$a6_maxlength='20';$a6_escape=true;$a6_cut='both'; ?><?php - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a6_class ?>" title="<?php echo $a6_title ?>"><?php - $langF = $a6_escape?'langHtml':'lang'; - $tmp_text = isset($$a6_var)?$$a6_var:$langF('UNKNOWN'); - $tmp_text = Text::maxLength( $tmp_text,intval($a6_maxlength),'..',constant('STR_PAD_'.strtoupper($a6_cut)) ); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a6_title,$a6_class,$a6_var,$a6_maxlength,$a6_escape,$a6_cut) ?></td></tr><?php } ?><?php $a3_class='menu'; ?><?php - $row_idx++; - $column_idx = 0; -?> -<tr - class="menu" -> -<?php unset($a3_class) ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> -><?php $a5_class='submenu';$a5_width='100%';$a5_space='0px';$a5_padding='0px'; ?><?php - $last_row_idx = @$row_idx; - $last_column_idx = @$column_idx; - $row_idx = 0; - $column_idx = 0; - $coloumn_widths = array(); - $row_classes = array(); - $column_classes = array(); -?><table class="submenu" cellspacing="0px" width="100%" cellpadding="0px"> -<?php unset($a5_class,$a5_width,$a5_space,$a5_padding) ?><?php - $row_idx++; - $column_idx = 0; -?> -<tr -> -<?php $a7_list='windowMenu';$a7_extract=true;$a7_key='list_key';$a7_value='list_value'; ?><?php - $a7_list_tmp_key = $a7_key; - $a7_list_tmp_value = $a7_value; - $a7_list_extract = $a7_extract; - unset($a7_key); - unset($a7_value); - if ( !isset($$a7_list) || !is_array($$a7_list) ) - $$a7_list = array(); - foreach( $$a7_list as $$a7_list_tmp_key => $$a7_list_tmp_value ) - { - if ( $a7_list_extract ) - { - if ( !is_array($$a7_list_tmp_value) ) - { - print_r($$a7_list_tmp_value); - die( 'not an array at key: '.$$a7_list_tmp_key ); - } - extract($$a7_list_tmp_value); - } -?><?php unset($a7_list,$a7_extract,$a7_key,$a7_value) ?><?php $a8_not='';$a8_empty='url'; ?><?php - if ( !isset($$a8_empty) ) - $a8_tmp_exec = empty($a8_empty); - elseif ( is_array($$a8_empty) ) - $a8_tmp_exec = (count($$a8_empty)==0); - elseif ( is_bool($$a8_empty) ) - $a8_tmp_exec = true; - else - $a8_tmp_exec = empty( $$a8_empty ); - $a8_tmp_exec = !$a8_tmp_exec; - $a8_tmp_last_exec = $a8_tmp_exec; - if ( $a8_tmp_exec ) - { -?> -<?php unset($a8_not,$a8_empty) ?><?php $a9_class='action'; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> - class="action" -><?php unset($a9_class) ?><?php $a10_title=lang($title);$a10_target='_parent';$a10_url=$url;$a10_class='menu';$a10_accesskey=lang($key); ?><?php - $params = array(); - $tmp_url = ''; - $tmp_url = $a10_url; -?><a<?php if (isset($a10_name)) echo ' name="'.$a10_name.'"'; else echo ' href="'.$tmp_url.(isset($a10_anchor)?'#'.$a10_anchor:'').'"' ?> class="<?php echo $a10_class ?>" target="<?php echo $a10_target ?>"<?php if (isset($a10_accesskey)) echo ' accesskey="'.$a10_accesskey.'"' ?> title="<?php echo encodeHtml($a10_title) ?>"><?php unset($a10_title,$a10_target,$a10_url,$a10_class,$a10_accesskey) ?><?php $a11_class='text';$a11_key=$text;$a11_accesskey=lang($key);$a11_escape=true;$a11_cut='both'; ?><?php - $a11_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a11_class ?>" title="<?php echo $a11_title ?>"><?php - $langF = $a11_escape?'langHtml':'lang'; - $tmp_text = $langF($a11_key); - $pos = strpos(strtolower($tmp_text),strtolower($a11_accesskey)); - if ( $pos !== false ) - $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a11_class,$a11_key,$a11_accesskey,$a11_escape,$a11_cut) ?></a></td><?php } ?><?php if (!$a8_tmp_last_exec) { ?> -<?php $a9_class='noaction'; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> - class="noaction" -><?php unset($a9_class) ?><?php $a10_class='text';$a10_key=$text;$a10_accesskey=lang($key);$a10_escape=true;$a10_cut='both'; ?><?php - $a10_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a10_class ?>" title="<?php echo $a10_title ?>"><?php - $langF = $a10_escape?'langHtml':'lang'; - $tmp_text = $langF($a10_key); - $pos = strpos(strtolower($tmp_text),strtolower($a10_accesskey)); - if ( $pos !== false ) - $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a10_class,$a10_key,$a10_accesskey,$a10_escape,$a10_cut) ?></td><?php } -unset($a7_tmp_last_exec) ?><?php $a8_var='url';$a8_value=''; ?><?php - if (isset($a8_key)) - $$a8_var = $a8_value[$a8_key]; - else - $$a8_var = $a8_value; -?><?php unset($a8_var,$a8_value) ?><?php } ?></tr><?php - $row_idx = $last_row_idx; - $column_idx = $last_column_idx; -?> -</table></td></tr><?php - $row_idx = $last_row_idx; - $column_idx = $last_column_idx; -?> -</table></body> -</html>- \ No newline at end of file diff --git a/themes/default/templates/background/show.tpl.src.php b/themes/default/templates/background/show.tpl.src.php @@ -1 +0,0 @@ -page class:background- \ No newline at end of file diff --git a/themes/default/templates/border/show.tpl.src.php b/themes/default/templates/border/show.tpl.src.php @@ -1 +0,0 @@ -page class:border- \ No newline at end of file diff --git a/themes/default/templates/empty/background.tpl.src.php b/themes/default/templates/empty/background.tpl.src.php @@ -1 +0,0 @@ -page class:background- \ No newline at end of file diff --git a/themes/default/templates/empty/blank.tpl.src.php b/themes/default/templates/empty/blank.tpl.src.php @@ -1 +0,0 @@ -page- \ No newline at end of file diff --git a/themes/default/templates/empty/border.tpl.src.php b/themes/default/templates/empty/border.tpl.src.php @@ -1 +0,0 @@ -page class:border- \ No newline at end of file diff --git a/themes/default/templates/main/menu.tpl.src.php b/themes/default/templates/main/menu.tpl.src.php @@ -1,20 +0,0 @@ -page - table padding:5 space:0 width:100% - - row - cell class:menu - image type:type - - list list:path extract:true value:xy - #image type:icon - link url:url title:title class:path target:cms_main - text var:name maxlength:20 - char type:filesep - - text var:text title:text class:title - row - cell class:subaction - list list:windowMenu extract:true - link url:url target:cms_main_main - text var:text - text raw:__ diff --git a/themes/default/templates/main/show.tpl.src.php b/themes/default/templates/main/show.tpl.src.php @@ -1,11 +0,0 @@ -frameset-page - if true:config:interface/application_mode - set var:menuheight value:30 - else - set var:menuheight value:60 -# frameset rows:3,{menuheight},*,3 - frameset rows:{menuheight},* -# frame file:frame_src_border - frame file:var:frame_src_main_menu name:cms_main_menu - frame file:var:frame_src_main_main name:cms_main_main scrolling:auto -# frame file:frame_src_border- \ No newline at end of file diff --git a/themes/default/templates/mainmenu/show.tpl.src.php b/themes/default/templates/mainmenu/show.tpl.src.php @@ -1,43 +0,0 @@ -page class:menu - table padding:5 space:0 width:100% class:mainmenu - - if true:!config:interface/application_mode - row class:title - cell - if not:true value:var:type equals:empty - image type:var:type - - list list:path extract:true value:xy - - link url:var:url title:var:title class:path target:cms_main - text var:name maxlength:15 - char type:filesep - - text var:text title:var:text class:title maxlength:20 - - cell class:menu style::text-align:right; - if true:property:search - form action:search subaction:quicksearch target:cms_main_main - input class:search name:search size:15 - // button class:searchbutton type:ok src:search - if true:config:search/quicksearch/show_button - button class:searchbutton type:ok text:search - // list list:windowIcons extract:true - // link url:var:url target:_top - // image type:var:type align:middle - - row class:menu - cell colspan:2 - table class:submenu - row - # Schleife �ber alle Men�punkte - list list:windowMenu extract:true value:xy - if not:true empty:url - # Menuepunkt - cell class:action - link url:var:url target:cms_main_main title:messagevar:title accesskey:var:key - text key:var:text accesskey:var:key - else - cell class:noaction - text key:var:text - diff --git a/themes/default/templates/status/show.tpl.src.php b/themes/default/templates/status/show.tpl.src.php @@ -1,45 +0,0 @@ -page class:status - table - row - if present:projects - cell - form target:_top action:index subaction:project method:post - input type:hidden name:idvar default:text:projectid - image icon:project - selectbox list:projects name:projectid addempty:projects onchange:submit() - button type:ok text:message:> - if value:size:models greaterthan:1 - cell - form target:_top action:index subaction:model method:get - input type:hidden name:idvar default:text:modelid - image icon:model - selectbox list:models name:modelid addempty:model onchange:submit() - button type:ok text:> - if value:size:languages greaterthan:1 - cell - form target:_top action:index subaction:language method:get - input type:hidden name:idvar default:text:languageid - image icon:language - selectbox list:languages name:languageid addempty:language onchange:submit() - button type:ok text:> - if present:templates - cell - form target:cms_main action:main subaction:template method:get - input type:hidden name:idvar default:text:templateid - image icon:template - selectbox list:templates name:templateid addempty:template onchange:submit() - button type:ok text:> - if present:users - cell - form target:cms_main action:main subaction:user method:get - input type:hidden name:idvar default:text:userid - image icon:user - selectbox list:users name:userid addempty:user onchange:submit() - button type:ok text:> - if present:groups - cell - form target:cms_main action:main subaction:group method:get - input type:hidden name:idvar default:text:groupid - image icon:group - selectbox list:groups name:groupid addempty:group onchange:submit() - button type:ok text:>- \ No newline at end of file diff --git a/themes/default/templates/treetitle/show.tpl.src.php b/themes/default/templates/treetitle/show.tpl.src.php @@ -1,30 +0,0 @@ -page class:menu - table padding:5 space:0 width:100% class:treemenu - - if true:!config:interface/application_mode - row class:title - cell - image type:var:type - - list list:path extract:true value:xy - #image type:icon - link url:var:url title:title class:path target:cms_main - text var:name maxlength:20 - char type:filesep - - text var:text title:var:text class:title maxlength:20 - row class:menu - # Menueleiste - cell - table class:submenu - row - # Schleife ueber alle Menuepunkte - list list:windowMenu extract:true - if not: empty:url - cell class:action - link url:var:url title:messagevar:title target:_parent accesskey:messagevar:key class:menu - text key:var:text accesskey:messagevar:key - else - cell class:noaction - text key:var:text accesskey:messagevar:key - set var:url value: