Last change
on this file since 77 was
77,
checked in by nanardon, 14 years ago
|
- add distrib selection to explorer
|
-
Property svn:keywords set to
Id
|
File size:
1.1 KB
|
Rev | Line | |
---|
[77] | 1 | <!-- $Id$ --> |
---|
| 2 | |
---|
| 3 | [% FOREACH dist = c.forward('/distrib/list', []) %] |
---|
| 4 | [% IF loop.first %] |
---|
| 5 | <select name="distribution"> |
---|
| 6 | <option value="">--</option> |
---|
| 7 | [% END %] |
---|
| 8 | <option [% 'selected="selected"' IF c.req.param('distribution') == dist %]> |
---|
| 9 | [% dist %] |
---|
| 10 | </option> |
---|
| 11 | [% IF loop.last %] |
---|
| 12 | </select> |
---|
| 13 | [% END %] |
---|
| 14 | [% END %] |
---|
| 15 | |
---|
| 16 | [% IF c.req.param('distribution') %] |
---|
| 17 | [% FOREACH dist = c.forward('/distrib/list', [ |
---|
| 18 | { |
---|
| 19 | 'distribution' => c.req.param('distribution'), |
---|
| 20 | } |
---|
| 21 | ]) %] |
---|
| 22 | [% IF loop.first %] |
---|
| 23 | <select name="release"> |
---|
| 24 | <option value="">--</option> |
---|
| 25 | [% END %] |
---|
| 26 | <option [% 'selected="selected"' IF c.req.param('release') == dist %]> |
---|
| 27 | [% dist %] |
---|
| 28 | </option> |
---|
| 29 | [% IF loop.last %] |
---|
| 30 | </select> |
---|
| 31 | [% END %] |
---|
| 32 | [% END %] |
---|
| 33 | |
---|
| 34 | |
---|
| 35 | [% IF c.req.param('release') %] |
---|
| 36 | [% FOREACH dist = c.forward('/distrib/list', [ |
---|
| 37 | { |
---|
| 38 | 'distribution' => c.req.param('distribution'), |
---|
| 39 | 'release' => c.req.param('release'), |
---|
| 40 | } |
---|
| 41 | ]) %] |
---|
| 42 | [% IF loop.first %] |
---|
| 43 | <select name="arch"> |
---|
| 44 | <option value="">--</option> |
---|
| 45 | [% END %] |
---|
| 46 | <option [% 'selected="selected"' IF c.req.param('arch') == dist %]> |
---|
| 47 | [% dist %] |
---|
| 48 | </option> |
---|
| 49 | [% IF loop.last %] |
---|
| 50 | </select> |
---|
| 51 | [% END %] |
---|
| 52 | [% END %] |
---|
| 53 | [% END %] |
---|
| 54 | |
---|
| 55 | [% END %] |
---|
Note: See
TracBrowser
for help on using the repository browser.