File: i.edit.html

package info (click to toggle)
hiki 0.8.6-1etch1
  • links: PTS
  • area: main
  • in suites: etch
  • size: 1,772 kB
  • ctags: 1,746
  • sloc: ruby: 20,067; lisp: 926; sh: 269; makefile: 10
file content (37 lines) | stat: -rw-r--r-- 1,499 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<html>
<head>
<%= @contents[:header] %>
</head>
<body>
<div><%= @contents[:tools] %></div>
<h1><%= @contents[:title] %></h1>
<% if @contents[:msg] %><div><strong><%= @contents[:msg] %></strong></div><% end %>
<% if @contents[:body] %><div><%= @contents[:body] %></div><% end %>
<% if @contents[:differ] %><div><%= @contents[:differ] %></div><% end %>
<form action="<%= @contents[:cgi_name] %>" method="POST">
<input type="hidden" name="p" value="<%= @contents[:pagename] %>">
<input type="hidden" name="c" value="save">
<input type="hidden" name="md5hex" value="<%= @contents[:md5hex] %>">
<input type="hidden" name="session_id" value="<%=@contents[:session_id]%>">
<a name="form"></a>
<p><%=@conf.msg_title%> <input type="text" name="page_title" size="60" value="<%= @contents[:page_title] %>"></p>
<div>
<textarea name="contents"><%= @contents[:contents] %></textarea>
</div>
<p>
<% if @contents[:preview_button] %><input type="submit" name="preview" value="<%=@conf.msg_preview_button%>"><% end %>
<% if @contents[:button] %><input type="submit" name="save" value="<%=@conf.msg_save%>"><% end %>
<input type="checkbox" name="update_timestamp" value="on"<%=@contents[:update_timestamp]%>><%=@conf.msg_update_timestamp%>
</p>
<p>
<%=@conf.msg_keyword_form%>
<textarea name="keyword"><%= @contents[:keyword] %></textarea>
</p>
<% if @plugin.admin? %>
<p>
<input type="checkbox" name="freeze" value="on"<%= @contents[:freeze] %>><%=@conf.msg_freeze_checkbox%> 
</p>
<% end %>
</form>
</body>
</html>