aboutsummaryrefslogtreecommitdiff
path: root/w/class/controllermedia.php
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2018-10-25 20:25:05 +0200
committervincent-peugnet <v.peugnet@free.fr>2018-10-25 20:25:05 +0200
commita91c916248f967da2d4218b575e665242b7c975b (patch)
tree3c767e9b7b62161253aef2d93030f4b38fd47d49 /w/class/controllermedia.php
parent7b2e48276b2a3ceff83c906d38077f8d0479c3df (diff)
downloadwcms-a91c916248f967da2d4218b575e665242b7c975b.tar.gz
wcms-a91c916248f967da2d4218b575e665242b7c975b.zip
phoenixreborn\'NWY
Diffstat (limited to 'w/class/controllermedia.php')
-rw-r--r--w/class/controllermedia.php38
1 files changed, 38 insertions, 0 deletions
diff --git a/w/class/controllermedia.php b/w/class/controllermedia.php
new file mode 100644
index 0000000..8557e74
--- /dev/null
+++ b/w/class/controllermedia.php
@@ -0,0 +1,38 @@
+<?php
+
+class Controllermedia extends Controller
+{
+ protected $medialist;
+ protected $mediamanager;
+
+ public function __construct() {
+ parent::__construct();
+
+ $this->mediamanager = new Modelmedia;
+
+ }
+
+ public function desktop()
+ {
+
+ if($this->useriseditor()) {
+
+
+ echo $this->templates->render('media', ['interface' => 'desktop']);
+
+ }
+ }
+
+ public function addmedia()
+ {
+ echo $this->templates->render('media', ['interface' => 'addmedia']);
+
+ //$message = $this->mediamanager->addmedia($_FILES, 2 ** 24, $_POST['id']);
+
+ }
+
+
+}
+
+
+?> \ No newline at end of file