aboutsummaryrefslogtreecommitdiff
path: root/views/default/settings
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-10-30 22:23:45 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-10-30 22:23:45 +0000
commitbb1f45eb02bac603d67ac08cb674c4050a245c28 (patch)
tree239c6afba40d3160be53c22984e3b7ba1b7442ec /views/default/settings
parentb5c5261077640d2390f4e3c44cc51bfe4bed2e4c (diff)
downloadelgg-bb1f45eb02bac603d67ac08cb674c4050a245c28.tar.gz
elgg-bb1f45eb02bac603d67ac08cb674c4050a245c28.tar.bz2
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
Diffstat (limited to 'views/default/settings')
-rw-r--r--views/default/settings/system.php2
-rw-r--r--views/default/settings/upgrading.php4
2 files changed, 3 insertions, 3 deletions
diff --git a/views/default/settings/system.php b/views/default/settings/system.php
index 3b3aaf808..7371ac71f 100644
--- a/views/default/settings/system.php
+++ b/views/default/settings/system.php
@@ -11,7 +11,7 @@
// Set action appropriately
if (!isset($vars['action'])) {
- $action = $vars['url'] . "action/systemsettings/save";
+ $action = elgg_get_site_url() . "action/systemsettings/save";
} else {
$action = $vars['action'];
}
diff --git a/views/default/settings/upgrading.php b/views/default/settings/upgrading.php
index 9f13e4c3f..19bc13879 100644
--- a/views/default/settings/upgrading.php
+++ b/views/default/settings/upgrading.php
@@ -8,13 +8,13 @@
<html>
<head>
<title><?php echo elgg_echo('upgrading'); ?></title>
- <meta http-equiv="refresh" content="1;url=<?php echo $vars['url']; ?>upgrade.php?upgrade=upgrade"/>
+ <meta http-equiv="refresh" content="1;url=<?php echo elgg_get_site_url(); ?>upgrade.php?upgrade=upgrade"/>
</head>
<body bgcolor="white">
<table width="100%" height="100%" border="0" style="margin: 0px; padding: 0px">
<tr>
<td width="100%" height="100%" valign="middle" align="center">
- <img src="<?php echo $vars['url']; ?>_graphics/ajax_loader_bw.gif" />
+ <img src="<?php echo elgg_get_site_url(); ?>_graphics/ajax_loader_bw.gif" />
</td>
</tr>
</table>