commit a25d4a83f59cb78258fc019da5de3b7b152364eb
parent e154996459dd37df8d8d8ec87f5d40ab19fc3533
Author: Jan Dankert <devnull@localhost>
Date: Thu, 7 Dec 2017 00:10:34 +0100
Fehlende Importe ergänzt.
Diffstat:
3 files changed, 11 insertions(+), 17 deletions(-)
diff --git a/action/PageAction.class.php b/action/PageAction.class.php
@@ -11,23 +11,11 @@ use cms\model\Folder;
use cms\model\Object;
use cms\model\Language;
use cms\model\Model;
+use \Html;
+use Http;
+use Logger;
+use Session;
-// 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.
/**
* Action-Klasse zum Bearbeiten einer Seite
diff --git a/action/PageelementAction.class.php b/action/PageelementAction.class.php
@@ -9,6 +9,11 @@ use cms\model\Template;
use cms\model\Page;
use cms\model\Folder;
use cms\model\Object;
+use Html;
+use Http;
+use Session;
+use Transformer;
+use \Text;
// OpenRat Content Management System
// Copyright (C) 2002-2012 Jan Dankert, cms@jandankert.de
@@ -66,7 +71,7 @@ class PageelementAction extends Action
/**
* Konstruktor
*/
- function PageelementAction()
+ function __construct()
{
$this->value = new Value();
diff --git a/action/TemplateAction.class.php b/action/TemplateAction.class.php
@@ -11,6 +11,7 @@ use cms\model\Page;
use Session;
use \Html;
+use \Text;
// OpenRat Content Management System
// Copyright (C) 2002-2009 Jan Dankert