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

Diff for Metafox/admin/inc-db/articles.inc.php between version 1.26 and 1.27

version 1.26, 2007/11/25 02:05:13 version 1.27, 2009/02/11 17:34:30
Line 70  $ezin_opts['fdd']['id'] = array(
Line 70  $ezin_opts['fdd']['id'] = array(
                 // TODO: fix for length >= 5                  // TODO: fix for length >= 5
                 'sql|LF'=>'IF(TRIM(PMEtable0.access_key) != "",'                  'sql|LF'=>'IF(TRIM(PMEtable0.access_key) != "",'
                         .' CONCAT(LPAD(PMEtable0.id,4,"0"), "<!--", PMEtable0.access_key, "-->"), LPAD(PMEtable0.id,4,"0"))',                          .' CONCAT(LPAD(PMEtable0.id,4,"0"), "<!--", PMEtable0.access_key, "-->"), LPAD(PMEtable0.id,4,"0"))',
                 'escape' => false                  'escape' => false,
                   'colattrs|LF'=>'align="center"',
                 );                  );
   
 $ezin_opts['fdd']['status'] = array(  $ezin_opts['fdd']['status'] = array(
Line 89  $ezin_opts['fdd']['status'] = array(
Line 90  $ezin_opts['fdd']['status'] = array(
                         'partly_showed' => '<code>s</code>',                          'partly_showed' => '<code>s</code>',
                         'hidden'        => '<code>H</code>',                          'hidden'        => '<code>H</code>',
                         'disabled'      => '<code>D</code>'),                          'disabled'      => '<code>D</code>'),
                 'sort'=>true                  'sort'=>true,
                   'colattrs|LF'=>'align="center"',
                 );                  );
   
 $template_keys = array_unique(array_merge(  $template_keys = array_unique(array_merge(
Line 98  $template_keys = array_unique(array_merg
Line 100  $template_keys = array_unique(array_merg
 if (count($template_keys) > 0) {  if (count($template_keys) > 0) {
         $ezin_opts['fdd']['template_key'] = array(          $ezin_opts['fdd']['template_key'] = array(
                         'name'=>Platon::htmlspecialchars2('Template key'),                          'name'=>Platon::htmlspecialchars2('Template key'),
                         'name|LF'=>'Key',  
                         'sort'=>true,                          'sort'=>true,
                         'select'=>'T',                          'select'=>'T',
                         'options'=>'ACPDV',                          'options'=>'ACPDV',
Line 112  $ezin_opts['fdd']['access_key'] = array(
Line 113  $ezin_opts['fdd']['access_key'] = array(
                 'name|LF'=>'Key',                  'name|LF'=>'Key',
                 'sort'=>true,                  'sort'=>true,
                 'select'=>'T',                  'select'=>'T',
                 'options'=>'ACPDV'.($ezin_admin_action == 'pages' ? 'LF' : '')                  'options'=>'ACPDV'.($ezin_admin_action == 'pages' ? 'LF' : ''),
                   'colattrs|LF'=>'width="15%"',
                 );                  );
   
 $ezin_opts['fdd']['datetime'] = array(  $ezin_opts['fdd']['datetime'] = array(
Line 123  $ezin_opts['fdd']['datetime'] = array(
Line 124  $ezin_opts['fdd']['datetime'] = array(
                 'required'=>true,                  'required'=>true,
                 'mask'=>'%.10s',                  'mask'=>'%.10s',
                 'options'=>($ezin_admin_action == 'pages' ? 'ACPVDRH' : 'ACPVDLF'),                  'options'=>($ezin_admin_action == 'pages' ? 'ACPVDRH' : 'ACPVDLF'),
                 'default'=>($ezin_admin_action == 'pages' ? '0000-00-00' : date('Y-m-d H:i:s'))                  'default'=>($ezin_admin_action == 'pages' ? '0000-00-00' : date('Y-m-d H:i:s')),
                   'colattrs|LF'=>'align="center"',
                 );                  );
   
   

Legend:
Removed from v.1.26  
changed lines
  Added in v.1.27

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