* @version $id SVN * @access public * @license http://opensource.org/licenses/gpl-3.0.html */ //////////// Check Inclusion de pages //////////// if (!function_exists('AuthenthificationProcess')){ include_once("../lib/lib_common.php"); ReloadIndex('admin'); } //////////// if (isset($_GET['id'])) $id=$_GET['id']; if (isset($_POST['id'])) $id=$_POST['id']; if(is_string($id[0]) && $id[0]=='s') { $id=str_replace('s' ,'', $id); $query=SQL_getoneCompleteSDtheme($id); $root = true; } else { $query=SQL_getonetheme($id); $root = false; } $data=$sql_object->DBSelect($query); $display_title=formatText($data[0]['theme_name'],'2HTML'); $display_id=$data[0]['theme_id']; if($root == false) $current_sdthemeid=$data[0]['sdtheme_id']; if($root == false) $form_sdtheme=$data[0]['sdtheme_id']; if($root == false) $current_statut=$data[0]['theme_statut']; $form_description_all=''; $description_detail_form=''; $display_name=formatText($data[0]['theme_name'],'2FIELD'); if($root == true) $form_description_all=formatText($data[0]['theme_description'], '2FIELD'); if($root == false) $desc_project=formatText($data[0]['theme_desc_project'], '2FIELD'); if($root == false) $desc_dashboard=formatText($data[0]['theme_desc_dashboard'], '2FIELD'); if($root == false) $desc_publi=formatText($data[0]['theme_desc_publication'], '2FIELD'); if($root == false) $desc_workshop=formatText($data[0]['theme_desc_workshop'], '2FIELD'); if($root == false) $desc_news=formatText($data[0]['theme_desc_news'], '2FIELD'); $theme_object = new theme; ?>
\n"; $description_detail_form.= "\n"; $description_detail_form.= "\n"; $description_detail_form.= "
\n"; } if(defined('MOD_SDI')) { $description_detail_form.= "\n"; $description_detail_form.= "\n"; $description_detail_form.= "\n"; $description_detail_form.= "
\n"; } if(defined('MOD_PUBLICATION')) { $description_detail_form.= "\n"; $description_detail_form.= "\n"; $description_detail_form.= "\n"; $description_detail_form.= "
\n"; } if(defined('MOD_NEWS')) { $description_detail_form.= "\n"; $description_detail_form.= "\n"; $description_detail_form.= "\n"; $description_detail_form.= "
\n"; } if(defined('MOD_WORKSHOP')) { $description_detail_form.= "\n"; $description_detail_form.= "\n"; $description_detail_form.= "\n"; $description_detail_form.= "
\n"; } } include_once(THEME_ADMIN_PATH."quickicons.php"); if(!$root) { $data=$sql_object->DBSelect($req_listsdtheme); include_once("../lib/input_helpers.php"); // select-box des SD thèmes $data=$sql_object->DBSelect($req_listsdtheme); $select_sdtheme=SDThemeSelectBox($data, "sdtheme", $form_sdtheme); } ?>