summary refs log tree commit diff stats
path: root/theme/polloftheweek.tpl
diff options
context:
space:
mode:
authorStarla Insigna <hatkirby@fourisland.com>2009-08-09 09:14:58 -0400
committerStarla Insigna <hatkirby@fourisland.com>2009-08-09 09:14:58 -0400
commit893957c41481a0cd5eb624096337762ffa54ff28 (patch)
tree09d2487f8add5a6281e3482a471abf21faa4f819 /theme/polloftheweek.tpl
parentd27a3784c81f0c582e43655509e806978b7e65e4 (diff)
downloadfourisland-893957c41481a0cd5eb624096337762ffa54ff28.tar.gz
fourisland-893957c41481a0cd5eb624096337762ffa54ff28.tar.bz2
fourisland-893957c41481a0cd5eb624096337762ffa54ff28.zip
Created layout 7
The following changes were also made in this revision:

* All HTML was changed to XHTML and a !DOCTYPE was included to reflect this
* Rewrote quotes tracking system to be much less complicated and actually working
* Changed quotes rendering to look more like Chirpy than Rash
* Fixed comment textarea bug
* Rewrote a ton of CSS so it's not as bloated
* Added a JavaScript confirmation when deleting a comment
* AJAXified voting on the POTW
* AJAXified voting and flagging quotes
* AJAXified commenting
* AJAXified voting on posts
* Added DateFinder back after it was accidentally deleted in Layout 4.5

The following database changes must be performed as soon as possible:

* Fix title of NO <!DOCTYPE> post (the &lt; is missing the semicolon)
* Restore post Frasty Tha Snaman from a backup
* Reset "flag" field of all rows in "rash_quotes" to 0
* Remove the "vote" and "flag" columns of "rash_tracking"
* Rename the "quote_id" column of "rash_tracking" to "vote"

The following external code changes must also be performed as soon as possible:

* Add the following line to the end of the // Four Island block in The Fourm's functions.php:
  require('/svr/www/hatkirby/fourisland/main/includes/specialdates.php');
Diffstat (limited to 'theme/polloftheweek.tpl')
-rwxr-xr-xtheme/polloftheweek.tpl86
1 files changed, 43 insertions, 43 deletions
diff --git a/theme/polloftheweek.tpl b/theme/polloftheweek.tpl index d23e92f..2969487 100755 --- a/theme/polloftheweek.tpl +++ b/theme/polloftheweek.tpl
@@ -1,59 +1,59 @@
1<!--BEGIN FORM--> 1<!--BEGIN FORM-->
2<FORM ACTION="/poll/?submit=" METHOD="POST"> 2<div id="potw-ajax">
3 <SPAN STYLE="font-size: 16px; text-align: center"> 3 <span style="font-size: 16px; text-align: center">
4 <!--QUESTION--> 4 <!--QUESTION-->
5 </SPAN> 5 </span>
6 6
7 <BR> 7 <br />
8 8
9 <INPUT TYPE="radio" NAME="options" VALUE="1" ID="option1"> 9 <input type="radio" name="options" value="1" class="option1" />
10 <LABEL FOR="option1"><!--OPTION1--></LABEL> 10 <!--OPTION1-->
11 11
12 <BR> 12 <br />
13 13
14 <INPUT TYPE="radio" NAME="options" VALUE="2" ID="option2"> 14 <input type="radio" name="options" value="2" class="option2" />
15 <LABEL FOR="option2"><!--OPTION2--></LABEL> 15 <!--OPTION2-->
16 16
17 <BR> 17 <br />
18 18
19 <INPUT TYPE="radio" NAME="options" VALUE="3" ID="option3"> 19 <input type="radio" name="options" value="3" class="option3" />
20 <LABEL FOR="option3"><!--OPTION3--></LABEL> 20 <!--OPTION3-->
21 21
22 <BR> 22 <br />
23 23
24 <INPUT TYPE="radio" NAME="options" VALUE="4" ID="option4"> 24 <input type="radio" name="options" value="4" class="option4" />
25 <LABEL FOR="option4"><!--OPTION4--></LABEL> 25 <!--OPTION4-->
26 26
27 <P ALIGN="center"> 27 <p align="center">
28 <INPUT TYPE="submit" VALUE="Vote!"> 28 <button type="button" onclick="jQuery('#potw-ajax').slideUp().load('/poll-results.php?id='+jQuery('#potw-ajax input:radio[name=options]:checked').val()).slideDown();">Vote!</button>
29 </P> 29 </p>
30</FORM> 30</div>
31<!--END FORM--> 31<!--END FORM-->
32 32
33<!--BEGIN DISPLAY--> 33<!--BEGIN DISPLAY-->
34<SPAN STYLE="font-size: 16px; text-align: center"> 34<span style="font-size: 16px; text-align: center">
35 <!--QUESTION--> 35 <!--QUESTION-->
36</SPAN> 36</span>
37 37
38<TABLE WIDTH="100%" BORDER="0" STYLE="font-size: 12px"> 38<table width="100%" border="0" style="font-size: 12px">
39 <TR> 39 <tr>
40 <TD>%<!--PERCENT1--></TD> 40 <td>%<!--PERCENT1--></td>
41 <TD><!--OPTION1--></TD> 41 <td><!--OPTION1--></td>
42 </TR> 42 </tr>
43 43
44 <TR> 44 <tr>
45 <TD>%<!--PERCENT2--></TD> 45 <td>%<!--PERCENT2--></td>
46 <TD><!--OPTION2--></TD> 46 <td><!--OPTION2--></td>
47 </TR> 47 </tr>
48 48
49 <TR> 49 <tr>
50 <TD>%<!--PERCENT3--></TD> 50 <td>%<!--PERCENT3--></td>
51 <TD><!--OPTION3--></TD> 51 <td><!--OPTION3--></td>
52 </TR> 52 </tr>
53 53
54 <TR> 54 <tr>
55 <TD>%<!--PERCENT4--></TD> 55 <td>%<!--PERCENT4--></td>
56 <TD><!--OPTION4--></TD> 56 <td><!--OPTION4--></td>
57 </TR> 57 </tr>
58</TABLE> 58</table>
59<!--END DISPLAY--> 59<!--END DISPLAY-->