openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 30495ed3f229ba2cb8a327c5af2d27ae3a04b5e2
parent bc981857982564b70af4b56adfe9b800f9790b02
Author: Jan Dankert <devnull@localhost>
Date:   Thu, 20 Sep 2012 23:53:38 +0200

Fix: Konfiguration einbinden für Hilfe-Anzeige.

Diffstat:
themes/default/layout/perspective/header.php | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/themes/default/layout/perspective/header.php b/themes/default/layout/perspective/header.php @@ -3,6 +3,7 @@ function view_header( $name ) { global $viewconfig; + global $conf; $v = $viewconfig[$name]; ?> @@ -53,7 +54,7 @@ function view_header( $name ) <div class="dropdown dropdownalignright"> <div class="entry"><a href="javascript:void(0);" class="fullscreen" onClick="javascript:fullscreen( this );"><img src="<?php echo OR_THEMES_EXT_DIR.'default/images/icon/window/maximize.gif' ?>" title="<?php echo langHtml('window_fullscreen') ?>" /><?php echo langHtml('window_fullscreen') ?></a></div> <?php - if ( true || @$conf['help']['enabled'] ) + if ( @$conf['help']['enabled'] ) { ?><div class="entry"><a href="<?php echo @$conf['help']['url'].@$conf['help']['suffix'] ?> " target="_new" title="<?php echo langHtml('MENU_HELP_DESC') ?>"><img src="<?php echo OR_THEMES_EXT_DIR.'default/images/icon/help.png' ?>" /><?php echo langHtml('MENU_HELP') ?></a></div><?php }