... and on wiki/published, too

This commit is contained in:
Alexey Verkhovsky 2005-04-03 06:19:33 +00:00
parent cad124dbb5
commit 1038c2b373
3 changed files with 13 additions and 7 deletions

View file

@ -69,6 +69,14 @@
<%= render 'navigation' unless @web.nil? || @hide_navigation %> <%= render 'navigation' unless @web.nil? || @hide_navigation %>
<%= @content_for_layout %> <%= @content_for_layout %>
<% if @show_footer %>
<div id="footer">
<p>This site is running on <a href="http://instiki.org/">Instiki</a></p>
<br/>
<p>Powered by <a href="http://rubyonrails.com/">Ruby on Rails</a></p>
</div>
<% end %>
</div> <!-- Content --> </div> <!-- Content -->
</div> <!-- Container --> </div> <!-- Container -->

View file

@ -1,4 +1,7 @@
<% @title = @page.plain_name %> <%
@title = @page.plain_name
@show_footer = true
%>
<div id="revision"> <div id="revision">
<%= @page.display_content %> <%= @page.display_content %>
@ -95,12 +98,6 @@
<% end %> <% end %>
</div> </div>
<div id="footer">
<p>This site is running on <a href="http://instiki.org/">Instiki</a></p>
<br/>
<p>Powered by <a href="http://rubyonrails.com/">Ruby on Rails</a></p>
</div>
<script language="Javascript"> <script language="Javascript">
function toggleChanges() { function toggleChanges() {
if (document.getElementById("changes").style.display == "none") { if (document.getElementById("changes").style.display == "none") {

View file

@ -3,6 +3,7 @@
@hide_navigation = false @hide_navigation = false
@style_additions = ".newWikiWord { background-color: white; font-style: italic; }" @style_additions = ".newWikiWord { background-color: white; font-style: italic; }"
@inline_style = true @inline_style = true
@show_footer = true
%> %>
<%= @page.display_published %> <%= @page.display_published %>