dispatch(); $pp_poll = $pp_controller_write->get_poll(); $post = $pp_controller_write->get_post(); $post_ID = $post->ID; if ('' != $post->pinged) { $pings = '

'. __('Already pinged:') . '

'; } $messages[1] = __('Poll updated'); $messages[2] = __('Custom field updated'); $messages[3] = __('Custom field deleted.'); $messages[4] = __('Poll saved.') . ' ' . __('View site') . ' »'; ?>

get_users_poll_drafts( $user_ID ) ) { ?>

15 ) $num_drafts = 15; for ( $i = 0; $i < $num_drafts; $i++ ) { $draft = $drafts[$i]; if ( 0 != $i ) echo ', '; $draft_title = stripslashes($draft->get_title()); if ( empty($draft_title) ) $draft_title = sprintf(__('Poll # %s'), $draft->get_id()); echo "" . $draft_title . ""; } ?> , » .

"; wp_nonce_field('add-poll'); } else { $form_action = 'editpost'; $form_extra = ""; wp_nonce_field('update-poll_' . $pp_poll->get_id()); } ?>

:

id ) ) : // TODO: ROLE SYSTEM ?>

:

get_options(); if ( count($pp_poll_options) > 0 ) { ?>
get_id(); ?> get_text(); ?> get_votes(); ?> get_text() ) ); ?>');">

post_status == 'draft') && current_user_can('publish_posts') ) { ?>

: to_ping); ?>" /> ()

get_title()) ); ?> get_id() ); ?>