aboutsummaryrefslogtreecommitdiff
path: root/pages/tagged.php
diff options
context:
space:
mode:
authorSem <sembrestels@riseup.net>2012-07-29 04:19:50 +0200
committerSem <sembrestels@riseup.net>2012-07-29 04:19:50 +0200
commit55bb2b7ed2583683548e314ae13fadde61eb04d6 (patch)
tree18aa780112c293ef078b7651a0c7f08ffd6b13da /pages/tagged.php
parent7a9177c9df49d6fc02280df02d6e7f6d52531382 (diff)
parent12a88208acec40e190b0729887e28c9d9add26c3 (diff)
downloadelgg-55bb2b7ed2583683548e314ae13fadde61eb04d6.tar.gz
elgg-55bb2b7ed2583683548e314ae13fadde61eb04d6.tar.bz2
Merge branch 'no-tagging-photos' of git://github.com/sembrestels/Tidypics
Conflicts: languages/de.php languages/en.php start.php views/default/forms/photos/admin/settings/main.php views/default/photos/css.php
Diffstat (limited to 'pages/tagged.php')
-rw-r--r--pages/tagged.php48
1 files changed, 0 insertions, 48 deletions
diff --git a/pages/tagged.php b/pages/tagged.php
deleted file mode 100644
index 34ea8a709..000000000
--- a/pages/tagged.php
+++ /dev/null
@@ -1,48 +0,0 @@
-<?php
-/**
- * Tidypics Tagged Listing
- *
- * List all photos tagged with a user
- */
-
-include_once dirname(dirname(dirname(dirname(__FILE__)))) . "/engine/start.php";
-
-
-// Get user guid
-$guid = get_input('guid');
-
-$user = get_entity($guid);
-
-if ($user) {
- $title = sprintf(elgg_echo('tidypics:usertag'), $user->name);
-} else {
- $title = "User does not exist";
-}
-
-
-// create main column
-$body = elgg_view_title($title);
-
-set_context('search');
-set_input('search_viewtype', 'gallery'); // need to force gallery view
-$body .= list_entities_from_relationship('phototag', $guid, false, 'object', 'image', 0, 10, false);
-
-// Set up submenus
-if (isloggedin()) {
- add_submenu_item( elgg_echo("album:yours"),
- $CONFIG->wwwroot . "pg/photos/owned/" . $_SESSION['user']->username,
- 'tidypics-b' );
-}
-add_submenu_item( elgg_echo('album:all'),
- $CONFIG->wwwroot . "pg/photos/world/",
- 'tidypics-z');
-add_submenu_item( elgg_echo('tidypics:mostrecent'),
- $CONFIG->wwwroot . 'pg/photos/mostrecent',
- 'tidypics-z');
-
-
-
-$body = elgg_view_layout('two_column_left_sidebar', '', $body);
-
-
-page_draw($title, $body);