summaryrefslogtreecommitdiffstats
path: root/smarty/templates
diff options
context:
space:
mode:
Diffstat (limited to 'smarty/templates')
-rw-r--r--smarty/templates/rpmphp/rpm.tpl7
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}