XHTML validity fixes from ticket:138 [JosephSHuang]
This commit is contained in:
parent
eae0312932
commit
396c651487
4 changed files with 61 additions and 63 deletions
|
@ -1,7 +1,6 @@
|
|||
<!DOCTYPE html
|
||||
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>
|
||||
|
@ -49,7 +48,6 @@ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|||
<body>
|
||||
<div id="Container">
|
||||
<div id="Content">
|
||||
|
||||
<h1 id="pageName">
|
||||
<% if @page and (@page.name == 'HomePage') and %w( show published print ).include?(@action_name) %>
|
||||
<%= @web.name %>
|
||||
|
|
|
@ -3,7 +3,7 @@ def list_item(text, link_options, description, accesskey = nil)
|
|||
link_options[:controller] = 'wiki'
|
||||
link_options[:web] = @web.address
|
||||
link_to_unless_current(text, link_options, :title => description, :accesskey => accesskey) {
|
||||
content_tag('b', text, 'title' => description, 'accesskey' => accesskey, 'class' => 'navOn')
|
||||
content_tag('b', text, 'title' => description, 'class' => 'navOn')
|
||||
}
|
||||
end
|
||||
%>
|
||||
|
@ -15,14 +15,14 @@ end
|
|||
<%= list_item 'All Pages', {:action => 'list'}, 'Alphabetically sorted list of pages', 'A' %> |
|
||||
<%= list_item 'Recently Revised', {:action =>'recently_revised'},
|
||||
'Pages sorted by when they were last changed', 'U'
|
||||
%> |
|
||||
%> |
|
||||
<%= list_item 'Authors', {:action => 'authors'}, 'Who wrote what' %> |
|
||||
<%= list_item 'Feeds', {:action => 'feeds'}, 'Subscribe to changes by RSS' %> |
|
||||
<%= list_item 'Export', {:action => 'export'},
|
||||
'Download a zip with all the pages in this wiki', 'X'
|
||||
%> |
|
||||
%> |
|
||||
<input type="text" id="searchField" name="query" style="font-size: 10px" value="Search"
|
||||
onClick="this.value == 'Search' ? this.value = '' : true" />
|
||||
onfocus="if (this.value == 'Search' ) this.value = '' " />
|
||||
<% else %>
|
||||
<%= list_item 'Home Page', {:action => 'published', :id => 'HomePage'}, 'Home, Sweet Home', 'H' %> |
|
||||
<% end%>
|
||||
|
|
|
@ -98,7 +98,7 @@
|
|||
<% end %>
|
||||
</div>
|
||||
|
||||
<script language="Javascript">
|
||||
<script language="Javascript" type="text/Javascript">
|
||||
function toggleChanges() {
|
||||
if (document.getElementById("changes").style.display == "none") {
|
||||
document.getElementById("changes").style.display = "block";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue