| version 1.2, 2005/11/26 23:48:48 |
version 1.3, 2006/06/17 11:03:04 |
| Line 28 $ezin_opts['triggers']['insert']['after' |
|
| Line 28 $ezin_opts['triggers']['insert']['after' |
|
| $ezin_opts['triggers']['update']['after'] = 'inc-db/triggers/messages.after'; |
$ezin_opts['triggers']['update']['after'] = 'inc-db/triggers/messages.after'; |
| $ezin_opts['triggers']['delete']['after'] = 'inc-db/triggers/messages.after'; |
$ezin_opts['triggers']['delete']['after'] = 'inc-db/triggers/messages.after'; |
| |
|
| |
// Require |
| |
|
| |
require_once 'phpMyEdit/phpMyEdit.class.php'; |
| |
require_once 'phpMyEdit/extensions/phpMyEdit-messages.class.php'; |
| |
|
| // Field definitions |
// Field definitions |
| |
|
| $ezin_opts['fdd']['id'] = array( |
$ezin_opts['fdd']['id'] = array( |
| Line 46 $ezin_opts['fdd']['article_id'] = array( |
|
| Line 51 $ezin_opts['fdd']['article_id'] = array( |
|
| 'table' => $ezin_sys['db']['tables']['articles'], |
'table' => $ezin_sys['db']['tables']['articles'], |
| 'column' => 'id', |
'column' => 'id', |
| 'description' => 'title'), |
'description' => 'title'), |
| 'options' => 'ACVDPR', |
'options' => 'ACVDP', |
| 'default' => Platon::get_cgi_var('article_id') |
'default' => phpMyEdit::get_data_cgi_var('article_id') |
| ); |
); |
| |
|
| $ezin_opts['fdd']['parent'] = array( |
$ezin_opts['fdd']['parent'] = array( |
| Line 123 $ezin_opts['fdd']['message'] = array( |
|
| Line 128 $ezin_opts['fdd']['message'] = array( |
|
| if (! ezin_admin_check_list_privileges($ezin_opts['options'])) { |
if (! ezin_admin_check_list_privileges($ezin_opts['options'])) { |
| require 'inc-html/permdenied.html'; |
require 'inc-html/permdenied.html'; |
| } else { |
} else { |
| require_once 'phpMyEdit/extensions/phpMyEdit-messages.class.php'; |
|
| new phpMyEdit_messages($ezin_opts); |
new phpMyEdit_messages($ezin_opts); |
| } |
} |
| |
|