commit 41301eaca38e8a7a9111b8749eefde2839c09cbf
parent a25d4a83f59cb78258fc019da5de3b7b152364eb
Author: Jan Dankert <devnull@localhost>
Date: Thu, 7 Dec 2017 00:38:24 +0100
Importe ergänzt, damit die Makros weiterhin funktionieren.
Diffstat:
22 files changed, 40 insertions(+), 22 deletions(-)
diff --git a/macro/Album.class.php b/macro/Album.class.php
@@ -15,7 +15,8 @@
// 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.
-
+use cms\model\File;
+use cms\model\Folder;
/**
diff --git a/macro/Atom.class.php b/macro/Atom.class.php
@@ -19,7 +19,9 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
// ---------------------------------------------------------------------------
-
+use cms\model\Folder;
+use cms\model\Object;
+use cms\model\Page;
/**
diff --git a/macro/BlockMenu.class.php b/macro/BlockMenu.class.php
@@ -27,7 +27,8 @@
// Erzeugen eines Menues in Bloecken
//
// ---------------------------------------------------------------------------
-
+use cms\model\Folder;
+use cms\model\Object;
/**
diff --git a/macro/BreadCrumb.class.php b/macro/BreadCrumb.class.php
@@ -30,7 +30,7 @@
// Beispiele fuer dynamische Templateelemente
//
// ---------------------------------------------------------------------------
-
+use cms\model\Folder;
/**
diff --git a/macro/CSVTable.class.php b/macro/CSVTable.class.php
@@ -15,7 +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.
-
+use cms\model\File;
/**
diff --git a/macro/ClassicMenu.class.php b/macro/ClassicMenu.class.php
@@ -15,7 +15,8 @@
// 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.
-
+use cms\model\Folder;
+use cms\model\Page;
/**
diff --git a/macro/CommonMenu.class.php b/macro/CommonMenu.class.php
@@ -30,7 +30,8 @@
// Beispiele fuer dynamische Templateelemente
//
// ---------------------------------------------------------------------------
-
+use cms\model\Folder;
+use cms\model\Page;
/**
diff --git a/macro/DoiMenu.class.php b/macro/DoiMenu.class.php
@@ -33,7 +33,9 @@
// Erzeugen und Anzeigen einer Sitemap
//
// ---------------------------------------------------------------------------
-
+use cms\model\File;
+use cms\model\Folder;
+use cms\model\Page;
/**
diff --git a/macro/LanguageLinksForPage.class.php b/macro/LanguageLinksForPage.class.php
@@ -21,6 +21,8 @@
// ---------------------------------------------------------------------------
// $Log$
// ---------------------------------------------------------------------------
+use cms\model\Language;
+
/**
* Erstellen einer Liste von Language-Links auf die selbe Seite
* @author Tobias Schoene
diff --git a/macro/LastChanges.class.php b/macro/LastChanges.class.php
@@ -15,7 +15,9 @@
// 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.
-
+use cms\model\Folder;
+use cms\model\Link;
+use cms\model\Page;
/**
@@ -61,7 +63,7 @@ class LastChanges extends Macro
}
elseif ( $this->folderid > 0 )
{
- $f = new folder( $this->folderid );
+ $f = new Folder( $this->folderid );
$changes = $f->getLastChanges();
}
else
diff --git a/macro/LastPage.class.php b/macro/LastPage.class.php
@@ -27,7 +27,7 @@
// Beispiele fuer dynamische Templateelemente
//
// ---------------------------------------------------------------------------
-
+use cms\model\Folder;
/**
diff --git a/macro/Link.class.php b/macro/Link.class.php
@@ -27,7 +27,7 @@
// Beispiele fuer dynamische Templateelemente
//
// ---------------------------------------------------------------------------
-
+use cms\model\Object;
/**
diff --git a/macro/ListMenu.class.php b/macro/ListMenu.class.php
@@ -30,7 +30,8 @@
// Erzeugen eines Menues in Bloecken
//
// ---------------------------------------------------------------------------
-
+use cms\model\Folder;
+use cms\model\Object;
/**
diff --git a/macro/MainMenu.class.php b/macro/MainMenu.class.php
@@ -27,7 +27,8 @@
// Erzeugen eines Hauptmenues
//
// ---------------------------------------------------------------------------
-
+use cms\model\Folder;
+use cms\model\Object;
/**
diff --git a/macro/NextPage.class.php b/macro/NextPage.class.php
@@ -27,7 +27,7 @@
// Beispiele fuer dynamische Templateelemente
//
// ---------------------------------------------------------------------------
-
+use cms\model\Folder;
/**
diff --git a/macro/PagesNavigation.class.php b/macro/PagesNavigation.class.php
@@ -27,7 +27,7 @@
// Beispiele fuer dynamische Templateelemente
//
// ---------------------------------------------------------------------------
-
+use cms\model\Folder;
/**
diff --git a/macro/RSSCreate.class.php b/macro/RSSCreate.class.php
@@ -33,7 +33,7 @@
// Erzeugen eines RSS-Feeds aus einem Ordner
//
// ---------------------------------------------------------------------------
-
+use cms\model\Folder;
/**
diff --git a/macro/Sitemap.class.php b/macro/Sitemap.class.php
@@ -27,7 +27,9 @@
// Erzeugen und Anzeigen einer Sitemap
//
// ---------------------------------------------------------------------------
-
+use cms\model\Folder;
+use cms\model\Object;
+use cms\model\Page;
/**
diff --git a/macro/TableFromFile.class.php b/macro/TableFromFile.class.php
@@ -15,7 +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.
-
+use cms\model\File;
/**
diff --git a/macro/TagCloud.class.php b/macro/TagCloud.class.php
@@ -15,7 +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.
-
+use cms\model\Folder;
/**
diff --git a/macro/TagList.class.php b/macro/TagList.class.php
@@ -15,7 +15,8 @@
// 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.
-
+use cms\model\Folder;
+use cms\model\Link;
/**
diff --git a/macro/TeaserList.class.php b/macro/TeaserList.class.php
@@ -15,7 +15,8 @@
// 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.
-
+use cms\model\Folder;
+use cms\model\Page;
/**