<header> <div id="logo_container"> <?php TBGEvent::createNew('core', 'header_before_logo')->trigger(); ?> <?php $link = TBGSettings::getHeaderLink() == '' ? TBGContext::getTBGPath() : TBGSettings::getHeaderLink(); ?> <a class="logo" href="<?php print $link; ?> "><?php echo image_tag(TBGSettings::getHeaderIconUrl(), array('style' => 'max-height: 24px;'), TBGSettings::isUsingCustomHeaderIcon()); ?> </a> <div class="logo_name"><?php echo TBGSettings::getTBGname(); ?> </div> </div> <?php if (!TBGSettings::isMaintenanceModeEnabled()) { ?> <?php if (TBGEvent::createNew('core', 'header_mainmenu_decider')->trigger()->getReturnValue() !== false) { ?> <?php require THEBUGGENIE_CORE_PATH . 'templates/headermainmenu.inc.php'; ?> <?php }
echo __('Configure icons'); ?> </span></div> </td> </tr> <tr> <td><label for="header_link"><?php echo __('Custom header link'); ?> </label></td> <td> <input type="text" name="<?php echo TBGSettings::SETTING_HEADER_LINK; ?> " id="header_link" value="<?php echo TBGSettings::getHeaderLink(); ?> " style="width: 100%;"<?php if ($access_level != TBGSettings::ACCESS_FULL) { ?> disabled<?php } ?> > </td> </tr> <tr> <td class="config_explanation" colspan="2"><?php echo __('You can alter the webpage that clicking on the header icon navigates to. If left blank it will link to the main page of this installation.'); ?> </td>