Merge branch 'ent-10563-mejoras-personalizacion-interfaz' into 'develop'

Ent 10563 mejoras personalizacion interfaz

See merge request artica/pandorafms!6200
This commit is contained in:
Gorka Sanchez 2023-07-03 07:49:25 +00:00
commit d7a871ff76
2 changed files with 19 additions and 1 deletions

View File

@ -116,7 +116,6 @@ ui_toggle(
echo '</form>';
if (isset($id_agente) === false) {
return;
}

View File

@ -650,6 +650,25 @@ if (!empty($rows)) {
// Links.
$rows = db_get_all_rows_in_table('tlink', 'name');
// $rows = [];
if (!empty($rows)) {
$menu_operation['links']['text'] = __('Links');
$menu_operation['links']['sec2'] = '';
$menu_operation['links']['id'] = 'god-links';
$sub = [];
foreach ($rows as $row) {
// Audit //meter en extensiones.
$sub[$row['link']]['text'] = $row['name'];
$sub[$row['link']]['id'] = $row['name'];
$sub[$row['link']]['type'] = 'direct';
$sub[$row['link']]['subtype'] = 'new_blank';
}
$menu_operation['links']['sub'] = $sub;
}
// Workspace.
$menu_operation['workspace']['text'] = __('Workspace');