Changeset 524 for trunk/Modules/OpeningHours/OpeningHours.php
- Timestamp:
- Apr 20, 2013, 8:51:15 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/OpeningHours/OpeningHours.php
r507 r524 35 35 function EditSubject($Id) 36 36 { 37 if($this->System-> Modules['User']->CheckPermission('SubjectOpenTime', 'Edit'))37 if($this->System->User->CheckPermission('SubjectOpenTime', 'Edit')) 38 38 { 39 39 $Output = '<div class="Centred">'; … … 77 77 78 78 $Output = ''; 79 if($this->System-> Modules['User']->CheckPermission('SubjectOpenTime', 'Edit'))79 if($this->System->User->CheckPermission('SubjectOpenTime', 'Edit')) 80 80 { 81 81 $this->Database->delete('SubjectOpenTimeDay', 'Subject='.$Id); … … 189 189 if($Subject['Photo'] != 0) $Output .= '<a href="file?id='.$Subject['Photo'].'">Fotka</a> '; 190 190 191 if($this->System-> Modules['User']->CheckPermission('SubjectOpenTime', 'Edit'))191 if($this->System->User->CheckPermission('SubjectOpenTime', 'Edit')) 192 192 $Output .= '<a href="edit?Subject='.$Subject['Id'].'">Editovat</a><br />'; 193 193 $Output .= '<br />';
Note:
See TracChangeset
for help on using the changeset viewer.