<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "Advanced Poll Templates with Proper Markup"]]></title>
		<link>https://proxy2.de/forum/posts/list/2.php</link>
		<description><![CDATA[Latest messages posted in the topic "Advanced Poll Templates with Proper Markup"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Advanced Poll Templates with Proper Markup</title>
				<description><![CDATA[ Hell Advanced Poll users,<br /> <br /> I have created some "proper markup" templates for Advanced Poll that I thought I should share. These templates remove all the layout tables, font tags, and other unwanted junk. They are valid, semantic, xHTML.<br /> <br /> Here is an sql file with the  template code and a CSS file. I hope the sql will import properly into your database - I haven't tried to see what happens with that. You will need to create a new templateset, and make sure the id number (6 in my sample) matches.<br /> <br /> http://www.meganmcdermott.com/projects/advanced-poll/poll_templates.sql<br /> http://www.meganmcdermott.com/projects/advanced-poll/polls.css<br /> <br /> You could also copy and paste the following templates into a new template set in your admin panel:<br /> <br /> [b]display_head[/b]<br /> <br /> [code]&lt;h4&gt;$question&lt;/h4&gt;<br /> &lt;form method=&quot;post&quot; action=&quot;$this-&gt;form_forward&quot;&gt;<br /> &lt;fieldset&gt;<br /> [/code]<br /> <br /> [b]display_loop[/b]<br /> <br /> [code]&lt;input type=&quot;radio&quot; name=&quot;option_id&quot; value=&quot;$data&#91;option_id&#93;&quot; id=&quot;option$data&#91;option_id&#93;&quot; /&gt;<br /> &lt;label for=&quot;option$data&#91;option_id&#93;&quot;&gt;$data&#91;option_text&#93;&lt;/label&gt;<br /> [/code]<br /> <br /> [b]display_foot[/b]<br /> [code]<br />                     &lt;input type=&quot;hidden&quot; name=&quot;action&quot; value=&quot;vote&quot; /&gt;<br />                     &lt;input type=&quot;hidden&quot; name=&quot;poll_ident&quot; value=&quot;$poll_id&quot; /&gt;<br />                     &lt;input type=&quot;submit&quot; value=&quot;$pollvars&#91;vote_button&#93;&quot; id=&quot;pollsubmit&quot; /&gt;<br /> <br /> &lt;p class=&quot;results&quot;&gt;&lt;a href=&quot;$this-&gt;form_forward?action=results&amp;amp;poll_ident=$poll_id&quot;&gt;$pollvars&#91;result_text&#93;&lt;/a&gt;&lt;/p&gt;<br /> <br /> &lt;/fieldset&gt;<br />  &lt;/form&gt;<br />     [/code]<br /> <br /> [b]result_head[/b]<br /> [code]&lt;h4&gt;$question Poll Results&lt;/h4&gt;<br /> &lt;table id=&quot;pollresults&quot;&gt;<br /> [/code]<br /> <br /> [b]result_loop[/b]<br /> [code]&lt;tr&gt;&lt;td&gt;$option_text &lt;/td&gt;<br /> &lt;td&gt;&lt;img src=&quot;$pollvars&#91;base_gif&#93;/$poll_color.gif&quot; width=&quot;$img_width&quot; height=&quot;$pollvars&#91;img_height&#93;&quot; alt=&quot;&quot; /&gt;<br /> $vote_val&lt;/td&gt;&lt;/tr&gt;<br /> [/code]<br /> <br /> [b]result_foot[/b]<br /> [code]&lt;/table&gt;<br />      &lt;p&gt;$pollvars&#91;total_text&#93;&#58; $total_votes&lt;/p&gt;<br />      &lt;p&gt;$VOTE&lt;/p&gt;<br />     &lt;div&gt;$COMMENT&lt;/div&gt;<br /> [/code]<br /> <br /> [b]comment[/b]<br /> [code]&lt;h5&gt;Send Your Comment&lt;/h5&gt;<br />   &lt;form method=&quot;post&quot; action=&quot;$this-&gt;form_forward&quot;&gt;<br />   &lt;fieldset&gt;<br />   &lt;legend&gt;$question&lt;/legend&gt;<br /> 	&lt;label&gt;Name&#58;&lt;/label&gt;<br /> 	&lt;input type=&quot;text&quot; name=&quot;name&quot; maxlength=&quot;25&quot; class=&quot;input&quot; size=&quot;23&quot;&gt;<br /> 	<br /> 	&lt;label&gt;e-mail&#58;&lt;/label&gt;<br /> 	&lt;input type=&quot;text&quot; name=&quot;email&quot; size=&quot;23&quot; maxlength=&quot;250&quot; class=&quot;input&quot;&gt;<br /> 	<br /> 	&lt;label&gt;Comment&#40;*&#41;&#58;&lt;/label&gt;<br /> 	&lt;textarea name=&quot;message&quot; cols=&quot;30&quot; wrap=&quot;VIRTUAL&quot; rows=&quot;3&quot; class=&quot;textarea&quot;&gt;&lt;/textarea&gt;<br /> 		$POLL_CAPTCHA<br /> <br /> 		&lt;input type=&quot;submit&quot; value=&quot;Submit&quot; class=&quot;button&quot;&gt;<br /> 		&lt;input type=&quot;reset&quot; value=&quot;Reset&quot; class=&quot;button&quot;&gt;<br /> 		&lt;input type=&quot;hidden&quot; name=&quot;action&quot; value=&quot;add&quot;&gt;<br /> 		&lt;input type=&quot;hidden&quot; name=&quot;id&quot; value=&quot;$poll_id&quot;&gt;<br /> &lt;input type=&quot;hidden&quot; name=&quot;time&quot; value=&quot;$poll_time&quot;&gt;<br /> &lt;/fieldset&gt;<br /> &lt;/form&gt;<br /> [/code]<br /> <br /> I haven't done the "Miscellaneous" templates yet...]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/6934/23532.php</guid>
				<link>https://proxy2.de/forum/posts/preList/6934/23532.php</link>
				<pubDate><![CDATA[Thu, 11 Oct 2007 15:41:46]]> GMT</pubDate>
				<author><![CDATA[ megan]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ Hi there,<br /> <br /> thanks for  this --&gt; this was very useful!<br /> <br /> Only issue I'm having trouble is setting the width of the fieldset?  <br /> <br /> I've tried changing it in the css file:<br /> <br /> #poll fieldset {border: none; padding: 0 5px; margin: 0; width: 250px;}<br /> <br /> but its not working? Any ideas?<br /> <br /> many thanks!]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/6934/23983.php</guid>
				<link>https://proxy2.de/forum/posts/preList/6934/23983.php</link>
				<pubDate><![CDATA[Thu, 17 Apr 2008 18:50:01]]> GMT</pubDate>
				<author><![CDATA[ stormrider2008]]></author>
			</item>
	</channel>
</rss>