Created
October 16, 2011 17:41
-
-
Save adamfairholm/1291179 to your computer and use it in GitHub Desktop.
PyroCMS 1.4 Blog Filter
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<fieldset id="filters"> | |
<legend><?php echo lang('global:filters'); ?></legend> | |
<?php echo form_open(); ?> | |
<?php echo form_hidden('f_module', $module_details['slug']); ?> | |
<ul> | |
<li> | |
<?php echo lang('blog_status_label', 'f_status'); ?> | |
<?php echo form_dropdown('f_status', array(0 => lang('global:select-all'), 'draft'=>lang('blog_draft_label'), 'live'=>lang('blog_live_label'))); ?> | |
</li> | |
<li> | |
<?php echo lang('blog_category_label', 'f_category'); ?> | |
<?php echo form_dropdown('f_category', array(0 => lang('global:select-all')) + $categories); ?> | |
</li> | |
<li><?php echo form_input('f_keywords'); ?></li> | |
<li><?php echo anchor(current_url() . '#', lang('buttons.cancel'), 'class="cancel"'); ?></li> | |
</ul> | |
<?php echo form_close(); ?> | |
</fieldset> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment