diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-15 12:34:48 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-15 12:34:48 +0000 |
commit | d43e034a36768b945986f827f81618492a58f750 (patch) | |
tree | d24eede5913545929a6f3236c36cc1942ccf1304 /mod | |
parent | 2ce0878606a75a38dd2eef9403a9c94529f46d5f (diff) | |
download | elgg-d43e034a36768b945986f827f81618492a58f750.tar.gz elgg-d43e034a36768b945986f827f81618492a58f750.tar.bz2 |
moved likes forms into forms directory
git-svn-id: http://code.elgg.org/elgg/trunk@7631 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod')
7 files changed, 8 insertions, 8 deletions
diff --git a/mod/bookmarks/views/default/river/object/bookmarks/create.php b/mod/bookmarks/views/default/river/object/bookmarks/create.php index 956e84b1c..e31a5ab43 100644 --- a/mod/bookmarks/views/default/river/object/bookmarks/create.php +++ b/mod/bookmarks/views/default/river/object/bookmarks/create.php @@ -16,7 +16,7 @@ if (($is_group instanceof ElggGroup) && (elgg_get_context() != 'groups')){ $string .= " <span class='entity-subtext'>" . elgg_view_friendly_time($object->time_created); if (isloggedin()){ $string .= "<a class='river_comment_form_button link'>Comment</a>"; - $string .= elgg_view('likes/forms/link', array('entity' => $object)); + $string .= elgg_view('forms/likes/link', array('entity' => $object)); } $string .= "</span>"; echo $string;
\ No newline at end of file diff --git a/mod/groups/views/default/river/forum/create.php b/mod/groups/views/default/river/forum/create.php index 2e8365ec2..4d24011cb 100644 --- a/mod/groups/views/default/river/forum/create.php +++ b/mod/groups/views/default/river/forum/create.php @@ -18,7 +18,7 @@ $url_user = "<a href=\"{$performed_by->getURL()}\">{$performed_by->name}</a>"; $string = elgg_echo("groupforum:river:posted", array($url_user)) . " "; $string .= elgg_echo("groupforum:river:annotate:create") . " | <a href=\"" . $url . "\">" . $object->title . "</a> <span class='entity-subtext'>". elgg_view_friendly_time($object->time_created) ."<a class='river_comment_form_button link' href=\"{$object_url}\">Visit discussion</a>"; - $string .= elgg_view('likes/forms/link', array('entity' => $object)); + $string .= elgg_view('forms/likes/link', array('entity' => $object)); $string .= "</span>"; if ($comment) { $string .= "<div class=\"river_content_display\">"; diff --git a/mod/groups/views/default/river/forum/topic/create.php b/mod/groups/views/default/river/forum/topic/create.php index e73064e00..7819eec41 100644 --- a/mod/groups/views/default/river/forum/topic/create.php +++ b/mod/groups/views/default/river/forum/topic/create.php @@ -19,7 +19,7 @@ $string .= " <span class='entity-subtext'>". elgg_view_friendly_time($object->time_created); if (isloggedin() && $object->status != "closed") { $string .= '<a class="river_comment_form_button link">' . elgg_echo('generic_comments:text') . '</a>'; - $string .= elgg_view('likes/forms/link', array('entity' => $object)); + $string .= elgg_view('forms/likes/link', array('entity' => $object)); } $string .= "</span>"; $string .= "<div class=\"river_content_display\">"; diff --git a/mod/groups/views/default/river/group/create.php b/mod/groups/views/default/river/group/create.php index 4774e7a85..ae55df03b 100644 --- a/mod/groups/views/default/river/group/create.php +++ b/mod/groups/views/default/river/group/create.php @@ -9,7 +9,7 @@ $string .= " <a href=\"" . $object->getURL() . "\">" . $object->name . "</a>"; $string .= " <span class='entity-subtext'>". elgg_view_friendly_time($object->time_created); if (isloggedin()) { - $string .= elgg_view('likes/forms/link', array('entity' => $object)); + $string .= elgg_view('forms/likes/link', array('entity' => $object)); } $string .= "</span>"; diff --git a/mod/pages/views/default/river/object/page/create.php b/mod/pages/views/default/river/object/page/create.php index 221ca0e21..1635de221 100644 --- a/mod/pages/views/default/river/object/page/create.php +++ b/mod/pages/views/default/river/object/page/create.php @@ -14,7 +14,7 @@ $url = "<a href=\"{$performed_by->getURL()}\">{$performed_by->name}</a>"; $contents = strip_tags($object->description); //strip tags from the contents to stop large images etc blowing out the river view $string = elgg_echo("pages:river:created", array($url)) . " "; $string .= elgg_echo("pages:river:create") . " <a href=\"" . $object->getURL() . "\">" . $object->title . "</a> <span class='entity-subtext'>". elgg_view_friendly_time($object->time_created) ."</span> <a class='river_comment_form_button link'>Comment</a>"; -$string .= elgg_view('likes/forms/link', array('entity' => $object)); +$string .= elgg_view('forms/likes/link', array('entity' => $object)); $string .= "<div class=\"river_content_display\">"; $string .= elgg_get_excerpt($contents, 200); $string .= "</div>"; diff --git a/mod/riverdashboard/views/default/river/item/wrapper.php b/mod/riverdashboard/views/default/river/item/wrapper.php index 4b50ab69f..4f6100114 100644 --- a/mod/riverdashboard/views/default/river/item/wrapper.php +++ b/mod/riverdashboard/views/default/river/item/wrapper.php @@ -60,7 +60,7 @@ if ($comments){ echo "<a class='river-more-comments show_comments_button link'>" . elgg_echo('comments') . '</a>'; if ($likes_count != 0) { - echo elgg_view('likes/forms/display', array('entity' => $object)); + echo elgg_view('forms/likes/display', array('entity' => $object)); } echo "</div>"; // close river-comments-tabs @@ -119,7 +119,7 @@ if ($comments){ } if ($likes_count != 0) { - echo elgg_view('likes/forms/display', array('entity' => $object)); + echo elgg_view('forms/likes/display', array('entity' => $object)); } if ($vars['item']->type != 'user' && $likes_count != 0) { diff --git a/mod/thewire/views/default/river/object/thewire/create.php b/mod/thewire/views/default/river/object/thewire/create.php index b654ccb51..0660b47ff 100644 --- a/mod/thewire/views/default/river/object/thewire/create.php +++ b/mod/thewire/views/default/river/object/thewire/create.php @@ -11,7 +11,7 @@ $string .= parse_urls($desc); $string .= " <span class='entity-subtext'>" . elgg_view_friendly_time($object->time_created); if (isloggedin()){ $string .= "<a class='river_comment_form_button link'>Comment</a>"; - $string .= elgg_view('likes/forms/link', array('entity' => $object)); + $string .= elgg_view('forms/likes/link', array('entity' => $object)); } $string .= "</span>"; echo $string;
\ No newline at end of file |