| 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"', |
| ); |
); |
| |
|
| |
|