Diff for Metafox/admin/inc-db/sections.inc.php between version 1.3 and 1.4
| version 1.3, 2006/03/19 11:19:59 |
version 1.4, 2006/06/10 09:37:07 |
| Line 36 $ezin_opts['fdd']['id'] = array( |
|
| Line 36 $ezin_opts['fdd']['id'] = array( |
|
| 'default'=>'', |
'default'=>'', |
| 'options'=>'LDVFPCR', |
'options'=>'LDVFPCR', |
| 'URL'=>ezin_get_link('S', '$value'), |
'URL'=>ezin_get_link('S', '$value'), |
| 'sql|LF'=>'IF(TRIM(PMEtable0.access_key) != "", CONCAT(PMEtable0.id, "<!--", PMEtable0.access_key, "-->"), PMEtable0.id)', |
// TODO: fix for length >= 4 |
| 'mask'=>'%03d', |
'sql|LF'=>'IF(TRIM(PMEtable0.access_key) != "",' |
| |
.' CONCAT(LPAD(PMEtable0.id,3,"0"), "<!--", PMEtable0.access_key, "-->"), LPAD(PMEtable0.id,3,"0"))', |
| 'escape' => false |
'escape' => false |
| ); |
); |
| |
|
Platon Group <platon@platon.org> http://platon.org/
|
|