aboutsummaryrefslogtreecommitdiff
path: root/search.php
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2009-06-18 01:54:52 +0000
committerCash Costello <cash.costello@gmail.com>2009-06-18 01:54:52 +0000
commiteffbb14022495081f80acdc1d68ced09c1dd67c0 (patch)
tree7112315a02ee181a45385d7270317203201b21b1 /search.php
parent5b8a7460d026d91f5c2411673f3b02be2b0e724d (diff)
downloadelgg-effbb14022495081f80acdc1d68ced09c1dd67c0.tar.gz
elgg-effbb14022495081f80acdc1d68ced09c1dd67c0.tar.bz2
added the framework to get a list of photos tagged with a user
Diffstat (limited to 'search.php')
-rw-r--r--search.php24
1 files changed, 24 insertions, 0 deletions
diff --git a/search.php b/search.php
new file mode 100644
index 000000000..2899d2c3f
--- /dev/null
+++ b/search.php
@@ -0,0 +1,24 @@
+<?php
+
+ include_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php");
+
+ // Set context
+ set_context('search');
+
+ // Get user guid
+ $guid = get_input('guid');
+
+ $user = get_entity($guid);
+// if ($user)
+// $user->name;
+
+ $title = $user->name;
+
+
+ $body = elgg_view_title($title);
+ $body .= list_entities_from_relationship('phototag', $guid, false, 'object', 'image');
+ $body = elgg_view_layout('two_column_left_sidebar','',$body);
+
+ page_draw($title,$body);
+
+?> \ No newline at end of file