Changeset 81 for trunk/www/Application/View
- Timestamp:
- Dec 16, 2009, 7:35:39 AM (15 years ago)
- Location:
- trunk/www/Application/View
- Files:
-
- 2 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 {
Note:
See TracChangeset
for help on using the changeset viewer.