Restore to commit 74e578279624c6045ca440a3459ebfa1f8d54191
This commit is contained in:
30
chat/templates/Announcements/admin/templates/error-page.php
Normal file
30
chat/templates/Announcements/admin/templates/error-page.php
Normal file
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
/**
|
||||
* Error page template for database table issues
|
||||
*/
|
||||
|
||||
// Prevent direct access
|
||||
if (!defined('ABSPATH')) {
|
||||
exit;
|
||||
}
|
||||
?>
|
||||
|
||||
<div class="wrap pc-announcements-274-wrap">
|
||||
<h1 class="wp-heading-inline">
|
||||
<?php _e('Announcements', 'pc-announcements-274'); ?>
|
||||
</h1>
|
||||
<hr class="wp-header-end">
|
||||
|
||||
<div class="pc-announcements-274-card">
|
||||
<div class="pc-announcements-274-card-header">
|
||||
<h2><?php _e('Database Error', 'pc-announcements-274'); ?></h2>
|
||||
</div>
|
||||
<div class="pc-announcements-274-card-body">
|
||||
<div class="pc-announcements-274-empty-state">
|
||||
<div class="pc-announcements-274-empty-icon">⚠️</div>
|
||||
<h3><?php _e('Database table not found', 'pc-announcements-274'); ?></h3>
|
||||
<p><?php _e('The announcements database table has not been created yet. Please try deactivating and reactivating the plugin.', 'pc-announcements-274'); ?></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user