~ubuntu-branches/debian/squeeze/sympa/squeeze

« back to all changes in this revision

Viewing changes to web_tt2/scenario_test.tt2

  • Committer: Bazaar Package Importer
  • Author(s): Stefan Hornburg (Racke)
  • Date: 2008-10-05 12:36:30 UTC
  • mfrom: (1.1.5 upstream) (6.1.3 gutsy)
  • Revision ID: james.westby@ubuntu.com-20081005123630-8ga1kt0ogrkqaizf
Tags: 5.3.4-6
* fix usage of $* Perl variable deprecated in Perl 5.10 
  (Closes: #501154, thanks to Micah Anderson <micah@debian.org> and
  David Moreno <david@dev.axiombox.com> for the report and patches)
* add the sympa.pl --upgrade procedure to the debian/postinst 
  to migrate existing installs (Closes: #498144, thanks to Micah
  Anderson <micah@debian.org> for the patch)
* additional patch for insecure use of /tmp (Closes: #496520)
* missing debian/compat file added

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<!-- $Id: scenario_test.tt2,v 1.5 2005/08/09 09:52:43 sympa-authors Exp $ -->
2
 
 
3
 
 
 
1
<!-- $Id: scenario_test.tt2 3996 2006-11-03 13:43:20Z sympa-authors $ -->
 
2
 
 
3
<h3>[%|loc%]Scenario test module[%END%]</h3><br />
4
4
<form action="[% path_cgi %]" method="post">
 
5
<fieldset>
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;">
8
 
      <tr valign="top">
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 />
11
 
        </td>
12
 
      </tr>
13
 
      <tr>
14
 
        <td>[%|loc%]Scenari name[%END%]</td>
15
 
        <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>
19
11
              [% END %]
20
 
          </select>
21
 
        </td>
22
 
    </tr>
23
 
    <tr>
24
 
        <td>[%|loc%]Listname[%END%]</td>
25
 
 
26
 
        <td>
27
 
          <select name="listname">
 
12
          </select><br />
 
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>
30
17
              [% END %]
31
 
          </select>
32
 
        </td>
33
 
    </tr>
34
 
    <tr>
35
 
        <td>[%|loc%]sender email[%END%]</td>
36
 
        <td>
37
 
          <input type="text" name="sender" size="20" value="[% sender %]" />
38
 
        </td>
39
 
    </tr>
40
 
    <tr>
41
 
        <td>[%|loc%]Related email[%END%]</td>
42
 
        <td>
43
 
          <input type="text" name="email" size="20" value="[% email %]" />
44
 
        </td>
45
 
    </tr>
46
 
    <tr>
47
 
        <td>[%|loc%]Remote IP address[%END%]</td>
48
 
        <td>
 
18
          </select><br />
 
19
      <label for="sender">[%|loc%]sender email[%END%] :  </label>
 
20
          <input id="sender" type="text" name="sender" size="20" value="[% sender %]" />
 
21
      <br />    
 
22
      <label for="email">[%|loc%]Related email[%END%] :  </label>
 
23
          <input id="email" type="text" name="email" size="20" value="[% email %]" />
 
24
      <br />
 
25
      <label for="remote_addr">[%|loc%]Remote IP address[%END%] :  </label>
49
26
          <input type="text" name="remote_addr" size="16" value="[% remote_addr %]" />
50
 
        </td>
51
 
    </tr>
52
 
    <tr>
53
 
        <td>[%|loc%]Remote host[%END%]</td>     
54
 
        <td>
 
27
      <br />
 
28
      <label for="remote_host">[%|loc%]Remote host[%END%] :  </label>   
55
29
          <input type="text" name="remote_host" size="16" value="[% remote_host %]" />
56
 
        </td>
57
 
    </tr>
58
 
    <tr>
59
 
        <td>[%|loc%]Auth method[%END%]</td>
60
 
        <td>
61
 
          <select name="auth_method">
 
30
      <br />
 
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>
64
35
              [% END %] 
65
36
          </select>
66
 
        </td>
67
 
    </tr>
68
 
    <tr>
69
 
 
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 %];">
 
37
      <br />
 
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>
74
42
          [% ELSE %]
75
 
          <div style="text-align: center;">-</div>
 
43
          <label for="rule" class="text_center">&nbsp;-&nbsp;</label>
76
44
          [% END %]
77
 
        </td>
78
 
 
79
 
      </tr>
80
 
 
81
 
    </table>
82
 
    </div>
 
45
      </span>
 
46
 
 
47
    </fieldset>
83
48
    </form>
84
49
 
85
50