aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2009-08-02 23:44:40 +0000
committerCash Costello <cash.costello@gmail.com>2009-08-02 23:44:40 +0000
commitd124fec101c9b2a2be29587cb4eff5826b78623d (patch)
treeb0ac9d7dce4375ff26462991a93ff4d3ac4f21b4 /views
parent6c9af8f91b34f9f2f31e58ede1f97f6e4d130928 (diff)
downloadelgg-d124fec101c9b2a2be29587cb4eff5826b78623d.tar.gz
elgg-d124fec101c9b2a2be29587cb4eff5826b78623d.tar.bz2
tags go to river now
Diffstat (limited to 'views')
-rw-r--r--views/default/river/object/image/tag.php20
-rw-r--r--views/default/tidypics/css.php4
2 files changed, 24 insertions, 0 deletions
diff --git a/views/default/river/object/image/tag.php b/views/default/river/object/image/tag.php
new file mode 100644
index 000000000..cfe01e444
--- /dev/null
+++ b/views/default/river/object/image/tag.php
@@ -0,0 +1,20 @@
+<?php
+
+ $image = get_entity($vars['item']->subject_guid);
+ $person_tagged = get_entity($vars['item']->object_guid);
+ if($image->title) {
+ $title = $image->title;
+ } else {
+ $title = "untitled";
+ }
+
+
+
+ $image_url = "<a href=\"{$image->getURL()}\">{$title}</a>";
+ $person_url = "<a href=\"{$person_tagged->getURL()}\">{$person_tagged->name}</a>";
+
+ $string = $person_url . ' ' . elgg_echo('image:river:tagged') . ' ' . $image_url;
+
+ echo $string;
+
+?> \ No newline at end of file
diff --git a/views/default/tidypics/css.php b/views/default/tidypics/css.php
index a68ff22f0..66d42c22a 100644
--- a/views/default/tidypics/css.php
+++ b/views/default/tidypics/css.php
@@ -175,6 +175,10 @@ padding:0 0 5px;
background: url(<?php echo $vars['url']; ?>_graphics/river_icons/river_icon_comment.gif) no-repeat left -1px;
}
+.river_user_tag {
+ background: url(<?php echo $vars['url']; ?>mod/tidypics/graphics/icons/river_icon_tag.gif) no-repeat left -1px;
+}}
+
/* ----------- tagging ---------------- */
#tidypics_tag_instructions {
background:#BBDAF7;