Changeset 343 for trunk/otevreno.php
- Timestamp:
- Jan 17, 2012, 1:00:26 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/otevreno.php
r237 r343 34 34 function EditSubject($Id) 35 35 { 36 if($this->System->Mod ules['User']->CheckPermission('SubjectOpenTime', 'Edit'))36 if($this->System->Models['User']->CheckPermission('SubjectOpenTime', 'Edit')) 37 37 { 38 38 $Output = '<div class="Centred">'; … … 76 76 77 77 $Output = ''; 78 if($this->System->Mod ules['User']->CheckPermission('SubjectOpenTime', 'Edit'))78 if($this->System->Models['User']->CheckPermission('SubjectOpenTime', 'Edit')) 79 79 { 80 80 $this->Database->delete('SubjectOpenTimeDay', 'Subject='.$Id); … … 188 188 if($Subject['Photo'] != 0) $Output .= '<a href="FileDownload.php?Id='.$Subject['Photo'].'">Fotka</a> '; 189 189 190 if($this->System->Mod ules['User']->CheckPermission('SubjectOpenTime', 'Edit'))190 if($this->System->Models['User']->CheckPermission('SubjectOpenTime', 'Edit')) 191 191 $Output .= '<a href="?Action=Edit&Subject='.$Subject['Id'].'">Editovat</a><br />'; 192 192 $Output .= '<br />';
Note:
See TracChangeset
for help on using the changeset viewer.