Re: polls sondage | Titre du sujet : Re: polls sondage par Christian sur 18/04/2007 22:20:49
Permet moi d'avoir un avis différent et d'être factuel.
Dans une version 1.1 de ce module, la fonction de visualisation des votes est implémentée dans le fichier xoopspoll/admin/index.php à la ligne 441 :
if ( $op == "log" ) {
xoops_cp_header();
echo "<h4>"._AM_POLLCONF."</h4>";
echo "<br>View Log<br> Sorry, not yet. ;-)";
xoops_cp_footer();
exit();
}
Dans la version 1.23 brésilienne que je viens de télécharger cela commence à la ligne 478
if ( $op == "log" ) {
$limit = (!empty($HTTP_GET_VARS['limit'])) ? $HTTP_GET_VARS['limit'] : 30;
$start = (!empty($HTTP_GET_VARS['start'])) ? $HTTP_GET_VARS['start'] : 0;
$orderby = (!empty($HTTP_GET_VARS['orderby'])) ? $HTTP_GET_VARS['orderby'] : "time";
$orderdir = (!empty($HTTP_GET_VARS['orderdir'])) ? $HTTP_GET_VARS['orderdir'] : "ASC";
$poll_id = $_GET['poll_id']; // GibaPhp - prevent register globals OF.
$poll =& new XoopsPoll($poll_id);
xoops_cp_header();
echo "<h4>"._AM_POLLCONF."</h4>";
echo "<h4 style='text-align:left;'>"._AM_LOGSLIST."</h4>";
// show brief descriptions of the question we are focusing
echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'>";
echo "<tr><td class='bg2'>";
etc.....
|
|