/[theodore]/bunnyblog/templates/admin/newcontent.pyhtml


UCC Code Repository

Contents of /bunnyblog/templates/admin/newcontent.pyhtml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1 - (show annotations) (download)
Tue Jan 29 14:32:01 2008 UTC (12 years, 2 months ago) by svn-admin
File size: 1709 byte(s)
Re-import of repository after repository database corruption.

1 <h2>New Static Page</h2>
2
3 <form action="admin.cgi" method="post">
4 <p>
5 Enter a file name: <input type="text" name="filename" maxlength="15" size="20" value="<@filename@>" /> <br />
6 This must be unique, less than 15 characters and be only alphanumeric or underscore characters:<br />
7 <br />
8 Page title: <input type="text" name="pagetitle" maxlength="50" size="30" value="<@pagetitle@>" /> <br />
9 If left empty, this will default to be the same as the filename.
10 <br />
11 Enter the source:<br />
12 This can be entered as either:
13 <input type="radio" name="html" value="bb" <@bb-selected@> > Simplified BBCode or
14 <input type="radio" name="html" value="html" <@html-selected@> > HTML (Read notes below)<br />
15 <textarea rows="35" cols="80" name="content"><@content@></textarea>
16 <input type="hidden" name="action" value="addcontent" /><br />
17 <input type="submit" value="Save Article" />
18 </p>
19 </form>
20
21 <h4>Notes on BBCode and HTML</h4>
22 <p>To maintain formating once chosen the page is bound to one of the two markup choices.<br />If you choose to create your page in HTML you can include any valid X/HTML tags that are allowed in between &lt;body&gt; tags in valid html</p>
23 <p>If you choose to write the page in BBCode, below is a list of the current markup allowed in the page:
24 <ul>
25 <li>[b] as a substitute for &lt;b&gt; creating text that looks like <b>this</b>.</li>
26 <li>[i] as a substitute for &lt;i&gt; creating text that looks like <i>this</i>.</li>
27 <li>[u] as a substitute for &lt;u&gt; creating text that looks like <u>this</u>.</li>
28 <!--
29 This be a template for a list element like the ones above
30 <li>[q] as a substitute for &lt;q&gt; creating text that looks like <q>this</q>.</li>
31 -->
32 </ul>
33 </p>

Managed by UCC Webmasters ViewVC Help
Powered by ViewVC 1.1.26