Source for file tpl_dashboard.php
Documentation is available at tpl_dashboard.php
* @author linea21 <info@linea21.com>
* @license http://opensource.org/licenses/gpl-3.0.html
$GLOBALS['filters'][U_L]['scale']['active'] = 1; // filter activation
//////////////////////////////////////////
/////récupération des variables GET et POST
//////////////////////////////////////////
include_once(themePath('../dashboard/display.php'));
if (isset ($_REQUEST['parentid']))
$scale_id= $_REQUEST['parentid'];
else if (isset ($_REQUEST['id'])) {
$scale_id= $_REQUEST['id'];
//////////////////////////////////////////
/////affichage switch d'affichage jeune public / classique
//////////////////////////////////////////
if(!isset ($_REQUEST['parentid'])) {
//////////////////////////////////////////
/////affichage liste des indicateurs classique
//////////////////////////////////////////
echo "<h1>". _t('dashboard','list_public'). "</h1>". END_LINE;
<div class="h1_comment" id="h1_dashboard"> <?php echo _t('dashboard','h1_public_comment'); ?>
//////////////////////////////////////////
/////affichage tableau de bord jeune
//////////////////////////////////////////
echo "<h1>". _t('dashboard','list_public_anim'). "</h1>". END_LINE;
<div class="h1_comment" id="h1_dashboard"> <?php echo _t('dashboard','h1_public_comment'); ?>
//////////////////////////////////////////
/////affichage détail d'un indicateur
//////////////////////////////////////////
setBreadcrumb(array(formatText($result[0]['sdii_name'], '2HTML') => HrefMaker(array('rub'=> $GLOBALS['links'][U_L]['dashboard']['linkvalue'], 'id' => $sdi_id, 'parentid' => $scale_id, 'name' => formatText($result[0]['sdii_name'], '2HTML')))));
if(isset ($_REQUEST['parentid']) && ActiveItemKey($GLOBALS['activeitem'])== 'dashboard') {
if (isset ($_REQUEST['parentid']) && ActiveItemKey($GLOBALS['activeitem'])== 'dashboard-rules') {
if (isset ($_REQUEST['parentid']) && ActiveItemKey($GLOBALS['activeitem'])== 'dashboard-assessment') {
if (isset ($_REQUEST['parentid']) && ActiveItemKey($GLOBALS['activeitem'])== 'dashboard-provider') {
|