noalyss
Version-9
NOALYSS : serveur de comptabilité et ERP (2002)
Loading...
Searching...
No Matches
include
template
dashboard.php
Go to the documentation of this file.
1
2
<?php
3
/*
4
* This file is part of NOALYSS.
5
*
6
* PhpCompta is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation; either version 2 of the License, or
9
* (at your option) any later version.
10
*
11
* PhpCompta is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
15
*
16
* You should have received a copy of the GNU General Public License
17
* along with PhpCompta; if not, write to the Free Software
18
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19
*/
20
// Copyright (2024) Author Dany De Bontridder <dany@alchimerys.be>
21
/**
22
* @file
23
* @brief : display all available widgets for the connected user
24
*/
25
global
$g_user
,
$cn
;
26
use \Noalyss\Widget\Widget;
27
28
$aWidget
=
\Noalyss\Widget\Widget::get_enabled_widget
();
29
30
31
$nb
=count(
$aWidget
);
32
?>
33
<div
id
=
"dashboard_div_id"
>
34
35
<?php
36
for
(
$i
=0;
$i
<
$nb
;
$i
++):
37
$widget=Widget::build_user_widget(
$aWidget
[
$i
][
'uw_id'
],
$aWidget
[
$i
][
'wd_code'
]);
38
Widget::ajax_display($widget);
39
40
endfor
;
41
?>
42
</div>
43
$g_user
global $g_user
if no group available , then stop
Definition
action.common.inc.php:46
$i
$i
Definition
action_document_type_mtable_input.php:83
$cn
$cn
Definition
ajax_anc_accounting.php:30
$nb
$nb
Definition
ajax_auto_anc_card.php:32
endfor
endfor
Definition
cfgplugin.inc.php:139
Noalyss\Widget\Widget\get_enabled_widget
static get_enabled_widget()
returns an array of widget for the connected user, ordered
Definition
widget.php:115
$aWidget
$aWidget
Definition
dashboard.php:28
Generated on Wed Jun 25 2025 09:57:48 for noalyss by
1.13.2