Changeset 71 for trunk/Modules/UMainModule.pas
- Timestamp:
- Feb 11, 2012, 10:43:06 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/UMainModule.pas
r69 r71 215 215 '<li><a href="http://wiki.zdechov.net/">Wiki</a></li>' + 216 216 '</ul><ul class="MenuItem2">'; //<li> </li>'; 217 if UserOnline.User = AnonymousUserId then begin 218 Text := Text + '</ul>' + 219 '<ul class="MenuItem2">' + 220 '<li>' + MakeLink('Přihlášení', NavigationLink('/uzivatel/prihlaseni/')) + '</li>' + 221 '<li>' + MakeLink('Registrace', NavigationLink('/uzivatel/registrace/')) + '</li>' + 222 '<li></li>'; 223 // $Output .= '<li>'.$this->System->HTML->MakeLink($this->System->Translate('UserRegistration'), $this->System->MakeLink('UserList', 'Register')).'</li>'; 224 end else begin 225 Text := Text + '</ul>' + 226 '<ul class="MenuItem2">' + 227 '<li>' + User.FullName + '</li>' + 228 '<li>' + MakeLink('Odhlášení', NavigationLink('/uzivatel/odhlaseni/')) + '</li>' + 229 '<li>' + MakeLink('Profil', NavigationLink('/uzivatel/profil/')) + '</li>'; 230 end; 217 if Assigned(Application.Pages.FindByName('uzivatel')) then begin 218 if UserOnline.User = AnonymousUserId then begin 219 Text := Text + '</ul>' + 220 '<ul class="MenuItem2">' + 221 '<li>' + MakeLink('Přihlášení', NavigationLink('/uzivatel/prihlaseni/')) + '</li>' + 222 '<li>' + MakeLink('Registrace', NavigationLink('/uzivatel/registrace/')) + '</li>' + 223 '<li></li>'; 224 // $Output .= '<li>'.$this->System->HTML->MakeLink($this->System->Translate('UserRegistration'), $this->System->MakeLink('UserList', 'Register')).'</li>'; 225 end else begin 226 Text := Text + '</ul>' + 227 '<ul class="MenuItem2">' + 228 '<li>' + User.FullName + '</li>' + 229 '<li>' + MakeLink('Odhlášení', NavigationLink('/uzivatel/odhlaseni/')) + '</li>' + 230 '<li>' + MakeLink('Profil', NavigationLink('/uzivatel/profil/')) + '</li>'; 231 end; 232 end else Text := Text + '</ul><ul class="MenuItem2"> '; 231 233 Text := Text + '</ul></div>'; 232 234 end;
Note:
See TracChangeset
for help on using the changeset viewer.