[Phpslash-commit] CVS: phpslash-ft/class Poll.class,1.11,1.12
Brought to you by:
joestewart,
nhruby
From: Lars H. <lh...@us...> - 2001-12-19 18:55:27
|
Update of /cvsroot/phpslash/phpslash-ft/class In directory usw-pr-cvs1:/tmp/cvs-serv12282/phpslash-ft/class Modified Files: Poll.class Log Message: Poll.class - deleted global Index: Poll.class =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/class/Poll.class,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** Poll.class 2001/11/09 16:59:10 1.11 --- Poll.class 2001/12/19 18:55:22 1.12 *************** *** 21,25 **** */ function Poll () { ! global $PHP_SELF,$_PSL, $perm; /* --- 21,25 ---- */ function Poll () { ! global $_PSL, $perm; /* *************** *** 199,203 **** $this->templ->p(FORM); ! }; ## end if!! } --- 199,203 ---- $this->templ->p(FORM); ! } ## end if!! } *************** *** 248,252 **** $this->message = "Sorry, I couldn't find your poll when trying to update.\n"; return false; ! }; } else { --- 248,252 ---- $this->message = "Sorry, I couldn't find your poll when trying to update.\n"; return false; ! } } else { *************** *** 325,329 **** $this->db->query($q); $msg .= "Choice $x, "$answer", was <em>inserted</em><br>\n"; ! }; } } --- 325,329 ---- $this->db->query($q); $msg .= "Choice $x, "$answer", was <em>inserted</em><br>\n"; ! } } } *************** *** 582,586 **** if (!$this->db->next_record()) { $this->templ->set_var("morelink",""); ! }; if (!$this->perm->have_perm("poll")) { $this->templ->set_var("newpollbutton",""); --- 582,586 ---- if (!$this->db->next_record()) { $this->templ->set_var("morelink",""); ! } if (!$this->perm->have_perm("poll")) { $this->templ->set_var("newpollbutton",""); *************** *** 635,639 **** )); $this->templ->parse(choices, each_choice, true); ! }; $this->templ->parse(FORM, displaypoll); return $this->templ->get(FORM); --- 635,639 ---- )); $this->templ->parse(choices, each_choice, true); ! } $this->templ->parse(FORM, displaypoll); return $this->templ->get(FORM); |