diff --git a/app/views/admin/create_system.rhtml b/app/views/admin/create_system.rhtml index 77f8a316..2f1cfbdf 100644 --- a/app/views/admin/create_system.rhtml +++ b/app/views/admin/create_system.rhtml @@ -31,9 +31,9 @@
  • Password for creating and changing webs

    - Administrative access allows you to make new webs and change existing ones.
    - Everyone with this password will be able to do this, so pick it carefully. + Administrative access allows you to make new webs and change existing ones.
    +
    Everyone with this password will be able to do this, so pick it carefully!
    Password:    diff --git a/app/views/admin/edit_web.rhtml b/app/views/admin/edit_web.rhtml index 58734136..e4f99019 100644 --- a/app/views/admin/edit_web.rhtml +++ b/app/views/admin/edit_web.rhtml @@ -11,16 +11,16 @@ Ex: the address "rails" gives URLs like /rails/show/HomePage.
    -
    - Name: + Name:    - Address: - (Letters and digits only) + (Letters and digits only)

    Specialize

    -
    +
    Markup: /> + /> Safe mode - strip HTML tags and stylesheet options from the content of all pages
    - /> + /> Brackets only - require all wiki words to be as [[wiki word]], WikiWord links won't be created
    - /> + /> Count pages
    - /> + /> Allow uploads of no more than - kbytes - @@ -69,7 +69,7 @@ instiki.css. Hint: View HTML source of a page you want to style to find ID names on individual tags.
    - @@ -95,7 +95,7 @@ The published version is accessible through URLs like /wiki/published/HomePage.
    - /> + /> Publish this web
    @@ -124,7 +124,7 @@

    Clean up by entering system password - + and diff --git a/app/views/layouts/default.rhtml b/app/views/layouts/default.rhtml index d43208fa..bd357488 100644 --- a/app/views/layouts/default.rhtml +++ b/app/views/layouts/default.rhtml @@ -20,10 +20,6 @@ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" h1#pageName, .newWikiWord a, a.existingWikiWord, .newWikiWord a:hover, #TextileHelp h3 { color: #<%= @web ? @web.color : "393" %>; } - - #Container, #Content { - width: <%= @content_width || "600" %>px; - } <%= File.read(RAILS_ROOT + '/public/stylesheets/instiki.css') if @inline_style %> @@ -55,12 +51,12 @@ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" <% end %> -<% if @flash[:info] %>

    -

    <%= escape_preserving_linefeeds @flash[:info] %>


    -<% end %> - <%= render 'navigation' unless @web.nil? || @hide_navigation %> +<% if @flash[:info] %> +
    <%= escape_preserving_linefeeds @flash[:info] %>
    +<% end %> + <% if @error or @flash[:error] %>
    <%= escape_preserving_linefeeds(@error || @flash[:error]) %>
    <% end %> @@ -69,9 +65,8 @@ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" <% if @show_footer %> <% end %> diff --git a/app/views/navigation.rhtml b/app/views/navigation.rhtml index 3568f866..45bd413b 100644 --- a/app/views/navigation.rhtml +++ b/app/views/navigation.rhtml @@ -8,25 +8,21 @@ def list_item(text, link_options, description, accesskey = nil) end %> -<%= form_tag({ :controller => 'wiki', :action => 'search', :web => @web.address}, - {'id' => 'navigationForm', 'class' => 'navigation', 'method' => 'get'}) -%> - + \ No newline at end of file diff --git a/app/views/wiki/edit.rhtml b/app/views/wiki/edit.rhtml index 0da5eb6f..0c5bb596 100644 --- a/app/views/wiki/edit.rhtml +++ b/app/views/wiki/edit.rhtml @@ -4,7 +4,7 @@ @hide_navigation = true %> -
    +
    <%= render("#{@web.markup}_help") %> <%= render 'wiki_words_help' %>
    @@ -14,7 +14,7 @@ %>

    - +

    as