File: ControlEditPage-Body.html

package info (click to toggle)
wwwoffle 2.9f-2.2
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 7,716 kB
  • ctags: 2,077
  • sloc: ansic: 23,951; sh: 6,815; lex: 4,201; perl: 917; makefile: 623; ruby: 181; lisp: 14
file content (37 lines) | stat: -rw-r--r-- 768 bytes parent folder | download | duplicates (3)
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
<!-- This is just the body of this file since it is repeated while the head is shared -->

<!--

Available WWWOFFLE Variables (all with a '$' prefix).

section   = The name of this section of the config file (='$section').
comment   = The comment for this section of the config file.
content   = The content of this section of the config file.

-->

$section?{

<h2><a name="$section">$section Section</a></h2>

<pre>
$comment
</pre>

<form action="/control/edit?$section" method=post>
<textarea name="value" cols=60 rows=10>$content</textarea>
<br>
<input type="submit" value="Update"><input type="reset" value="Reset">
</form>

}{

<h2>Comment</h2>

<pre>
$comment
</pre>

}

<!-- This is just the body of this file since it is repeated while the tail is shared -->