/** * Function: HTTP Error Message * * @access private * @internal * */ public static function http_error_message($y_title, $y_message, $y_extra_message = '') { //-- return (string) SmartMarkersTemplating::render_file_template('lib/core/templates/http-message-error.inc.htm', ['CHARSET' => SmartUtils::get_encoding_charset(), 'TITLE' => Smart::escape_html($y_title), 'SIGNATURE' => '<b>SmartFramework // Web :: ' . Smart::escape_html(SMART_FRAMEWORK_RELEASE_TAGVERSION . ' ' . SMART_FRAMEWORK_RELEASE_VERSION . ' # ' . SMART_SOFTWARE_APP_NAME . ' / ' . SMART_SOFTWARE_NAMESPACE) . '</b>' . '<br>' . Smart::escape_html(SmartUtils::get_server_current_url() . SmartUtils::get_server_current_script()), 'MESSAGE' => self::operation_error($y_message, '100%'), 'EXTMSG' => $y_extra_message], 'no'); //-- }