diff options
author | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-10-30 22:23:45 +0000 |
---|---|---|
committer | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-10-30 22:23:45 +0000 |
commit | bb1f45eb02bac603d67ac08cb674c4050a245c28 (patch) | |
tree | 239c6afba40d3160be53c22984e3b7ba1b7442ec /views/default/admin/plugins/simple.php | |
parent | b5c5261077640d2390f4e3c44cc51bfe4bed2e4c (diff) | |
download | elgg-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/admin/plugins/simple.php')
-rw-r--r-- | views/default/admin/plugins/simple.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/views/default/admin/plugins/simple.php b/views/default/admin/plugins/simple.php index 0d1987d05..3baa00caf 100644 --- a/views/default/admin/plugins/simple.php +++ b/views/default/admin/plugins/simple.php @@ -57,7 +57,7 @@ foreach ($plugin_list as $name => $info) { } if (elgg_view_exists("settings/{$info['installed_name']}/edit")) { - $settings_href = "{$vars['url']}pg/admin/plugin_settings/{$info['installed_name']}"; + $settings_href = elgg_get_site_url()."pg/admin/plugin_settings/{$info['installed_name']}"; $settings = " | <a class='plugin_settings link' href='$settings_href'>". elgg_echo('settings') ."</a>"; } @@ -88,7 +88,7 @@ $form_body .= elgg_view('input/submit', array('value' => elgg_echo('save'))); $form_body .= elgg_view('input/reset', array('value' => elgg_echo('reset'), 'class' => 'action_button disabled')); echo elgg_view('input/form', array( - 'action' => "{$vars['url']}action/admin/plugins/simple_update_states", + 'action' => elgg_get_site_url()."action/admin/plugins/simple_update_states", 'body' => $form_body, 'class' => 'admin_plugins_simpleview' ));
\ No newline at end of file |