diff --git a/htdocs/opensurvey/list.php b/htdocs/opensurvey/list.php index 0248e2402c9..d3739418822 100644 --- a/htdocs/opensurvey/list.php +++ b/htdocs/opensurvey/list.php @@ -77,7 +77,7 @@ if ($action == 'delete') // tableau qui affiche tous les sondages de la base print '
| '. $langs->trans("Survey").' | '. $langs->trans("Type") .' | '. $langs->trans("Title") .' | '. $langs->trans("Author") .' | '. $langs->trans("ExpireDate") .' | '. $langs->trans("NbOfVoters") .' | '."\n"; +print ' | |
| '. $langs->trans("Ref").' | '. $langs->trans("Title") .' | '. $langs->trans("Type") .' | '. $langs->trans("Author") .' | '. $langs->trans("ExpireDate") .' | '. $langs->trans("NbOfVoters") .' | '."\n"; $sql = "SELECT id_sondage, id_sondage_admin, mail_admin, format, origin, date_fin, titre, nom_admin"; $sql.= " FROM ".MAIN_DB_PREFIX."opensurvey_sondage as p"; @@ -114,11 +114,11 @@ while ($i < min($num,$limit)) print ' | |
| '; print ''.img_picto('','object_opensurvey').' '.$obj->id_sondage.''; - print ' | '; + print ' | '.$obj->titre.' | '; $type=($obj->format=='A' || $obj->format=='A+')?'classic':'date'; print img_picto('',dol_buildpath('/opensurvey/img/'.($type == 'classic'?'chart-32.png':'calendar-32.png'),1),'width="16"',1); print ' '.$langs->trans($type=='classic'?"TypeClassic":"TypeDate"); - print ' | '.$obj->titre.' | '.$obj->nom_admin.' | '; + print ''.$obj->nom_admin.' | '; print ''.dol_print_date($db->jdate($obj->date_fin),'day'); if ($db->jdate($obj->date_fin) < time()) { print ' '.img_warning(); } |