Ignore:
Timestamp:
Dec 16, 2009, 7:35:39 AM (14 years ago)
Author:
george
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/www/Application/View/Cluster.php

    r78 r81  
    2323  function ItemList()
    2424  {
    25     global $Config;
    26    
    2725    $Output = '<h4>Uzly ve skupině</h4>';
    28     $Table = new Table($this->ItemListFormClass);
     26    $Table = new Table($this->ItemListFormClass, $this->System);
    2927    $Table->OnRow = array($this, 'ShowListOnRow');
    3028    $Table->LoadValuesFromDatabase($this->Database);
    3129    $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&amp;Action=Add">Přidat</a>';
     34      $Output .= '</div>';
     35    }
    3236    return($Output);
    3337  }
Note: See TracChangeset for help on using the changeset viewer.