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:
- 2927 Bytes
1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> |
4 | <title> |
5 | <% if @page and (@page.name == 'HomePage') and (%w( show published print ).include?(@action_name)) %> |
6 | <%= h @web.name %> |
7 | <% elsif @web %> |
8 | <%= h @web.name %>: <%= @title %> |
9 | <% else %> |
10 | <%= @title %> |
11 | <% end %> |
12 | <%= @show_diff ? ' (changes)' : '' %> |
13 | </title> |
14 | |
15 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> |
16 | <meta name="robots" content="<%= @robots_metatag_value %>" /> |
17 | |
18 | <style type="text/css"> |
19 | <%= File.read(RAILS_ROOT + '/public/stylesheets/instiki.css') if @inline_style %> |
20 | </style> |
21 | |
22 | <%= stylesheet_link_tag 'instiki' unless @inline_style %> |
23 | |
24 | <style type="text/css"> |
25 | <%= @style_additions %> |
26 | <%= @web ? @web.additional_style : '' %> |
27 | </style> |
28 | |
29 | <% if @web %><%= auto_discovery_link_tag(:rss, :controller => 'wiki', :web => @web.address, :action => 'rss_with_headlines') %> |
30 | <%= auto_discovery_link_tag(:rss, :controller => 'wiki', :web => @web.address, :action => 'rss_with_content') %><% end %> |
31 | </head> |
32 | |
33 | <body> |
34 | <%= render 'shared/fixed_header' %> |
35 | |
36 | <!-- Forum contents table --> |
37 | |
38 | <p /> |
39 | <table width="85%" cellspacing="0" cellpadding="0" align="center"> |
40 | <tr valign="top" align="left"> |
41 | <td width="75%"> |
42 | <h2 id="pageName"> |
43 | <% def home_link(text) |
44 | link_to h(text), { :controller => 'wiki', :action => 'show', :id => 'HomePage' } |
45 | end %> |
46 | <% if @page and (@page.name == 'HomePage') and %w( show published print ).include?(@action_name) %> |
47 | <%= home_link(@web.name) %><span style="font-weight: normal"><%= (@show_diff ? ' (changes)' : '') %></span> |
48 | <% elsif @web %> |
49 | <%= home_link(@web.name + ':') %> <span style="font-weight: normal"><%= @title %></span> |
50 | <% else %> |
51 | <%= home_link(@title) %> |
52 | <% end %> |
53 | </h2> |
54 | |
55 | <% if @flash[:info] %><div class="info"> |
56 | <%= escape_preserving_linefeeds @flash[:info] %> |
57 | </div><% end %> |
58 | <% if @error or @flash[:error] %><div class="errorExplanation"> |
59 | <%= escape_preserving_linefeeds(@error || @flash[:error]) %> |
60 | </div><% end %> |
61 | |
62 | <%= @content_for_layout %> |
63 | </td> |
64 | |
65 | <td> </td> |
66 | <td bgcolor="#bbbbbb" class="column_divider"><img src="/images/utilities/blank.gif" width="1" height="1" alt="." border="0" /></td> |
67 | <td> </td> |
68 | |
69 | <td width="25%"> |
70 | <div id="sidebar"> |
71 | <%= if (@web.nil? || @hide_navigation) then render 'shared/fixed_sidebar' else render 'navigation' end %> |
72 | </div> |
73 | </td> |
74 | </tr> |
75 | </table> |
76 | |
77 | <%= render 'shared/fixed_footer' %> |
78 | </body> |
79 | </html> |