diff options
| author | 2013-08-18 15:36:58 +0200 | |
|---|---|---|
| committer | 2013-08-18 15:36:58 +0200 | |
| commit | 2c764af215fca00cbb02295829f028bdeeae0325 (patch) | |
| tree | dfeb823bd93f48fd17330d38e241f1ff780566ff /app/views/configure/feed.phtml | |
| parent | 37b641966f4a550637421c345e5013cf24645226 (diff) | |
Organisation page configuration (issue #97)
Réorganisation de quelques options, mise en évidence des groupes
d'option
Changement des flux de catégorie via <select /> et non plus via liste de
<radio />
Diffstat (limited to 'app/views/configure/feed.phtml')
| -rw-r--r-- | app/views/configure/feed.phtml | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/app/views/configure/feed.phtml b/app/views/configure/feed.phtml index ec2ff3bdb..d2d978f54 100644 --- a/app/views/configure/feed.phtml +++ b/app/views/configure/feed.phtml @@ -46,16 +46,17 @@ </div> </div> - <legend><?php echo Translate::t ('category'); ?> - <a href="<?php echo _url ('configure', 'categorize'); ?>"><?php echo Translate::t ('categories_management'); ?></a></legend> <div class="form-group"> - <label class="group-name"><?php echo Translate::t ('categorize'); ?></label> + <label class="group-name" for="category"><?php echo Translate::t ('category'); ?></label> <div class="group-controls"> + <select name="category" id="category"> <?php foreach ($this->categories as $cat) { ?> - <label class="radio" for="cat_<?php echo $cat->id (); ?>"> - <input type="radio" name="category" id="cat_<?php echo $cat->id (); ?>" value="<?php echo $cat->id (); ?>"<?php echo $cat->id () == $this->flux->category () ? ' checked="checked"' : ''; ?> /> + <option value="<?php echo $cat->id (); ?>"<?php echo $cat->id ()== $this->flux->category () ? ' selected="selected"' : ''; ?>> <?php echo $cat->name (); ?> - </label> + </option> <?php } ?> + </select> + <a href="<?php echo _url ('configure', 'categorize'); ?>"><?php echo Translate::t ('categories_management'); ?></a> </div> </div> |
