aboutsummaryrefslogtreecommitdiffstats
path: root/include/page_header.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/page_header.php')
-rw-r--r--include/page_header.php12
1 files changed, 1 insertions, 11 deletions
diff --git a/include/page_header.php b/include/page_header.php
index c807a5250..7d22e8e01 100644
--- a/include/page_header.php
+++ b/include/page_header.php
@@ -53,19 +53,9 @@ $template->assign_vars(
'DIR'=>$lang_info['direction'],
'T_STYLE' => $css,
- 'TAG_INPUT_ENABLED' => ((is_adviser()) ? 'disabled' : '')
+ 'TAG_INPUT_ENABLED' => ((is_adviser()) ? 'disabled onclick="return false;"' : '')
));
-if (is_adviser())
-{
- $template->assign_vars(
- array(
- 'ADVISER_ENABLED' => $lang['adviser_mode_enabled']
- )
- );
-}
-
-
// refresh
if ( isset( $refresh ) and intval($refresh) >= 0 and isset( $url_link ) and isset( $redirect_msg ) )
{