Skip to content

Commit

Permalink
CS
Browse files Browse the repository at this point in the history
  • Loading branch information
dergel committed Mar 19, 2024
1 parent edcd169 commit 7e7d17b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions plugins/manager/pages/table_edit.php
Original file line number Diff line number Diff line change
Expand Up @@ -309,11 +309,11 @@ function rex_yform_list_translate($params)
$fragment->setVar('size', 'xs', false);
$panel_options = $fragment->parse('core/buttons/button_group.php');

$sql = 'select id, prio, name, table_name, status, hidden, import, export, search, mass_deletion, mass_edit, history from `' . rex_yform_manager_table::table().'`';
$sql = 'select id, prio, name, table_name, status, hidden, import, export, search, mass_deletion, mass_edit, history from `' . rex_yform_manager_table::table() . '`';

$list = rex_list::factory($sql, 200, defaultSort: [
'prio' => 'asc',
'table_name' => 'asc'
'table_name' => 'asc',
]);

$list->addTableAttribute('class', 'table-hover');
Expand Down
2 changes: 1 addition & 1 deletion plugins/rest/pages/access.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@
if ($show_list) {
$link = '';
$list = rex_list::factory('select * from ' . $table, defaultSort: [
'id' => 'desc'
'id' => 'desc',
]);
$list->addTableAttribute('summary', rex_i18n::msg('yform_rest_token_header_summary'));
$list->addTableAttribute('class', 'table-striped table-hover');
Expand Down

0 comments on commit 7e7d17b

Please sign in to comment.