Version Description
*
Download this release
Release Info
Developer | hannanstd |
Plugin | گرویتی فرم فارسی |
Version | 2.1.3 |
Comparing to | |
See all releases |
Code changes from version 2.1.0 to 2.1.3
- includes/class-iran-cities.php +5 -5
- index.php +2 -2
- persian-gravity.php +5 -1
- readme.txt +20 -2
includes/class-iran-cities.php
CHANGED
@@ -207,11 +207,11 @@ class GFParsi_IranCities
|
|
207 |
$id = $form_id . '_' . $field_id;
|
208 |
|
209 |
$script = 'jQuery().ready(function($){' .
|
210 |
-
'$(".
|
211 |
-
'$(".
|
212 |
-
'$(document.body).on("change", ".
|
213 |
-
'$(".
|
214 |
-
'$(".
|
215 |
'});' .
|
216 |
'})';
|
217 |
GFFormDisplay::add_init_script($form['id'], 'iran_address_city_' . $id, GFFormDisplay::ON_PAGE_RENDER, $script);
|
207 |
$id = $form_id . '_' . $field_id;
|
208 |
|
209 |
$script = 'jQuery().ready(function($){' .
|
210 |
+
'$(".has_city #input_' . $id . '_3").empty();' .
|
211 |
+
'$(".has_city #input_' . $id . '_3").append(gform_iranCities(""+$(".has_city #input_' . $id . '_4").val()));' .
|
212 |
+
'$(document.body).on("change", ".has_city #input_' . $id . '_4" ,function(){' .
|
213 |
+
'$(".has_city #input_' . $id . '_3").empty();' .
|
214 |
+
'$(".has_city #input_' . $id . '_3").append(gform_iranCities(""+$(".has_city #input_' . $id . '_4").val()));' .
|
215 |
'});' .
|
216 |
'})';
|
217 |
GFFormDisplay::add_init_script($form['id'], 'iran_address_city_' . $id, GFFormDisplay::ON_PAGE_RENDER, $script);
|
index.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Persian Gravity Forms
|
4 |
Plugin URI: https://wordpress.org/plugins/persian-gravity-forms/
|
5 |
Description: Gravity Forms for Iranian, This plugin extends the Gravity Forms and its addons with Persian language
|
6 |
-
Version: 2.1.
|
7 |
Requires at least: 4.0
|
8 |
Author: hannansoft
|
9 |
Author URI: http://www.gravityforms.ir/
|
@@ -14,7 +14,7 @@ Domain Path: /languages/
|
|
14 |
if (!defined('ABSPATH')) exit;
|
15 |
|
16 |
if (!defined('GF_PARSI_VERSION'))
|
17 |
-
define('GF_PARSI_VERSION', '2.1.
|
18 |
|
19 |
if (!defined('GF_PARSI_URL'))
|
20 |
define('GF_PARSI_URL', plugins_url('', __FILE__) . '/');
|
3 |
Plugin Name: Persian Gravity Forms
|
4 |
Plugin URI: https://wordpress.org/plugins/persian-gravity-forms/
|
5 |
Description: Gravity Forms for Iranian, This plugin extends the Gravity Forms and its addons with Persian language
|
6 |
+
Version: 2.1.3
|
7 |
Requires at least: 4.0
|
8 |
Author: hannansoft
|
9 |
Author URI: http://www.gravityforms.ir/
|
14 |
if (!defined('ABSPATH')) exit;
|
15 |
|
16 |
if (!defined('GF_PARSI_VERSION'))
|
17 |
+
define('GF_PARSI_VERSION', '2.1.3');
|
18 |
|
19 |
if (!defined('GF_PARSI_URL'))
|
20 |
define('GF_PARSI_URL', plugins_url('', __FILE__) . '/');
|
persian-gravity.php
CHANGED
@@ -846,7 +846,11 @@ class GFParsi
|
|
846 |
}
|
847 |
return $styles;
|
848 |
}
|
849 |
-
|
|
|
|
|
|
|
|
|
850 |
public static function get_mysql_tz_offset()
|
851 |
{
|
852 |
|
846 |
}
|
847 |
return $styles;
|
848 |
}
|
849 |
+
|
850 |
+
public static function get_base_url(){
|
851 |
+
return plugins_url( '', __FILE__ );
|
852 |
+
}
|
853 |
+
|
854 |
public static function get_mysql_tz_offset()
|
855 |
{
|
856 |
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: hannanstd
|
|
3 |
Tags: gravityforms,gravity forms,persian gravity forms,persian gravityforms,gravityforms farsi,gravity forms farsi,rtl,fa_ir,iranian,iranian rials,iranian toman,iran state,gravityforms.ir,gravity forms payment,gravity forms gateway,gravity forms iran gateways
|
4 |
Donate link: http://gravityforms.ir
|
5 |
Requires at least: 4.0
|
6 |
-
Tested up to: 4.
|
7 |
-
Stable tag: 2.1.
|
8 |
License: GPL 2
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
This WordPress plugin extends the Gravity Forms plugin and its addons with the Persian language .
|
@@ -53,6 +53,15 @@ This plugin extends the Gravity Forms and its addons with Persian language
|
|
53 |
|
54 |
|
55 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
56 |
= 2.1.0 =
|
57 |
* بروز رسانی ترجمه
|
58 |
* سازگاری با نسخه جدید گرویتی فرم
|
@@ -137,6 +146,15 @@ This plugin extends the Gravity Forms and its addons with Persian language
|
|
137 |
* انتشار نسخه اولیه
|
138 |
|
139 |
== Upgrade Notice ==
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
140 |
= 2.1.0 =
|
141 |
* بروز رسانی ترجمه
|
142 |
* سازگاری با نسخه جدید گرویتی فرم
|
3 |
Tags: gravityforms,gravity forms,persian gravity forms,persian gravityforms,gravityforms farsi,gravity forms farsi,rtl,fa_ir,iranian,iranian rials,iranian toman,iran state,gravityforms.ir,gravity forms payment,gravity forms gateway,gravity forms iran gateways
|
4 |
Donate link: http://gravityforms.ir
|
5 |
Requires at least: 4.0
|
6 |
+
Tested up to: 4.8.0
|
7 |
+
Stable tag: 2.1.3
|
8 |
License: GPL 2
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
This WordPress plugin extends the Gravity Forms plugin and its addons with the Persian language .
|
53 |
|
54 |
|
55 |
== Changelog ==
|
56 |
+
= 2.1.3 =
|
57 |
+
* رفع باگ
|
58 |
+
= 2.1.2 =
|
59 |
+
* تغییر کلاس شهرهای ایران
|
60 |
+
= 2.1.1 =
|
61 |
+
* بروز رسانی ترجمه
|
62 |
+
* سازگاری با نسخه جدید گرویتی فرم
|
63 |
+
* رفع مشکل کد ملی، شهرهای ایران و تاریخ شمسی
|
64 |
+
* بهبود راستچین سازی
|
65 |
= 2.1.0 =
|
66 |
* بروز رسانی ترجمه
|
67 |
* سازگاری با نسخه جدید گرویتی فرم
|
146 |
* انتشار نسخه اولیه
|
147 |
|
148 |
== Upgrade Notice ==
|
149 |
+
= 2.1.3 =
|
150 |
+
* رفع باگ
|
151 |
+
= 2.1.2 =
|
152 |
+
* تغییر کلاس شهرهای ایران
|
153 |
+
= 2.1.1 =
|
154 |
+
* بروز رسانی ترجمه
|
155 |
+
* سازگاری با نسخه جدید گرویتی فرم
|
156 |
+
* رفع مشکل کد ملی، شهرهای ایران و تاریخ شمسی
|
157 |
+
* بهبود راستچین سازی
|
158 |
= 2.1.0 =
|
159 |
* بروز رسانی ترجمه
|
160 |
* سازگاری با نسخه جدید گرویتی فرم
|