File: ConfigurationUrl-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 (31 lines) | stat: -rw-r--r-- 838 bytes parent folder | download | duplicates (2)
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
<!--

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

entry = The entry in the configuration file (= '$entry').
section     = The section of the configuration file (= '$section').
item        = The item in the section of the configuration file (= '$item').
template    = The template for the item.
description = The description of the item.
current     = The current matching value for the item.

-->

$section?=$lastsection{}{
<h2><a href="$localurl/configuration/$section?%encode[url]">Section: $section</a></h2>
$lastsection=$section
}

<H3><a href="$localurl/configuration/$section/$item?{$item}{no-name}?%encode[url]">Item: $item?{$item}{<i>no-name</i>}</a></H3>

$template?{<tt>%html[template]</tt>}{<i>No template</i>}

<p>

$description?{$description}{<i>No description</i>}

$current?{
<ul>
  <li>%html[current]
</ul>
}{}