diff --git a/system/includes/functions.php b/system/includes/functions.php index dde77e1..367f675 100644 --- a/system/includes/functions.php +++ b/system/includes/functions.php @@ -1312,6 +1312,12 @@ function generate_json($posts){ return json_encode($posts); } +// Return toolbar +function toolbar() { + $user = $_SESSION['user']; + $role = user('role', $user); + $base = site_url(); + echo << EOF;