[Easymod-cvs] easymod/install/em_files/admin em_manage.php,1.7,1.8
Status: Beta
Brought to you by:
wgeric
|
From: Eric F. <wg...@us...> - 2005-12-25 20:48:46
|
Update of /cvsroot/easymod/easymod/install/em_files/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18079/em_files/admin Modified Files: em_manage.php Log Message: /me is a n00b Index: em_manage.php =================================================================== RCS file: /cvsroot/easymod/easymod/install/em_files/admin/em_manage.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** em_manage.php 24 Dec 2005 05:28:21 -0000 1.7 --- em_manage.php 25 Dec 2005 20:48:38 -0000 1.8 *************** *** 160,164 **** $err = true; em_trigger_error(EM_ERR_CRITICLAL, 'EM_Err_mkdir', $processed_dir . '/' . $file_dir); ! break; } --- 160,164 ---- $err = true; em_trigger_error(EM_ERR_CRITICLAL, 'EM_Err_mkdir', $processed_dir . '/' . $file_dir); ! break 3; } *************** *** 167,171 **** $err = true; em_trigger_error(EM_ERR_CRITICAL, 'EM_Err_move', $target_file . ' -> ' . $edit_file); ! break; } --- 167,171 ---- $err = true; em_trigger_error(EM_ERR_CRITICAL, 'EM_Err_move', $target_file . ' -> ' . $edit_file); ! break 3; } *************** *** 174,178 **** em_trigger_error(EM_ERR_CRITICAL, 'EM_Err_open', $target_file); $err = true; ! break; } --- 174,178 ---- em_trigger_error(EM_ERR_CRITICAL, 'EM_Err_open', $target_file); $err = true; ! break 3; } *************** *** 187,191 **** em_trigger_error(EM_ERR_CRITICAL, 'EM_Err_find', $actions_data['find'], $target_file); $err = true; ! break; } display_mod_action('processed', 'find', $actions_data['find']); --- 187,191 ---- em_trigger_error(EM_ERR_CRITICAL, 'EM_Err_find', $actions_data['find'], $target_file); $err = true; ! break 4; } display_mod_action('processed', 'find', $actions_data['find']); *************** *** 202,206 **** em_trigger_error(EM_ERR_CRITICAL, 'EM_Err_' . $action_func, $action_data['code']); $err = true; ! break; } $block = 'processed'; --- 202,206 ---- em_trigger_error(EM_ERR_CRITICAL, 'EM_Err_' . $action_func, $action_data['code']); $err = true; ! break 5; } $block = 'processed'; *************** *** 223,227 **** em_trigger_error(EM_ERR_CRITICAL, 'EM_Err_inline_find', $actions_data['find'], $target_file); $err = true; ! break; } display_mod_action('processed', 'in-line-find', $inlines_data['in-line-find']); --- 223,227 ---- em_trigger_error(EM_ERR_CRITICAL, 'EM_Err_inline_find', $actions_data['find'], $target_file); $err = true; ! break 5; } display_mod_action('processed', 'in-line-find', $inlines_data['in-line-find']); *************** *** 238,242 **** em_trigger_error(EM_ERR_CRITICAL, 'EM_Err_' . $action_func, $action_data['code']); $err = true; ! break; } $block = 'processed'; --- 238,242 ---- em_trigger_error(EM_ERR_CRITICAL, 'EM_Err_' . $action_func, $action_data['code']); $err = true; ! break 6; } $block = 'processed'; *************** *** 248,269 **** display_mod_action($block, $inline_data['type'], $inline_data['code']); } - - if ( $err == true ) - { - break; - } - } - - if ( $err === true ) - { - break; } } $modder->close(); - - if ( $err === true ) - { - break; - } } break; --- 248,254 ---- *************** *** 288,296 **** } } - - if ( $err === true ) - { - break; - } } --- 273,276 ---- *************** *** 611,623 **** em_trigger_error(EM_ERR_CRITICAL, 'EM_Err_copy', $mod_dir . $copy_files[$k]['from']. ' -> ' . $copy_files[$k]['to']); $err = true; ! break; } $copy_actions[] = 'copy ' . $copy_files[$k]['from'] . ' to ' . $copy_files[$k]['to']; } - - if ( $err === true ) - { - break; - } } display_mod_action('processed', $action, implode("\n", $copy_actions)); --- 591,598 ---- em_trigger_error(EM_ERR_CRITICAL, 'EM_Err_copy', $mod_dir . $copy_files[$k]['from']. ' -> ' . $copy_files[$k]['to']); $err = true; ! break 4; } $copy_actions[] = 'copy ' . $copy_files[$k]['from'] . ' to ' . $copy_files[$k]['to']; } } display_mod_action('processed', $action, implode("\n", $copy_actions)); *************** *** 631,635 **** em_trigger_error(EM_ERR_CRITICAL, 'EM_Err_open', $target_file); $err = true; ! break; } display_mod_action('processed', $action, $target_file); --- 606,610 ---- em_trigger_error(EM_ERR_CRITICAL, 'EM_Err_open', $target_file); $err = true; ! break 3; } display_mod_action('processed', $action, $target_file); *************** *** 644,648 **** em_trigger_error(EM_ERR_CRITICAL, 'EM_Err_find', $actions_data['find'], $target_file); $err = true; ! break; } display_mod_action('processed', 'find', $actions_data['find']); --- 619,623 ---- em_trigger_error(EM_ERR_CRITICAL, 'EM_Err_find', $actions_data['find'], $target_file); $err = true; ! break 4; } display_mod_action('processed', 'find', $actions_data['find']); *************** *** 673,677 **** em_trigger_error(EM_ERR_CRITICAL, 'EM_Err_inline_find', $actions_data['find'], $target_file); $err = true; ! break; } display_mod_action('processed', 'in-line-find', $inlines_data['in-line-find']); --- 648,652 ---- em_trigger_error(EM_ERR_CRITICAL, 'EM_Err_inline_find', $actions_data['find'], $target_file); $err = true; ! break 5; } display_mod_action('processed', 'in-line-find', $inlines_data['in-line-find']); *************** *** 692,705 **** } } - - if ( $err === true ) - { - break; - } - } - - if ( $err === true ) - { - break; } } --- 667,670 ---- *************** *** 725,733 **** } } - - if ( $err === true ) - { - break; - } } --- 690,693 ---- |