Changeset 1942932
- Timestamp:
- 09/18/2018 07:55:46 AM (8 years ago)
- Location:
- master-modal-login-lite/trunk
- Files:
-
- 39 added
- 4 deleted
- 10 edited
-
assets/cache/index.php (added)
-
assets/img/index.php (added)
-
assets/index.php (added)
-
assets/lib/bp/index.php (added)
-
assets/lib/chup (added)
-
assets/lib/chup/admin (added)
-
assets/lib/chup/admin/chup.php (added)
-
assets/lib/chup/admin/core.php (added)
-
assets/lib/chup/admin/index.php (added)
-
assets/lib/chup/core.php (added)
-
assets/lib/chup/index.php (added)
-
assets/lib/click/core.php (modified) (2 diffs)
-
assets/lib/click/index.php (added)
-
assets/lib/click/scripts.php (modified) (1 diff)
-
assets/lib/facebook (deleted)
-
assets/lib/index.php (added)
-
assets/lib/msg/index.php (added)
-
assets/lib/plugin/admin/core.php (modified) (1 diff)
-
assets/lib/plugin/admin/css/admin.css (modified) (1 diff)
-
assets/lib/plugin/admin/css/index.php (added)
-
assets/lib/plugin/admin/index.php (added)
-
assets/lib/plugin/admin/js/index.php (added)
-
assets/lib/plugin/admin/tmpl-options.php (modified) (3 diffs)
-
assets/lib/plugin/functions.php (modified) (1 diff)
-
assets/lib/plugin/index.php (added)
-
assets/lib/plugin/runtime/css/index.php (added)
-
assets/lib/plugin/runtime/css/tmpl.css (modified) (1 diff)
-
assets/lib/plugin/runtime/index.php (added)
-
assets/lib/plugin/runtime/js/index.php (added)
-
assets/lib/plugin/runtime/scripts.php (modified) (1 diff)
-
assets/lib/popup-free/admin (deleted)
-
assets/lib/popup-free/index.php (added)
-
assets/lib/popup-free/runtime/index.php (added)
-
assets/lib/redirect/index.php (added)
-
assets/lib/sign/index.php (added)
-
assets/lib/signacc/core.php (modified) (2 diffs)
-
assets/lib/signacc/index.php (added)
-
assets/lib/signsimple (deleted)
-
assets/plugins (added)
-
assets/plugins/facebook (added)
-
assets/plugins/facebook/core.php (added)
-
assets/plugins/facebook/facebook.css (added)
-
assets/plugins/facebook/index.php (added)
-
assets/plugins/facebook/options.php (added)
-
assets/plugins/facebook/shortcode.php (added)
-
assets/plugins/index.php (added)
-
assets/plugins/signsimple (added)
-
assets/plugins/signsimple/core.php (added)
-
assets/plugins/signsimple/index.php (added)
-
assets/plugins/signsimple/shortcode.php (added)
-
index.php (added)
-
master-modal-login-lite.php (modified) (1 diff)
-
templates.txt (deleted)
Legend:
- Unmodified
- Added
- Removed
-
master-modal-login-lite/trunk/assets/lib/click/core.php
r1917336 r1942932 6 6 include_once plugin_dir_path(__FILE__).'scripts.php'; 7 7 8 add_filter('wp_nav_menu_items', 'add_login_logout_link', 10, 2);9 8 function add_login_logout_link($items, $args) { 10 9 … … 35 34 return $items; 36 35 } 36 add_filter('wp_nav_menu_items', 'add_login_logout_link', 10, 2); 37 37 38 38 //include_once plugin_dir_path(__FILE__).'shortcodes.php'; -
master-modal-login-lite/trunk/assets/lib/click/scripts.php
r1917336 r1942932 19 19 20 20 if ( !is_user_logged_in() ) { 21 22 21 echo '<script type="text/javascript">'; 23 echo "jQuery(document).ready(function(){jQuery('".$tmp_menu_item_id."').on('click',qt_popup_up);});"; 22 echo 'jQuery(document).on( "click","'.$tmp_menu_item_id.'", function(e) { e.preventDefault(); qt_popup_up(); });'; 23 // echo "jQuery(function(){jQuery('".$tmp_menu_item_id."').on('click',qt_popup_up);});"; 24 // echo "jQuery(document).ready(function(){jQuery('".$tmp_menu_item_id."').on('click',qt_popup_up);});"; 24 25 echo "</script>\n"; 25 26 26 } 27 27 } -
master-modal-login-lite/trunk/assets/lib/plugin/admin/core.php
r1917336 r1942932 11 11 include_once plugin_dir_path(__FILE__).'custom-options.php'; 12 12 13 function qt_popup_ register_settings_1() {13 function qt_popup_lte_register_settings() { 14 14 global $qt_popup_x1x_data; 15 15 register_setting( $qt_popup_x1x_data['settings_name'], $qt_popup_x1x_data['options_name'], 'qt_popup_validate_1' ); 16 16 17 if ( !get_option( $qt_popup_x1x_data['options_name'] ) ) {17 if ( false == get_option( $qt_popup_x1x_data['options_name'] ) ) { 18 18 qt_popup_do_def( $qt_popup_x1x_data['options_name'] ); 19 } else {20 // !!!21 19 } 22 20 } 23 add_action('admin_init', 'qt_popup_ register_settings_1' );21 add_action('admin_init', 'qt_popup_lte_register_settings' ); 24 22 25 23 function qt_popup_admin_menu() { -
master-modal-login-lite/trunk/assets/lib/plugin/admin/css/admin.css
r1917336 r1942932 1 p.submit { 2 text-align: center !important; 3 margin: 0 auto; 4 } 1 5 .qt-popup-text-center { 2 6 text-align: center; -
master-modal-login-lite/trunk/assets/lib/plugin/admin/tmpl-options.php
r1917336 r1942932 10 10 ?> 11 11 12 <div class="wrap">12 <div class="wrap"> 13 13 <div class="qt-popup-left"> 14 14 15 <form method="post" action="options.php">15 <form method="post" action="options.php"> 16 16 17 17 <?php settings_fields( $qt_popup_x1x_data['settings_name'] ); ?> … … 23 23 </p> 24 24 25 </form>25 </form> 26 26 27 </div>27 </div> 28 28 <div class="qt-popup-right qt-popup-postbox qt-popup-text-center"> 29 29 <?php … … 41 41 } 42 42 43 $count_cust_qt_popup_posts = wp_count_posts( 'qt_popup_templates' )->publish; 44 if ($count_cust_qt_popup_posts<1) { 43 45 ?> 44 <p></p> 45 46 </div> 47 </div> 46 <form action="<?php echo admin_url( 'admin-post.php' ); ?>"> 47 <input type="hidden" name="action" value="chup_mmpl"> 48 <input type="hidden" name="chup_mmpl" value=""> 49 <?php submit_button( 'Get Demo PopUp Templates' ); ?> 50 </form> 51 <?php 52 } 53 ?> 54 </div> 55 </div> -
master-modal-login-lite/trunk/assets/lib/plugin/functions.php
r1917336 r1942932 1 1 <?php 2 if ( ! function_exists( 'qt_popup_populate_pages' ) ) { 3 function qt_popup_populate_pages($pre=null) { 4 global $qt_popup_x1x_data, $qt_popup_x1x_options; 2 5 3 function qt_popup_populate_pages($pre=null) { 4 global $qt_popup_x1x_data, $qt_popup_x1x_options; 6 $ct_pages = get_pages(); 7 if ($pre) { 8 $arr_tmp = $pre; 9 } else { 10 $arr_tmp = array(); 11 } 12 foreach ( $ct_pages as $ct_page ) { 13 $arr_tmp[ $ct_page->ID ] = $ct_page->post_title; 14 } 15 return $arr_tmp; 16 } 17 } 18 if ( ! function_exists( 'qt_popup_populate_pages_slug' ) ) { 19 function qt_popup_populate_pages_slug($pre=null) { 20 global $qt_popup_x1x_data, $qt_popup_x1x_options; 5 21 6 $ct_pages = get_pages(); 7 if ($pre) { 8 $arr_tmp = $pre; 9 } else { 10 $arr_tmp = array(); 22 $ct_pages = get_pages(); 23 if ($pre) { 24 $arr_tmp = $pre; 25 } else { 26 $arr_tmp = array(); 27 } 28 foreach ( $ct_pages as $ct_page ) { 29 $arr_tmp[ $ct_page->post_name ] = $ct_page->post_title; 30 } 31 return $arr_tmp; 11 32 } 12 foreach ( $ct_pages as $ct_page ) {13 $arr_tmp[ $ct_page->ID ] = $ct_page->post_title;14 }15 return $arr_tmp;16 33 } 17 18 function qt_popup_populate_pages_slug($pre=null) {19 global $qt_popup_x1x_data, $qt_popup_x1x_options;20 21 $ct_pages = get_pages();22 if ($pre) {23 $arr_tmp = $pre;24 } else {25 $arr_tmp = array();26 }27 foreach ( $ct_pages as $ct_page ) {28 $arr_tmp[ $ct_page->post_name ] = $ct_page->post_title;29 }30 return $arr_tmp;31 } -
master-modal-login-lite/trunk/assets/lib/plugin/runtime/css/tmpl.css
r1917336 r1942932 110 110 } 111 111 112 #qt_popup_popup .qtpad5 {113 padding: 10px !important;114 }115 116 #qt_popup_popup .qt-fr-form-zero {117 background: transparent;118 padding: 0;119 margin: 0;120 }121 122 #qt_popup_popup .qt-fr-form {123 padding: 5px 0 30px 0;124 margin: 10px 0 0 0;125 }126 127 112 #qt_popup_popup .qt-popup-close-button { 128 113 font-family: Verdana, Geneva, sans-serif; 129 114 font-size: 1em; font-weight: bold; 130 margin-left: 95%;131 margin-bottom: 15px;115 margin-left:99%; 116 margin-bottom:15px; 132 117 width: 1.4em; 133 118 line-height: 1.1em; -
master-modal-login-lite/trunk/assets/lib/plugin/runtime/scripts.php
r1917336 r1942932 5 5 $qt_popup_tmpl_options = get_option( $qt_popup_x1x_data['options_name'] ); 6 6 7 if ( $qt_popup_tmpl_options['load_grid']) {7 if ( isset($qt_popup_tmpl_options['load_grid']) && $qt_popup_tmpl_options['load_grid'] ) { 8 8 wp_enqueue_style( 'qt-popup-style', plugins_url( '/css/qtstyle.css', __FILE__), false ); 9 9 } -
master-modal-login-lite/trunk/assets/lib/signacc/core.php
r1917336 r1942932 58 58 $tmp_usr_id = qt_popup_sign_up( 'form', $user_email, $tmp_name, $user_pass, $after ); 59 59 60 if ( $qt_popup_tmp_options['signin_after_signup']) {60 if ( isset($qt_popup_tmp_options['signin_after_signup']) ) { 61 61 qt_popup_sign_in( $tmp_usr_id, $qt_popup_tmp_options['page_after_signup'] ); 62 62 } else { … … 66 66 } else { 67 67 if ( isset( $qt_popup_tmp_options['signup_err_message'] ) ) { 68 $tmp_msg = $qt_popup_tmp_options['signup_err_message']; // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!168 $tmp_msg = $qt_popup_tmp_options['signup_err_message']; // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!1 69 69 } 70 70 $qt_popup_x1x_data['qt_popup_error_msg'] = $tmp_msg; -
master-modal-login-lite/trunk/master-modal-login-lite.php
r1934513 r1942932 92 92 include_once plugin_dir_path(__FILE__).'assets/lib/popup-free/core.php'; 93 93 94 include_once plugin_dir_path(__FILE__).'assets/lib/signsimple/core.php';94 //include_once plugin_dir_path(__FILE__).'assets/lib/signsimple/core.php'; 95 95 include_once plugin_dir_path(__FILE__).'assets/lib/signacc/core.php'; 96 96 include_once plugin_dir_path(__FILE__).'assets/lib/redirect/core.php'; 97 include_once plugin_dir_path(__FILE__).'assets/lib/chup/core.php'; 97 98 //include_once plugin_dir_path(__FILE__).'assets/lib/facebook/core.php'; 98 99 99 100 /*101 if ( $qt_popup_x1x_data['debug'] == true ) {102 register_activation_hook( __FILE__, 'my_activation_func' );103 function my_activation_func() {104 file_put_contents(__DIR__.'/err_log.txt', ob_get_contents());105 }106 }107 */
Note: See TracChangeset
for help on using the changeset viewer.