summaryrefslogtreecommitdiffstats
path: root/views/users/Photos
diff options
context:
space:
mode:
authorraylu <raylu@mixpanel.com>2011-07-02 16:51:32 -0700
committerraylu <raylu@mixpanel.com>2011-07-02 16:51:32 -0700
commit83483a1826d1d05e2f9733746f35fef1939b8c0a (patch)
treea2c382bfc4e3f5b8554604f0595e51119547fa43 /views/users/Photos
parent495e795089e2839474a653733dd0adf2c6c43105 (diff)
downloadotakuhub-83483a1826d1d05e2f9733746f35fef1939b8c0a.tar.xz
lowercase
Diffstat (limited to 'views/users/Photos')
-rw-r--r--views/users/Photos/index.html.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/views/users/Photos/index.html.php b/views/users/Photos/index.html.php
new file mode 100644
index 0000000..ba0fd60
--- /dev/null
+++ b/views/users/Photos/index.html.php
@@ -0,0 +1,7 @@
+<?php if (count($photo) == 0): ?>
+<?= $this->html->link("photo::add", "Add a photo"); ?>
+<?php else: ?>
+<?php foreach($photo as $photos): ?>
+<img src="$photo" ?>
+<?php endforeach; ?>
+<?php endif; ?> \ No newline at end of file