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/admin/inc-db/articles.inc.php between version 1.19 and 1.20

version 1.19, 2007/05/09 13:48:24 version 1.20, 2007/05/09 14:17:23
Line 52  if ($ezin_admin_action == 'pages') {
Line 52  if ($ezin_admin_action == 'pages') {
 }  }
   
 if (ezin_admin_is_blog()) {  if (ezin_admin_is_blog()) {
         $ezin_opts['filters'] = 'PMEtable0.author_id = '.intval($ezin_user['author_id']);          $ezin_opts['filters'] .= ' AND PMEtable0.author_id = '.intval($ezin_user['author_id']);
           $ezin_opts['filters'] .= ' AND PMEjoin10.type = "normal"';
 }  }
   
 // Field definitions  // Field definitions
Line 169  $ezin_opts['fdd']['author_id'] = array(
Line 170  $ezin_opts['fdd']['author_id'] = array(
                         'description' => 'name')                          'description' => 'name')
                 );                  );
   
 if ($ezin_cfg['single_author_id'] >= 0) {  if (ezin_admin_is_blog()) {
           $ezin_opts['fdd']['author_id']['options'] = 'LFACPVDR';
           $ezin_opts['fdd']['author_id']['default'] = $ezin_user['author_id'];
   } elseif ($ezin_cfg['single_author_id'] >= 0) {
         /* If we have just one Author in DB, we do not need to show him */          /* If we have just one Author in DB, we do not need to show him */
         $ezin_opts['fdd']['author_id']['options'] = 'ACPVDRH';          $ezin_opts['fdd']['author_id']['options'] = 'ACPVDRH';
         $ezin_opts['fdd']['author_id']['default'] = $ezin_cfg['single_author_id'];          $ezin_opts['fdd']['author_id']['default'] = $ezin_cfg['single_author_id'];
 } elseif (ezin_admin_is_blog()) {  
         $ezin_opts['fdd']['author_id']['options'] = 'LFACPVDR';  
         $ezin_opts['fdd']['author_id']['default'] = $ezin_user['author_id'];  
 }  }
   
 $ezin_opts['fdd']['section_id'] = array(  $ezin_opts['fdd']['section_id'] = array(
Line 192  $ezin_opts['fdd']['section_id'] = array(
Line 193  $ezin_opts['fdd']['section_id'] = array(
                                 'divs'    => array(' (', ') ',''))),                                  'divs'    => array(' (', ') ',''))),
                 );                  );
   
   if (ezin_admin_is_blog()) {
           $ezin_opts['fdd']['section_id']['values|APVD']=$ezin_opts['fdd']['section_id']['values'];
           $ezin_opts['fdd']['section_id']['values|APVD']['filters'] = 'type = "normal"';
           $ezin_opts['fdd']['section_id']['options|C'] = 'CR';
           $ezin_opts['fdd']['datetime']['options|C'] = 'CR';
   }
   
 if ($ezin_admin_action != 'pages') {  if ($ezin_admin_action != 'pages') {
         $ezin_opts['fdd']['atitle'] = array(          $ezin_opts['fdd']['atitle'] = array(
                         'name'=>Platon::htmlspecialchars2('Annotation title'),                          'name'=>Platon::htmlspecialchars2('Annotation title'),

Legend:
Removed from v.1.19  
changed lines
  Added in v.1.20

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