if($admin)$form.=form_textfield(strtr(t("Votes for choice %n"),array("%n"=>($a+1))),"chvotes][$a",$edit[chvotes][$a]?$edit[chvotes][$a]:0,7,7);
}
$form.=form_select(t("Poll duration"),"runtime",$edit[runtime]?$edit[runtime]:t("1 week"),$duration,t("After this period, the poll will automatically be closed."));
if($admin)$form.=form_textfield(strtr(t("Votes for choice %n"),array("%n"=>($a+1))),"chvotes][$a",$edit[chvotes][$a]?$edit[chvotes][$a]:0,7,7);
}
$form.=form_select(t("Poll duration"),"runtime",$edit[runtime]?$edit[runtime]:t("1 week"),$duration,t("After this period, the poll will automatically be closed."));