Ignore:
Timestamp:
Apr 14, 2020, 11:13:32 PM (4 years ago)
Author:
chronos
Message:
  • Modified: Improved code formatting.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Application/View.php

    r3 r7  
    55  function SystemMessage($Title, $Text)
    66  {
    7     return('<table align="center"><tr><td><div class="SystemMessage"><h3>'.$Title.'</h3><div>'.$Text.'</div></div></td></tr></table>');
     7    return '<table align="center"><tr><td><div class="SystemMessage"><h3>'.$Title.'</h3><div>'.$Text.'</div></div></td></tr></table>';
    88  }
    99
     
    3737    $Output .= '<div class="MenuItem">';
    3838    $Bar = '';
    39     foreach($this->System->Bars['TopLeft'] as $BarItem)
     39    foreach ($this->System->Bars['TopLeft'] as $BarItem)
    4040      $Bar .= call_user_func($BarItem);
    41       if(trim($Bar) != '') $Output .= $Bar;
     41      if (trim($Bar) != '') $Output .= $Bar;
    4242      else $Output .= '&nbsp;';
    4343    $Output .= '</div><div class="MenuItem2">';
    4444    $Bar = '';
    45     foreach($this->System->Bars['Top'] as $BarItem)
     45    foreach ($this->System->Bars['Top'] as $BarItem)
    4646      $Bar .= call_user_func($BarItem);
    47       if(trim($Bar) != '') $Output .= $Bar;
     47      if (trim($Bar) != '') $Output .= $Bar;
    4848      else $Output .= '&nbsp;';
    4949    $Output .= '</div></div>';
    50     return($Output);
     50    return $Output;
    5151  }
    5252
     
    5555    $Page->OnSystemMessage = array($this->System->BaseView, 'SystemMessage');
    5656    $Output = $this->ShowPage($Page->Show());
    57     return($Output);
     57    return $Output;
    5858  }
    5959}
Note: See TracChangeset for help on using the changeset viewer.