Changeset 22 for trunk/CustomOutput.php
- Timestamp:
- Mar 1, 2010, 9:12:44 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/CustomOutput.php
r20 r22 34 34 { 35 35 $Output = '<div class="Navigation">'; 36 if($this->System->UserOnline->User == 1)37 {38 36 // Visitor 39 37 $Output .= '<ul class="MenuItem">'; … … 46 44 $Output .= '<li>'.$this->System->HTML->MakeLink($this->System->Localization->Translate('Links'), $this->System->Navigation->MakeLink('Main', 'Links')).'</li>'; 47 45 $Output .= '<li>'.$this->System->HTML->MakeLink($this->System->Localization->Translate('Contact'), $this->System->Navigation->MakeLink('Main', 'Contact')).'</li>'; 46 if($this->System->UserOnline->User == $this->System->UserOnline->AnonymousUserId) 47 { 48 48 $Output .= '</ul>'; 49 49 $Output .= '<ul class="MenuItem2">'; … … 52 52 } else 53 53 { 54 $Output .= '<ul class="MenuItem">';55 $Output .= '<li><a href="'.$this->System->Navigation->MakeLink('Lift', 'List').'">'.$this->System->Localization->Translate('Lifts').'</a></li>';56 $Output .= '<li><a href="'.$this->System->Navigation->MakeLink('LiftGroup', 'List').'">'.$this->System->Localization->Translate('LiftGroups').'</a></li>';57 $Output .= '<li><a href="'.$this->System->Navigation->MakeLink('LiftServiceCheck', 'List').'">'.$this->System->Localization->Translate('LiftServiceChecks').'</a></li>';58 54 $Output .= '</ul>'; 59 55 $Output .= '<ul class="MenuItem2">'; … … 131 127 $this->Document->HeadTag->SubElements[] = $Keywords; 132 128 133 $this->Document->BodyTag->SubElements = array('<div class="Title ">'.$Title.'</div>',129 $this->Document->BodyTag->SubElements = array('<div class="TitlePanel">'.$Title.'</div>', 134 130 $this->TopMenu(), $this->PageMenu(), $Content, $this->Footer()); 135 echo($this->Document->GetOutput());131 return($this->Document->GetOutput()); 136 132 } 137 133
Note:
See TracChangeset
for help on using the changeset viewer.