diff options
| author | Starla Insigna <hatkirby@fourisland.com> | 2009-08-13 17:46:09 -0400 |
|---|---|---|
| committer | Starla Insigna <hatkirby@fourisland.com> | 2009-08-13 17:46:09 -0400 |
| commit | b5736e3ad3830fa732dcbd1a518ec3dd6ea7b98a (patch) | |
| tree | 0449277e94a42aa155995a90fd8a89cb3309e7ab /theme/admin/writePoll.tpl | |
| parent | 6a1d5b60e6ec541a36727b84b71168f62221f7d7 (diff) | |
| download | fourisland-b5736e3ad3830fa732dcbd1a518ec3dd6ea7b98a.tar.gz fourisland-b5736e3ad3830fa732dcbd1a518ec3dd6ea7b98a.tar.bz2 fourisland-b5736e3ad3830fa732dcbd1a518ec3dd6ea7b98a.zip | |
Rewrote Admin panel
The following database changes must be made: * A TEXT column called "text" must be added to the end of "polloftheweek" * The transferPollRss.php script must be run * The "pollrss" table must be dropped Closes #113
Diffstat (limited to 'theme/admin/writePoll.tpl')
| -rw-r--r-- | theme/admin/writePoll.tpl | 76 |
1 files changed, 76 insertions, 0 deletions
| diff --git a/theme/admin/writePoll.tpl b/theme/admin/writePoll.tpl new file mode 100644 index 0000000..242131a --- /dev/null +++ b/theme/admin/writePoll.tpl | |||
| @@ -0,0 +1,76 @@ | |||
| 1 | <h2><!--TITLE--></h2> | ||
| 2 | |||
| 3 | <form action="<!--ACTION-->" method="post" class="uniForm"> | ||
| 4 | <!--BEGIN ISERROR--> | ||
| 5 | <div id="errorMsg"> | ||
| 6 | <h3>Oops! There was an error!</h3> | ||
| 7 | |||
| 8 | <ol> | ||
| 9 | <!--BEGIN ERROR--> | ||
| 10 | <li><a href="#error<!--ERROR.ID-->" title="Jump to error"><!--ERROR.TEXT--></a></li> | ||
| 11 | <!--END ERROR--> | ||
| 12 | </ol> | ||
| 13 | </div> | ||
| 14 | <!--END ISERROR--> | ||
| 15 | |||
| 16 | <!--BEGIN FLASH--> | ||
| 17 | <div id="OKMsg"><p><!--FLASH.TEXT--></p></div> | ||
| 18 | <!--END FLASH--> | ||
| 19 | |||
| 20 | <fieldset class="inlineLabels"> | ||
| 21 | <div class="ctrlHolder<!--ISQUESTIONERROR-->"> | ||
| 22 | <!--BEGIN QUESTIONERROR--> | ||
| 23 | <p id="error<!--QUESTIONERROR.ID-->" class="errorField"><strong><!--QUESTIONERROR.TEXT--></strong></p> | ||
| 24 | <!--END QUESTIONERROR--> | ||
| 25 | <label for="question"><em>*</em> Question</label> | ||
| 26 | <input name="question" id="question" value="<!--QUESTIONVALUE-->" type="text" class="textInput" /> | ||
| 27 | </div> | ||
| 28 | |||
| 29 | <div class="ctrlHolder<!--ISOPTION1ERROR-->"> | ||
| 30 | <!--BEGIN OPTION1ERROR--> | ||
| 31 | <p id="error<!--OPTION1ERROR.ID-->" class="errorField"><strong><!--OPTION1ERROR.ID--></strong></p> | ||
| 32 | <!--END OPTION1ERROR--> | ||
| 33 | <label for="option1"><em>*</em> Option 1</label> | ||
| 34 | <input name="option1" id="option1" value="<!--OPTION1VALUE-->" type="text" class="textInput" /> | ||
| 35 | </div> | ||
| 36 | |||
| 37 | <div class="ctrlHolder<!--ISOPTION2ERROR-->"> | ||
| 38 | <!--BEGIN OPTION2ERROR--> | ||
| 39 | <p id="error<!--OPTION2ERROR.ID-->" class="errorField"><strong><!--OPTION2ERROR.ID--></strong></p> | ||
| 40 | <!--END OPTION2ERROR--> | ||
| 41 | <label for="option2"><em>*</em> Option 2</label> | ||
| 42 | <input name="option2" id="option2" value="<!--OPTION2VALUE-->" type="text" class="textInput" /> | ||
| 43 | </div> | ||
| 44 | |||
| 45 | <div class="ctrlHolder<!--ISOPTION3ERROR-->"> | ||
| 46 | <!--BEGIN OPTION3ERROR--> | ||
| 47 | <p id="error<!--OPTION3ERROR.ID-->" class="errorField"><strong><!--OPTION3ERROR.ID--></strong></p> | ||
| 48 | <!--END OPTION3ERROR--> | ||
| 49 | <label for="option3"><em>*</em> Option 3</label> | ||
| 50 | <input name="option3" id="option3" value="<!--OPTION3VALUE-->" type="text" class="textInput" /> | ||
| 51 | </div> | ||
| 52 | |||
| 53 | <div class="ctrlHolder<!--ISOPTION4ERROR-->"> | ||
| 54 | <!--BEGIN OPTION4ERROR--> | ||
| 55 | <p id="error<!--OPTION4ERROR.ID-->" class="errorField"><strong><!--OPTION4ERROR.ID--></strong></p> | ||
| 56 | <!--END OPTION4ERROR--> | ||
| 57 | <label for="option4"><em>*</em> Option 4</label> | ||
| 58 | <input name="option4" id="option4" value="<!--OPTION4VALUE-->" type="text" class="textInput" /> | ||
| 59 | </div> | ||
| 60 | </fieldset> | ||
| 61 | |||
| 62 | <fieldset class="blockLabels"> | ||
| 63 | <div class="ctrlHolder<!--ISTEXTERROR-->"> | ||
| 64 | <!--BEGIN TEXTERROR--> | ||
| 65 | <p id="error<!--TEXTERROR.ID-->" class="errorField"><strong><!--TEXTERROR.TEXT--></strong></p> | ||
| 66 | <!--END TEXTERROR--> | ||
| 67 | <label for="text">Text</label> | ||
| 68 | <textarea name="text" id="text"><![CDATA[<!--TEXTVALUE-->]]></textarea> | ||
| 69 | </div> | ||
| 70 | </fieldset> | ||
| 71 | |||
| 72 | <div class="buttonHolder"> | ||
| 73 | <button type="reset" class="resetButton">Reset</button> | ||
| 74 | <button type="submit" class="primaryAction">Submit</button> | ||
| 75 | </div> | ||
| 76 | </form> | ||
