Changeset 7 for trunk/Application/View.php
- Timestamp:
- Apr 14, 2020, 11:13:32 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Application/View.php
r3 r7 5 5 function SystemMessage($Title, $Text) 6 6 { 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>'; 8 8 } 9 9 … … 37 37 $Output .= '<div class="MenuItem">'; 38 38 $Bar = ''; 39 foreach ($this->System->Bars['TopLeft'] as $BarItem)39 foreach ($this->System->Bars['TopLeft'] as $BarItem) 40 40 $Bar .= call_user_func($BarItem); 41 if (trim($Bar) != '') $Output .= $Bar;41 if (trim($Bar) != '') $Output .= $Bar; 42 42 else $Output .= ' '; 43 43 $Output .= '</div><div class="MenuItem2">'; 44 44 $Bar = ''; 45 foreach ($this->System->Bars['Top'] as $BarItem)45 foreach ($this->System->Bars['Top'] as $BarItem) 46 46 $Bar .= call_user_func($BarItem); 47 if (trim($Bar) != '') $Output .= $Bar;47 if (trim($Bar) != '') $Output .= $Bar; 48 48 else $Output .= ' '; 49 49 $Output .= '</div></div>'; 50 return ($Output);50 return $Output; 51 51 } 52 52 … … 55 55 $Page->OnSystemMessage = array($this->System->BaseView, 'SystemMessage'); 56 56 $Output = $this->ShowPage($Page->Show()); 57 return ($Output);57 return $Output; 58 58 } 59 59 }
Note:
See TracChangeset
for help on using the changeset viewer.