";
echo formatTitleh2($current_title);
echo "\n";
echo "\t
" . _t('theme','sup') . "\n";
echo "\t
" . _t('theme','mod') . "\n";
echo "
\n";
echo "- ".mb_ucfirst(_t('theme','description'))." :
\n";
echo "- ".$description."
\n";
echo "- ".mb_ucfirst(_t('divers','last_modify'))." :
\n";
echo "- ". $last_modify."
\n";
echo "- ".mb_ucfirst(_t('divers','date_crea'))." :
\n";
echo "- ". $date_crea."
\n";
echo "
\n";
} else {
$req_det= SQL_getonetheme($id);
$result=$sql_object->DBSelect($req_det);
// Do record exists?
if(!isset($result[0]['theme_name'])) redirect_to('@module_default');
$current_title=formatText($result[0]['theme_name'],'2HTML');
// formattage des données
$desc_project=empty_none(formatText($result[0]['theme_desc_project'], '2HTML'));
$desc_dashboard=empty_none(formatText($result[0]['theme_desc_dashboard'], '2HTML'));
$desc_publi=empty_none(formatText($result[0]['theme_desc_publication'], '2HTML'));
$desc_workshop=empty_none(formatText($result[0]['theme_desc_workshop'], '2HTML'));
$desc_news=empty_none(formatText($result[0]['theme_desc_news'], '2HTML'));
$date_crea=$result[0]['theme_date_crea'];
$last_modify=$result[0]['theme_last_modify'];
$link_det=$rub_link."&todo=det&id=";
$link_sup=$rub_link."&todo=sup&id=";
$link_mod=$rub_link."&todo=mod&id=";
?>
";
echo formatTitleh2($current_title);
echo "\n";
echo "\t
" . _t('theme','sup') . "\n";
echo "\t
" . _t('theme','mod') . "\n";
echo "
\n";
echo "- ".formatText(mb_ucfirst(_t('theme','sdtheme')), '2HTML'). " :
\n";
echo "- ".formatText($result[0]['sdtheme_name'],'2HTML')."
\n";
if(defined('MOD_PROJECT')) {
echo "- ".formatText(mb_ucfirst(_t('theme','desc_det_project')), '2HTML')." :
\n";
echo "- ".$desc_project."
\n";
}
if(defined('MOD_SDI')) {
echo "- ".formatText(mb_ucfirst(_t('theme','desc_det_dashboard')), '2HTML')." :
\n";
echo "- ".$desc_dashboard."
\n";
}
if(defined('MOD_PUBLICATION')) {
echo "- ".formatText(mb_ucfirst(_t('theme','desc_det_publication')), '2HTML')." :
\n";
echo "- ".$desc_publi."
\n";
}
if(defined('MOD_WORKSHOP')) {
echo "- ".formatText(mb_ucfirst(_t('theme','desc_det_workshop')), '2HTML')." :
\n";
echo "- ".$desc_workshop."
\n";
}
if(defined('MOD_NEWS')) {
echo "- ".formatText(mb_ucfirst(_t('theme','desc_det_news')), '2HTML')." :
\n";
echo "- ".$desc_news."
\n";
}
echo "- ".formatText(mb_ucfirst(_t('divers','last_modify')), '2HTML')." :
\n";
echo "- ".$last_modify."
\n";
echo "- ".formatText(mb_ucfirst(_t('divers','date_crea')), '2HTML')." :
\n";
echo "- ".$date_crea."
\n";
/** PAS DE GESTION DES STATUTS
echo "- ".formatText(_t('divers','statut'), '2HTML') ." :
\n";
echo "- ".display_statut($result[0]['theme_statut']). "
\n";
**/
echo "
\n";
}
?>