@@ 378-381 (lines=4) @@ | ||
375 | //if ($action_after_read==1) execute import else show form for check before executing import |
|
376 | ||
377 | $pluginFile = XNEWSLETTER_ROOT_PATH . "/plugins/{$plugin}.php"; |
|
378 | if (!file_exists($pluginFile)) { |
|
379 | $GLOBALS['xoopsTpl']->assign('error', str_replace('%p', $plugin, _AM_XNEWSLETTER_IMPORT_ERROR_NO_PLUGIN)); |
|
380 | break; |
|
381 | } |
|
382 | require_once $pluginFile; |
|
383 | ||
384 | $function = 'xnewsletter_plugin_getdata_' . $plugin; |
|
@@ 432-435 (lines=4) @@ | ||
429 | $GLOBALS['xoopsTpl']->assign('buttons', $adminObject->renderButton('left')); |
|
430 | ||
431 | $pluginFile = XNEWSLETTER_ROOT_PATH . "/plugins/{$plugin}.php"; |
|
432 | if (!file_exists($pluginFile)) { |
|
433 | $GLOBALS['xoopsTpl']->assign('error', str_replace('%p', $plugin, _AM_XNEWSLETTER_IMPORT_ERROR_NO_PLUGIN)); |
|
434 | break; |
|
435 | } |
|
436 | require_once $pluginFile; |
|
437 | ||
438 | $function = "xnewsletter_plugin_getform_{$plugin}"; |