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/writePost.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/writePost.tpl')
-rw-r--r-- | theme/admin/writePost.tpl | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/theme/admin/writePost.tpl b/theme/admin/writePost.tpl new file mode 100644 index 0000000..a51f7fd --- /dev/null +++ b/theme/admin/writePost.tpl | |||
@@ -0,0 +1,68 @@ | |||
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<!--ISTITLEERROR-->"> | ||
22 | <!--BEGIN TITLEERROR--> | ||
23 | <p id="error<!--TITLEERROR.ID-->" class="errorField"><strong><!--TITLEERROR.TEXT--></strong></p> | ||
24 | <!--END TITLEERROR--> | ||
25 | <label for="title"><em>*</em> Title</label> | ||
26 | <input name="title" id="title" value="<!--TITLEVALUE-->" type="text" class="textInput" /> | ||
27 | </div> | ||
28 | </fieldset> | ||
29 | |||
30 | <fieldset class="blockLabels"> | ||
31 | <div class="ctrlHolder<!--ISTEXTERROR-->"> | ||
32 | <!--BEGIN TEXTERROR--> | ||
33 | <p id="error<!--TEXTERROR.ID-->" class="errorField"><strong><!--TEXTERROR.TEXT--></strong></p> | ||
34 | <!--END TEXTERROR--> | ||
35 | <label for="text">Text</label> | ||
36 | <textarea name="text" id="text" style="height: 24em"><![CDATA[<!--TEXTVALUE-->]]></textarea> | ||
37 | </div> | ||
38 | </fieldset> | ||
39 | |||
40 | <fieldset class="inlineLabels"> | ||
41 | <div class="ctrlHolder<!--ISTAGSERROR-->"> | ||
42 | <!--BEGIN TAGSERROR--> | ||
43 | <p id="error<!--TAGSERROR.ID-->" class="errorField"><strong><!--TAGSERROR.TEXT--></strong></p> | ||
44 | <!--END TAGSERROR--> | ||
45 | <label for="tags"><em>*</em> Tags</label> | ||
46 | <input name="tags" id="tags" value="<!--TAGSVALUE-->" type="text" class="textInput" /> | ||
47 | <p class="formHint">Each tag should be seperated by a comma.</p> | ||
48 | </div> | ||
49 | |||
50 | <div class="ctrlHolder<!--ISTYPEERROR-->"> | ||
51 | <!--BEGIN TYPEERROR--> | ||
52 | <p id="error<!--TYPEERROR.ID-->" class="errorField"><strong><!--TYPEERROR.TEXT--></strong></p> | ||
53 | <!--END TYPEERROR--> | ||
54 | <p class="label"><em>*</em> Post Type</p> | ||
55 | <div class="multiField"> | ||
56 | <label for="type_draft" class="inlineLabel"><input name="type" id="type_draft" value="draft" type="radio"<!--DRAFTSELECTED--><!--TAGSDISABLED--> /> Draft</label> | ||
57 | <label for="type_article" class="inlineLabel"><input name="type" id="type_article" value="article" type="radio"<!--ARTICLESELECTED--><!--TAGSDISABLED--> /> Queued Post (Article-style)</label> | ||
58 | <label for="type_high" class="inlineLabel"><input name="type" id="type_high" value="high" type="radio"<!--HIGHSELECTED--><!--TAGSDISABLED--> /> High Priority Queued Post (Article-style)</label> | ||
59 | <label for="type_instant" class="inlineLabel"><input name="type" id="type_instant" value="instant" type="radio"<!--INSTANTSELECTED--><!--TAGSDISABLED--> /> Instant Post</label> | ||
60 | </div> | ||
61 | </div> | ||
62 | </fieldset> | ||
63 | |||
64 | <div class="buttonHolder"> | ||
65 | <button type="reset" class="resetButton">Reset</button> | ||
66 | <button type="submit" class="primaryAction">Submit</button> | ||
67 | </div> | ||
68 | </form> | ||