openrat-cms

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

commit 884cff104f219c12bd8e5a9bb6be278cebbc871c
parent 24eb728147efbec08a538a0b5b6db30a44a71bc5
Author: Jan Dankert <devnull@localhost>
Date:   Wed, 31 Oct 2012 21:10:38 +0100

Aufgeräumt: Lizenzangaben vereinheitlicht.

Diffstat:
action/Action.class.php | 5+----
action/ConfigurationAction.class.php | 2+-
action/ElementAction.class.php | 2+-
action/FileAction.class.php | 5+----
action/FilebrowserAction.class.php | 5+----
action/FolderAction.class.php | 4+---
action/GroupAction.class.php | 6+-----
action/GrouplistAction.class.php | 6+-----
action/IndexAction.class.php | 2+-
action/LanguageAction.class.php | 41+----------------------------------------
action/LanguagelistAction.class.php | 41+----------------------------------------
action/LinkAction.class.php | 38+-------------------------------------
action/LoginAction.class.php | 4----
action/ModelAction.class.php | 38+-------------------------------------
action/ModellistAction.class.php | 2+-
action/ObjectAction.class.php | 71+----------------------------------------------------------------------
action/PageAction.class.php | 6+-----
action/PageelementAction.class.php | 6+-----
action/ProfileAction.class.php | 5+----
action/ProjectAction.class.php | 2+-
action/ProjectlistAction.class.php | 2+-
action/SearchAction.class.php | 6+-----
action/StartAction.class.php | 4----
action/TreeAction.class.php | 4+---
action/UserAction.class.php | 5+----
action/UserlistAction.class.php | 5+----
dynamicClasses/Album.class.php | 2+-
dynamicClasses/ClassicMenu.class.php | 2+-
dynamicClasses/TeaserList.class.php | 2+-
functions/config.inc.php | 16++--------------
functions/db.inc.php | 34++++++++++++++++------------------
functions/language.inc.php | 35++++++++++++++++-------------------
functions/request.inc.php | 25++-----------------------
model/Acl.class.php | 2+-
model/Element.class.php | 4++--
model/File.class.php | 4++--
model/Folder.class.php | 2+-
model/Group.class.php | 2+-
model/Language.class.php | 2+-
model/Link.class.php | 2+-
model/Model.class.php | 2+-
model/Object.class.php | 2+-
model/ObjectFactory.php | 8++------
model/Page.class.php | 4++--
model/Project.class.php | 2+-
model/Template.class.php | 3++-
model/User.class.php | 4++--
model/Value.class.php | 4++--
util/AbstractTree.class.php | 35+++++++++++++++++------------------
util/AdministrationTree.class.php | 35+++++++++++++++++------------------
util/Api.class.php | 26+++-----------------------
util/Code.class.php | 13++-----------
util/Dynamic.class.php | 38+++-----------------------------------
util/Ftp.class.php | 35+++++++++++++++++------------------
util/Html.class.php | 17+++++++++++++++++
util/Http.class.php | 17+++++++++++++++++
util/Ldap.class.php | 34++++++++++++++++------------------
util/Logger.class.php | 23+----------------------
util/Mail.class.php | 33++++++++++++++++-----------------
util/OpenId.class.php | 17++++++++++++++++-
util/Preferences.class.php | 16++++++++++++++++
util/ProjectTree.class.php | 34++++++++++++++++------------------
util/Publish.class.php | 34++++++++++++++++------------------
util/Session.class.php | 5+----
util/Sql.class.php | 6+-----
util/TemplateEngine.class.php | 34++++++++++++++++------------------
util/Text.class.php | 38+-------------------------------------
util/TreeElement.class.php | 35+++++++++++++++++------------------
util/Upload.class.php | 26+-------------------------
69 files changed, 312 insertions(+), 719 deletions(-)

diff --git a/action/Action.class.php b/action/Action.class.php @@ -1,9 +1,6 @@ <?php -// --------------------------------------------------------------------------- -// $Id$ -// --------------------------------------------------------------------------- // OpenRat Content Management System -// Copyright (C) 2002-2004 Jan Dankert, cms@jandankert.de +// Copyright (C) 2002-2012 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 diff --git a/action/ConfigurationAction.class.php b/action/ConfigurationAction.class.php @@ -1,6 +1,6 @@ <?php // OpenRat Content Management System -// Copyright (C) 2002-2010 Jan Dankert +// Copyright (C) 2002-2012 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 diff --git a/action/ElementAction.class.php b/action/ElementAction.class.php @@ -1,6 +1,6 @@ <?php // OpenRat Content Management System -// Copyright (C) 2002-2010 Jan Dankert +// Copyright (C) 2002-2012 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 diff --git a/action/FileAction.class.php b/action/FileAction.class.php @@ -1,9 +1,6 @@ <?php -// --------------------------------------------------------------------------- -// $Id$ -// --------------------------------------------------------------------------- // OpenRat Content Management System -// Copyright (C) 2002-2004 Jan Dankert, cms@jandankert.de +// Copyright (C) 2002-2012 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 diff --git a/action/FilebrowserAction.class.php b/action/FilebrowserAction.class.php @@ -1,9 +1,6 @@ <?php -// --------------------------------------------------------------------------- -// $Id$ -// --------------------------------------------------------------------------- // OpenRat Content Management System -// Copyright (C) 2002-2004 Jan Dankert, cms@jandankert.de +// Copyright (C) 2002-2012 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 diff --git a/action/FolderAction.class.php b/action/FolderAction.class.php @@ -1,6 +1,6 @@ <?php // OpenRat Content Management System -// Copyright (C) 2002-2004 Jan Dankert, cms@jandankert.de +// Copyright (C) 2002-2012 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 @@ -34,8 +34,6 @@ class FolderAction extends ObjectAction { $this->folder = new Folder( $this->getRequestId() ); $this->folder->load(); - - //$this->lastModified( $this->folder->lastchangeDate ); } diff --git a/action/GroupAction.class.php b/action/GroupAction.class.php @@ -1,9 +1,6 @@ <?php -// --------------------------------------------------------------------------- -// $Id$ -// --------------------------------------------------------------------------- // OpenRat Content Management System -// Copyright (C) 2002-2004 Jan Dankert, cms@jandankert.de +// Copyright (C) 2002-2012 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 @@ -18,7 +15,6 @@ // 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. -// --------------------------------------------------------------------------- /** diff --git a/action/GrouplistAction.class.php b/action/GrouplistAction.class.php @@ -1,9 +1,6 @@ <?php -// --------------------------------------------------------------------------- -// $Id$ -// --------------------------------------------------------------------------- // OpenRat Content Management System -// Copyright (C) 2002-2004 Jan Dankert, cms@jandankert.de +// Copyright (C) 2002-2012 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 @@ -18,7 +15,6 @@ // 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. -// --------------------------------------------------------------------------- /** diff --git a/action/IndexAction.class.php b/action/IndexAction.class.php @@ -1,6 +1,6 @@ <?php // OpenRat Content Management System -// Copyright (C) 2002-2010 Jan Dankert +// Copyright (C) 2002-2012 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 diff --git a/action/LanguageAction.class.php b/action/LanguageAction.class.php @@ -1,9 +1,6 @@ <?php -// --------------------------------------------------------------------------- -// $Id$ -// --------------------------------------------------------------------------- // OpenRat Content Management System -// Copyright (C) 2002-2004 Jan Dankert, cms@jandankert.de +// Copyright (C) 2002-2012 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 @@ -18,42 +15,6 @@ // 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-05-24 19:47:48 dankert -// Direktes Ausw?hlen von Sprache/Modell in der Projektauswahlliste. -// -// Revision 1.10 2007-05-08 21:16:20 dankert -// Korrektur und Erweiterung von Hinzuf?gen/Bearbeiten von Sprachen. -// -// Revision 1.9 2007/01/21 22:26:45 dankert -// Korreketur beim Hinzuf?gen/Entfernen von Sprachen. -// -// Revision 1.8 2006/01/29 17:18:59 dankert -// Steuerung der Aktionsklasse ?ber .ini-Datei, dazu umbenennen einzelner Methoden -// -// Revision 1.7 2004/12/25 20:50:13 dankert -// Korrektur Sprach-Aenderung -// -// Revision 1.6 2004/12/19 14:55:00 dankert -// Korrektur der Laenderlisten -// -// Revision 1.5 2004/12/13 22:17:51 dankert -// URL-Korrektur -// -// Revision 1.4 2004/11/27 13:06:44 dankert -// Ausgabe von Meldungen -// -// Revision 1.3 2004/11/10 22:37:23 dankert -// Korrektur Auswahl-Url -// -// 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 -// -// --------------------------------------------------------------------------- /** diff --git a/action/LanguagelistAction.class.php b/action/LanguagelistAction.class.php @@ -1,9 +1,6 @@ <?php -// --------------------------------------------------------------------------- -// $Id$ -// --------------------------------------------------------------------------- // OpenRat Content Management System -// Copyright (C) 2002-2004 Jan Dankert, cms@jandankert.de +// Copyright (C) 2002-2012 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 @@ -18,42 +15,6 @@ // 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-05-24 19:47:48 dankert -// Direktes Ausw?hlen von Sprache/Modell in der Projektauswahlliste. -// -// Revision 1.10 2007-05-08 21:16:20 dankert -// Korrektur und Erweiterung von Hinzuf?gen/Bearbeiten von Sprachen. -// -// Revision 1.9 2007/01/21 22:26:45 dankert -// Korreketur beim Hinzuf?gen/Entfernen von Sprachen. -// -// Revision 1.8 2006/01/29 17:18:59 dankert -// Steuerung der Aktionsklasse ?ber .ini-Datei, dazu umbenennen einzelner Methoden -// -// Revision 1.7 2004/12/25 20:50:13 dankert -// Korrektur Sprach-Aenderung -// -// Revision 1.6 2004/12/19 14:55:00 dankert -// Korrektur der Laenderlisten -// -// Revision 1.5 2004/12/13 22:17:51 dankert -// URL-Korrektur -// -// Revision 1.4 2004/11/27 13:06:44 dankert -// Ausgabe von Meldungen -// -// Revision 1.3 2004/11/10 22:37:23 dankert -// Korrektur Auswahl-Url -// -// 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 -// -// --------------------------------------------------------------------------- /** diff --git a/action/LinkAction.class.php b/action/LinkAction.class.php @@ -1,9 +1,6 @@ <?php -// --------------------------------------------------------------------------- -// $Id$ -// --------------------------------------------------------------------------- // OpenRat Content Management System -// Copyright (C) 2002-2004 Jan Dankert, cms@jandankert.de +// Copyright (C) 2002-2012 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 @@ -18,39 +15,6 @@ // 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.10 2009-03-22 21:49:08 dankert -// Subaction "showprop" entfernt, da in "prop" mit aufgegangen. -// -// Revision 1.9 2006/06/02 19:49:06 dankert -// Bearbeiten von Verkn?pfungen -// -// Revision 1.8 2006/01/29 17:18:58 dankert -// Steuerung der Aktionsklasse ?ber .ini-Datei, dazu umbenennen einzelner Methoden -// -// Revision 1.7 2006/01/23 23:10:45 dankert -// *** empty log message *** -// -// Revision 1.6 2004/12/20 22:04:25 dankert -// kein Lesen der Benutzer -// -// Revision 1.5 2004/12/15 23:23:11 dankert -// Anpassung an Session-Funktionen -// -// Revision 1.4 2004/11/24 21:28:36 dankert -// "Verschieben" entfernt -// -// Revision 1.3 2004/05/02 14:49:37 dankert -// Einf?gen package-name (@package) -// -// Revision 1.2 2004/04/30 20:31:47 dankert -// Berechtigungen anzeigen -// -// Revision 1.1 2004/04/24 15:14:52 dankert -// Initiale Version -// -// --------------------------------------------------------------------------- /** diff --git a/action/LoginAction.class.php b/action/LoginAction.class.php @@ -1,7 +1,4 @@ <?php -// --------------------------------------------------------------------------- -// $Id$ -// --------------------------------------------------------------------------- // OpenRat Content Management System // Copyright (C) 2002-2007 Jan Dankert, jandankert@jandankert.de // @@ -17,7 +14,6 @@ // 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. -// --------------------------------------------------------------------------- define('PROJECTID_ADMIN',-1); diff --git a/action/ModelAction.class.php b/action/ModelAction.class.php @@ -1,9 +1,6 @@ <?php -// --------------------------------------------------------------------------- -// $Id$ -// --------------------------------------------------------------------------- // OpenRat Content Management System -// Copyright (C) 2002-2004 Jan Dankert, cms@jandankert.de +// Copyright (C) 2002-2012 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 @@ -18,39 +15,6 @@ // 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.10 2007-05-08 20:25:58 dankert -// Erweiterung der Methode "checkmenu()" -// -// Revision 1.9 2007-05-08 20:21:03 dankert -// ?berschreiben der Methode "checkmenu()" -// -// Revision 1.8 2007-04-08 21:18:16 dankert -// Korrektur URL in listing() -// -// Revision 1.7 2007/01/21 22:27:49 dankert -// Direkt Punkt "Bearbeiten" ?ffnen. -// -// Revision 1.6 2006/01/29 17:18:58 dankert -// Steuerung der Aktionsklasse ?ber .ini-Datei, dazu umbenennen einzelner Methoden -// -// Revision 1.5 2004/12/19 14:55:27 dankert -// Anpassung von urls -// -// Revision 1.4 2004/12/13 22:17:51 dankert -// URL-Korrektur -// -// Revision 1.3 2004/05/07 21:37:31 dankert -// Url ?ber Html::url erzeugen -// -// 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 -// -// --------------------------------------------------------------------------- /** diff --git a/action/ModellistAction.class.php b/action/ModellistAction.class.php @@ -1,6 +1,6 @@ <?php // OpenRat Content Management System -// Copyright (C) 2002-2004 Jan Dankert, cms@jandankert.de +// Copyright (C) 2002-2012 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 diff --git a/action/ObjectAction.class.php b/action/ObjectAction.class.php @@ -1,9 +1,6 @@ <?php -// --------------------------------------------------------------------------- -// $Id$ -// --------------------------------------------------------------------------- // OpenRat Content Management System -// Copyright (C) 2002-2004 Jan Dankert, cms@jandankert.de +// Copyright (C) 2002-2012 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 @@ -18,72 +15,6 @@ // 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.12 2009-03-22 21:13:22 dankert -// Rechte-Seite auch für Nicht-Ordner editierbar, damit Rechte löschbar sind. -// -// Revision 1.11 2009-03-19 04:36:42 dankert -// Neue Methode "inherit()". -// -// Revision 1.10 2009-03-19 02:02:43 dankert -// Keine ererbten Rechte anzeigen. -// -// Revision 1.9 2009-03-06 13:00:40 dankert -// Zeichenketten 'action' und 'subaction' durch Konstanten ersetzt. -// -// Revision 1.8 2007-11-09 20:41:51 dankert -// Hinweismeldungen setzen. -// -// Revision 1.7 2007-10-29 23:29:17 dankert -// Konstanten f?r Request-Variablen. -// -// Revision 1.6 2006/01/29 17:25:07 dankert -// Methode setWindowMenu() entfernt -// -// Revision 1.5 2006/01/23 23:10:46 dankert -// *** empty log message *** -// -// Revision 1.4 2004/12/19 14:56:33 dankert -// Abfrage von Rechten -// -// Revision 1.3 2004/11/28 19:25:38 dankert -// Anpassen an neue Sprachdatei-Konventionen -// -// Revision 1.2 2004/11/28 16:55:20 dankert -// Berechtigungen f?r "alle" hinzufuegen -// -// Revision 1.1 2004/11/27 13:08:22 dankert -// Neu: Beinhaltet objekt?bergreifende Methoden. Die Klassen File,Page,Link und Folder erben nun von dieser Klasse -// -// Revision 1.9 2004/11/10 22:36:16 dankert -// Dateioperationen, Verschieben/Kopieren/Verknuepfen von mehreren Objekten in einem Arbeitsschritt -// -// Revision 1.8 2004/10/14 22:57:44 dankert -// Neue Verknuepfungen mit dem Linknamen als Url vorbelegen -// -// Revision 1.7 2004/10/13 21:18:50 dankert -// Neue Links zum Verschieben nach ganz oben/unten -// -// Revision 1.6 2004/05/07 21:30:59 dankert -// Korrektur up_url -// -// Revision 1.5 2004/05/07 21:29:16 dankert -// Url ?ber Html::url erzeugen -// -// Revision 1.4 2004/05/02 14:49:37 dankert -// Einf?gen package-name (@package) -// -// Revision 1.3 2004/04/28 20:01:52 dankert -// Ordner l?schen erm?glichen -// -// Revision 1.2 2004/04/24 16:57:13 dankert -// Korrektur: pub() -// -// Revision 1.1 2004/04/24 15:14:52 dankert -// Initiale Version -// -// --------------------------------------------------------------------------- /** diff --git a/action/PageAction.class.php b/action/PageAction.class.php @@ -1,9 +1,6 @@ <?php -// --------------------------------------------------------------------------- -// $Id$ -// --------------------------------------------------------------------------- // OpenRat Content Management System -// Copyright (C) 2002-2004 Jan Dankert, cms@jandankert.de +// Copyright (C) 2002-2012 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 @@ -18,7 +15,6 @@ // 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 zum Bearbeiten einer Seite diff --git a/action/PageelementAction.class.php b/action/PageelementAction.class.php @@ -1,9 +1,6 @@ <?php -// --------------------------------------------------------------------------- -// $Id$ -// --------------------------------------------------------------------------- // OpenRat Content Management System -// Copyright (C) 2002-2004 Jan Dankert, cms@jandankert.de +// Copyright (C) 2002-2012 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 @@ -18,7 +15,6 @@ // 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. -// --------------------------------------------------------------------------- /** diff --git a/action/ProfileAction.class.php b/action/ProfileAction.class.php @@ -1,9 +1,6 @@ <?php -// --------------------------------------------------------------------------- -// $Id$ -// --------------------------------------------------------------------------- // OpenRat Content Management System -// Copyright (C) 2002-2004 Jan Dankert, cms@jandankert.de +// Copyright (C) 2002-2012 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 diff --git a/action/ProjectAction.class.php b/action/ProjectAction.class.php @@ -1,6 +1,6 @@ <?php // OpenRat Content Management System -// Copyright (C) 2002-2004 Jan Dankert, cms@jandankert.de +// Copyright (C) 2002-2012 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 diff --git a/action/ProjectlistAction.class.php b/action/ProjectlistAction.class.php @@ -1,6 +1,6 @@ <?php // OpenRat Content Management System -// Copyright (C) 2002-2004 Jan Dankert, cms@jandankert.de +// Copyright (C) 2002-2012 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 diff --git a/action/SearchAction.class.php b/action/SearchAction.class.php @@ -1,9 +1,6 @@ <?php -// --------------------------------------------------------------------------- -// $Id$ -// --------------------------------------------------------------------------- // OpenRat Content Management System -// Copyright (C) 2002-2004 Jan Dankert, cms@jandankert.de +// Copyright (C) 2002-2012 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 @@ -18,7 +15,6 @@ // 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 Suchfunktion. diff --git a/action/StartAction.class.php b/action/StartAction.class.php @@ -1,7 +1,4 @@ <?php -// --------------------------------------------------------------------------- -// $Id$ -// --------------------------------------------------------------------------- // OpenRat Content Management System // Copyright (C) 2002-2007 Jan Dankert, jandankert@jandankert.de // @@ -17,7 +14,6 @@ // 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. -// --------------------------------------------------------------------------- if ( !defined('PROJECTID_ADMIN') ) diff --git a/action/TreeAction.class.php b/action/TreeAction.class.php @@ -1,6 +1,5 @@ <?php -// --------------------------------------------------------------------------- -// DaCMS Content Management System +// OpenRat Content Management System // Copyright (C) 2002 Jan Dankert, jandankert@jandankert.de // // This program is free software; you can redistribute it and/or @@ -16,7 +15,6 @@ // 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 zum Laden/Anzeigen des Navigations-Baumes diff --git a/action/UserAction.class.php b/action/UserAction.class.php @@ -1,9 +1,6 @@ <?php -// --------------------------------------------------------------------------- -// $Id$ -// --------------------------------------------------------------------------- // OpenRat Content Management System -// Copyright (C) 2002-2004 Jan Dankert, cms@jandankert.de +// Copyright (C) 2002-2012 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 diff --git a/action/UserlistAction.class.php b/action/UserlistAction.class.php @@ -1,9 +1,6 @@ <?php -// --------------------------------------------------------------------------- -// $Id$ -// --------------------------------------------------------------------------- // OpenRat Content Management System -// Copyright (C) 2002-2004 Jan Dankert, cms@jandankert.de +// Copyright (C) 2002-2012 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 diff --git a/dynamicClasses/Album.class.php b/dynamicClasses/Album.class.php @@ -1,6 +1,6 @@ <?php // OpenRat Content Management System -// Copyright (C) 2002-2010 Jan Dankert +// Copyright (C) 2002-2012 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 diff --git a/dynamicClasses/ClassicMenu.class.php b/dynamicClasses/ClassicMenu.class.php @@ -1,6 +1,6 @@ <?php // OpenRat Content Management System -// Copyright (C) 2002-2010 Jan Dankert +// Copyright (C) 2002-2012 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 diff --git a/dynamicClasses/TeaserList.class.php b/dynamicClasses/TeaserList.class.php @@ -1,6 +1,6 @@ <?php // OpenRat Content Management System -// Copyright (C) 2002-2010 Jan Dankert +// Copyright (C) 2002-2012 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 diff --git a/functions/config.inc.php b/functions/config.inc.php @@ -1,7 +1,6 @@ <?php -// --------------------------------------------------------------------------- -// DaCMS Content Management System -// Copyright (C) 2002 Jan Dankert, jandankert@jandankert.de +// OpenRat Content Management System +// Copyright (C) 2002-2012 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 @@ -16,17 +15,6 @@ // 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. -// --------------------------------------------------------------------------- -// $Id$ -// --------------------------------------------------------------------------- -// $Log$ -// Revision 1.2 2004-12-15 23:20:04 dankert -// aufgeraeumt -// -// Revision 1.1 2004/05/02 19:27:22 dankert -// Initiale Version -// -// --------------------------------------------------------------------------- $conf_logfile = $conf['log']['file']; diff --git a/functions/db.inc.php b/functions/db.inc.php @@ -1,22 +1,20 @@ <?php -# -# DaCMS 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. -# +// OpenRat Content Management System +// Copyright (C) 2002-2012 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. // Namen der Datenbanktabellen in Variablen schreiben diff --git a/functions/language.inc.php b/functions/language.inc.php @@ -1,23 +1,20 @@ <?php - -# -# DaCMS Content Management System -# Copyright (C) 2002,2003 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. -# +// OpenRat Content Management System +// Copyright (C) 2002-2012 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. /** diff --git a/functions/request.inc.php b/functions/request.inc.php @@ -1,9 +1,6 @@ <?php -// --------------------------------------------------------------------------- -// $Id$ -// --------------------------------------------------------------------------- -// DaCMS Content Management System -// Copyright (C) 2002 Jan Dankert, jandankert@jandankert.de +// OpenRat Content Management System +// Copyright (C) 2002-2012 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 @@ -18,24 +15,6 @@ // 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 2007-11-09 00:01:44 dankert -// Bugfix: Request-Variablen k?nnen Arrays sein. -// -// Revision 1.4 2007-05-14 23:29:06 dankert -// Falls REGISTER_GLOBALS aktiviert ist, dann alle REQUEST-Variablen aus dem globalen G?ltigkeitsraum entfernen. -// -// Revision 1.3 2004/12/19 21:16:43 dankert -// Workaround, falls magic_quotes_gpc eingeschaltet ist -// -// Revision 1.2 2004/11/10 22:44:36 dankert -// *** empty log message *** -// -// Revision 1.1 2004/05/02 19:27:22 dankert -// Initiale Version -// -// --------------------------------------------------------------------------- $REQ = array_merge($_GET,$_POST); diff --git a/model/Acl.class.php b/model/Acl.class.php @@ -1,6 +1,6 @@ <?php // OpenRat Content Management System -// Copyright (C) 2002-2009 Jan Dankert, jandankert@jandankert.de +// Copyright (C) 2002-2012 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 diff --git a/model/Element.class.php b/model/Element.class.php @@ -1,6 +1,6 @@ <?php // OpenRat Content Management System -// Copyright (C) 2002-2010 Jan Dankert, jandankert@jandankert.de +// Copyright (C) 2002-2012 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 @@ -192,7 +192,7 @@ SQL function setDatabaseRow( $prop ) { if ( count($prop) <= 0 ) - return; + throw new ObjectNotFoundException("Element not found"); $this->elementid = $prop['id' ]; $this->templateid = $prop['templateid']; diff --git a/model/File.class.php b/model/File.class.php @@ -1,6 +1,6 @@ <?php // OpenRat Content Management System -// Copyright (C) 2002-2009 Jan Dankert, jandankert@jandankert.de +// Copyright (C) 2002-2012 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 @@ -73,7 +73,7 @@ class File extends Object */ function File( $objectid='' ) { - global $conf,$SESS; + global $conf; $db = Session::getDatabase(); $this->storeValueAsBase64 = $db->conf['base64']; diff --git a/model/Folder.class.php b/model/Folder.class.php @@ -1,6 +1,6 @@ <?php // OpenRat Content Management System -// Copyright (C) 2002-2010 Jan Dankert, jandankert@jandankert.de +// Copyright (C) 2002-2012 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 diff --git a/model/Group.class.php b/model/Group.class.php @@ -1,6 +1,6 @@ <?php // OpenRat Content Management System -// Copyright (C) 2002-2010 Jan Dankert, jandankert@jandankert.de +// Copyright (C) 2002-2012 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 diff --git a/model/Language.class.php b/model/Language.class.php @@ -1,6 +1,6 @@ <?php // OpenRat Content Management System -// Copyright (C) 2002-2010 Jan Dankert, jandankert@jandankert.de +// Copyright (C) 2002-2012 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 diff --git a/model/Link.class.php b/model/Link.class.php @@ -1,6 +1,6 @@ <?php // OpenRat Content Management System -// Copyright (C) 2002-2004 Jan Dankert, jandankert@jandankert.de +// Copyright (C) 2002-2012 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 diff --git a/model/Model.class.php b/model/Model.class.php @@ -1,6 +1,6 @@ <?php // OpenRat Content Management System -// Copyright (C) 2002-2010 Jan Dankert, jandankert@jandankert.de +// Copyright (C) 2002-2012 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 diff --git a/model/Object.class.php b/model/Object.class.php @@ -1,6 +1,6 @@ <?php // OpenRat Content Management System -// Copyright (C) 2002-2009 Jan Dankert, jandankert@jandankert.de +// Copyright (C) 2002-2012 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 diff --git a/model/ObjectFactory.php b/model/ObjectFactory.php @@ -1,9 +1,6 @@ <?php -// --------------------------------------------------------------------------- -// $Id$ -// --------------------------------------------------------------------------- -// DaCMS Content Management System -// Copyright (C) 2002 Jan Dankert, jandankert@jandankert.de +// OpenRat Content Management System +// Copyright (C) 2002-2012 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 @@ -18,7 +15,6 @@ // 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. -// --------------------------------------------------------------------------- class ObjectFactory { diff --git a/model/Page.class.php b/model/Page.class.php @@ -1,6 +1,6 @@ <?php -// DaCMS Content Management System -// Copyright (C) 2002 Jan Dankert, jandankert@jandankert.de +// OpenRat Content Management System +// Copyright (C) 2002-2012 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 diff --git a/model/Project.class.php b/model/Project.class.php @@ -1,6 +1,6 @@ <?php // OpenRat Content Management System -// Copyright (C) 2002-2010 Jan Dankert, jandankert@jandankert.de +// Copyright (C) 2002-2012 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 diff --git a/model/Template.class.php b/model/Template.class.php @@ -1,6 +1,6 @@ <?php // OpenRat Content Management System -// Copyright (C) 2002-2010 Jan Dankert, jandankert@jandankert.de +// Copyright (C) 2002-2012 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 @@ -67,6 +67,7 @@ class Template { $model = Session::getProjectModel(); $project = Session::getProject(); + if ( is_object($model) ) $this->modelid = $model->modelid; if ( is_object($project) ) diff --git a/model/User.class.php b/model/User.class.php @@ -1,6 +1,6 @@ <?php -// DaCMS Content Management System -// Copyright (C) 2002 Jan Dankert, jandankert@jandankert.de +// OpenRat Content Management System +// Copyright (C) 2002-2012 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 diff --git a/model/Value.class.php b/model/Value.class.php @@ -1,6 +1,6 @@ <?php -// DaCMS Content Management System -// Copyright (C) 2002 Jan Dankert, jandankert@jandankert.de +// OpenRat Content Management System +// Copyright (C) 2002-2012 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 diff --git a/util/AbstractTree.class.php b/util/AbstractTree.class.php @@ -1,22 +1,21 @@ <?php -# -# DaCMS 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. -# +// OpenRat Content Management System +// Copyright (C) 2002-2012 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. + /** * Darstellen einer Baumstruktur mit Funktion zum Laden, Oeffnen und Schliessen diff --git a/util/AdministrationTree.class.php b/util/AdministrationTree.class.php @@ -1,22 +1,21 @@ <?php -# -# DaCMS 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. -# +// OpenRat Content Management System +// Copyright (C) 2002-2012 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. + /** * Darstellen einer Baumstruktur mit Administrationfunktionen diff --git a/util/Api.class.php b/util/Api.class.php @@ -1,9 +1,6 @@ <?php -// --------------------------------------------------------------------------- -// $Id$ -// --------------------------------------------------------------------------- -// DaCMS Content Management System -// Copyright (C) 2002 Jan Dankert, jandankert@jandankert.de +// OpenRat Content Management System +// Copyright (C) 2002-2012 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 @@ -18,24 +15,7 @@ // 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-11-10 22:50:10 dankert -// Neue Methode execute() -// -// Revision 1.4 2004/10/06 09:53:39 dankert -// Benutzung auch nicht-statisch -// -// Revision 1.3 2004/05/03 20:21:34 dankert -// neu: setObjectId() -// -// Revision 1.2 2004/05/02 15:04:16 dankert -// Einf?gen package-name (@package) -// -// Revision 1.1 2004/04/24 17:03:29 dankert -// Initiale Version -// -// --------------------------------------------------------------------------- + /** * Service-Klasse fuer allgemeine Interface-Methoden. Insbesondere diff --git a/util/Code.class.php b/util/Code.class.php @@ -1,9 +1,6 @@ <?php -// --------------------------------------------------------------------------- -// $Id$ -// --------------------------------------------------------------------------- -// DaCMS Content Management System -// Copyright (C) 2002 Jan Dankert, jandankert@jandankert.de +// OpenRat Content Management System +// Copyright (C) 2002-2012 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 @@ -18,12 +15,6 @@ // 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.1 2004-12-15 23:14:21 dankert -// *** empty log message *** -// -// --------------------------------------------------------------------------- /** * @author $Author$ diff --git a/util/Dynamic.class.php b/util/Dynamic.class.php @@ -1,9 +1,6 @@ <?php -// --------------------------------------------------------------------------- -// $Id$ -// --------------------------------------------------------------------------- -// DaCMS Content Management System -// Copyright (C) 2002 Jan Dankert, jandankert@jandankert.de +// OpenRat Content Management System +// Copyright (C) 2002-2012 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 @@ -18,36 +15,7 @@ // 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.4 2005-01-03 19:38:03 dankert -// Neue Methode outputLn -// -// Revision 1.3 2004/12/19 21:49:02 dankert -// Methode pathToObject() -// -// Revision 1.2 2004/12/19 15:25:12 dankert -// Anpassung Session-Funktionen -// -// Revision 1.1 2004/12/15 23:14:21 dankert -// *** empty log message *** -// -// Revision 1.5 2004/11/10 22:50:10 dankert -// Neue Methode execute() -// -// Revision 1.4 2004/10/06 09:53:39 dankert -// Benutzung auch nicht-statisch -// -// Revision 1.3 2004/05/03 20:21:34 dankert -// neu: setObjectId() -// -// Revision 1.2 2004/05/02 15:04:16 dankert -// Einf?gen package-name (@package) -// -// Revision 1.1 2004/04/24 17:03:29 dankert -// Initiale Version -// -// --------------------------------------------------------------------------- + /** * Service-Klasse fuer allgemeine Interface-Methoden. Insbesondere diff --git a/util/Ftp.class.php b/util/Ftp.class.php @@ -1,22 +1,21 @@ <?php -# -# DaCMS 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. -# +// OpenRat Content Management System +// Copyright (C) 2002-2012 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. + /** * Darstellen einer FTP-Verbindung, das beinhaltet diff --git a/util/Html.class.php b/util/Html.class.php @@ -1,4 +1,21 @@ <?php +// OpenRat Content Management System +// Copyright (C) 2002-2012 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. + /** * Bereitstellen von Methoden fuer die Darstellung von HTML-Elementen diff --git a/util/Http.class.php b/util/Http.class.php @@ -1,4 +1,21 @@ <?php +// OpenRat Content Management System +// Copyright (C) 2002-2012 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. + /** * Kapselung einer HTTP-Anfrage.<br> diff --git a/util/Ldap.class.php b/util/Ldap.class.php @@ -1,22 +1,20 @@ <?php -# -# DaCMS 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. -# +// OpenRat Content Management System +// Copyright (C) 2002-2012 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. /** * Bereitstellen von LDAP-Funktionen. diff --git a/util/Logger.class.php b/util/Logger.class.php @@ -1,9 +1,6 @@ <?php -// --------------------------------------------------------------------------- -// $Id$ -// --------------------------------------------------------------------------- // OpenRat Content Management System -// Copyright (C) 2002 Jan Dankert, jandankert@jandankert.de +// Copyright (C) 2002-2012 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 @@ -18,24 +15,6 @@ // 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 2007-11-08 21:32:06 dankert -// Aktion-Name mitloggen. -// -// Revision 1.4 2004/11/10 22:50:37 dankert -// Benutzen von Konstanten zur Performancesteigerung -// -// Revision 1.3 2004/10/04 19:57:17 dankert -// Bugfix und trace() -// -// Revision 1.2 2004/05/02 15:04:16 dankert -// Einf?gen package-name (@package) -// -// Revision 1.1 2004/04/24 17:03:28 dankert -// Initiale Version -// -// --------------------------------------------------------------------------- switch( strtolower($conf['log']['level']) ) diff --git a/util/Mail.class.php b/util/Mail.class.php @@ -1,21 +1,20 @@ <?php -/* -OpenRat Content Management System -Copyright (C) Jan Dankert - -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 -or 3 of the License. - -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, see <http://www.gnu.org/licenses/>. -*/ +// OpenRat Content Management System +// Copyright (C) 2002-2012 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. /** * Erzeugen und Versender einer E-Mail gemaess RFC 822.<br> diff --git a/util/OpenId.class.php b/util/OpenId.class.php @@ -1,5 +1,20 @@ <?php - +// OpenRat Content Management System +// Copyright (C) 2002-2012 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. /** * Open-Id Authentisierung gem�� OpenId-Spezifikation 1.0. diff --git a/util/Preferences.class.php b/util/Preferences.class.php @@ -1,4 +1,20 @@ <?php +// OpenRat Content Management System +// Copyright (C) 2002-2012 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. /** * Hilfsmethoden fuer das Lesen von Einstellungen. diff --git a/util/ProjectTree.class.php b/util/ProjectTree.class.php @@ -1,22 +1,20 @@ <?php -# -# DaCMS 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. -# +// OpenRat Content Management System +// Copyright (C) 2002-2012 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. /** * Darstellen der Projektstruktur diff --git a/util/Publish.class.php b/util/Publish.class.php @@ -1,22 +1,20 @@ <?php -# -# DaCMS 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. -# +// OpenRat Content Management System +// Copyright (C) 2002-2012 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. /** * Diese Klasse kapselt das Veroeffentlichen von Dateien.<br> diff --git a/util/Session.class.php b/util/Session.class.php @@ -1,9 +1,6 @@ <?php -// --------------------------------------------------------------------------- -// $Id$ -// --------------------------------------------------------------------------- // OpenRat Content Management System -// Copyright (C) 2002-2004 Jan Dankert, cms@jandankert.de +// Copyright (C) 2002-2012 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 diff --git a/util/Sql.class.php b/util/Sql.class.php @@ -1,7 +1,4 @@ <?php -// --------------------------------------------------------------------------- -// $Id$ -// --------------------------------------------------------------------------- // OpenRat Content Management System // Copyright (C) 2002-2006 Jan Dankert, jandankert@jandankert.de // @@ -18,7 +15,6 @@ // 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. -// --------------------------------------------------------------------------- @@ -312,7 +308,7 @@ class Sql /** * Ermittelt die fertige SQL-Anfrage. - * @param Name einer Funktion, die eine Zeichenkette für die + * @param Name einer Funktion, die eine Zeichenkette f�r die * Datenbank schuetzt. Dies kann je nach verwendetem RDBMS * unterschiedlich sein, daher diese Funktionsreferenz. */ diff --git a/util/TemplateEngine.class.php b/util/TemplateEngine.class.php @@ -1,22 +1,20 @@ <?php -# -# OpenRat Content Management System -# Copyright (C) 2002-2009 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. -# +// OpenRat Content Management System +// Copyright (C) 2002-2009 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. /** * Wandelt eine Vorlage in ein PHP-Skript um. diff --git a/util/Text.class.php b/util/Text.class.php @@ -1,8 +1,5 @@ <?php -// --------------------------------------------------------------------------- -// $Id$ -// --------------------------------------------------------------------------- -// DaCMS Content Management System +// OpenRat Content Management System // Copyright (C) 2002 Jan Dankert, jandankert@jandankert.de // // This program is free software; you can redistribute it and/or @@ -18,39 +15,6 @@ // 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.10 2009-04-18 00:56:14 dankert -// Beim Verarbeiten von if-empty-Bereichen der Seitenvorlage keine regulären Ausdrücke mehr verwenden (da Binärausgaben wie PDF-Dokumente dabei beschädigt werden). -// -// Revision 1.9 2007-11-27 21:16:33 dankert -// Bugfix in "encodeHtmlSpecialChars()" -// -// Revision 1.8 2007-11-27 21:10:35 dankert -// Verschieben von "replaceHtmlChars()" nach Klasse Text. -// -// Revision 1.7 2007-11-24 13:22:04 dankert -// Neue Methode "encodeHtmlSpecialChars()" -// -// Revision 1.6 2007-11-17 13:36:06 dankert -// Methode "textdiff()" in Text-Klasse verschoben. -// -// Revision 1.5 2006/12/09 16:56:40 dankert -// Methode "encodeHtml()" ersetzt nun auch Umlaute gem. Konfiguration. -// -// Revision 1.4 2005/04/16 22:26:15 dankert -// Erweiterung Methode maxLength() -// -// Revision 1.3 2005/02/17 21:22:22 dankert -// Weitere Funktionen f?r HTML und BB-Code -// -// Revision 1.2 2004/05/02 15:04:16 dankert -// Einf�gen package-name (@package) -// -// Revision 1.1 2004/04/24 17:03:28 dankert -// Initiale Version -// -// --------------------------------------------------------------------------- /** diff --git a/util/TreeElement.class.php b/util/TreeElement.class.php @@ -1,22 +1,21 @@ <?php -# -# DaCMS 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. -# + +// OpenRat Content Management System +// Copyright (C) 2002-2012 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. /** * Darstellen eines Elementes in einer Baumstruktur diff --git a/util/Upload.class.php b/util/Upload.class.php @@ -1,9 +1,6 @@ <?php -// --------------------------------------------------------------------------- -// $Id$ -// --------------------------------------------------------------------------- // OpenRat Content Management System -// Copyright (C) 2002-2004 Jan Dankert, jandankert@jandankert.de +// Copyright (C) 2002-2012 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 @@ -18,27 +15,6 @@ // 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 2007-11-22 21:20:21 dankert -// Fehlerhandling, wenn Upload misslingt. -// -// Revision 1.4 2007-10-25 22:28:18 dankert -// Filemanager f?r den FCK-Editor mit Zugriff auf OpenRat-Verzeichnis. -// -// Revision 1.3 2007-10-02 21:13:44 dankert -// Men?punkt "Neu" mit direktem Hinzuf?gen von Objekten. -// -// Revision 1.2 2004/05/02 15:04:16 dankert -// Einfügen package-name (@package) -// -// Revision 1.1 2004/04/24 17:03:28 dankert -// Initiale Version -// -// Revision 1.1 2003/10/27 23:21:55 dankert -// Methode(n) hinzugefügt: savevalue(), save() -// -// --------------------------------------------------------------------------- /** * Methoden fuer den Upload einer Datei