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:
commit
d7a871ff76
|
@ -116,7 +116,6 @@ ui_toggle(
|
|||
echo '</form>';
|
||||
|
||||
|
||||
|
||||
if (isset($id_agente) === false) {
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -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');
|
||||
|
|
Loading…
Reference in New Issue