aboutsummaryrefslogtreecommitdiff
path: root/views/default/output
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/output')
-rw-r--r--views/default/output/tagcloud.php4
-rw-r--r--views/default/output/tags.php2
2 files changed, 3 insertions, 3 deletions
diff --git a/views/default/output/tagcloud.php b/views/default/output/tagcloud.php
index 6742d9954..3bc04a3fb 100644
--- a/views/default/output/tagcloud.php
+++ b/views/default/output/tagcloud.php
@@ -49,7 +49,7 @@ if (!empty($vars['tagcloud']) && is_array($vars['tagcloud'])) {
if ($size < 100) {
$size = 100;
}
- $url = elgg_get_site_url()."pg/search/?q=". urlencode($tag->tag) . "&search_type=tags$type$subtype";
+ $url = elgg_get_site_url()."search?q=". urlencode($tag->tag) . "&search_type=tags$type$subtype";
$url = elgg_format_url($url);
$cloud .= "<a href=\"$url\" style=\"font-size: $size%\" title=\"".addslashes($tag->tag)." ($tag->total)\">" . htmlspecialchars($tag->tag, ENT_QUOTES, 'UTF-8') . "</a>";
}
@@ -58,7 +58,7 @@ if (!empty($vars['tagcloud']) && is_array($vars['tagcloud'])) {
$cloud .= '<p class="small">';
$cloud .= elgg_view_icon('tag');
$cloud .= elgg_view('output/url', array(
- 'href' => 'pg/tags',
+ 'href' => 'tags',
'text' => elgg_echo('tagcloud:allsitetags'),
));
$cloud .= '</p>';
diff --git a/views/default/output/tags.php b/views/default/output/tags.php
index 2af4c2757..345b256c4 100644
--- a/views/default/output/tags.php
+++ b/views/default/output/tags.php
@@ -41,7 +41,7 @@ if (!empty($vars['tags'])) {
} else {
$type = "";
}
- $url = elgg_get_site_url() . 'pg/search/?q=' . urlencode($tag) . "&search_type=tags{$type}{$subtype}{$object}";
+ $url = elgg_get_site_url() . 'search?q=' . urlencode($tag) . "&search_type=tags{$type}{$subtype}{$object}";
if (is_string($tag)) {
echo '<li>';
echo elgg_view('output/url', array('href' => $url, 'text' => $tag, 'rel' => 'tag'));