diff --git a/application/config/cloudlog.php b/application/config/cloudlog.php index 01e6b6a9..af71ecfe 100644 --- a/application/config/cloudlog.php +++ b/application/config/cloudlog.php @@ -60,3 +60,17 @@ $config['map_gridsquares'] = FALSE; */ $config['cat_timeout_interval'] = 300; + +/* +|-------------------------------------------------------------------------- +| Public Search +|-------------------------------------------------------------------------- +| +| Setting this to TRUE makes the search bar at the top of the display +| visable and usable to all users and visitors +| +| Default is: FALSE +| +*/ + +$config['public_search'] = FALSE; \ No newline at end of file diff --git a/application/views/interface_assets/header.php b/application/views/interface_assets/header.php index a4863086..6bba37e2 100644 --- a/application/views/interface_assets/header.php +++ b/application/views/interface_assets/header.php @@ -68,64 +68,93 @@ - -
- - -
- - - - - - config->item('use_auth')) && ($this->session->userdata('user_type') >= 2)) { ?> + config->item('public_search') == TRUE || $this->session->userdata('user_type') >= 2) { ?> +
+ + + +
+ + + config->item('use_auth')) && ($this->session->userdata('user_type') >= 2)) { ?> -
+ - -
- + + + + + config->item('use_auth')) && ($this->session->userdata('user_type') >= 2)) { ?> + + + +