Changeset 774 for temp/test-xoops.ec-cube.net/html/modules
- Timestamp:
- 2006/12/12 23:50:20 (20 years ago)
- Location:
- temp/test-xoops.ec-cube.net/html/modules/xoopspoll
- Files:
-
- 2 edited
-
pollnew.php (modified) (3 diffs)
-
templates/xoopspoll_new.html (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
temp/test-xoops.ec-cube.net/html/modules/xoopspoll/pollnew.php
r773 r774 33 33 include_once XOOPS_ROOT_PATH."/modules/xoopspoll/class/xoopspollrenderer.php"; 34 34 35 $poll_id = $_GET['poll_id']; 36 if(empty($poll_id)) $poll_id = $_POST['poll_id']; 35 37 36 38 switch($_POST['mode']) { … … 52 54 } 53 55 54 55 56 $xoopsOption['template_main'] = 'xoopspoll_new.html'; 56 57 include XOOPS_ROOT_PATH."/header.php"; … … 58 59 $xoopsTpl->assign('arrStatus', $arrStatus); 59 60 $xoopsTpl->assign('arrCat', $arrCategory); 60 $xoopsTpl->assign(' arrRating', $arrRating);61 $xoopsTpl->assign('poll_id', $poll_id); 61 62 62 63 include XOOPS_ROOT_PATH."/footer.php"; -
temp/test-xoops.ec-cube.net/html/modules/xoopspoll/templates/xoopspoll_new.html
r773 r774 25 25 <form name="form1" id="form1" method="post" action="./pollnew.php"> 26 26 <input type="hidden" name="mode" value="regist"> 27 <input type="hidden" name="poll_id" value="<{$poll_id}>"> 27 28 <tr><td height="20"></td></tr> 28 29 <tr>
Note: See TracChangeset
for help on using the changeset viewer.
