Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 52
- Log:
Further layout improvements for page editing, rollback and creation.
Always renders at least the static shared sidebar in the default layout
now. Changed engines.rb to work around a RedCloth 3.0.4 problem that
showed up when Rails 1.1.4 was introduced concurrently. A mailing list
query has been lodged about it. In the mean time, newlines in textile
input will not produce line breaks in the HTML output and HTML in the
textile input is being manually escaped by simply replacing "<" and ">"
with HTML entities. Fixes Ticket #34.
- Author:
- adh
- Date:
- Fri Aug 04 16:19:44 +0100 2006
- Size:
- 1289 Bytes
1 | <% |
2 | @title = "Creating #{WikiWords.separate(@page_name)}" |
3 | @content_width = 720 |
4 | @hide_navigation = true |
5 | %> |
6 | |
7 | <table border="0" cellspacing="0" cellpadding="0" width="100%"> |
8 | <tr valign="top"> |
9 | <td align="left"> |
10 | <%= form_tag({ :action => 'save', :web => @web.address, :id => @page_name}, |
11 | {'id' => 'editForm', 'method' => 'post', 'onSubmit' => 'cleanAuthorName();'}) |
12 | %> |
13 | <textarea name="content" id="content" cols="48" rows="24"><%= h(@flash[:content] || '') %></textarea> |
14 | |
15 | <p> |
16 | <input type="submit" value="Submit" accesskey="s"/> as |
17 | <%= text_field_tag :author, @author, |
18 | :onfocus => "this.value == 'AnonymousCoward' ? this.value = '' : true;", |
19 | :onblur => "this.value == '' ? this.value = 'AnonymousCoward' : true" %> |
20 | </p> |
21 | <%= end_form_tag %> |
22 | </td> |
23 | <td align="left"> |
24 | <div id="MarkupHelp"> |
25 | <%= render("#{@web.markup}_help") %> |
26 | <%= render('wiki_words_help') %> |
27 | </div> |
28 | </td> |
29 | </tr> |
30 | </table> |
31 | |
32 | <script language="JavaScript1.2"> |
33 | function cleanAuthorName() { |
34 | if (document.getElementById('authorName').value == "") { |
35 | document.getElementById('authorName').value = 'AnonymousCoward'; |
36 | } |
37 | } |
38 | document.forms["editForm"].elements["content"].focus(); |
39 | </script> |