aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
Diffstat (limited to 'boot.php')
-rw-r--r--boot.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/boot.php b/boot.php
index d36512295..f4b43e4c9 100644
--- a/boot.php
+++ b/boot.php
@@ -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
+}