Dotclear

Changeset 2140


Ignore:
Timestamp:
03/29/10 04:45:36 (14 years ago)
Author:
JcDenis
Message:

minor fix

Location:
plugins/pollsFactory
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • plugins/pollsFactory/_public.php

    r2139 r2140  
    395395                                   $selections_res .=  
    396396                                   '<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').' '. 
    398398                                   html::escapeHTML($selections->option_title).'</label></p>'; 
    399399                                   $selection_selected = 0; 
     
    595595               $res =     
    596596               '<div class="pollsfactory poll-result">'.$poll_title. 
    597                '<p>'.$closed.$participate.'</p>'.$res. 
     597               '<p class="poll-info">'.$closed.$participate.'</p>'.$res. 
    598598               '</div>'; 
    599599          } 
     
    605605          return 
    606606          '<div class="pollsfactory poll-wait">'.$poll_title. 
    607           '<p>'. 
     607          '<p class="poll-info">'. 
    608608          __('You have already participated to this poll.').'<br />'. 
    609609          __('Please wait the end of this poll to see results.').'<br />'. 
  • plugins/pollsFactory/inc/index.poll.php

    r2139 r2140  
    198198          $cur->post_url = $post_url; 
    199199     } 
     200     if ($cur->post_content == '') { 
     201          $cur->post_content = ' '; 
     202     } 
    200203      
    201204     # Update post 
  • plugins/pollsFactory/inc/index.result.php

    r2139 r2140  
    6262     { 
    6363          $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; 
    6565 
    6666          $res =  
     
    108108     $people_id = isset($_REQUEST['people_id']) ? $_REQUEST['people_id'] : null; 
    109109     $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; 
    111111 
    112112     if (!empty($_POST['response_id']) && in_array($action,array('selectresponse','unselectresponse'))) 
Note: See TracChangeset for help on using the changeset viewer.

Sites map