english/administrator/components/com_newsfeeds/helpers/html/newsfeed.php
/**
	 * Display an HTML select list of state filters
	 *
	 * @param	int $selected	The selected value of the list
	 * @return	string			The HTML code for the select tag
	 * @since	1.6
	 */
Display an HTML select list of state filters
@param       int $selected   The selected value of the list
@return      string                  The HTML code for the select tag
@since       1.6
Display an HTML select list of state filters @param int $selected The selected value of the list @return string The HTML code for the select tag @since 1 . 6
public static function filterstate($selected)
	{
		$options	= array();
		$options[]	= JHtml::_('select.option', '*', JText::_('JOPTION_ANY'));
		$options[]	= JHtml::_('select.option', '1', JText::_('JPUBLISHED'));
		$options[]	= JHtml::_('select.option', '0', JText::_('JUNPUBLISHED'));
		return JHtml::_('select.genericlist', $options, 'filter_published',
			array(
				'list.attr' => 'class="inputbox" onchange="this.form.submit();"',
				'list.select' => $selected
			)
		);
	}
public static function filterstate ( $ selected ) { $ options = array ( ) ; $ options [ ] = JHtml :: _ ( 'select.option' , '*' , JText :: _ ( 'JOPTION_ANY' ) ) ; $ options [ ] = JHtml :: _ ( 'select.option' , '1' , JText :: _ ( 'JPUBLISHED' ) ) ; $ options [ ] = JHtml :: _ ( 'select.option' , '0' , JText :: _ ( 'JUNPUBLISHED' ) ) ; return JHtml :: _ ( 'select.genericlist' , $ options , 'filter_published' , array ( 'list.attr' => 'class="inputbox" onchange="this.form.submit();"' , 'list.select' => $ selected ) ) ; }
Display an HTML select list of state filters
 @param       int $selected   The selected value of the list
 @return      string                  The HTML code for the select tag
 @since       1.6
Display an HTML select list of state filters @param int $selected The selected value of the list @return string The HTML code for the select tag @since 1 . 6
// Build the active state filter options.