render($controller, $action, $params, $extensionPackage); } catch (Services_Exception $e) { if (empty($params['_silent'])) { $smarty->loadPlugin('smarty_block_remarksbox'); $repeat = false; return smarty_block_remarksbox(['type' => 'warning', 'title' => tr('Unavailable')], $e->getMessage(), $smarty, $repeat); } } }