PluginProbe
Raychat / trunk
Raychat vtrunk
trunk 2.2.0 2.2.1
raychat / templates / error.php

error.php in Raychat trunk, at templates/error.php

30 lines 1.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 if ( ! defined( 'ABSPATH' ) ) {
4 exit;
5 }
6 ?>
7 <div class="wrap">
8 <h1>
9 <a href="https://raychat.io" target="_blank">
10 <?php // phpcs:ignore WordPress.PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
11 <img src="<?php echo esc_url( RAYCHAT_PLUGIN_URL . 'img/logo.png' ); ?>" alt="<?php esc_attr_e( 'Raychat Logo', 'raychat' ); ?>" />
12 </a>
13 </h1>
14
15 <b style="color:red;">
16 <?php echo esc_html( $error ); ?>
17 </b>
18
19 <div class="gray_form">
20 <?php
21 /* translators: %1$s is the URL to the Raychat signup/autoregistration page. */
22 echo wp_kses_post( sprintf(
23 /* translators: %1$s is the URL to the Raychat signup/autoregistration page. */
24 __( 'Unfortunately, your server configuration does not allow the plugin to connect to Raychat servers to create an account. Please go to <a target="_blank" href="%1$s">%1$s</a> and sign up. During the signup process you will be offered to download another WordPress module that does not require communication over the network.', 'raychat' ),
25 esc_url( 'https://admin.raychat.io/autoreg?lang=en' )
26 ) );
27 ?>
28 </div>
29 </div>
30