aboutsummaryrefslogtreecommitdiffstats
path: root/mod/settings.php
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-09-18 21:11:18 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-09-18 21:11:18 -0700
commit65a420b22755f774dc2422f7fdf3709e01289945 (patch)
tree43848b09e1eb8e5c2d211f5a1ebb6fa498feb39e /mod/settings.php
parent881037a0d9430b13e852ccac46590945a5093957 (diff)
downloadvolse-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.php5
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,