$service) { $o = new $service($core); $o->saveSettings(); } $core->blog->triggerBlog(); http::redirect($p_url . '&part=service§ion=' . $section . '&msg=' . $action); } catch (Exception $e) { $core->error->add($e->getMessage()); } } echo '
' . ( $o->testService() ? $img_green . ' ' . sprintf(__('%s API is well configured and runing.'), $o->name) : $img_red . ' ' . sprintf(__('Failed to test %s API.'), $o->name) ) . '
' . sprintf(__('Learn more about %s.'), $o->name) . '
' . $core->formNonce() . form::hidden(['p'], 'kUtRL') . form::hidden(['part'], 'service') . form::hidden(['action'], 'saveservice') . form::hidden(['section'], $section) . '