Changeset 525 for trunk/Modules
- Timestamp:
- Apr 20, 2013, 11:47:25 PM (12 years ago)
- Location:
- trunk/Modules
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Chat/Chat.php
r524 r525 3 3 class PageChatHistory extends Page 4 4 { 5 function __construct( )5 function __construct($System) 6 6 { 7 parent::__construct( );7 parent::__construct($System); 8 8 $this->FullTitle = 'Výpis z historie chatu'; 9 9 $this->ShortTitle = 'Historie chatu'; -
trunk/Modules/Network/Administration.php
r524 r525 3 3 class PageNetworkAdministration extends Page 4 4 { 5 function __construct( )5 function __construct($System) 6 6 { 7 parent::__construct( );7 parent::__construct($System); 8 8 $this->FullTitle = 'Administrace sítě'; 9 9 $this->ShortTitle = 'Administrace sítě'; -
trunk/Modules/Network/Subnet.php
r519 r525 3 3 class PageSubnet extends Page 4 4 { 5 function __construct( )5 function __construct($System) 6 6 { 7 parent::__construct( );7 parent::__construct($System); 8 8 $this->FullTitle = 'Informace o podsítích'; 9 9 $this->ShortTitle = 'Podsítě'; -
trunk/Modules/News/NewsPage.php
r524 r525 163 163 $DbResult = $this->Database->query('SELECT * FROM News WHERE Id='.$_GET['id']); 164 164 $Row = $DbResult->fetch_array(); 165 if($this->System-> Modules['User']->User['Id'] == $Row['User'])165 if($this->System->User->User['Id'] == $Row['User']) 166 166 { 167 167 if($Row['Enclosure'] != '') … … 179 179 break; 180 180 default: 181 if($this->System-> Modules['User']->CheckPermission('News', 'Display', 'Group', $Category))181 if($this->System->User->CheckPermission('News', 'Display', 'Group', $Category)) 182 182 { 183 183 $PerPage = 20; … … 197 197 else $Author = $Row['Name']; 198 198 $Output .= '<div class="Panel"><div class="Title"><a href="?action=view&id='.$Row['Id'].'">'.$Row['Title'].'</a> ('.HumanDate($Row['Date']).', '.$Author.')'; 199 if($this->System-> Modules['User']->User['Id'] == $Row['User'])199 if($this->System->User->User['Id'] == $Row['User']) 200 200 { 201 201 $Output .= '<div class="Action">'; -
trunk/Modules/System/System.php
r523 r525 3 3 class PageModules extends Page 4 4 { 5 function __construct( )6 { 7 parent::__construct( );5 function __construct($System) 6 { 7 parent::__construct($System); 8 8 $this->FullTitle = 'Správa modulů'; 9 9 $this->ShortTitle = 'Moduly';
Note:
See TracChangeset
for help on using the changeset viewer.