Changeset 1776753
- Timestamp:
- 11/28/2017 10:14:25 AM (8 years ago)
- Location:
- wp-nextgen-gallery-search/trunk
- Files:
-
- 1 added
- 3 edited
-
gen-ngg-search.php (modified) (3 diffs)
-
includes/add_cssfix_front.php (added)
-
includes/search_ngg_image.php (modified) (2 diffs)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-nextgen-gallery-search/trunk/gen-ngg-search.php
r1650960 r1776753 4 4 Description: Enables Search functionality for the images of NextGEN Gallery 5 5 Author: UpScaleThought 6 Version: 1. 46 Version: 1.5 7 7 Author URI: http://www.upscalethought.com/ 8 8 Plugin URI: http://www.upscalethought.com/ … … 40 40 function gen_nextgen_gallery_search_add_menu(){ 41 41 add_submenu_page( 'custom_gallerysearch', 'NGG Settings', 'NGG Settings', 'manage_options', 'ngg-settings', 'usts_ngg_admin_option'); 42 add_submenu_page( 'custom_gallerysearch', 'Front CSS Fix', 'Front CSS Fix', 'manage_options', 'ngg-front-cssfix', 'gen_usts_ngg_front_cssfix'); 42 43 add_submenu_page( 'custom_gallerysearch', 'Pro Version', 'Pro Vesrion', 'manage_options', 'pro-version-menu', 'pro_version_settings'); 43 44 } 44 45 function gen_usts_ngg_front_cssfix(){ 46 include_once('includes/add_cssfix_front.php'); 47 } 45 48 function pro_version_settings(){ 46 49 include_once('includes/gallerysearch_pro_version.php'); … … 65 68 register_deactivation_hook( __FILE__, 'gen_usts_nggsearch_uninstall' ); 66 69 70 function gen_usts_ngg_save_cssfixfront(){ 71 if ( count($_POST) > 0 ){ 72 global $table_prefix,$wpdb; 73 $cssfix = $_REQUEST['cssfix']; 74 $css = $_REQUEST['css']; 75 $isupdate =""; 76 if($cssfix == "front"){ 77 $isupdate = update_option('ngg_cssfix_front',$css); 78 } 79 if($isupdate){ 80 echo "added"; 81 } 82 } 83 exit; 84 } 85 add_action( 'wp_ajax_nopriv_gen_usts_ngg_save_cssfixfront','gen_usts_ngg_save_cssfixfront' ); 86 add_action( 'wp_ajax_gen_usts_ngg_save_cssfixfront', 'gen_usts_ngg_save_cssfixfront' ); -
wp-nextgen-gallery-search/trunk/includes/search_ngg_image.php
r1565678 r1776753 17 17 ?> 18 18 <style type="text/css"> 19 <?php echo get_option('ngg_cssfix_front'); ?> 19 20 #wpngg_img_search_result{ 20 21 <?php … … 114 115 ?> 115 116 <style type="text/css"> 117 <?php echo get_option('ngg_cssfix_front'); ?> 118 116 119 #txtnggSearchtag_box{ 117 120 <?php -
wp-nextgen-gallery-search/trunk/readme.txt
r1736328 r1776753 4 4 Requires at least: 3.3.0 5 5 Tested up to: 4.7 6 Stable tag: 1. 46 Stable tag: 1.5 7 7 License: GPLv3 8 8 … … 77 77 == Changelog == 78 78 79 = V1.0 - 03/08/2015 = 80 * First version of "WP NextGen Gallery Search" . No errors known. 79 = V1.4 - 28/11/2017 = 80 * added settings for front end css fix. you can write your own css for front end page. 81 * Implemented front end css fix according to admin css fix. 81 82 82 = V1.1 - 17/05/2016 = 83 * Fixed Some issues. 84 85 = V1.2 - 18/10/2016 = 86 * fixed image path error occur in some cases. 87 * Updated Documentation. 83 = V1.4 - 23/02/2017 = 84 * Red Button error Fixed. 85 * Visual editor disabled error fixed. 88 86 89 87 = V1.3 - 01/01/2017 = … … 94 92 * Updated documentaiton and some other small things. 95 93 96 = V1.4 - 23/02/2017 = 97 * Red Button error Fixed. 98 * Visual editor disabled error fixed. 94 = V1.2 - 18/10/2016 = 95 * fixed image path error occur in some cases. 96 * Updated Documentation. 97 98 = V1.1 - 17/05/2016 = 99 * Fixed Some issues. 100 101 = V1.0 - 03/08/2015 = 102 * First version of "WP NextGen Gallery Search" . No errors known. 103 99 104 100 105 == Upgrade Notice ==
Note: See TracChangeset
for help on using the changeset viewer.