tp = e107::getParser(); } function sc_rss_feed() { $url2 = e107::url('rss_menu','rss', $this->var); return "".$this->tp->toHTML($this->var['rss_name'], TRUE).""; } function sc_rss_icon() { $url2 = e107::url('rss_menu','rss', $this->var); return "".defset('RSS_ICON').""; } function sc_rss_text() { return $this->tp->toHTML($this->var['rss_text'], TRUE, "defs"); } function sc_rss_types() { $url2 = e107::url('rss_menu','rss', $this->var); $url4 = e107::url('rss_menu','atom', $this->var); if(deftrue('BOOTSTRAP')) // v2.x { $text = "
".$this->tp->toGlyph('fa-rss')." RSS ".$this->tp->toGlyph('fa-rss')." Atom
"; return $text; } $text = ""; // $text .= "RSS 0.92"; $text .= "RSS 2.0"; // $text .= "RDF"; $text .= "ATOM"; return $text; } //##### ADMIN -------------------------------------------------- function sc_rss_admin_import_check() { global $rs, $i; if(!empty($this->var['description'])) { $this->var['text'] = $this->var['description']; } $text = ""; $text .= ""; $text .= ""; $text .= ""; $text .= ""; $text .= ""; $text .= ""; $text .= ""; return $text; } function sc_rss_admin_import_path() { global $i; return ""; } function sc_rss_admin_import_name() { global $i; return ""; } function sc_rss_admin_import_text() { return !empty($this->var['description']) ? $this->var['description'] : $this->var['text']; } function sc_rss_admin_import_url() { return $this->var['url']; } function sc_rss_admin_import_topicid() { return $this->var['topic_id']; } } // $rss_shortcodes = new rss_menu_shortcodes;