-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* cleanup unused admin pages. URL naming change * fix website break when libraries not installed * Update README for fixed items * Update non-recurring members to expired when member table is loaded
- Loading branch information
Showing
19 changed files
with
60 additions
and
499 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,15 @@ | ||
<?php | ||
|
||
<?php | ||
// Preventing loading direct from browser | ||
defined( 'ABSPATH' ) or die(); | ||
|
||
include 'admin-header.html'; | ||
|
||
echo '<link rel="stylesheet" type="text/css" href="' . plugins_url( 'admin-header.css', __FILE__ ) . '">' . "\n"; | ||
?> | ||
|
||
<div id="primary" class="content-area"> | ||
<main id="main" class="site-main" role="main"> | ||
<?php | ||
|
||
// changes the html in the div based on button click | ||
switch($_GET['content']) { | ||
case 1: include 'members-tab/member-table/admin-members-table.html'; break; | ||
case 2: include 'classes-tab/admin-classes.html'; break; | ||
case 3: include 'access-tab/admin-access.html'; break; | ||
case 4: include 'integrations-tab/admin-integrations.html'; break; | ||
case 5: include 'members-tab/member-edit/admin-members-edit.html'; break; | ||
case 7: include 'classes-tab/admin-create-class.html'; break; | ||
default: include 'members-tab/member-table/admin-members-table.html'; break; | ||
} | ||
|
||
?> | ||
|
||
</main><!-- .site-main --> | ||
|
||
<main id="main" class="site-main" role="main"> | ||
<?php switch($_GET['mas-action']) { | ||
case 'edit': include 'member-edit/admin-members-edit.html'; break; | ||
default: include 'member-table/admin-members-table.html'; break; | ||
} ?> | ||
</main><!-- .site-main --> | ||
</div> |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.