Changeset 41 for trunk/www/index.php
- Timestamp:
- Jun 16, 2009, 6:47:25 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/www/index.php
r39 r41 174 174 $Table = new Table('BackupList'); 175 175 $Table->OnRow = array($this, 'ShowBackupListOnRow'); 176 $Table-> Table = '(SELECT * FROM `Backup` WHERE `Server` = '.$ServerId.')';176 $Table->Definition['Table'] = '(SELECT * FROM `Backup` WHERE `Server` = '.$Server->Id.')'; 177 177 $Table->Definition['Items']['Id'] = array('Type' => 'Hidden', 'Caption' => 'Id', 'Default' => ''); 178 178 $Table->Definition['Items']['Lock'] = array('Type' => 'Hidden', 'Caption' => 'Zámek', 'Default' => ''); … … 192 192 if($Server->Server['Lock'] == 0) $Output .= '<br /><div style="text-align: center;"><a href="?Action=BackupAdd&Id='.$ServerId.'">Zálohovat</a></dev>'; 193 193 } 194 } else $ this->SystemMessage('Zastavení serveru', 'Nemáte oprávnění');195 } else $Output .= USER_BAD_ROLE;194 } else $Output = $this->SystemMessage('Zastavení serveru', 'Nemáte oprávnění'); 195 } else $Output = USER_BAD_ROLE; 196 196 return($Output); 197 197 }
Note:
See TracChangeset
for help on using the changeset viewer.