Changeset 1017


Ignore:
Timestamp:
Apr 8, 2007, 3:59:02 AM (14 years ago)
Author:
kake
Message:

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

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Changes

    r1016 r1017  
    55
    660.60
     7        Add JavaScript to the Create New Page page so the prefilled
     8          "New page name" disappears when you click in the field (it doesn't
     9          make anything other than "New page name" diappear).
    710        Move node RDF generation from inline to node_rdf.tt and replace
    811          home-grown escaping with encode_entities_numeric from HTML::Entities
  • trunk/templates/newpage.tt

    r1010 r1017  
    1111        <label for="pagename">Enter the name of the page to make:</label>
    1212        <input type="text" size="50" name="pagename" id="pagename"
    13          value="New page name" />
     13         value="New page name"
     14         onfocus="if ( this.value == 'New page name' ) { this.value = '' }" />
    1415        <input type="submit" value="Go" id="go" class="form_button" />
    1516        <input type="hidden" name="action" value="makepage" />
Note: See TracChangeset for help on using the changeset viewer.