Sync with Instiki Trunk
Sync with Revision 519 of Instiki trunk (2007/5/7).
This commit is contained in:
parent
b0e063451f
commit
3b6cd309ff
21 changed files with 173 additions and 158 deletions
|
@ -6,9 +6,9 @@
|
|||
you'll need to do a brief one-time setup.
|
||||
</p>
|
||||
|
||||
<%= form_tag({ :controller => 'admin', :action => 'create_system' },
|
||||
<% form_tag({ :controller => 'admin', :action => 'create_system' },
|
||||
{ 'id' => 'setup', 'method' => 'post', 'onsubmit' => 'return validateSetup()',
|
||||
'accept-charset' => 'utf-8' })
|
||||
'accept-charset' => 'utf-8' }) do
|
||||
%>
|
||||
<ol class="setup">
|
||||
<li>
|
||||
|
@ -46,7 +46,7 @@
|
|||
<p style="text-align:right">
|
||||
<input type="submit" value="Setup" style="margin-left: 40px" />
|
||||
</p>
|
||||
<%= end_form_tag %>
|
||||
<% end %>
|
||||
|
||||
<script type="text/javascript">
|
||||
function proposeAddress() {
|
||||
|
|
|
@ -5,10 +5,10 @@
|
|||
so different subjects or projects can write about different <i>MuppetShows</i>.
|
||||
</p>
|
||||
|
||||
<%= form_tag({ :controller => 'admin', :action => 'create_web' },
|
||||
<% form_tag({ :controller => 'admin', :action => 'create_web' },
|
||||
{ 'id' => 'setup', 'method' => 'post',
|
||||
'onsubmit' => 'cleanAddress(); return validateSetup()',
|
||||
'accept-charset' => 'utf-8' })
|
||||
'accept-charset' => 'utf-8' }) do
|
||||
%>
|
||||
|
||||
<ol class="setup">
|
||||
|
@ -36,7 +36,7 @@
|
|||
<input type="submit" value="Create Web" />
|
||||
</p>
|
||||
|
||||
<%= end_form_tag %>
|
||||
<% end %>
|
||||
|
||||
<script type="text/javascript">
|
||||
function proposeAddress() {
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
<% @title = "Edit Web" %>
|
||||
|
||||
<%= form_tag({ :controller => 'admin', :action => 'edit_web', :web => @web.address },
|
||||
<% form_tag({ :controller => 'admin', :action => 'edit_web', :web => @web.address },
|
||||
{ 'id' => 'setup', 'method' => 'post',
|
||||
'onsubmit' => 'cleanAddress(); return validateSetup()',
|
||||
'accept-charset' => 'utf-8' })
|
||||
'accept-charset' => 'utf-8' }) do
|
||||
%>
|
||||
|
||||
<h2 style="margin-bottom: 3px">Name and address</h2>
|
||||
|
@ -107,15 +107,15 @@
|
|||
...or forget changes and <%= link_to 'create a new web', :action => 'create_web' %>
|
||||
</p>
|
||||
|
||||
<%= end_form_tag %>
|
||||
<% end %>
|
||||
|
||||
<br/>
|
||||
<h1>Other administrative tasks</h1>
|
||||
|
||||
<%= form_tag({:controller => 'admin', :web => @web.address, :action => 'remove_orphaned_pages'},
|
||||
<% form_tag({:controller => 'admin', :web => @web.address, :action => 'remove_orphaned_pages'},
|
||||
{ :id => 'remove_orphaned_pages',
|
||||
:onsubmit => "return checkSystemPassword(document.getElementById('system_password_orphaned').value)",
|
||||
'accept-charset' => 'utf-8' })
|
||||
'accept-charset' => 'utf-8' }) do
|
||||
%>
|
||||
<p style="text-align:right;font-size:.85em;">
|
||||
Clean up by entering system password
|
||||
|
@ -123,6 +123,6 @@
|
|||
and
|
||||
<input type="submit" value="Delete Orphan Pages" />
|
||||
</p>
|
||||
<%= end_form_tag %>
|
||||
<% end %>
|
||||
|
||||
<%= javascript_include_tag 'edit_web' %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue