get_records('settings_current', array(), 'variable,subkey'); $table = new HTML_Table(array('class' => 'data_table', 'width' => '100%')); $column = 0; $row = 0; // $table->set_additional_parameters($parameters); $headers = array('', $plugininstance->get_lang('variable'), $plugininstance->get_lang('subkey'), $plugininstance->get_lang('category'), $plugininstance->get_lang('accessurl'), $plugininstance->get_lang('value'), ''); $attrs = array('center' => 'left'); $table->addRow($headers, $attrs, 'th'); foreach ($allparams as $param) { // $check = ''; $check = ''; $attrs = array('center' => 'left'); $syncthisbutton = ' '; $data = array($check, $param->variable, $param->subkey, $param->category, $param->access_url, '', $syncthisbutton); $row = $table->addRow($data, $attrs, 'td'); $table->setRowAttributes($row, array('id' => 'row_'.$param->id), true); } $content .= '