From 83483a1826d1d05e2f9733746f35fef1939b8c0a Mon Sep 17 00:00:00 2001 From: raylu Date: Sat, 2 Jul 2011 16:51:32 -0700 Subject: lowercase --- views/photos/add.html.php | 5 +++++ views/photos/index.html.php | 7 +++++++ views/photos/view.html.php | 1 + 3 files changed, 13 insertions(+) create mode 100644 views/photos/add.html.php create mode 100644 views/photos/index.html.php create mode 100644 views/photos/view.html.php (limited to 'views/photos') diff --git a/views/photos/add.html.php b/views/photos/add.html.php new file mode 100644 index 0000000..cd6e508 --- /dev/null +++ b/views/photos/add.html.php @@ -0,0 +1,5 @@ +

Upload a photo

+form->create($photo, array('type' => 'file')); ?> + form->field('file', array('type' => 'file')); ?> + form->submit("Upload"); ?> +form->end(); ?> \ No newline at end of file diff --git a/views/photos/index.html.php b/views/photos/index.html.php new file mode 100644 index 0000000..5d10867 --- /dev/null +++ b/views/photos/index.html.php @@ -0,0 +1,7 @@ + +html->link("Add a photo","photos::add"); ?> + + + html->image("/photos/view/{$photo->_id}.jpg"); ?> + + \ No newline at end of file diff --git a/views/photos/view.html.php b/views/photos/view.html.php new file mode 100644 index 0000000..c492b6e --- /dev/null +++ b/views/photos/view.html.php @@ -0,0 +1 @@ + \ No newline at end of file -- cgit v1.2.3