diff --git a/application/views/layout/header.php b/application/views/layout/header.php index 657204d0..303e1ce2 100644 --- a/application/views/layout/header.php +++ b/application/views/layout/header.php @@ -29,15 +29,17 @@ td { padding: 1px;} .partial td, .logbook td, .users td { padding: 5px; } #submenu { height: 30px; color:#ffffff; clear: both; uri->segment(1)) { - case "user": - ?> display: normal; display: none; } +if($this->session->userdata('user_type') == 99) { + switch ($this->uri->segment(1)) { + case "user": + ?> display: normal; display: none; display: none; visibility: hidden; } #nav { background-image: url('/images/nav_bg.gif'); height: 39px; color:#ffffff; border-bottom: 1px solid #9bc9ed; } .log_title { background-image: url('/images/grey_bg.png'); background-repeat: repeat-x; color: #439bf6; } .auth_title { background-image: url('/images/grey_bg.png'); background-repeat: repeat-x; color: #439bf6; }