diff options
author | Mike Macgirvin <mike@macgirvin.com> | 2010-09-18 21:11:18 -0700 |
---|---|---|
committer | Mike Macgirvin <mike@macgirvin.com> | 2010-09-18 21:11:18 -0700 |
commit | 65a420b22755f774dc2422f7fdf3709e01289945 (patch) | |
tree | 43848b09e1eb8e5c2d211f5a1ebb6fa498feb39e /mod/settings.php | |
parent | 881037a0d9430b13e852ccac46590945a5093957 (diff) | |
download | volse-hubzilla-65a420b22755f774dc2422f7fdf3709e01289945.tar.gz volse-hubzilla-65a420b22755f774dc2422f7fdf3709e01289945.tar.bz2 volse-hubzilla-65a420b22755f774dc2422f7fdf3709e01289945.zip |
theme cleanup
Diffstat (limited to 'mod/settings.php')
-rw-r--r-- | mod/settings.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mod/settings.php b/mod/settings.php index fbeee7768..2e14fcee5 100644 --- a/mod/settings.php +++ b/mod/settings.php @@ -155,6 +155,7 @@ function settings_post(&$a) { if(! function_exists('settings_content')) { function settings_content(&$a) { + $o .= '<script> $(document).ready(function() { $(\'#nav-settings-link\').addClass(\'nav-selected\'); });</script>'; if(! local_user()) { notice( t('Permission denied.') . EOL ); @@ -229,9 +230,9 @@ function settings_content(&$a) { '$basepath' => $a->get_hostname(), '$baseurl' => $a->get_baseurl())); - $o = file_get_contents('view/settings.tpl'); + $stpl = file_get_contents('view/settings.tpl'); - $o = replace_macros($o,array( + $o .= replace_macros($stpl,array( '$baseurl' => $a->get_baseurl(), '$uid' => $_SESSION['uid'], '$username' => $username, |