-
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.
Merge pull request #41 from ARCommunications/dev
update to v2.0.0
- Loading branch information
Showing
65 changed files
with
23,261 additions
and
717 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
.DS_Store | ||
lib | ||
|
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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<?php | ||
class optionAdminPanel{ | ||
var $user_level = 'manage_options'; | ||
|
||
function __construct() { | ||
|
||
add_action( 'admin_menu', array(&$this, 'add_menu') ); | ||
add_action( 'admin_head', array(&$this, 'add_jax') ); | ||
} | ||
|
||
function add_jax(){ | ||
echo '<script type="text/javascript"> var ajax_url="'.admin_url("admin-ajax.php").'"'; | ||
echo '</script>'; | ||
} | ||
|
||
|
||
function add_menu() { | ||
add_menu_page( __( 'Scheduled Posts'), __( 'Scheduled Posts' ), 'manage_options', pluginsFOLDER, 'wpscp_options_page', plugin_dir_url( __FILE__ ).'assets/images/wpsp-icon.png', 80 ); | ||
} | ||
|
||
|
||
function show_menus() { | ||
switch ($_GET['page']){ | ||
case "f_vs_p" : | ||
include_once ( dirname (__FILE__) . '/f_vs_p.php' ); | ||
break; | ||
|
||
} | ||
} | ||
} | ||
|
||
?> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.