Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Wednesday, October 14, 2026

Diff for Metafox/themes/default/functions.php between version 1.1 and 1.2

version 1.1, 2005/06/05 12:16:26 version 1.2, 2005/11/26 09:55:27
Line 1 
Line 1 
 <?php  <?php
   
 // no functions  function ezin_tmpl_get_page_title() /* {{{ */
   {
           global $ezin_cfg, $ezin_cgi;
           global $ezin_name, $ezin_title, $ezin_cgi_output, $ezin_cgi_input;
           global $section_name;
           if ($ezin_cgi_input == 'index') {
                   return 'Metafox -- enterprise content management system';
           }
           $ezin_lang = $ezin_cgi['lang'];
           $ret = $ezin_name;
           switch (@$ezin_cgi_output) {
                   case 'admin':
                           $ret .= ' Administration';
                           break;
                   case 'notfound':
                           $str = $ezin_lang == 'sk' ? 'Dokument nenájdený' : 'Document Not Found';
                           $whereareyou[''] = $str;
                           $ret .= ": $str";
                           break;
                   case 'author':
                           global $author_name;
                           $str = $ezin_lang == 'sk' ? 'autor' : 'author';
                           $whereareyou[''] = $author_name;
                           $ret .= ": $str $author_name";
                           break;
                   case 'message':
                   case 'message_selected_list':
                   case 'message_full_list':
                   case 'article':
                           global $article_title, $article_atitle;
                           if ($ezin_cgi_output == 'message') {
                                   $str = $ezin_lang == 'sk' ? 'prida» nový príspevok' : 'add new message';
                                   $ret .= ": $article_title ($str)";
                           } else if ($ezin_cgi_output == 'message_selected_list') {
                                   $str = $ezin_lang == 'sk' ? 'výpis vybraných príspevkov' : 'selected message list';
                                   $ret .= ": $article_title ($str)";
                           } else if ($ezin_cgi_output == 'message_full_list') {
                                   $str = $ezin_lang == 'sk' ? 'výpis príspevkov' : 'message list';
                                   $ret .= ": $article_title ($str)";
                           } else {
                                   $ret .= ": $article_title";
                           }
                           break;
                   case 'section':
                           $ret .= ': ';
                           $ret .= $ezin_lang == 'sk' ? 'sekcia' : 'section';
                           $ret .= " $section_name";
                           break;
           }
           $ret = strip_tags($ret);
           $ret = htmlspecialchars($ret);
           return $ret;
   } /* }}} */
   
   /* Modeline for ViM {{{
    * vim: set ts=4:
    * vim600: fdm=marker fdl=0 fdc=0:
    * }}} */
   
 ?>  ?>

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

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