From bb1f45eb02bac603d67ac08cb674c4050a245c28 Mon Sep 17 00:00:00 2001 From: ewinslow Date: Sat, 30 Oct 2010 22:23:45 +0000 Subject: Refs #2598: Converted most $vars['url'] to elgg_get_site_url() git-svn-id: http://code.elgg.org/elgg/trunk@7149 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/output/tagcloud.php | 4 ++-- views/default/output/tags.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'views/default/output') diff --git a/views/default/output/tagcloud.php b/views/default/output/tagcloud.php index a4ecb72da..7270cd5ea 100644 --- a/views/default/output/tagcloud.php +++ b/views/default/output/tagcloud.php @@ -57,7 +57,7 @@ if (!empty($vars['tagcloud']) && is_array($vars['tagcloud'])) { if ($size < 100) { $size = 100; } - $url = "{$vars['url']}pg/search/?q=". urlencode($tag->tag) . "&search_type=tags$type$subtype"; + $url = elgg_get_site_url()."pg/search/?q=". urlencode($tag->tag) . "&search_type=tags$type$subtype"; $list .= "tag)." ($tag->total)\" style=\"text-decoration:none;\">" . htmlentities($tag->tag, ENT_QUOTES, 'UTF-8') . ""; } @@ -65,7 +65,7 @@ if (!empty($vars['tagcloud']) && is_array($vars['tagcloud'])) { if ($context != 'tags') { $cloud .= '

'; - $cloud .= "All site tags"; + $cloud .= "All site tags"; $cloud .= '

'; } diff --git a/views/default/output/tags.php b/views/default/output/tags.php index 99c898de6..6c8115d54 100644 --- a/views/default/output/tags.php +++ b/views/default/output/tags.php @@ -43,7 +43,7 @@ if (!empty($vars['tags'])) { $type = ""; } if (is_string($tag)) { - $tagstr .= "" . htmlentities($tag, ENT_QUOTES, 'UTF-8') . ""; + $tagstr .= "" . htmlentities($tag, ENT_QUOTES, 'UTF-8') . ""; } } echo $tagstr; -- cgit v1.2.3