Changeset 56 for trunk/www/view/backup.php
- Timestamp:
- Aug 4, 2009, 9:53:52 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/www/view/backup.php
r55 r56 3 3 class BackupView extends Module 4 4 { 5 var $ItemListFormClass = array( 6 'Title' => 'Zálohy', 7 'Table' => '(SELECT * FROM `Backup`)', 8 'Items' => array( 9 'Time' => array('Type' => 'DateTime', 'Caption' => 'Čas', 'Default' => ''), 10 'Description' => array('Type' => 'String', 'Caption' => 'Popis', 'Default' => ''), 11 ), 12 ); 13 5 14 function ShowListOnRow($Row) 6 15 { … … 20 29 { 21 30 $Output = '<h4>Dostupné zálohy</h4>'; 22 $Table = new Table( 'BackupList');31 $Table = new Table($this->ItemListFormClass); 23 32 $Table->OnRow = array($this, 'ShowListOnRow'); 24 33 $Table->Definition['Table'] = '(SELECT * FROM `Backup` WHERE `Server` = '.$Server->Id.')';
Note:
See TracChangeset
for help on using the changeset viewer.