/**
  * Assemble the markup for a particular filter selector
  * @return string
  * @access private
  */
 function _build_filter_set($key)
 {
     $ret = parent::_build_filter_set($key);
     if (isset($this->module_ref) && method_exists($this->module_ref, 'get_feed_url')) {
         $url = $this->module_ref->get_feed_url();
         $ret .= '<div class="feedSubscribe">' . make_feed_link($url) . '</div>';
     }
     return $ret;
 }
Пример #2
0
		function show_feed_link()
		{
			if( $this->get_feed_url() )
			{
				reason_include_once('function_libraries/feed_utils.php');
				echo make_feed_link( $this->get_feed_url(), $this->feed_link_title);
			}
		}
Пример #3
0
 function show_feed_link()
 {
     if ($this->job_type->get_value('feed_url_string')) {
         reason_include_once('function_libraries/feed_utils.php');
         echo make_feed_link($this->parent->site_info->get_value('base_url') . MINISITE_FEED_DIRECTORY_NAME . '/' . $this->job_type->get_value('feed_url_string'), 'RSS feed for this site\'s jobs');
     }
 }