source: trunk/templates/newpage.tt @ 1034

Last change on this file since 1034 was 1017, checked in by kake, 15 years ago

Add JavaScript? to clear the prefilled "New page name" in newpage.tt

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.1 KB
Line 
1[%- USE CGI -%]
2[% INCLUDE header.tt page_title = "Create a new page - $site_name" %]
3[% INCLUDE banner.tt %]
4
5<div id="content">
6  [% INCLUDE navbar.tt %]
7  <div id="maincontent">
8
9    <div id="create_new_page">
10      <form action="newpage.cgi" id="new_page_form" method="POST">
11        <label for="pagename">Enter the name of the page to make:</label>
12        <input type="text" size="50" name="pagename" id="pagename"
13         value="New page name"
14         onfocus="if ( this.value == 'New page name' ) { this.value = '' }" />
15        <input type="submit" value="Go" id="go" class="form_button" />
16        <input type="hidden" name="action" value="makepage" />
17      </form>
18
19      <div class="disallowed_characters_note">
20        <div class="disallowed_characters_text">
21          Note: you may not use the following characters in page names:
22        </div>
23        <div class="disallowed_characters">
24          [% FOREACH naughty = disallowed_chars %]
25            [% CGI.escapeHTML(naughty) %]
26          [% END %]
27        </div>
28      </div>
29    </div>
30
31  </div>
32[% INCLUDE footer.tt %]
Note: See TracBrowser for help on using the repository browser.