diff options
author | Remi Collet <fedora@famillecollet.com> | 2010-11-07 12:03:06 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2010-11-07 12:03:06 +0100 |
commit | b72ffbce60aa1d90e09eb7f6153078a406626cee (patch) | |
tree | f30618ef0b8784dc1b6c5da6906f9624137015aa /smarty/templates/rpmphp | |
parent | 32c6495e21342fb589b8d617fbe9ac0d99591232 (diff) |
add 'Channel' filter on list
Diffstat (limited to 'smarty/templates/rpmphp')
-rw-r--r-- | smarty/templates/rpmphp/rpm.tpl | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/smarty/templates/rpmphp/rpm.tpl b/smarty/templates/rpmphp/rpm.tpl index 9f9d94f..742b07d 100644 --- a/smarty/templates/rpmphp/rpm.tpl +++ b/smarty/templates/rpmphp/rpm.tpl @@ -32,9 +32,14 @@ <option value="%stable"{if $what eq '%stable'} selected="selected"{/if}>All stable</option> <option value="%all"{if $what eq '%all'} selected="selected"{/if}>All</option> </optgroup> + <optgroup label="Channel"> +{foreach from=$channels item=o} + <option value="#{$o}"{if $what eq "#$o"} selected="selected"{/if}>{$o}</option> +{/foreach} + </optgroup> <optgroup label="Owner"> {foreach from=$owners item=o} - <option value="{$o->owner}">{$o->owner}</option> + <option value="{$o}"{if $what eq $o} selected="selected"{/if}>{$o}</option> {foreachelse} <option value="remi">remi</option> {/foreach} |