Changeset 744 for trunk/Common/Page.php


Ignore:
Timestamp:
Sep 6, 2015, 10:39:58 PM (9 years ago)
Author:
chronos
Message:
  • Fixed: Config file name.
  • Fixed: Proper displaying of empty top bar.
  • Modified: Made .htaccess file working by default without need a change.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Common/Page.php

    r738 r744  
    8989      //$Output .= '<div class="MainTitle">'.$Title.'</div>';
    9090      $Output .= '<div class="MainTitle"><span class="MenuItem"><strong>Navigace :: </strong> '.$Navigation.'</span><div class="MenuItem2">';
     91      $Bar = '';
    9192      foreach($this->System->Bars['Top'] as $BarItem)
    92         $Output .= call_user_func($BarItem);
     93        $Bar .= call_user_func($BarItem);
     94      if(trim($Bar) != '') $Output .= $Bar;
     95        else $Output .= '&nbsp;';
    9396      $Output .= '</div></div>';
    9497    }
Note: See TracChangeset for help on using the changeset viewer.