aboutsummaryrefslogtreecommitdiff
path: root/views/default/forms/photos
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2012-01-02 12:45:16 -0500
committercash <cash.costello@gmail.com>2012-01-02 12:45:16 -0500
commit20ab73de5248b3418bbbad27850e3d3e093c473c (patch)
treecf15a58ad857fbaa4f9b2521c5a7d17ed619f303 /views/default/forms/photos
parent86535f77d6b32a2c8a403609ded299a76c73bba0 (diff)
downloadelgg-20ab73de5248b3418bbbad27850e3d3e093c473c.tar.gz
elgg-20ab73de5248b3418bbbad27850e3d3e093c473c.tar.bz2
added photo tagging - but not displaying or deleting tags yet
Diffstat (limited to 'views/default/forms/photos')
-rw-r--r--views/default/forms/photos/image/tag.php33
1 files changed, 33 insertions, 0 deletions
diff --git a/views/default/forms/photos/image/tag.php b/views/default/forms/photos/image/tag.php
new file mode 100644
index 000000000..31869be9e
--- /dev/null
+++ b/views/default/forms/photos/image/tag.php
@@ -0,0 +1,33 @@
+<?php
+/**
+ * Tag select form body
+ *
+ * @uses $vars['entity']
+ *
+ * @author Cash Costello
+ * @license http://www.gnu.org/licenses/gpl-2.0.html GNU General Public License v2
+ */
+
+echo '<div class="elgg-col elgg-col-4of5">';
+
+echo elgg_view('input/autocomplete', array(
+ 'name' => 'username',
+ 'match_on' => 'friends',
+));
+
+echo elgg_view('input/hidden', array(
+ 'name' => 'guid',
+ 'value' => $vars['entity']->getGUID(),
+));
+
+echo elgg_view('input/hidden', array(
+ 'name' => 'coordinates',
+));
+
+echo '</div>';
+
+echo '<div class="elgg-col elgg-col-1of5 center">';
+echo elgg_view('input/submit', array(
+ 'value' => elgg_echo('tidypics:actiontag'),
+));
+echo '</div>';