diff options
Diffstat (limited to 'includes/class-giglogadmin-plugin.php')
-rw-r--r-- | includes/class-giglogadmin-plugin.php | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/includes/class-giglogadmin-plugin.php b/includes/class-giglogadmin-plugin.php index a195ffa..6236f60 100644 --- a/includes/class-giglogadmin-plugin.php +++ b/includes/class-giglogadmin-plugin.php @@ -15,17 +15,18 @@ if ( ! class_exists( 'GiglogAdmin_Plugin' ) ) { { static public function init(): void { if ( !defined('GIGLOGADMIN_UNIT_TEST') ) { - require_once __DIR__ . '/admin/register_db_tables.php'; + require_once __DIR__ . '/giglogadmin-register-db-tables.php'; + giglog_register_db_tables(); } require_once __DIR__ . '/class-giglogadmin-venue.php'; require_once __DIR__ . '/class-giglogadmin-concert.php'; require_once __DIR__ . '/class-giglogadmin-icalexport.php'; - require_once __DIR__ . '/view-helpers/select_field.php'; + require_once __DIR__ . '/view-helpers/select-field-helper.php'; if (is_admin()) { - require_once __DIR__ . '/admin/views/giglog_admin_page.php'; - require_once __DIR__ . '/admin/views/giglog_import_gigs.php'; + require_once __DIR__ . '/admin/views/class-giglogadmin-adminpage.php'; + require_once __DIR__ . '/admin/views/class-giglogadmin-importgigspage.php'; require_once __DIR__ . '/admin/helpfiles/instrunctions.php'; require_once __DIR__ . '/admin/helpfiles/instr_reviewers.php'; require_once __DIR__ . '/admin/helpfiles/instr_photog.php'; @@ -36,7 +37,7 @@ if ( ! class_exists( 'GiglogAdmin_Plugin' ) ) { add_filter( 'wp_nav_menu_args', array( 'GiglogAdmin_Plugin', 'nav_menu_args' )); } else { - require_once __DIR__ . '/admin/views/_concerts_table.php'; + require_once __DIR__ . '/view-helpers/class-giglogadmin-concertstable.php'; require_once __DIR__ . '/giglogadmin-shortcodes.php'; } } @@ -82,7 +83,7 @@ if ( ! class_exists( 'GiglogAdmin_Plugin' ) ) { array( 'GiglogAdmin_ImportGigsPage', 'submit_form' ) ); } - wp_register_style( 'css_style', plugins_url( '/includes/css/main.css', __FILE__ ) ); + wp_register_style( 'css_style', plugins_url( '/css/main.css', __FILE__ ) ); wp_enqueue_style('css_style'); } |