Minor fixes
This commit is contained in:
parent
f14d324490
commit
4d9c6ab33a
|
@ -398,6 +398,8 @@ $selectOsUp = false;
|
||||||
$selectOsDown = false;
|
$selectOsDown = false;
|
||||||
$selectGroupUp = false;
|
$selectGroupUp = false;
|
||||||
$selectGroupDown = false;
|
$selectGroupDown = false;
|
||||||
|
$selectRemoteUp = false;
|
||||||
|
$selectRemoteDown = false;
|
||||||
switch ($sortField) {
|
switch ($sortField) {
|
||||||
case 'remote':
|
case 'remote':
|
||||||
switch ($sort) {
|
switch ($sort) {
|
||||||
|
@ -627,7 +629,7 @@ $sql = sprintf(
|
||||||
);
|
);
|
||||||
|
|
||||||
$agents = db_get_all_rows_sql($sql);
|
$agents = db_get_all_rows_sql($sql);
|
||||||
|
$custom_font_size = '';
|
||||||
// Prepare pagination.
|
// Prepare pagination.
|
||||||
// ui_pagination($total_agents, "index.php?sec=gagente&sec2=godmode/agentes/modificar_agente&group_id=$ag_group&recursion=$recursion&search=$search&sort_field=$sortField&sort=$sort&disabled=$disabled&os=$os", $offset);
|
// ui_pagination($total_agents, "index.php?sec=gagente&sec2=godmode/agentes/modificar_agente&group_id=$ag_group&recursion=$recursion&search=$search&sort_field=$sortField&sort=$sort&disabled=$disabled&os=$os", $offset);
|
||||||
if ($agents !== false) {
|
if ($agents !== false) {
|
||||||
|
@ -895,7 +897,7 @@ if ($agents !== false) {
|
||||||
$ag_group,
|
$ag_group,
|
||||||
$recursion,
|
$recursion,
|
||||||
$search,
|
$search,
|
||||||
$offsetArg,
|
'',
|
||||||
$sortField,
|
$sortField,
|
||||||
$sort,
|
$sort,
|
||||||
$disabled
|
$disabled
|
||||||
|
@ -925,7 +927,7 @@ if ($agents !== false) {
|
||||||
$ag_group,
|
$ag_group,
|
||||||
$recursion,
|
$recursion,
|
||||||
$search,
|
$search,
|
||||||
$offsetArg,
|
'',
|
||||||
$sortField,
|
$sortField,
|
||||||
$sort,
|
$sort,
|
||||||
$disabled
|
$disabled
|
||||||
|
|
|
@ -298,6 +298,8 @@ $selectDescriptionUp = false;
|
||||||
$selectDescriptionDown = false;
|
$selectDescriptionDown = false;
|
||||||
$selectLastContactUp = false;
|
$selectLastContactUp = false;
|
||||||
$selectLastContactDown = false;
|
$selectLastContactDown = false;
|
||||||
|
$selectRemoteUp = false;
|
||||||
|
$selectRemoteDown = false;
|
||||||
$order = null;
|
$order = null;
|
||||||
|
|
||||||
switch ($sortField) {
|
switch ($sortField) {
|
||||||
|
@ -674,13 +676,15 @@ if (empty($agents)) {
|
||||||
$agents = [];
|
$agents = [];
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($config['language'] == 'ja'
|
if ($config['language'] === 'ja'
|
||||||
|| $config['language'] == 'zh_CN'
|
|| $config['language'] === 'zh_CN'
|
||||||
|| $own_info['language'] == 'ja'
|
|| $own_info['language'] === 'ja'
|
||||||
|| $own_info['language'] == 'zh_CN'
|
|| $own_info['language'] === 'zh_CN'
|
||||||
) {
|
) {
|
||||||
// Adds a custom font size for Japanese and Chinese language.
|
// Adds a custom font size for Japanese and Chinese language.
|
||||||
$custom_font_size = 'custom_font_size';
|
$custom_font_size = 'custom_font_size';
|
||||||
|
} else {
|
||||||
|
$custom_font_size = '';
|
||||||
}
|
}
|
||||||
|
|
||||||
// Urls to sort the table.
|
// Urls to sort the table.
|
||||||
|
|
Loading…
Reference in New Issue