function go_gadget_show() { window.location = "{$ibforums->base_url}&act=ST&f=$fid&t=$tid&mode=show&st={$ibforums->input['start']}"; } function go_gadget_vote() { window.location = "{$ibforums->base_url}&act=ST&f=$fid&t=$tid&st={$ibforums->input['start']}"; } EOF; } function button_vote() { global $ibforums; return << EOF; } function button_null_vote() { global $ibforums; return << EOF; } function button_show_results() { global $ibforums; return << EOF; } function button_show_voteable() { global $ibforums; return << EOF; } function edit_link($tid, $fid, $key="") { global $ibforums; return <<{$ibforums->lang['ba_edit']} ] EOF; } function delete_link($tid, $fid, $key="") { global $ibforums; return <<{$ibforums->lang['ba_delete']} ] EOF; } function Render_row_form($votes, $id, $answer) { global $ibforums; return <<  $answer EOF; } function poll_header($tid, $poll_q, $edit, $delete) { global $ibforums; return <<
$edit   $delete
EOF; } function ShowPoll_footer() { global $ibforums; return <<
 
EOF; } function Render_row_results($votes, $id, $answer, $percentage, $width) { global $ibforums; return <<
EOF; } function show_total_votes($total_votes) { global $ibforums; return << EOF; } } ?>
$poll_q
$answer [ $votes ]  [$percentage%]
{$ibforums->lang['pv_total_votes']}: $total_votes