aboutsummaryrefslogtreecommitdiff
path: root/views/default/forms/friends/collectionfields.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-15 12:39:32 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-15 12:39:32 +0000
commit2165e929ddf954f02a589234b2e0faef7ef18df7 (patch)
tree50789b5acf6a922c06d9b726f30bc9e16ce46084 /views/default/forms/friends/collectionfields.php
parentd43e034a36768b945986f827f81618492a58f750 (diff)
downloadelgg-2165e929ddf954f02a589234b2e0faef7ef18df7.tar.gz
elgg-2165e929ddf954f02a589234b2e0faef7ef18df7.tar.bz2
moved friend forms into forms directory
git-svn-id: http://code.elgg.org/elgg/trunk@7632 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/forms/friends/collectionfields.php')
-rw-r--r--views/default/forms/friends/collectionfields.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/views/default/forms/friends/collectionfields.php b/views/default/forms/friends/collectionfields.php
new file mode 100644
index 000000000..35db3a962
--- /dev/null
+++ b/views/default/forms/friends/collectionfields.php
@@ -0,0 +1,15 @@
+<?php
+/**
+ * Elgg friend collections required hidden fields for js friends picker form
+ *
+ * @package Elgg
+ * @subpackage Core
+ */
+
+if (isset($vars['collection'])) {
+?>
+
+ <input type="hidden" name="collection_id" value="<?php echo $vars['collection']->id; ?>" />
+
+<?php
+} \ No newline at end of file