Changeset 2140
- Timestamp:
- 03/29/10 04:45:36 (14 years ago)
- Location:
- plugins/pollsFactory
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/pollsFactory/_public.php
r2139 r2140 395 395 $selections_res .= 396 396 '<p class="field"><label for="'.$selection_id.'">'. 397 form::radio(array($selection_name,$selection_id),$selections->option_id,$selection_selected,'poll- combo').' '.397 form::radio(array($selection_name,$selection_id),$selections->option_id,$selection_selected,'poll-radio').' '. 398 398 html::escapeHTML($selections->option_title).'</label></p>'; 399 399 $selection_selected = 0; … … 595 595 $res = 596 596 '<div class="pollsfactory poll-result">'.$poll_title. 597 '<p >'.$closed.$participate.'</p>'.$res.597 '<p class="poll-info">'.$closed.$participate.'</p>'.$res. 598 598 '</div>'; 599 599 } … … 605 605 return 606 606 '<div class="pollsfactory poll-wait">'.$poll_title. 607 '<p >'.607 '<p class="poll-info">'. 608 608 __('You have already participated to this poll.').'<br />'. 609 609 __('Please wait the end of this poll to see results.').'<br />'. -
plugins/pollsFactory/inc/index.poll.php
r2139 r2140 198 198 $cur->post_url = $post_url; 199 199 } 200 if ($cur->post_content == '') { 201 $cur->post_content = ' '; 202 } 200 203 201 204 # Update post -
plugins/pollsFactory/inc/index.result.php
r2139 r2140 62 62 { 63 63 $u_page = isset($_REQUEST['u_page']) ? abs((integer) $_REQUEST['u_page']) : 1; 64 $u_limit = isset($_REQUEST['u_limit']) ? abs((integer) $_REQUEST['u_limit']) : 2 ;64 $u_limit = isset($_REQUEST['u_limit']) ? abs((integer) $_REQUEST['u_limit']) : 20; 65 65 66 66 $res = … … 108 108 $people_id = isset($_REQUEST['people_id']) ? $_REQUEST['people_id'] : null; 109 109 $u_page = isset($_REQUEST['u_page']) ? abs((integer) $_REQUEST['u_page']) : 1; 110 $u_limit = isset($_REQUEST['u_limit']) ? abs((integer) $_REQUEST['u_limit']) : 2 ;110 $u_limit = isset($_REQUEST['u_limit']) ? abs((integer) $_REQUEST['u_limit']) : 20; 111 111 112 112 if (!empty($_POST['response_id']) && in_array($action,array('selectresponse','unselectresponse')))
Note: See TracChangeset
for help on using the changeset viewer.