@@ 207-217 (lines=11) @@ | ||
204 | * |
|
205 | * @return void |
|
206 | */ |
|
207 | public function displayError($errors = '') |
|
208 | { |
|
209 | if ('' !== $errors) { |
|
210 | xoops_cp_header(); |
|
211 | $moduleAdmin = Xmf\Module\Admin::getInstance(); |
|
212 | $moduleAdmin->displayNavigation('index.php'); |
|
213 | xoops_error($errors, _AM_XOOPSFAQ_ERROR_SUB); |
|
214 | xoops_cp_footer(); |
|
215 | } |
|
216 | return; |
|
217 | } |
|
218 | } |
|
219 |
@@ 399-409 (lines=11) @@ | ||
396 | * |
|
397 | * @return void |
|
398 | */ |
|
399 | public function displayError($errors = '') |
|
400 | { |
|
401 | if ('' !== $errors) { |
|
402 | xoops_cp_header(); |
|
403 | $moduleAdmin = Xmf\Module\Admin::getInstance(); |
|
404 | $moduleAdmin->displayNavigation('index.php'); |
|
405 | xoops_error($errors, _AM_XOOPSFAQ_ERROR_SUB); |
|
406 | xoops_cp_footer(); |
|
407 | } |
|
408 | return; |
|
409 | } |
|
410 | } |
|
411 |