Skip to content

Commit

Permalink
Merge pull request #41 from ARCommunications/dev
Browse files Browse the repository at this point in the history
update to v2.0.0
  • Loading branch information
rupok authored Dec 2, 2018
2 parents b05b92e + 139e19a commit e712d82
Show file tree
Hide file tree
Showing 65 changed files with 23,261 additions and 717 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
.DS_Store
lib

32 changes: 32 additions & 0 deletions admin/admin.php
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;

}
}
}

?>
Binary file added admin/assets/images/wpsp-icon-light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added admin/assets/images/wpsp-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added admin/assets/images/wpsp-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
54 changes: 54 additions & 0 deletions admin/assets/images/wpsp-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions admin/assets/vendor/sweetalert2/css/sweetalert2.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit e712d82

Please sign in to comment.