summaryrefslogtreecommitdiffstats
path: root/views/Photos
diff options
context:
space:
mode:
Diffstat (limited to 'views/Photos')
-rw-r--r--views/Photos/add.html.php5
-rw-r--r--views/Photos/index.html.php7
-rw-r--r--views/Photos/view.html.php1
3 files changed, 0 insertions, 13 deletions
diff --git a/views/Photos/add.html.php b/views/Photos/add.html.php
deleted file mode 100644
index cd6e508..0000000
--- a/views/Photos/add.html.php
+++ /dev/null
@@ -1,5 +0,0 @@
-<h1>Upload a photo</h1>
-<?= $this->form->create($photo, array('type' => 'file')); ?>
- <?= $this->form->field('file', array('type' => 'file')); ?>
- <?= $this->form->submit("Upload"); ?>
-<?= $this->form->end(); ?> \ No newline at end of file
diff --git a/views/Photos/index.html.php b/views/Photos/index.html.php
deleted file mode 100644
index 5d10867..0000000
--- a/views/Photos/index.html.php
+++ /dev/null
@@ -1,7 +0,0 @@
-<?php if (count($photos) == 0): ?>
-<?= $this->html->link("Add a photo","photos::add"); ?>
-<?php else: ?>
-<?php foreach($photos as $photo): ?>
- <?=$this->html->image("/photos/view/{$photo->_id}.jpg"); ?>
-<?php endforeach; ?>
-<?php endif; ?> \ No newline at end of file
diff --git a/views/Photos/view.html.php b/views/Photos/view.html.php
deleted file mode 100644
index c492b6e..0000000
--- a/views/Photos/view.html.php
+++ /dev/null
@@ -1 +0,0 @@
-<?= var_dump($photo); ?> \ No newline at end of file