|
From: mdw c. <myd...@li...> - 2003-04-02 13:50:39
|
MyDynaWeb CVS committal
Author : sukria
Project : mydynaweb
Module : htdocs
Dir : mydynaweb/htdocs/include
Modified Files:
gui.inc.php templates.inc.php
Log Message:
correction d'un bug lorsque un membre poste un message
===================================================================
RCS file: /cvsroot/mydynaweb/mydynaweb/htdocs/include/gui.inc.php,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -3 -r1.63 -r1.64
--- gui.inc.php 21 Mar 2003 09:14:29 -0000 1.63
+++ gui.inc.php 2 Apr 2003 13:50:08 -0000 1.64
@@ -363,10 +363,10 @@
if the optionalm argument $view is set to TRUE, display the results
*/
-function get_poll_box($DBH, $view = 0)
+function get_poll_box($DBH, $view = 0, $hash_box)
{
$cookie_votes = explode ("-", VOTES);
- $BOX_HASH_TEMPLATE = read_template(THEMES_PATH . "/box.html");
+ $BOX_HASH_TEMPLATE = $hash_box;
$sql = "SELECT pol_title, pol_id,
pol_question_1_str, pol_question_1_num,
===================================================================
RCS file: /cvsroot/mydynaweb/mydynaweb/htdocs/include/templates.inc.php,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -3 -r1.40 -r1.41
--- templates.inc.php 21 Mar 2003 09:14:30 -0000 1.40
+++ templates.inc.php 2 Apr 2003 13:50:08 -0000 1.41
@@ -28,7 +28,7 @@
}
$VALUES["TOPICS_BOX"] = get_topics_htmlbox($DBH);
- $VALUES["POLL"] = get_poll_box($DBH, $view);
+ $VALUES["POLL"] = get_poll_box($DBH, $view, $hash_box);
$VALUES['LAYER'] = get_layer($DBH, $hash_layer);
$VALUES['SPONSORS'] = get_sponsors($DBH, $hash_box);
$VALUES['STATBOX'] = get_global_stats_box($DBH, $hash_box);
|