1
<!-- $Id: scenario_test.tt2,v 1.5 2005/08/09 09:52:43 sympa-authors Exp $ -->
1
<!-- $Id: scenario_test.tt2 3996 2006-11-03 13:43:20Z sympa-authors $ -->
3
<h3>[%|loc%]Scenario test module[%END%]</h3><br />
4
4
<form action="[% path_cgi %]" method="post">
5
6
<input type="hidden" name="action" value="scenario_test" />
6
<div style="margin-left: auto; margin-right: auto; text-align: center;">
7
<table border="0" cellpadding="10" style="text-align: left;">
9
<td colspan="2" style="white-space: nowrap;">
10
<div style="color: [% dark_color %]; text-align: center;"><strong>[%|loc%]Scenario test module[%END%]</strong></div><br />
14
<td>[%|loc%]Scenari name[%END%]</td>
16
<select name="scenario">
7
<label for="scenario">[%|loc%]Scenario name[%END%] : </label>
8
<select id="scenarion" name="scenario">
17
9
[% FOREACH sc = scenario %]
18
10
<option value="[% sc.key %]" [% sc.value.selected %]>[% sc.key %]</option>
24
<td>[%|loc%]Listname[%END%]</td>
27
<select name="listname">
13
<label for="listname">[%|loc%]Listname[%END%] : </label>
14
<select id="listname" name="listname">
28
15
[% FOREACH l = listname %]
29
16
<option value="[% l.key %]"[% l.value.selected %] >[% l.key %]</option>
35
<td>[%|loc%]sender email[%END%]</td>
37
<input type="text" name="sender" size="20" value="[% sender %]" />
41
<td>[%|loc%]Related email[%END%]</td>
43
<input type="text" name="email" size="20" value="[% email %]" />
47
<td>[%|loc%]Remote IP address[%END%]</td>
19
<label for="sender">[%|loc%]sender email[%END%] : </label>
20
<input id="sender" type="text" name="sender" size="20" value="[% sender %]" />
22
<label for="email">[%|loc%]Related email[%END%] : </label>
23
<input id="email" type="text" name="email" size="20" value="[% email %]" />
25
<label for="remote_addr">[%|loc%]Remote IP address[%END%] : </label>
49
26
<input type="text" name="remote_addr" size="16" value="[% remote_addr %]" />
53
<td>[%|loc%]Remote host[%END%]</td>
28
<label for="remote_host">[%|loc%]Remote host[%END%] : </label>
55
29
<input type="text" name="remote_host" size="16" value="[% remote_host %]" />
59
<td>[%|loc%]Auth method[%END%]</td>
61
<select name="auth_method">
31
<label for="auth_method">[%|loc%]Auth method[%END%] : </label>
32
<select id="auth_method" name="auth_method">
62
33
[% FOREACH a = auth_method %]
63
34
<option value="[% a.key %]"[% a.value.selected %] >[% a.key %]</option>
70
<td><input class="MainMenuLinks" type="submit" name="action_scenario_test" value="[%|loc%]get matched rule[%END%]" /></td>
71
<td style="background-color: [% dark_color %];">
38
<input id="rule" class="MainMenuLinks" type="submit" name="action_scenario_test" value="[%|loc%]get matched rule[%END%]" />
39
<span class="bg_color_dark">
72
40
[% IF scenario_action %]
73
41
<code>[% scenario_condition %], [% scenario_auth_method %] -> [% scenario_action %]</code>
75
<div style="text-align: center;">-</div>
43
<label for="rule" class="text_center"> - </label>