Diff for Metafox/admin/inc-db/articles.inc.php between version 1.17 and 1.18
| version 1.17, 2007/03/19 06:25:52 |
version 1.18, 2007/05/09 13:42:57 |
| Line 51 if ($ezin_admin_action == 'pages') { |
|
| Line 51 if ($ezin_admin_action == 'pages') { |
|
| $ezin_opts['filters'] = 'UNIX_TIMESTAMP(datetime) != 0'; |
$ezin_opts['filters'] = 'UNIX_TIMESTAMP(datetime) != 0'; |
| } |
} |
| |
|
| |
if (stripos($ezin_user['role_authors'], 'X') !== false) { |
| |
$ezin_opts['filters'] = 'PMEtable0.author_id = '.intval($ezin_user['author_id']); |
| |
} |
| |
|
| // Field definitions |
// Field definitions |
| |
|
| $ezin_opts['fdd']['id'] = array( |
$ezin_opts['fdd']['id'] = array( |
| Line 169 if ($ezin_cfg['single_author_id'] >= 0) |
|
| Line 173 if ($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( |
Platon Group <platon@platon.org> http://platon.org/
|
|