Changeset 2103 for plugins/pollsFactory/_public.php
- Timestamp:
- 03/07/10 12:14:02 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/pollsFactory/_public.php
r2102 r2103 179 179 # Poll 180 180 $p_params = array( 181 'post_id' => $ _ctx->posts->post_id,181 'post_id' => $post_id, 182 182 'sql' => "AND poll_strdt < TIMESTAMP '".date('Y-m-d H:i:s')."' " 183 183 ); … … 397 397 ($show_post_title ? '<p>'.html::escapeHTML($poll->post_title).'</p>' : ''). 398 398 '<p>'. 399 ( strtotime($poll->poll_enddt) > time()?399 (!$finished ? 400 400 sprintf(__('This poll ends on %s.'),dt::dt2str($core->blog->settings->date_format.', '.$core->blog->settings->time_format,$poll->poll_enddt,$core->blog->timezone)).'<br />' : 401 401 __('This poll is closed').'<br />'
Note: See TracChangeset
for help on using the changeset viewer.