diff options
author | Fabio Comuni <fabrix.xm@gmail.com> | 2011-07-25 16:52:30 +0200 |
---|---|---|
committer | Fabio Comuni <fabrix.xm@gmail.com> | 2011-07-25 16:52:30 +0200 |
commit | e6444adafdd3c50913ca44d8701996e058e064b9 (patch) | |
tree | efff34780b766c63cff9c72f9c2eeef12dd533c7 /boot.php | |
parent | dfba0f13c8c30598f21f1480e2dbfc66c41c9aa9 (diff) | |
download | volse-hubzilla-e6444adafdd3c50913ca44d8701996e058e064b9.tar.gz volse-hubzilla-e6444adafdd3c50913ca44d8701996e058e064b9.tar.bz2 volse-hubzilla-e6444adafdd3c50913ca44d8701996e058e064b9.zip |
change nav selected css class
Diffstat (limited to 'boot.php')
-rw-r--r-- | boot.php | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -2946,6 +2946,11 @@ function get_plugin_info($plugin){ return $info; }} +if(! function_exists('set_nav_selected')){ +function set_nav_selected($id){ + return '<script> $(document).ready(function() { $("#'.$id.'").addClass("selected"); });</script>'; +}} + if(! function_exists('return_bytes')) { function return_bytes ($size_str) { switch (substr ($size_str, -1)) @@ -2968,4 +2973,4 @@ function generate_guid() { $found = false; } while ($found == true ); return $guid; -}
\ No newline at end of file +} |