Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 227
- Log:
Added a truly automatic section numbering script derived
from Rhino (see script comments) which can be included in
Wiki pages if required. Wiki help updated to describe the
process for enabling the contents section - for the record
here, adding a DIV with ID toc_heading and closing the
tag, then another DIV with ID toc and closing the tag,
will add a "Contents" heading at level 2, then the TOC. It
is recommended that pages then use a level 2 heading after
the TOC and do not skip header levels (e.g. don't jump
from 2 to 4 without level 3 in between).Might be nice to get this server side some time, but this
works resonably in Firefox 2, Opera 9 and IE 7, degrades
gracefully in older browsers, and is better than nothing!
- Author:
- rool
- Date:
- Thu Jun 14 11:20:41 +0100 2007
- Size:
- 3585 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>RISC OS Open: <%= page_title %></title> |
5 | |
6 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> |
7 | <%= auto_discovery_link_tag(:rss, feed_url) %> |
8 | <%= stylesheet_link_tag 'instiki' %> |
9 | <%= javascript_include_tag 'manual_sections' %> |
10 | <%= javascript_include_tag 'auto_sections' %> |
11 | <%= content_tag "style", @style_additions, :type => "text/css" %> |
12 | </head> |
13 | <body bgcolor="#ffffff" text="#333333" link="#6e915e" vlink="#8cb877" alink="#e5ffd4"> |
14 | <%= render 'shared/fixed_header' %> |
15 | |
16 | <!-- Wiki contents table --> |
17 | |
18 | <p /> |
19 | <table width="85%" cellspacing="0" cellpadding="0" align="center"> |
20 | <tr valign="top" align="left"> |
21 | <td width="75%"> |
22 | <%= hubssolib_flash_tags %> |
23 | |
24 | <div id="Container"> |
25 | <div id="Content"> |
26 | |
27 | <h2 id="pageName"><%= page_heading %></h2> |
28 | |
29 | <div class="navigation"> |
30 | <%= link_to_unless(@page && @page.title == "Home Page", "Documentation Home", home_url) { content_tag('b', "Documentation Home", 'class' => 'navOn') } %> | |
31 | <%= link_to_unless(@title == "All Pages", "All Pages", pages_url) { content_tag('b', "All Pages", 'class' => 'navOn') } %> | |
32 | <%= link_to_unless(@title == "Recently Revised", "Recently Revised", recent_url) { content_tag('b', "Recently Revised", 'class' => 'navOn') } %> | |
33 | <%= link_to("Feed", feed_url) %> |
34 | </div> |
35 | |
36 | <p /> |
37 | <div id="under_toc"> |
38 | <%= @content_for_layout %> |
39 | </div> |
40 | </div> |
41 | </div> |
42 | </td> |
43 | |
44 | <td> </td> |
45 | <td bgcolor="#bbbbbb" class="column_divider"><img src="/images/utilities/blank.gif" width="1" height="1" alt="." border="0" /></td> |
46 | <td> </td> |
47 | |
48 | <td width="25%"> |
49 | <div id="sidebar"> |
50 | <!-- Simple global search via Google --> |
51 | |
52 | <div class="sidebar-node"> |
53 | <h3>Search whole site</h3> |
54 | |
55 | <p /> |
56 | <form action="http://www.google.com/search" method="get" class="searchform"> |
57 | <input type="hidden" name="num" value="10" /> |
58 | <input type="hidden" name="hl" value="en" /> |
59 | <input type="hidden" name="as_sitesearch" value="riscosopen.org" /> |
60 | <input type="text" value="" maxlength="256" size="15" name="q" id="q" /> |
61 | <b><input type="submit" value="Go" name="btnG" /></b> |
62 | </form> |
63 | </div> |
64 | |
65 | <%= render 'shared/fixed_sidebar' %> |
66 | |
67 | <p /> |
68 | <div class="sidebar-node"> |
69 | <h3>Options</h3> |
70 | |
71 | <p /> |
72 | <ul> |
73 | <li><%= link_to_unless(@page && @page.title == "Home Page", "Documentation Home", home_url) { content_tag('b', "Documentation Home", 'class' => 'navOn') } %></li> |
74 | <li><%= link_to_unless(@title == "All Pages", "All Pages", pages_url) { content_tag('b', "All Pages", 'class' => 'navOn') } %></li> |
75 | <li><%= link_to_unless(@title == "Recently Revised", "Recently Revised", recent_url) { content_tag('b', "Recently Revised", 'class' => 'navOn') } %></li> |
76 | <li><%= link_to("Feed", feed_url) %></li> |
77 | </ul> |
78 | </div> |
79 | </div> |
80 | </td> |
81 | </tr> |
82 | </table> |
83 | |
84 | <%= render 'shared/fixed_footer' %> |
85 | </body> |
86 | </html> |