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.112 and 1.113

version 1.112, 2013/09/02 12:46:38 version 1.113, 2013/09/02 13:30:19
Line 17 
Line 17 
  * http://platon.sk/projects/Metafox/   * http://platon.sk/projects/Metafox/
  */   */
   
 /* $Platon: Metafox/functions.inc.php,v 1.111 2013-09-02 09:30:56 igor Exp $ */  /* $Platon: Metafox/functions.inc.php,v 1.112 2013-09-02 12:46:38 igor Exp $ */
   
 function ezin_eval($evalcode) /* {{{ */  function ezin_eval($evalcode) /* {{{ */
 {  {
Line 2365  function ezin_get_sitemap() {
Line 2365  function ezin_get_sitemap() {
 }  }
   
 /* Basic HTML list of all section and articles */  /* Basic HTML list of all section and articles */
 function ezin_get_htmlmap() {  function ezin_get_htmlmap($lang = null) {
         $cache_id = 'ezin_htmlmap';          $cache_id = (strlen($lang) > 0) ? 'ezin_htmlmap_'.$lang : 'ezin_htmlmap';
         $cache_ar = ezin_cache_load($cache_id);          $cache_ar = ezin_cache_load($cache_id);
         if (intval($cache_ar['timestamp']) <= 0) {          if (intval($cache_ar['timestamp']) <= 0) {
                 $host = 'http://'.$_SERVER['HTTP_HOST'];                  $host = 'http://'.$_SERVER['HTTP_HOST'];
                 $ret = '<ul class="htmlmap-root">'."\n";                  $ret = '<ul class="htmlmap-root">'."\n";
                 $articles = ezin_get_article_list(0,0,0);                  $articles = ezin_get_article_list(0,0,0,$lang);
                 function compare_article($a, $b) {                  function compare_article($a, $b) {
                         if ($a['article_access_key'] == $b['article_access_key']) {                          if ($a['article_access_key'] == $b['article_access_key']) {
                                 return strcmp($a['article_title'], $b['article_title']);                                  return strcmp($a['article_title'], $b['article_title']);
Line 2388  function ezin_get_htmlmap() {
Line 2388  function ezin_get_htmlmap() {
                                 ."\t\t\t\t".'<a href="'.$host.$article['article_link'].'" class="htmlmap-branch-link">'.$article['article_title'].'</a>'."\n"                                  ."\t\t\t\t".'<a href="'.$host.$article['article_link'].'" class="htmlmap-branch-link">'.$article['article_title'].'</a>'."\n"
                                 ."\t\t\t".'</li>'."\n";                                  ."\t\t\t".'</li>'."\n";
                 }                  }
                 $sections = ezin_get_section_list();                  $sections = ezin_get_section_list($lang);
                 foreach($sections as $section) {                  foreach($sections as $section) {
                         ezin_section_link_process($section);                          ezin_section_link_process($section);
                         $ret .=                          $ret .=

Legend:
Removed from v.1.112  
changed lines
  Added in v.1.113

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