* @version $Id$ * @access public * @license http://opensource.org/licenses/gpl-3.0.html */ $GLOBALS['filters'][U_L]['scale']['active'] = 0; // filter activation SetHTMLTitle(_t('dashboard','section')); // HTML title ////////////////////////////////////////// /////récupération des variables GET et POST ////////////////////////////////////////// include_once(override('../dashboard/display.php')); // if $_REQUEST['parentid'] is not fired, ID's value goes to $scale_id var if(isset($_REQUEST['id'])) { $scale_id=$_REQUEST['id']; } else { $scale_id=1; } // if parentid is fired, ID's value goes to $sdi_id var // and parentid's value goes to $scale_id if (isset($_REQUEST['parentid'])) { $sdi_id=$_REQUEST['id']; $scale_id=$_REQUEST['parentid']; } isset($_REQUEST['altmode']) ? $altmode = true : $altmode = false; $scale = $GLOBALS['sql_object'] -> DBSelect(SQL_getonescale($scale_id)); ////////////////////////////////////////// /////affichage tableau de bord ////////////////////////////////////////// if(!isset($_REQUEST['parentid'])) { if ( ActiveItemKey($GLOBALS['activeitem']) == 'dashboard') { setBreadcrumb(array(ucfirst(_t('dashboard','section')) => HrefMaker(array('rub'=> $GLOBALS['links'][U_L]['dashboard']['linkvalue'])))); $link_mainlist = array('rub'=> $GLOBALS['links'][U_L]['dashboard']['linkvalue']); ////////////////////////////////////////// /////affichage liste des indicateurs ////////////////////////////////////////// echo getDataVizSwitcher($altmode, $scale_id); if(isset($_REQUEST['filter']) && $_REQUEST['filter'] == $GLOBALS['filters'][U_L]['tag']['linkvalue'] ) { // getting tags include_once('../class/class.tag.php'); $otag = new tag; $current_tag = $otag->getTagById($_REQUEST['id']); if($current_tag) echo '