Changeset 81
- Timestamp:
- Dec 16, 2009, 7:35:39 AM (15 years ago)
- Location:
- trunk/www
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/www/Application/View/Cluster.php
r78 r81 23 23 function ItemList() 24 24 { 25 global $Config;26 27 25 $Output = '<h4>Uzly ve skupině</h4>'; 28 $Table = new Table($this->ItemListFormClass );26 $Table = new Table($this->ItemListFormClass, $this->System); 29 27 $Table->OnRow = array($this, 'ShowListOnRow'); 30 28 $Table->LoadValuesFromDatabase($this->Database); 31 29 $Output .= $Table->Show(); 30 if($this->System->Modules['Permission']->Check('Cluster', 'Show')) 31 { 32 $Output .= '<div style="text-align: center">'; 33 $Output .= ' <a href="?Module=Cluster&Action=Add">Přidat</a>'; 34 $Output .= '</div>'; 35 } 32 36 return($Output); 33 37 } -
trunk/www/Application/View/Server.php
r78 r81 87 87 88 88 $Output = '<h4>Seznam serverů</h4>'; 89 $Table = new Table($this->ItemListFormClass );89 $Table = new Table($this->ItemListFormClass, $this->System); 90 90 if(array_key_exists('Filter', $_GET)) 91 91 { -
trunk/www/Base/Table.php
r80 r81 2 2 3 3 include_once(dirname(__FILE__).'/Types/Type.php'); 4 include_once(dirname(__FILE__).'/Types/Module.php'); 4 include_once(dirname(__FILE__).'/Module.php'); 5 include_once(dirname(__FILE__).'/Global.php'); 5 6 6 7 class Table extends Module
Note:
See TracChangeset
for help on using the changeset viewer.