aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-rw-r--r--views/default/forms/register.php2
-rw-r--r--views/default/page/elements/head.php2
-rw-r--r--views/rss/page/default.php2
3 files changed, 4 insertions, 2 deletions
diff --git a/views/default/forms/register.php b/views/default/forms/register.php
index 75ecd3450..c0ee66f76 100644
--- a/views/default/forms/register.php
+++ b/views/default/forms/register.php
@@ -6,6 +6,8 @@
* @subpackage Core
*/
+elgg_load_js('elgg.register');
+
$password = $password2 = '';
$username = get_input('u');
$email = get_input('e');
diff --git a/views/default/page/elements/head.php b/views/default/page/elements/head.php
index 1eb2be088..d4a95b4d0 100644
--- a/views/default/page/elements/head.php
+++ b/views/default/page/elements/head.php
@@ -14,7 +14,7 @@ if (empty($vars['title'])) {
global $autofeed;
if (isset($autofeed) && $autofeed == true) {
- $url = full_url();
+ $url = current_page_url();
if (substr_count($url,'?')) {
$url .= "&view=rss";
} else {
diff --git a/views/rss/page/default.php b/views/rss/page/default.php
index c973e3fd0..a7b757760 100644
--- a/views/rss/page/default.php
+++ b/views/rss/page/default.php
@@ -17,7 +17,7 @@ if (empty($vars['title'])) {
}
// Remove RSS from URL
-$url = str_replace('?view=rss', '', full_url());
+$url = str_replace('?view=rss', '', current_page_url());
$url = str_replace('&view=rss', '', $url);
$url = htmlspecialchars($url, ENT_NOQUOTES, 'UTF-8');