├── .gitignore ├── images ├── google.png ├── facebook.png ├── general.png ├── menu_icon.png ├── settings.png ├── twitter.png ├── waiting.gif ├── wordpress.png ├── information.png ├── ppv-sprite01.png └── transactions.png ├── css ├── ppw-sprite01.png ├── tinymce-dashicon.css ├── colorpicker.css └── front.css ├── tinymce ├── langs │ ├── en_dlg.js │ └── langs.php ├── payperview.png └── editor_plugin.js ├── .gitmodules ├── uninstall.php ├── js ├── jquery.cookie-min.js ├── ppw-api.js └── colorpicker.js ├── includes ├── twitteroauth │ ├── LICENSE │ ├── twitteroauth.php │ └── OAuth.php ├── class_wd_help_tooltips.php └── paypal-express.php ├── changelog.txt ├── README.md └── languages └── ppw.pot /.gitignore: -------------------------------------------------------------------------------- 1 | .idea 2 | .Ds_Store -------------------------------------------------------------------------------- /images/google.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wpmudev/pay-per-view/master/images/google.png -------------------------------------------------------------------------------- /css/ppw-sprite01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wpmudev/pay-per-view/master/css/ppw-sprite01.png -------------------------------------------------------------------------------- /images/facebook.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wpmudev/pay-per-view/master/images/facebook.png -------------------------------------------------------------------------------- /images/general.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wpmudev/pay-per-view/master/images/general.png -------------------------------------------------------------------------------- /images/menu_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wpmudev/pay-per-view/master/images/menu_icon.png -------------------------------------------------------------------------------- /images/settings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wpmudev/pay-per-view/master/images/settings.png -------------------------------------------------------------------------------- /images/twitter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wpmudev/pay-per-view/master/images/twitter.png -------------------------------------------------------------------------------- /images/waiting.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wpmudev/pay-per-view/master/images/waiting.gif -------------------------------------------------------------------------------- /images/wordpress.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wpmudev/pay-per-view/master/images/wordpress.png -------------------------------------------------------------------------------- /tinymce/langs/en_dlg.js: -------------------------------------------------------------------------------- 1 | tinyMCE.addI18n("en.payperview", { 2 | title: "Pay Per View" 3 | }); -------------------------------------------------------------------------------- /images/information.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wpmudev/pay-per-view/master/images/information.png -------------------------------------------------------------------------------- /tinymce/payperview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wpmudev/pay-per-view/master/tinymce/payperview.png -------------------------------------------------------------------------------- /images/ppv-sprite01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wpmudev/pay-per-view/master/images/ppv-sprite01.png -------------------------------------------------------------------------------- /images/transactions.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wpmudev/pay-per-view/master/images/transactions.png -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "dash-notice"] 2 | path = dash-notice 3 | url = git@bitbucket.org:incsub/wpmudev-dashboard-notification.git 4 | -------------------------------------------------------------------------------- /css/tinymce-dashicon.css: -------------------------------------------------------------------------------- 1 | i.mce-i-icon { 2 | font: 400 20px/1 dashicons; 3 | padding: 0; 4 | vertical-align: top; 5 | speak: none; 6 | -webkit-font-smoothing: antialiased; 7 | -moz-osx-font-smoothing: grayscale; 8 | margin-left: -2px; 9 | padding-right: 2px 10 | } -------------------------------------------------------------------------------- /tinymce/langs/langs.php: -------------------------------------------------------------------------------- 1 | prefix . "pay_per_view"; 16 | 17 | if ( $wpdb->get_var( "SHOW TABLES LIKE '" . $table . "'" ) == $table ) { 18 | $wpdb->query( "DROP TABLE " . $table ); 19 | } 20 | 21 | $wpdb->query( "DELETE FROM " . $wpdb->usermeta . " WHERE meta_key='ppw_subscribe' OR meta_key='ppw_recurring' OR meta_key='ppw_days' " ); 22 | $wpdb->query( "DELETE FROM " . $wpdb->postmeta . " WHERE meta_key='ppw_method' OR meta_key='ppw_enable' OR meta_key='ppw_excerpt' OR meta_key='ppw_price' " ); 23 | } 24 | ppw_uninstall(); -------------------------------------------------------------------------------- /js/jquery.cookie-min.js: -------------------------------------------------------------------------------- 1 | jQuery.cookie=function(name,value,options){if(typeof value!='undefined'){options=options||{};if(value===null){value='';options.expires=-1;} 2 | var expires='';if(options.expires&&(typeof options.expires=='number'||options.expires.toUTCString)){var date;if(typeof options.expires=='number'){date=new Date();date.setTime(date.getTime()+(options.expires*24*60*60*1000));}else{date=options.expires;} 3 | expires='; expires='+date.toUTCString();} 4 | var path=options.path?'; path='+(options.path):'';var domain=options.domain?'; domain='+(options.domain):'';var secure=options.secure?'; secure':'';document.cookie=[name,'=',encodeURIComponent(value),expires,path,domain,secure].join('');}else{var cookieValue=null;if(document.cookie&&document.cookie!=''){var cookies=document.cookie.split(';');for(var i=0;i