aboutsummaryrefslogtreecommitdiff
path: root/app/layout/aside_feed.phtml
diff options
context:
space:
mode:
authorGravatar Alexis Degrugillier <github@ainw.org> 2014-03-09 21:45:25 -0400
committerGravatar Alexis Degrugillier <github@ainw.org> 2014-03-09 21:45:25 -0400
commit3083af6288f23ba6986232798fde67b91517f287 (patch)
treec0fca002909eeae204e6a61b5a334bf5b65d71ad /app/layout/aside_feed.phtml
parentc3cac60b319189017c38b7d5e1d09f51ded96d0e (diff)
Enhance feed adding popup
I added a new option in the category select. It allows the user to add dynamically a new category and add the feed to the newly created category. See #356
Diffstat (limited to 'app/layout/aside_feed.phtml')
-rw-r--r--app/layout/aside_feed.phtml5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/layout/aside_feed.phtml b/app/layout/aside_feed.phtml
index e324b15bd..6f3cdafb2 100644
--- a/app/layout/aside_feed.phtml
+++ b/app/layout/aside_feed.phtml
@@ -20,9 +20,14 @@
<?php echo $cat->name (); ?>
</option>
<?php } ?>
+ <option value="nc"><?php echo Minz_Translate::t ('new_category'); ?></option>
</select>
</li>
+ <li class="input" style="display:none">
+ <input type="text" name="new_category[name]" id="new_category_name" autocomplete="off" placeholder="<?php echo Minz_Translate::t ('new_category'); ?>" />
+ </li>
+
<li class="separator"></li>
<li class="dropdown-header"><?php echo Minz_Translate::t ('http_authentication'); ?></li>