public function export() { header("Content-Type: application/xml; charset=UTF-8"); $rss_date = self::displayDate($this->guessRSSDate()); $tVars = array('items' => $this->items, 'title_link' => $this->feedURL, 'feed_title' => $this->title, 'feed_description' => $this->descr, 'language' => GWF_Language::getCurrentISO(), 'image_url' => Common::getAbsoluteURL('/favicon.ico', false), 'image_link' => $this->webURL, 'image_width' => '32', 'image_height' => '32', 'pub_date' => $rss_date, 'build_date' => $rss_date); return GWF_Template::templatePHPMain('rss2.php', $tVars); }
public function templatePHP($file, $tVars = array()) { $name = $this->getName(); $tVars['lang'] = $this->lang; $tVars['module'] = $this; return GWF_Template::templatePHPMain("module/{$name}/{$file}", $tVars); }
public static function displayMobileFooter() { $tVars = array(); return GWF_Template::templatePHPMain('mobile_footer.php', $tVars); }
public static function display2(array $headers, array $data, $sortURL = '', $raw_head = '', $raw_body = '') { $tVars = array('headers' => $headers, 'data' => $data, 'raw_head' => $raw_head, 'raw_body' => $raw_body); return GWF_Template::templatePHPMain('table2.php', $tVars); }