function check_settings() { global $wpi_settings; if ($wpi_settings['web_invoice_page'] == '') { $message .= __('Invoice page not selected. ', WPI); $message .= __("Visit ", WPI) . "<a href='admin.php?page=wpi_page_settings'>".__('settings page', WPI)."</a>" . __(" to configure.", WPI); } if (!function_exists('curl_exec')) $message .= __("cURL is not turned on on your server, credit card processing will not work. If you have access to your php.ini file, activate <b>extension=php_curl.dll</b>.", WPI); WPI_UI::error_message($message); }