DBSelect($requete); $display_title=formatText($data[0]['theme_name'],'2HTML'); $display_id=$data[0]['theme_id']; $current_sdthemeid=$data[0]['sdtheme_id']; $form_sdtheme=$data[0]['sdtheme_id']; $current_statut=$data[0]['theme_statut']; // $current_uri=$data[0]['theme_visual_uri']; $form_description_all=''; $description_detail_form=''; $desc_dashboard=formatText($data[0]['theme_desc_dashboard'], '2FIELD'); $desc_publi=formatText($data[0]['theme_desc_publication'], '2FIELD'); $desc_workshop=formatText($data[0]['theme_desc_workshop'], '2FIELD'); $desc_news=formatText($data[0]['theme_desc_news'], '2FIELD'); $theme_object = new theme; ?>
ModifyTheme($id, $data_table, $sql_object); $link_confirm="confirm.php?rub=".$rub."&todo=".$todo; if($result) header("Location: ".$link_confirm); else system_error(); } if(isset($_POST['valider'])) { $table[0]=$_POST['denomination']; $table[1]=''; // anciennement visuel associé $table[2]=$_POST['sdtheme']; if($_POST['description']=='ALL') { for($i=3; $i<=6; $i++) { $table[$i]=$_POST['desc_for_all']; } } if($_POST['description']=='DET') { if(isset($_POST['desc_det_dashboard'])) $table[3]=$_POST['desc_det_dashboard']; else $table[3]=''; if(isset($_POST['desc_det_publication'])) $table[4]=$_POST['desc_det_publication']; else $table[4]=''; if(isset($_POST['desc_det_news'])) $table[5]=$_POST['desc_det_news']; else $table[5]=''; if(isset($_POST['desc_det_workshop'])) $table[6]=$_POST['desc_det_workshop']; else $table[6]=''; } // Rang des themes par catégorie $table[7]=$_POST['statut']; $theme_object= new theme; $integrity=$theme_object->CheckDataIntegrity($table); if(is_string($integrity)) $format_text='2FIELD'; else $format_text='2HTML'; $form_sdtheme=$_POST['sdtheme']; if($_POST['description']=='ALL') { $form_description_all=formatText($_POST['desc_for_all'],$format_text); $layer_all_style= "style=\"display:block;\""; $layer_det_style= "style=\"display:none;\""; $mask_desc_ALL="checked=\"checked\""; $mask_desc_DET=''; } if($_POST['description']=='DET') { if(isset($_POST['desc_det_dashboard'])) $form_desc_dashboard=formatText($_POST['desc_det_dashboard'], $format_text); if(isset($_POST['desc_det_publication'])) $form_desc_publication=formatText($_POST['desc_det_publication'], $format_text); if(isset($_POST['desc_det_news'])) $form_desc_news=formatText($_POST['desc_det_news'], $format_text); if(isset($_POST['desc_det_workshop'])) $form_desc_workshop=formatText($_POST['desc_det_workshop'], $format_text); $layer_all_style= "style=\"display:none;\""; $layer_det_style= "style=\"display:block;\""; $mask_desc_ALL=''; $mask_desc_DET="checked=\"checked\""; } if($_POST['statut']=='D') $mask_statut_D="checked=\"checked\""; else $mask_statut_D=''; if($_POST['statut']=='P') $mask_statut_P="checked=\"checked\""; else $mask_statut_P=''; $table=urlencode(serialize($table)); } // preparation affichage detaillé 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("quickicons.php"); $data=$sql_object->DBSelect($req_listsdtheme); include_once("../lib/select_box.php"); // select-box des SD thèmes $data=$sql_object->DBSelect($req_listsdtheme); $select_sdtheme=SDThemeSelectBox($data, "sdtheme", $form_sdtheme); ?>



/>
/>

>


>
DBSelect($requete); $display_sdtheme_name=formatText($data[0]['sdtheme_name'], '2HTML'); ?>

"; echo "
".formatText($GLOBALS['lang']['theme']['denomination'],'2HTML')."
"; echo "
". formatText($_POST['denomination'],'2HTML');"
"; echo "
". formatText($GLOBALS['lang']['theme']['sdtheme'],'2HTML'). "
"; echo "
".$display_sdtheme_name."
"; if($_POST['description']=='ALL') { echo "
".formatText($GLOBALS['lang']['theme']['desc_all'],'2HTML')."
"; echo "
". formatText($form_description_all,'2HTML')."
"; } if($_POST['description']=='DET') { if(defined('MOD_SDI')) { echo "
".formatText($GLOBALS['lang']['theme']['desc_det_dashboard'],'2HTML')."
"; echo "
". formatText($form_desc_dashboard,'2HTML')."
"; } if(defined('MOD_PUBLICATION')) { echo "
".formatText($GLOBALS['lang']['theme']['desc_det_publication'],'2HTML')."
"; echo "
". formatText($form_desc_publication,'2HTML')."
"; } if(defined('MOD_NEWS')) { echo "
".formatText($GLOBALS['lang']['theme']['desc_det_news'],'2HTML')."
"; echo "
". formatText($form_desc_news,'2HTML')."
"; } if(defined('MOD_WORKSHOP')) { echo "
".formatText($GLOBALS['lang']['theme']['desc_det_workshop'],'2HTML')."
"; echo "
". formatText($form_desc_workshop,'2HTML')."
"; } } /** PAS DE GESTION DES STATUTS echo "
".$GLOBALS['lang']['divers']['statut'] ."
"; echo "
". display_statut($_POST['statut']). "
"; **/ echo ""; ?>