Diff for Metafox/admin/inc-db/sections.inc.php between version 1.9 and 1.10
| version 1.9, 2006/07/08 22:52:46 |
version 1.10, 2006/07/08 23:09:11 |
| Line 157 $ezin_opts['fdd']['author_id'] = array( |
|
| Line 157 $ezin_opts['fdd']['author_id'] = array( |
|
| 'select'=>'T', |
'select'=>'T', |
| 'sort'=>true, |
'sort'=>true, |
| 'required'=>true, |
'required'=>true, |
| |
'options'=>'ACPVD', |
| 'values' => array( |
'values' => array( |
| 'table' => $ezin_sys['db']['tables']['authors'], |
'table' => $ezin_sys['db']['tables']['authors'], |
| 'column' => 'id', |
'column' => 'id', |
| 'description' => 'name') |
'description' => 'name') |
| ); |
); |
| |
|
| |
if ($ezin_cfg['single_author_id'] >= 0) { |
| |
/* 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']['default'] = $ezin_cfg['single_author_id']; |
| |
} |
| |
|
| $ezin_opts['fdd']['name'] = array( |
$ezin_opts['fdd']['name'] = array( |
| 'name'=>'Name', |
'name'=>'Name', |
| 'select'=>'T', |
'select'=>'T', |
Platon Group <platon@platon.org> http://platon.org/
|
|