__section__
default
__description__
Template to link polls to current polls

questions = recent pollquestions
sid       = story sid we want to link to one of these
__title__
Useless title to template
__page__
pollBooth
__lang__
en_US
__name__
linkstory
__seclev__
10000
__template__
[% PROCESS titlebar %]
<p>Click the correct link to choose which poll you would like to attach to the story you've selected.  You
can also use the form below to select the poll qid you like to attach the story to.

<table width="99%">
	[% FOREACH question = questions %]
	<tr>
		<td valign="TOP" align="LEFT">
				<a href="[% gSkin.rootdir %]/pollBooth.pl?qid=[% question.0 %]">[% question.1 %]</a>
		</td>
		<td>
			<a href="[% gSkin.rootdir %]/pollBooth.pl?qid=[% question.0 %]&amp;op=edit&amp;override_sid=[% sid | strip_paramattr %]">Attach poll to story</a>
		</td>
	</tr>
	[% END %]
	<tr>
		<td colspan="2">
			<form method="get">
			<input type="hidden" name="override_sid" value="[% sid %]">
			<input type="hidden" name="op" value="edit">
			Poll qid to attach story to: <input type="text" name="qid" size="8">
			<input type="submit" name="attach" value="Attach Story to Poll">
			</form>
		</td>
</table>
__version__
$Id: linkstory;pollBooth;default,v 1.5 2006/01/23 20:42:59 pudge Exp $
