File: params.html

package info (click to toggle)
kore 4.2.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,912 kB
  • sloc: ansic: 29,227; makefile: 344; sh: 278; python: 149; cpp: 34
file content (33 lines) | stat: -rw-r--r-- 1,209 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
<!DOCTYPE>
<html>
<head>
	<link rel="stylesheet" href="/css/style.css" type="text/css">
	<title>Kore params test</title>
</head>

<body style="overflow: auto">

<div class="content" style="font-size: 12px; font-weight: normal">
	<p>You can pass one GET parameter (arg1), any other GET parameter will
	   be filtered out</p>
	<p>Only two out of the three input fields will be visible to Kore.</p>
	<p>The first field accepts the input "test"</p>
	<p>The second field accepts anything like /test/[a-z]*</p>
	<p>The third field will be removed by Kore, as it is not in the params
	   block configured for this page.</p>
	<form method="POST">
		<input type="input" name="test1" value="$test1$">
		<input type="input" name="test2" value="$test2$">
		<input type="input" name="test3" value="$test3$">
		<input type="submit">
	</form>

	<p style="font-size: 12px; font-weight: normal">GET param arg1: $arg1$</p>
	<p style="font-size: 12px; font-weight: normal">GET param arg2: $arg2$</p>
	<p style="font-size: 12px; font-weight: normal">test1: $test1$</p>
	<p style="font-size: 12px; font-weight: normal">test2: $test2$</p>
	<p style="font-size: 12px; font-weight: normal">test3: $test3$</p>
</div>

</body>
</html>