Version Description
- Fix - Security Improvements
- Fix - Perfomance Improvements
Download this release
Release Info
Developer | Acurax |
Plugin | Social Media Widget by Acurax |
Version | 3.2.7 |
Comparing to | |
See all releases |
Code changes from version 3.2.6 to 3.2.7
- acurax-social-icon.php +2 -2
- css/style_admin.css +89 -0
- function.php +17 -11
- includes/acx-smw-licence-activation.php +18 -15
- includes/acx_smw_troubleshoot.php +6 -1
- includes/hook_functions.php +2 -1
- includes/option_fields.php +25 -16
- readme.txt +9 -1
acurax-social-icon.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Social Media Widget by Acurax
|
|
4 |
Plugin URI: http://www.acurax.com/products/floating-social-media-icon-plugin-wordpress/
|
5 |
Description: A Simple Wordpress Plugin Which Allow You To Add Widget Which Links Social Media Icons to Your Social Media Profiles Twitter,Facebook,Pinterest,Youtube,Rss Feed,Linkedin,google plus. You can define icon style size for each widget.
|
6 |
Author: Acurax
|
7 |
-
Version: 3.2.
|
8 |
Author URI: http://www.acurax.com/
|
9 |
License: GPLv2 or later
|
10 |
*/
|
@@ -24,7 +24,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
24 |
*/
|
25 |
define('ACX_SOCIALMEDIA_WIDGET_TOTAL_THEMES', 30);
|
26 |
define('ACX_SMW_TOTAL_STATIC_SERVICES', 8);
|
27 |
-
define('ACX_SMW_VERSION', "3.2.
|
28 |
define("ACX_SMW_BASE_LOCATION",plugin_dir_url( __FILE__ ));
|
29 |
define("ACX_SMW_WP_SLUG","acurax-social-media-widget");
|
30 |
include_once(plugin_dir_path( __FILE__ ).'function.php');
|
4 |
Plugin URI: http://www.acurax.com/products/floating-social-media-icon-plugin-wordpress/
|
5 |
Description: A Simple Wordpress Plugin Which Allow You To Add Widget Which Links Social Media Icons to Your Social Media Profiles Twitter,Facebook,Pinterest,Youtube,Rss Feed,Linkedin,google plus. You can define icon style size for each widget.
|
6 |
Author: Acurax
|
7 |
+
Version: 3.2.7
|
8 |
Author URI: http://www.acurax.com/
|
9 |
License: GPLv2 or later
|
10 |
*/
|
24 |
*/
|
25 |
define('ACX_SOCIALMEDIA_WIDGET_TOTAL_THEMES', 30);
|
26 |
define('ACX_SMW_TOTAL_STATIC_SERVICES', 8);
|
27 |
+
define('ACX_SMW_VERSION', "3.2.7");
|
28 |
define("ACX_SMW_BASE_LOCATION",plugin_dir_url( __FILE__ ));
|
29 |
define("ACX_SMW_WP_SLUG","acurax-social-media-widget");
|
30 |
include_once(plugin_dir_path( __FILE__ ).'function.php');
|
css/style_admin.css
CHANGED
@@ -52,6 +52,95 @@
|
|
52 |
font-weight:normal;
|
53 |
font-style: normal;
|
54 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
55 |
#social-media-widget-by-acurax, #social-media-widget-by-acurax .column-description, #social-media-widget-by-acurax .check-column {
|
56 |
background: #ffffff url("../images/plugin_page_bg.png") repeat-x scroll 0 0;
|
57 |
}
|
52 |
font-weight:normal;
|
53 |
font-style: normal;
|
54 |
}
|
55 |
+
/* styles input type range */
|
56 |
+
input[type="range"] {
|
57 |
+
display: inline-block;
|
58 |
+
border:none !important;
|
59 |
+
margin: 5.15px 0;
|
60 |
+
vertical-align: middle;
|
61 |
+
width: 80%;
|
62 |
+
}
|
63 |
+
input[type=range]:focus {
|
64 |
+
outline: none;
|
65 |
+
}
|
66 |
+
input[type=range]::-webkit-slider-runnable-track {
|
67 |
+
width: 100%;
|
68 |
+
height: 6.7px;
|
69 |
+
cursor: pointer;
|
70 |
+
box-shadow: 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px rgba(13, 13, 13, 0);
|
71 |
+
background: rgba(204, 204, 204, 0.13);
|
72 |
+
border-radius: 0px;
|
73 |
+
border: 0.2px solid rgba(238, 238, 238, 0.78);
|
74 |
+
}
|
75 |
+
input[type=range]::-webkit-slider-thumb {
|
76 |
+
box-shadow: 0px 0px 1.6px #000000, 0px 0px 0px #0d0d0d;
|
77 |
+
border: 0.2px solid rgba(0, 0, 0, 0.15);
|
78 |
+
height: 17px;
|
79 |
+
width: 12px;
|
80 |
+
border-radius: 1px;
|
81 |
+
background: rgba(238, 238, 238, 0);
|
82 |
+
cursor: pointer;
|
83 |
+
-webkit-appearance: none;
|
84 |
+
margin-top: -5.35px;
|
85 |
+
}
|
86 |
+
input[type=range]:focus::-webkit-slider-runnable-track {
|
87 |
+
background: rgba(204, 204, 204, 0.13);
|
88 |
+
}
|
89 |
+
input[type=range]::-moz-range-track {
|
90 |
+
width: 100%;
|
91 |
+
height: 6.7px;
|
92 |
+
cursor: pointer;
|
93 |
+
box-shadow: 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px rgba(13, 13, 13, 0);
|
94 |
+
background: rgba(204, 204, 204, 0.13);
|
95 |
+
border-radius: 0px;
|
96 |
+
border: 0.2px solid rgba(238, 238, 238, 0.78);
|
97 |
+
}
|
98 |
+
input[type=range]::-moz-range-thumb {
|
99 |
+
box-shadow: 0px 0px 1.6px #000000, 0px 0px 0px #0d0d0d;
|
100 |
+
border: 0.2px solid rgba(0, 0, 0, 0.15);
|
101 |
+
height: 17px;
|
102 |
+
width: 12px;
|
103 |
+
border-radius: 1px;
|
104 |
+
background: rgba(238, 238, 238, 0);
|
105 |
+
cursor: pointer;
|
106 |
+
}
|
107 |
+
input[type=range]::-ms-track {
|
108 |
+
width: 100%;
|
109 |
+
height: 6.7px;
|
110 |
+
cursor: pointer;
|
111 |
+
background: transparent;
|
112 |
+
border-color: transparent;
|
113 |
+
color: transparent;
|
114 |
+
}
|
115 |
+
input[type=range]::-ms-fill-lower {
|
116 |
+
background: rgba(204, 204, 204, 0.13);
|
117 |
+
border: 0.2px solid rgba(238, 238, 238, 0.78);
|
118 |
+
border-radius: 0px;
|
119 |
+
box-shadow: 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px rgba(13, 13, 13, 0);
|
120 |
+
}
|
121 |
+
input[type=range]::-ms-fill-upper {
|
122 |
+
background: rgba(204, 204, 204, 0.13);
|
123 |
+
border: 0.2px solid rgba(238, 238, 238, 0.78);
|
124 |
+
border-radius: 0px;
|
125 |
+
box-shadow: 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px rgba(13, 13, 13, 0);
|
126 |
+
}
|
127 |
+
input[type=range]::-ms-thumb {
|
128 |
+
box-shadow: 0px 0px 1.6px #000000, 0px 0px 0px #0d0d0d;
|
129 |
+
border: 0.2px solid rgba(0, 0, 0, 0.15);
|
130 |
+
height: 17px;
|
131 |
+
width: 12px;
|
132 |
+
border-radius: 1px;
|
133 |
+
background: rgba(238, 238, 238, 0);
|
134 |
+
cursor: pointer;
|
135 |
+
height: 6.7px;
|
136 |
+
}
|
137 |
+
input[type=range]:focus::-ms-fill-lower {
|
138 |
+
background: rgba(204, 204, 204, 0.13);
|
139 |
+
}
|
140 |
+
input[type=range]:focus::-ms-fill-upper {
|
141 |
+
background: rgba(204, 204, 204, 0.13);
|
142 |
+
}
|
143 |
+
/***************************************************************************/
|
144 |
#social-media-widget-by-acurax, #social-media-widget-by-acurax .column-description, #social-media-widget-by-acurax .check-column {
|
145 |
background: #ffffff url("../images/plugin_page_bg.png") repeat-x scroll 0 0;
|
146 |
}
|
function.php
CHANGED
@@ -581,17 +581,23 @@ class acx_social_widget_icons_Widget extends WP_Widget
|
|
581 |
value="<?php echo $instance['title']; ?>" type="text" class="widefat" />
|
582 |
</p>
|
583 |
<p>
|
584 |
-
|
585 |
-
|
586 |
-
|
587 |
-
|
588 |
-
|
589 |
-
|
590 |
-
|
591 |
-
|
592 |
-
|
593 |
-
|
594 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
595 |
<p>
|
596 |
<label for="<?php echo $this->get_field_id('icon_theme'); ?>"><?php _e('Icon Theme:','acurax-social-media-widget'); ?></label>
|
597 |
<select class="widefat" name="<?php echo $this->get_field_name('icon_theme'); ?>" id="<?php echo $this
|
581 |
value="<?php echo $instance['title']; ?>" type="text" class="widefat" />
|
582 |
</p>
|
583 |
<p>
|
584 |
+
<label for="<?php echo $this->get_field_id('icon_size'); ?>"><?php _e('Icon Size:' ,'acurax-social-media-widget'); ?></label>
|
585 |
+
<script type="text/javascript">
|
586 |
+
function acx_smw_widget_icon_size_change(widget_size_val,acx_icon_size_id)
|
587 |
+
{
|
588 |
+
|
589 |
+
widget_size_val = widget_size_val + "px";
|
590 |
+
jQuery('#'+acx_icon_size_id).parent().find("span").text(widget_size_val);
|
591 |
+
|
592 |
+
}
|
593 |
+
</script>
|
594 |
+
|
595 |
+
<input type="range" name="<?php echo $this->get_field_name('icon_size'); ?>" id="<?php echo $this
|
596 |
+
->get_field_id('icon_size'); ?>" min="16" max="100" value="<?php echo $instance['icon_size']; ?>" style="width:100%;margin-top:10px;" onchange="acx_smw_widget_icon_size_change(this.value,'<?php echo $this
|
597 |
+
->get_field_id('icon_size'); ?>');" oninput="acx_smw_widget_icon_size_change(this.value,'<?php echo $this
|
598 |
+
->get_field_id('icon_size'); ?>');">
|
599 |
+
<span class="acx_smw_widget_size_preview" style="width:100%;float:left;margin-top:10px;margin-bottom:10px;text-align:center;"><?php echo $instance['icon_size']."px"; ?></span>
|
600 |
+
</p>
|
601 |
<p>
|
602 |
<label for="<?php echo $this->get_field_id('icon_theme'); ?>"><?php _e('Icon Theme:','acurax-social-media-widget'); ?></label>
|
603 |
<select class="widefat" name="<?php echo $this->get_field_name('icon_theme'); ?>" id="<?php echo $this
|
includes/acx-smw-licence-activation.php
CHANGED
@@ -3862,14 +3862,14 @@ function acx_smw_show_license_html()
|
|
3862 |
}
|
3863 |
foreach($acx_smwp_licence_array as $key => $value)
|
3864 |
{
|
3865 |
-
$acx_plugin_array =
|
3866 |
if(ISSET($acx_plugin_array['slug']) && ISSET($acx_plugin_array['download_dynamic_url']))
|
3867 |
{
|
3868 |
|
3869 |
$acx_license_status = $acx_plugin_array['status'];
|
3870 |
$acx_li_slug = $acx_plugin_array['slug'];
|
3871 |
$version_to_print = acx_smw_get_plugin_version_number($acx_li_slug);
|
3872 |
-
$acx_active_plugin_stat =
|
3873 |
if($acx_active_plugin_stat == true)
|
3874 |
{
|
3875 |
$acx_smw_plugin_stat = __('Active','acurax-social-media-widget');
|
@@ -3905,9 +3905,9 @@ function acx_smw_show_license_html()
|
|
3905 |
}
|
3906 |
add_action("acx_smw_show_purchased_li_table","acx_smw_show_license_html");
|
3907 |
} // End of !empty($acx_smw_purchased_li_array)
|
3908 |
-
if(!function_exists('
|
3909 |
{
|
3910 |
-
function
|
3911 |
{
|
3912 |
$licence = trim($licence);
|
3913 |
$response_array = array(
|
@@ -3968,12 +3968,12 @@ function acx_smw_licnece_install_required_plugins() {
|
|
3968 |
$acx_active_plugin_stat = '';
|
3969 |
foreach($acx_smwp_licence_array as $key => $value)
|
3970 |
{
|
3971 |
-
$acx_plugin_array =
|
3972 |
if(ISSET($acx_plugin_array['slug']) && ISSET($acx_plugin_array['download_dynamic_url']))
|
3973 |
{
|
3974 |
$acx_li_download_url = $acx_plugin_array['download_dynamic_url'];
|
3975 |
$acx_li_slug = $acx_plugin_array['slug'];
|
3976 |
-
$acx_active_plugin_stat =
|
3977 |
}
|
3978 |
$plugins = array(
|
3979 |
array(
|
@@ -4018,7 +4018,7 @@ function acx_smw_licnece_install_required_plugins() {
|
|
4018 |
array(
|
4019 |
'name' => 'Social Media Flying Icons | Floating Social Media Icon',
|
4020 |
'slug' => 'floating-social-media-icon',
|
4021 |
-
'version' => '4.2.
|
4022 |
'required' => true,
|
4023 |
),
|
4024 |
|
@@ -4112,21 +4112,24 @@ function acx_smw_licnece_install_required_plugins() {
|
|
4112 |
}
|
4113 |
add_action( 'acx_smw_licence_tgmpa_register', 'acx_smw_licnece_install_required_plugins' );
|
4114 |
// get plugin activation status
|
4115 |
-
|
4116 |
{
|
4117 |
-
$
|
4118 |
-
if($acx_slug != "")
|
4119 |
{
|
4120 |
-
$
|
4121 |
-
|
4122 |
{
|
4123 |
-
|
|
|
4124 |
{
|
4125 |
-
$
|
|
|
|
|
|
|
4126 |
}
|
4127 |
}
|
|
|
4128 |
}
|
4129 |
-
return $acx_return;
|
4130 |
}
|
4131 |
function acx_smw_get_plugin_version_number($acx_slug)
|
4132 |
{
|
3862 |
}
|
3863 |
foreach($acx_smwp_licence_array as $key => $value)
|
3864 |
{
|
3865 |
+
$acx_plugin_array = acx_fsmi_get_purchased_plugin_details($value['licence_code']);
|
3866 |
if(ISSET($acx_plugin_array['slug']) && ISSET($acx_plugin_array['download_dynamic_url']))
|
3867 |
{
|
3868 |
|
3869 |
$acx_license_status = $acx_plugin_array['status'];
|
3870 |
$acx_li_slug = $acx_plugin_array['slug'];
|
3871 |
$version_to_print = acx_smw_get_plugin_version_number($acx_li_slug);
|
3872 |
+
$acx_active_plugin_stat = acx_fsmi_get_active_plugin_status($acx_li_slug);
|
3873 |
if($acx_active_plugin_stat == true)
|
3874 |
{
|
3875 |
$acx_smw_plugin_stat = __('Active','acurax-social-media-widget');
|
3905 |
}
|
3906 |
add_action("acx_smw_show_purchased_li_table","acx_smw_show_license_html");
|
3907 |
} // End of !empty($acx_smw_purchased_li_array)
|
3908 |
+
if(!function_exists('acx_fsmi_get_purchased_plugin_details'))
|
3909 |
{
|
3910 |
+
function acx_fsmi_get_purchased_plugin_details($licence)
|
3911 |
{
|
3912 |
$licence = trim($licence);
|
3913 |
$response_array = array(
|
3968 |
$acx_active_plugin_stat = '';
|
3969 |
foreach($acx_smwp_licence_array as $key => $value)
|
3970 |
{
|
3971 |
+
$acx_plugin_array = acx_fsmi_get_purchased_plugin_details($value['licence_code']);
|
3972 |
if(ISSET($acx_plugin_array['slug']) && ISSET($acx_plugin_array['download_dynamic_url']))
|
3973 |
{
|
3974 |
$acx_li_download_url = $acx_plugin_array['download_dynamic_url'];
|
3975 |
$acx_li_slug = $acx_plugin_array['slug'];
|
3976 |
+
$acx_active_plugin_stat = acx_fsmi_get_active_plugin_status($acx_li_slug);
|
3977 |
}
|
3978 |
$plugins = array(
|
3979 |
array(
|
4018 |
array(
|
4019 |
'name' => 'Social Media Flying Icons | Floating Social Media Icon',
|
4020 |
'slug' => 'floating-social-media-icon',
|
4021 |
+
'version' => '4.2.9',
|
4022 |
'required' => true,
|
4023 |
),
|
4024 |
|
4112 |
}
|
4113 |
add_action( 'acx_smw_licence_tgmpa_register', 'acx_smw_licnece_install_required_plugins' );
|
4114 |
// get plugin activation status
|
4115 |
+
if(!function_exists('acx_fsmi_get_active_plugin_status'))
|
4116 |
{
|
4117 |
+
function acx_fsmi_get_active_plugin_status($acx_slug)
|
|
|
4118 |
{
|
4119 |
+
$acx_return = false;
|
4120 |
+
if($acx_slug != "")
|
4121 |
{
|
4122 |
+
$acx_smw_active_plugin_arr = get_option('active_plugins');
|
4123 |
+
foreach($acx_smw_active_plugin_arr as $key => $value)
|
4124 |
{
|
4125 |
+
if(strpos($value,$acx_slug) !== false)
|
4126 |
+
{
|
4127 |
+
$acx_return = true;
|
4128 |
+
}
|
4129 |
}
|
4130 |
}
|
4131 |
+
return $acx_return;
|
4132 |
}
|
|
|
4133 |
}
|
4134 |
function acx_smw_get_plugin_version_number($acx_slug)
|
4135 |
{
|
includes/acx_smw_troubleshoot.php
CHANGED
@@ -1,7 +1,12 @@
|
|
1 |
<?php
|
2 |
acx_smw_hook_function('acx_smw_exprt_hook_option_exprt_quick');
|
3 |
acx_smw_hook_function('acx_smw_exprt_hook_option_form_head');
|
4 |
-
|
|
|
|
|
|
|
|
|
|
|
5 |
{
|
6 |
acx_smw_quick_form();
|
7 |
}
|
1 |
<?php
|
2 |
acx_smw_hook_function('acx_smw_exprt_hook_option_exprt_quick');
|
3 |
acx_smw_hook_function('acx_smw_exprt_hook_option_form_head');
|
4 |
+
$page = "";
|
5 |
+
if(ISSET($_GET['page']))
|
6 |
+
{
|
7 |
+
$page = sanitize_text_field(trim($_GET['page']));
|
8 |
+
}
|
9 |
+
if($page == "Acurax-Social-Widget-Expert-Support")
|
10 |
{
|
11 |
acx_smw_quick_form();
|
12 |
}
|
includes/hook_functions.php
CHANGED
@@ -70,7 +70,7 @@ function acx_smw_lb_infobox()
|
|
70 |
jQuery( ".smw_info_lb" ).click(function() {
|
71 |
var lb_title = jQuery(this).attr('lb_title');
|
72 |
var lb_content = jQuery(this).attr('lb_content');
|
73 |
-
var html= '<div id="acx_smw_c_icon_p_info_lb_h" style="display:none;"><div class="acx_smw_c_icon_p_info_c"><span class="acx_smw_c_icon_p_info_close" onclick="smw_remove_info()"></span><h4>'+lb_title+'</h4><div class="acx_smw_c_icon_p_info_content">'+lb_content+'</div></div></div>
|
74 |
jQuery( "body" ).append(html)
|
75 |
jQuery( "#acx_smw_c_icon_p_info_lb_h" ).fadeIn();
|
76 |
});
|
@@ -83,6 +83,7 @@ jQuery( "#acx_smw_c_icon_p_info_lb_h" ).remove();
|
|
83 |
</script>
|
84 |
<?php
|
85 |
} add_action('acx_smw_misc_hook_option_footer','acx_smw_lb_infobox');
|
|
|
86 |
|
87 |
function acx_smw_service_banners()
|
88 |
{
|
70 |
jQuery( ".smw_info_lb" ).click(function() {
|
71 |
var lb_title = jQuery(this).attr('lb_title');
|
72 |
var lb_content = jQuery(this).attr('lb_content');
|
73 |
+
var html= '<div id="acx_smw_c_icon_p_info_lb_h" style="display:none;"><div class="acx_smw_c_icon_p_info_c"><span class="acx_smw_c_icon_p_info_close" onclick="smw_remove_info()"></span><h4>'+lb_title+'</h4><div class="acx_smw_c_icon_p_info_content">'+lb_content+'</div></div></div>';
|
74 |
jQuery( "body" ).append(html)
|
75 |
jQuery( "#acx_smw_c_icon_p_info_lb_h" ).fadeIn();
|
76 |
});
|
83 |
</script>
|
84 |
<?php
|
85 |
} add_action('acx_smw_misc_hook_option_footer','acx_smw_lb_infobox');
|
86 |
+
add_action('acx_smw_hook_option_form_footer','acx_smw_lb_infobox');
|
87 |
|
88 |
function acx_smw_service_banners()
|
89 |
{
|
includes/option_fields.php
CHANGED
@@ -124,7 +124,7 @@ echo "<div id='acx_widget_si_theme_display' class='widefat'>";
|
|
124 |
echo "<span class='note'></span>";
|
125 |
echo "<span class='acx_smw_q_sep'></span>";
|
126 |
print_acx_smw_option_block_end();
|
127 |
-
} add_action('acx_smw_hook_option_fields','acx_smw_icon_theme_settings_html',
|
128 |
|
129 |
function acx_smw_icon_theme_settings_ifpost()
|
130 |
{
|
@@ -165,19 +165,28 @@ function acx_smw_icon_theme_size_html()
|
|
165 |
global $acx_widget_si_icon_size;
|
166 |
$acx_smw_string = __('Icon Size Settings','acurax-social-media-widget');
|
167 |
print_acx_smw_option_block_start($acx_smw_string);
|
|
|
|
|
168 |
?>
|
169 |
-
<
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
177 |
<?php
|
178 |
echo "<span class='acx_smw_q_sep'></span>";
|
179 |
print_acx_smw_option_block_end();
|
180 |
-
} add_action('acx_smw_hook_option_fields','acx_smw_icon_theme_size_html',
|
181 |
function acx_smw_icon_theme_size_ifpost()
|
182 |
{
|
183 |
global $acx_widget_si_icon_size;
|
@@ -893,7 +902,7 @@ function acx_smw_premium_html()
|
|
893 |
$get_td ="";
|
894 |
if(ISSET($_GET['td']))
|
895 |
{
|
896 |
-
if(sanitize_text_field($_GET['td']) == 'hide')
|
897 |
{
|
898 |
$get_td = "hide";
|
899 |
}
|
@@ -955,7 +964,7 @@ function acx_smw_expert_icon_select_html()
|
|
955 |
global $smw_page;
|
956 |
if($smw_page == "Acurax-Social-Widget-Troubleshooter")
|
957 |
{
|
958 |
-
echo "<h2 class='acx_smw_option_head'>". __('Social Media Widget by Acurax','
|
959 |
echo "<span class='acx_smw_q_sep'></span>";?>
|
960 |
<p style="font-weight:bold;text-align:center;color:darkred;"><?php _e('IMPORTANT NOTE: Please do troubleshooting only if you got instructions from support or know what you are going to do.','acurax-social-media-widget') ;?></p>
|
961 |
|
@@ -993,15 +1002,15 @@ function acx_smw_exprt_quick_fix_add()
|
|
993 |
$smw_page = $get_quickfix = $get_sid = "";
|
994 |
if(ISSET($_GET['page']))
|
995 |
{
|
996 |
-
$smw_page = $_GET['page'];
|
997 |
}
|
998 |
if(ISSET($_GET['quickfix']))
|
999 |
{
|
1000 |
-
$get_quickfix = sanitize_text_field($_GET['quickfix']);
|
1001 |
}
|
1002 |
if(ISSET($_GET['sid']))
|
1003 |
{
|
1004 |
-
$get_sid = sanitize_text_field($_GET['sid']);
|
1005 |
}
|
1006 |
if (!wp_verify_nonce($get_sid,'acx_smw_qfix'))
|
1007 |
{
|
@@ -1044,7 +1053,7 @@ add_action('acx_smw_help_hook_option_above_page_left','acx_smw_help_html',100);
|
|
1044 |
function acx_smw_help_support_html()
|
1045 |
{
|
1046 |
?>
|
1047 |
-
<h2 style="text-align:center;"><?php _e('Acurax Social Media Widget - Wordpress Plugin - Help/Support','
|
1048 |
<p style="text-align:center;"><?php _e('Thank you for using Floating Social Media Icon Plugin For Your Wordpress Social Media Profile Linking Need.','acurax-social-media-widget')?></p>
|
1049 |
<h3 style="text-align:center;"><a href="http://clients.acurax.com/link.php?id=14" target="_blank" class="button"><?php _e('Click here to open the FAQ and Help Page','acurax-social-media-widget'); ?></a></h3>
|
1050 |
<?php }
|
124 |
echo "<span class='note'></span>";
|
125 |
echo "<span class='acx_smw_q_sep'></span>";
|
126 |
print_acx_smw_option_block_end();
|
127 |
+
} add_action('acx_smw_hook_option_fields','acx_smw_icon_theme_settings_html',300);
|
128 |
|
129 |
function acx_smw_icon_theme_settings_ifpost()
|
130 |
{
|
165 |
global $acx_widget_si_icon_size;
|
166 |
$acx_smw_string = __('Icon Size Settings','acurax-social-media-widget');
|
167 |
print_acx_smw_option_block_start($acx_smw_string);
|
168 |
+
$acx_si_w_icon_size_value = "16";
|
169 |
+
if ($acx_widget_si_icon_size == "") { $acx_widget_si_icon_size = $acx_si_w_icon_size_value; }
|
170 |
?>
|
171 |
+
<script type="text/javascript">
|
172 |
+
function acx_smw_change_size()
|
173 |
+
{
|
174 |
+
var select = jQuery("#acx_widget_si_icon_size");
|
175 |
+
var value = select.val();
|
176 |
+
var value = value+"px";
|
177 |
+
jQuery('.current_value_widget_si_icon_size').text(value);
|
178 |
+
|
179 |
+
}
|
180 |
+
</script>
|
181 |
+
<div style="width:100%;float:left;">
|
182 |
+
<input type="range" name="acx_widget_si_icon_size" id="acx_widget_si_icon_size" min="<?php echo $acx_si_w_icon_size_value; ?>" max="100" value="<?php echo $acx_widget_si_icon_size; ?>" style="width:100%;margin-top:10px;" oninput="acx_smw_change_size()" onchange="acx_smw_change_size()">
|
183 |
+
<span class="current_value_widget_si_icon_size" style="width:100%;float:left;margin-top:10px;margin-bottom:10px;text-align:center;"><?php echo $acx_widget_si_icon_size."px"; ?></span>
|
184 |
+
</div>
|
185 |
+
|
186 |
<?php
|
187 |
echo "<span class='acx_smw_q_sep'></span>";
|
188 |
print_acx_smw_option_block_end();
|
189 |
+
} add_action('acx_smw_hook_option_fields','acx_smw_icon_theme_size_html',200);
|
190 |
function acx_smw_icon_theme_size_ifpost()
|
191 |
{
|
192 |
global $acx_widget_si_icon_size;
|
902 |
$get_td ="";
|
903 |
if(ISSET($_GET['td']))
|
904 |
{
|
905 |
+
if(sanitize_text_field(trim($_GET['td'])) == 'hide')
|
906 |
{
|
907 |
$get_td = "hide";
|
908 |
}
|
964 |
global $smw_page;
|
965 |
if($smw_page == "Acurax-Social-Widget-Troubleshooter")
|
966 |
{
|
967 |
+
echo "<h2 class='acx_smw_option_head'>". __('Social Media Widget by Acurax','acurax-social-media-widget')."</h2>";
|
968 |
echo "<span class='acx_smw_q_sep'></span>";?>
|
969 |
<p style="font-weight:bold;text-align:center;color:darkred;"><?php _e('IMPORTANT NOTE: Please do troubleshooting only if you got instructions from support or know what you are going to do.','acurax-social-media-widget') ;?></p>
|
970 |
|
1002 |
$smw_page = $get_quickfix = $get_sid = "";
|
1003 |
if(ISSET($_GET['page']))
|
1004 |
{
|
1005 |
+
$smw_page = sanitize_text_field(trim($_GET['page']));
|
1006 |
}
|
1007 |
if(ISSET($_GET['quickfix']))
|
1008 |
{
|
1009 |
+
$get_quickfix = sanitize_text_field(trim($_GET['quickfix']));
|
1010 |
}
|
1011 |
if(ISSET($_GET['sid']))
|
1012 |
{
|
1013 |
+
$get_sid = sanitize_text_field(trim($_GET['sid']));
|
1014 |
}
|
1015 |
if (!wp_verify_nonce($get_sid,'acx_smw_qfix'))
|
1016 |
{
|
1053 |
function acx_smw_help_support_html()
|
1054 |
{
|
1055 |
?>
|
1056 |
+
<h2 style="text-align:center;"><?php _e('Acurax Social Media Widget - Wordpress Plugin - Help/Support','acurax-social-media-widget');?></h2>
|
1057 |
<p style="text-align:center;"><?php _e('Thank you for using Floating Social Media Icon Plugin For Your Wordpress Social Media Profile Linking Need.','acurax-social-media-widget')?></p>
|
1058 |
<h3 style="text-align:center;"><a href="http://clients.acurax.com/link.php?id=14" target="_blank" class="button"><?php _e('Click here to open the FAQ and Help Page','acurax-social-media-widget'); ?></a></h3>
|
1059 |
<?php }
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.acurax.com/happy-clients.php
|
|
4 |
Tags: Social Media Widget,social icon widget,social media icon,socialmedia,fb widget,business social media,pinterest,social media marketing tools,social profile link,twitter facebook,social media button,pinterest button,social media logos,social media buttons,google plus button
|
5 |
Requires at least: 2.8
|
6 |
Requires PHP: 5.3
|
7 |
-
Tested up to: 4.9.
|
8 |
Stable tag: trunk
|
9 |
License: GPLv2 or later
|
10 |
|
@@ -112,6 +112,10 @@ Have more questions ? [Drop a mail](http://www.acurax.com/contact.php/ "Drop an
|
|
112 |
|
113 |
== Upgrade Notice ==
|
114 |
|
|
|
|
|
|
|
|
|
115 |
= 3.2.6 =
|
116 |
* Fix - Code Improvements
|
117 |
* Fix - URL Break Issues
|
@@ -237,6 +241,10 @@ Have more questions ? [Drop a mail](http://www.acurax.com/contact.php/ "Drop an
|
|
237 |
|
238 |
== Changelog ==
|
239 |
|
|
|
|
|
|
|
|
|
240 |
= 3.2.6 =
|
241 |
* Fix - Code Improvements
|
242 |
* Fix - URL Break Issues
|
4 |
Tags: Social Media Widget,social icon widget,social media icon,socialmedia,fb widget,business social media,pinterest,social media marketing tools,social profile link,twitter facebook,social media button,pinterest button,social media logos,social media buttons,google plus button
|
5 |
Requires at least: 2.8
|
6 |
Requires PHP: 5.3
|
7 |
+
Tested up to: 4.9.8
|
8 |
Stable tag: trunk
|
9 |
License: GPLv2 or later
|
10 |
|
112 |
|
113 |
== Upgrade Notice ==
|
114 |
|
115 |
+
= 3.2.7 =
|
116 |
+
* Fix - Security Improvements
|
117 |
+
* Fix - Perfomance Improvements
|
118 |
+
|
119 |
= 3.2.6 =
|
120 |
* Fix - Code Improvements
|
121 |
* Fix - URL Break Issues
|
241 |
|
242 |
== Changelog ==
|
243 |
|
244 |
+
= 3.2.7 =
|
245 |
+
* Fix - Security Improvements
|
246 |
+
* Fix - Perfomance Improvements
|
247 |
+
|
248 |
= 3.2.6 =
|
249 |
* Fix - Code Improvements
|
250 |
* Fix - URL Break Issues
|