'data_table', 'width' => '100%'));
$column = 0;
$row = 0;
$headers = array(
'',
$plugin->get_lang('variable').' ['.$plugin->get_lang('subkey').']',
$plugin->get_lang('category'),
$plugin->get_lang('accessurl'),
$plugin->get_lang('value'),
'',
);
$attrs = array('center' => 'left');
$table->addRow($headers, $attrs, 'th');
foreach ($settings as $param) {
if ($param['subkey'] == 'vchamilo') {
continue;
}
$check = '';
$attrs = array('center' => 'left');
$syncButton = '
';
$data = array(
$check,
isset($param['subkey']) && !empty($param['subkey']) ? $param['variable'].' ['.$param['subkey'].']' : $param['variable'],
$param['category'],
$param['access_url'],
''.
'
Master value: '.$param['selected_value'],
$syncButton,
);
$row = $table->addRow($data, $attrs, 'td');
$table->setRowAttributes($row, array('id' => 'row_'.$param['id']), true);
}
$content = '