Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Thursday, November 12, 2026

Diff for Metafox/functions.inc.php between version 1.49 and 1.50

version 1.49, 2007/02/01 12:05:29 version 1.50, 2007/02/01 12:45:35
Line 17 
Line 17 
  * http://platon.sk/projects/Metafox/   * http://platon.sk/projects/Metafox/
  */   */
   
 /* $Platon: Metafox/functions.inc.php,v 1.48 2006-12-29 20:52:53 nepto Exp $ */  /* $Platon: Metafox/functions.inc.php,v 1.49 2007-02-01 12:05:29 nepto Exp $ */
   
 function ezin_eval($evalcode) /* {{{ */  function ezin_eval($evalcode) /* {{{ */
 {  {
Line 793  function ezin_load_template($template_ke
Line 793  function ezin_load_template($template_ke
                         fclose($f);                          fclose($f);
                         return $data;                          return $data;
                 }                  }
                   else if ($template_key == 'section.rss2') { /* {{{{ */
                           return '<| "<" |>?xml version="1.0" encoding="<|$ezin_encoding|>" ?<| ">\n" |>
   <rss version="2.0">
   <channel>
           <title><|$ezin_name|></title>
           <link>http://<|$_SERVER["HTTP_HOST"]|><|$ezin_url|></link>
           <description><|strlen($ezin_description)>0?$ezin_description:$ezin_name|></description>
           <generator><|strip_tags($ezin_software_signature)|></generator>
   <|CMD| if (strlen($ezin_lang) > 0): |>
           <language><|$ezin_lang|></language>
   <|CMD| endif; |>
   <!--    <pubDate>Tue, 10 Jun 2003 04:00:00 GMT</pubDate> -->
   <!--    <lastBuildDate>Tue, 10 Jun 2003 09:41:01 GMT</lastBuildDate> -->
   <!--    <docs>http://blogs.law.harvard.edu/tech/rss</docs> -->
   <!--    <managingEditor>editor@example.com</managingEditor> -->
   <!--    <webMaster>webmaster@example.com</webMaster> -->
   <|$article_items|>
   </channel>
   </rss>';
                   } /* }}} */
                   else if ($template_key == 'article_item.rss2') { /* {{{ */
                           return '<item>
           <title><|str_replace("&", "&amp;", strip_tags($article_atitle))|></title>
           <link>http://<|$_SERVER["HTTP_HOST"]|><|$article_link|></link>
           <pubDate><| gmdate("D, d M Y H:i:s", $article_timestamp) |> GMT</pubDate>
           <guid isPermaLink="false">article-item-<|$article_id|></guid>
   <|CMD| if ($article_messages > 0): |>
           <comments>http://<|$_SERVER["HTTP_HOST"]|><|$article_show_all_link|></comments>
   <|CMD| endif; |>
   <|CMD| if (strlen($article_author_email) > 0): |>
           <author><|$article_author_name|> &lt;<|$article_author_email|>&gt;</author>
   <|CMD| endif; |>
           <description><|str_replace("&", "&amp;", strip_tags($article_hometext))|></description>
   </item>';
                   } /* }}} */
                 if (($pos = strrpos($template_key, '.')) === false) {                  if (($pos = strrpos($template_key, '.')) === false) {
                         break;                          break;
                 }                  }

Legend:
Removed from v.1.49  
changed lines
  Added in v.1.50

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top