/**
     * @access private
     */
    protected function _draw_empty_grid()
    {
        parent::_draw_empty_grid();
        if ($this->login->is_allowed(Privilege_set_group, Privilege_modify)) {
            $this->_start_grid();
            ?>
  <tr>
    <td>
      <?php 
            echo $this->_controls_renderer->button_as_html('Add...', 'add_user_to_group.php?id=' . $this->_group_id, '{icons}buttons/add');
            ?>
    </td>
  </tr>
<?php 
            $this->_finish_grid();
        }
    }
Example #2
0
 protected function _start_box($obj)
 {
     $current_column = $this->_columns[0];
     if ($current_column->type == 'th') {
         $this->_internal_start_header_cell($this->_CSS_for_box());
     } else {
         parent::_start_box($obj);
     }
 }