Version Description
- Farsi.
- Bugfix: key output with single quotes.
- Bugfix: media picker inside the fieldset type.
- Bugfix: empty save of PHP CODE.
- Bugfix: field label in the cftsearch shortcode.
Download this release
Release Info
Developer | Hiroaki Miyashita |
Plugin | Custom Field Template |
Version | 2.1.1 |
Comparing to | |
See all releases |
Code changes from version 2.1 to 2.1.1
- custom-field-template-fa_IR.mo +0 -0
- custom-field-template-fa_IR.po +563 -0
- custom-field-template.php +27 -6
- readme.txt +9 -1
custom-field-template-fa_IR.mo
ADDED
Binary file
|
custom-field-template-fa_IR.po
ADDED
@@ -0,0 +1,563 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: Custom Field Template 1.7.1\n"
|
4 |
+
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2010-06-22 10:32+0300\n"
|
6 |
+
"PO-Revision-Date: \n"
|
7 |
+
"Last-Translator: \n"
|
8 |
+
"Language-Team: http://sabood.ir <info.sabood@gmail.com>\n"
|
9 |
+
"MIME-Version: 1.0\n"
|
10 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
+
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Poedit-KeywordsList: __;_e\n"
|
13 |
+
"X-Poedit-Basepath: ../\n"
|
14 |
+
"X-Poedit-SourceCharset: UTF-8\n"
|
15 |
+
"Language: fa_ir\n"
|
16 |
+
"X-Generator: Poedit 1.5.5\n"
|
17 |
+
"Plural-Forms: Mehdi Zare;\n"
|
18 |
+
"X-Poedit-SearchPath-0: custom-field-template\n"
|
19 |
+
|
20 |
+
#: custom-field-template/custom-field-template.php:142
|
21 |
+
#: custom-field-template/custom-field-template.php:143
|
22 |
+
#: custom-field-template/custom-field-template.php:163
|
23 |
+
#: custom-field-template/custom-field-template.php:594
|
24 |
+
#: custom-field-template/custom-field-template.php:869
|
25 |
+
#: custom-field-template/custom-field-template.php:2140
|
26 |
+
#: custom-field-template/custom-field-template.php:2269
|
27 |
+
msgid "Custom Field Template"
|
28 |
+
msgstr "قالب زمینه های دلخواه"
|
29 |
+
|
30 |
+
#: custom-field-template/custom-field-template.php:275
|
31 |
+
#: custom-field-template/custom-field-template.php:2471
|
32 |
+
msgid "Load"
|
33 |
+
msgstr "بارگزاری"
|
34 |
+
|
35 |
+
#: custom-field-template/custom-field-template.php:431
|
36 |
+
msgid "read more"
|
37 |
+
msgstr "اطلاعات بیشتر"
|
38 |
+
|
39 |
+
#: custom-field-template/custom-field-template.php:449
|
40 |
+
#: custom-field-template/custom-field-template.php:459
|
41 |
+
msgid "Custom Fields"
|
42 |
+
msgstr "زمینه های دلخواه"
|
43 |
+
|
44 |
+
#: custom-field-template/custom-field-template.php:489
|
45 |
+
msgid "Settings"
|
46 |
+
msgstr "تنظیمات"
|
47 |
+
|
48 |
+
#: custom-field-template/custom-field-template.php:514
|
49 |
+
msgid "Default Template"
|
50 |
+
msgstr "قالب پیش فرض"
|
51 |
+
|
52 |
+
#: custom-field-template/custom-field-template.php:730
|
53 |
+
msgid ""
|
54 |
+
"You can not use the following words as the field key: `content`, "
|
55 |
+
"`post_title`, and `excerpt`."
|
56 |
+
msgstr ""
|
57 |
+
"شما نمی توانید کلمات زیر را به عنوان یک کلید در قسمت استفاده کنید: "
|
58 |
+
"`content`, `post_title`, and `excerpt`."
|
59 |
+
|
60 |
+
#: custom-field-template/custom-field-template.php:745
|
61 |
+
#: custom-field-template/custom-field-template.php:765
|
62 |
+
#: custom-field-template/custom-field-template.php:769
|
63 |
+
#: custom-field-template/custom-field-template.php:781
|
64 |
+
#: custom-field-template/custom-field-template.php:789
|
65 |
+
#: custom-field-template/custom-field-template.php:806
|
66 |
+
msgid "Options updated."
|
67 |
+
msgstr "تنظیمات به روز شد"
|
68 |
+
|
69 |
+
#: custom-field-template/custom-field-template.php:810
|
70 |
+
msgid "Value Counts rebuilt."
|
71 |
+
msgstr "مقدار شمارش بازسازی"
|
72 |
+
|
73 |
+
#: custom-field-template/custom-field-template.php:813
|
74 |
+
msgid "Tags rebuilt."
|
75 |
+
msgstr "بازسازی برچسب ها"
|
76 |
+
|
77 |
+
#: custom-field-template/custom-field-template.php:822
|
78 |
+
msgid "Options imported."
|
79 |
+
msgstr "تنظیمات درون سازی شد"
|
80 |
+
|
81 |
+
#: custom-field-template/custom-field-template.php:829
|
82 |
+
msgid "Options resetted."
|
83 |
+
msgstr "تنظیمات بازگردانی شد"
|
84 |
+
|
85 |
+
#: custom-field-template/custom-field-template.php:833
|
86 |
+
msgid "Options deleted."
|
87 |
+
msgstr "تنظیمات پاک شد"
|
88 |
+
|
89 |
+
#: custom-field-template/custom-field-template.php:875
|
90 |
+
#: custom-field-template/custom-field-template.php:921
|
91 |
+
#: custom-field-template/custom-field-template.php:1022
|
92 |
+
#: custom-field-template/custom-field-template.php:1041
|
93 |
+
#: custom-field-template/custom-field-template.php:1070
|
94 |
+
#: custom-field-template/custom-field-template.php:1101
|
95 |
+
#: custom-field-template/custom-field-template.php:1142
|
96 |
+
#: custom-field-template/custom-field-template.php:1163
|
97 |
+
#: custom-field-template/custom-field-template.php:1180
|
98 |
+
#: custom-field-template/custom-field-template.php:1342
|
99 |
+
#: custom-field-template/custom-field-template.php:1358
|
100 |
+
#: custom-field-template/custom-field-template.php:1374
|
101 |
+
#: custom-field-template/custom-field-template.php:1390
|
102 |
+
#: custom-field-template/custom-field-template.php:1406
|
103 |
+
msgid "Click to toggle"
|
104 |
+
msgstr "برای تغییر وضعیت کلیک کنید"
|
105 |
+
|
106 |
+
#: custom-field-template/custom-field-template.php:876
|
107 |
+
msgid "Custom Field Template Options"
|
108 |
+
msgstr "Custom Field Template تنظیمات "
|
109 |
+
|
110 |
+
#: custom-field-template/custom-field-template.php:886
|
111 |
+
#: custom-field-template/custom-field-template.php:2318
|
112 |
+
#: custom-field-template/custom-field-template.php:2319
|
113 |
+
msgid "Disable"
|
114 |
+
msgstr "غیر فعال کردن"
|
115 |
+
|
116 |
+
#: custom-field-template/custom-field-template.php:888
|
117 |
+
msgid "Template Title"
|
118 |
+
msgstr "عنوان قالب"
|
119 |
+
|
120 |
+
#: custom-field-template/custom-field-template.php:890
|
121 |
+
msgid "Template Instruction"
|
122 |
+
msgstr "دستور قالب"
|
123 |
+
|
124 |
+
#: custom-field-template/custom-field-template.php:892
|
125 |
+
#: custom-field-template/custom-field-template.php:1117
|
126 |
+
msgid "Post Type"
|
127 |
+
msgstr "نوع نوشته"
|
128 |
+
|
129 |
+
#: custom-field-template/custom-field-template.php:894
|
130 |
+
#: custom-field-template/custom-field-template.php:1118
|
131 |
+
msgid "Both"
|
132 |
+
msgstr "هر دو"
|
133 |
+
|
134 |
+
#: custom-field-template/custom-field-template.php:895
|
135 |
+
#: custom-field-template/custom-field-template.php:1119
|
136 |
+
msgid "Post"
|
137 |
+
msgstr "نوشته"
|
138 |
+
|
139 |
+
#: custom-field-template/custom-field-template.php:896
|
140 |
+
#: custom-field-template/custom-field-template.php:1120
|
141 |
+
msgid "Page"
|
142 |
+
msgstr "صفحه"
|
143 |
+
|
144 |
+
#: custom-field-template/custom-field-template.php:897
|
145 |
+
#: custom-field-template/custom-field-template.php:1121
|
146 |
+
msgid "Custom Post Type (comma-deliminated)"
|
147 |
+
msgstr "نوع نوشته سفارشی (جدا کننده کاما)"
|
148 |
+
|
149 |
+
#: custom-field-template/custom-field-template.php:899
|
150 |
+
msgid "Post ID (comma-deliminated)"
|
151 |
+
msgstr " نوشته (جدا کننده کاما)ID"
|
152 |
+
|
153 |
+
#: custom-field-template/custom-field-template.php:901
|
154 |
+
#: custom-field-template/custom-field-template.php:1123
|
155 |
+
msgid "Category ID (comma-deliminated)"
|
156 |
+
msgstr " دسته (جدا کننده کاما)ID"
|
157 |
+
|
158 |
+
#: custom-field-template/custom-field-template.php:903
|
159 |
+
msgid "Page Template file name(s) (comma-deliminated)"
|
160 |
+
msgstr "نام فایل قالب (جدا کننده کاما)"
|
161 |
+
|
162 |
+
#: custom-field-template/custom-field-template.php:905
|
163 |
+
msgid "Template Content"
|
164 |
+
msgstr "محتوی قالب"
|
165 |
+
|
166 |
+
#: custom-field-template/custom-field-template.php:912
|
167 |
+
#: custom-field-template/custom-field-template.php:1013
|
168 |
+
#: custom-field-template/custom-field-template.php:1032
|
169 |
+
#: custom-field-template/custom-field-template.php:1061
|
170 |
+
#: custom-field-template/custom-field-template.php:1092
|
171 |
+
#: custom-field-template/custom-field-template.php:1133
|
172 |
+
msgid "Update Options »"
|
173 |
+
msgstr "به روز رسانی تنظیمات »"
|
174 |
+
|
175 |
+
#: custom-field-template/custom-field-template.php:922
|
176 |
+
msgid "Global Settings"
|
177 |
+
msgstr "تنظیمات یکپارچه"
|
178 |
+
|
179 |
+
#: custom-field-template/custom-field-template.php:937
|
180 |
+
msgid ""
|
181 |
+
"In case that you would like to replace custom keys by labels if `label` is "
|
182 |
+
"set"
|
183 |
+
msgstr "در صورتی که شما می خواهید برچسب را با کلدهای سفارشی جایگزین کنید"
|
184 |
+
|
185 |
+
#: custom-field-template/custom-field-template.php:938
|
186 |
+
msgid "Use labels in place of custom keys"
|
187 |
+
msgstr "برچسب ها را در مکان کلیدهای سفارشی استفاده کنید"
|
188 |
+
|
189 |
+
#: custom-field-template/custom-field-template.php:941
|
190 |
+
msgid ""
|
191 |
+
"In case that you would like to add p and br tags in textareas automatically"
|
192 |
+
msgstr ""
|
193 |
+
"In case that you would like to add p and br tags in textareas automatically"
|
194 |
+
|
195 |
+
#: custom-field-template/custom-field-template.php:942
|
196 |
+
msgid "Use wpautop function"
|
197 |
+
msgstr " wpautop استفاده از تابع "
|
198 |
+
|
199 |
+
#: custom-field-template/custom-field-template.php:946
|
200 |
+
msgid ""
|
201 |
+
"In case that you would like to save values automatically in switching "
|
202 |
+
"templates"
|
203 |
+
msgstr ""
|
204 |
+
"In case that you would like to save values automatically in switching "
|
205 |
+
"templates"
|
206 |
+
|
207 |
+
#: custom-field-template/custom-field-template.php:947
|
208 |
+
msgid "Use the auto save in switching templates"
|
209 |
+
msgstr "استفاده از ذخیره خودکار در تغییر قالبها"
|
210 |
+
|
211 |
+
#: custom-field-template/custom-field-template.php:951
|
212 |
+
msgid ""
|
213 |
+
"In case that you would like to disable input fields of the custom field "
|
214 |
+
"template temporarily"
|
215 |
+
msgstr ""
|
216 |
+
"In case that you would like to disable input fields of the custom field "
|
217 |
+
"template temporarily"
|
218 |
+
|
219 |
+
#: custom-field-template/custom-field-template.php:952
|
220 |
+
msgid "Use the `Disable` button. The default custom fields will be superseded."
|
221 |
+
msgstr ""
|
222 |
+
"Use the `Disable` button. The default custom fields will be superseded."
|
223 |
+
|
224 |
+
#: custom-field-template/custom-field-template.php:956
|
225 |
+
msgid "In case that you would like to forbid to use the initialize button."
|
226 |
+
msgstr "In case that you would like to forbid to use the initialize button."
|
227 |
+
|
228 |
+
#: custom-field-template/custom-field-template.php:957
|
229 |
+
msgid "Disable the initialize button"
|
230 |
+
msgstr "غیر فعال کردن کلید مقداردهی اولیه"
|
231 |
+
|
232 |
+
#: custom-field-template/custom-field-template.php:961
|
233 |
+
msgid "In case that you would like to forbid to use the save button."
|
234 |
+
msgstr "در صورتی است که شما می خواهید به منع استفاده از دکمه ذخیره اقدام کنید."
|
235 |
+
|
236 |
+
#: custom-field-template/custom-field-template.php:962
|
237 |
+
msgid "Disable the save button"
|
238 |
+
msgstr "غیر فعال کردن کلید ذخیره"
|
239 |
+
|
240 |
+
#: custom-field-template/custom-field-template.php:966
|
241 |
+
msgid "In case that you would like to forbid to use the default custom fields."
|
242 |
+
msgstr ""
|
243 |
+
"در صورتی است که شما می خواهید به منع استفاده از پیش فرض فیلدهای سفارشی اقدام "
|
244 |
+
"کنید."
|
245 |
+
|
246 |
+
#: custom-field-template/custom-field-template.php:967
|
247 |
+
msgid "Disable the default custom fields"
|
248 |
+
msgstr "غیرفعال کردن زمینه های دلخواه پیش فرض"
|
249 |
+
|
250 |
+
#: custom-field-template/custom-field-template.php:971
|
251 |
+
msgid "In case that you would like to forbid to use the quick edit."
|
252 |
+
msgstr ""
|
253 |
+
"در صورتی است که شما می خواهید برای منع به استفاده از ویرایش های سریع اقدام "
|
254 |
+
"کنید."
|
255 |
+
|
256 |
+
#: custom-field-template/custom-field-template.php:972
|
257 |
+
msgid "Disable the quick edit"
|
258 |
+
msgstr "غیرفعال کردن ویرایش سریع"
|
259 |
+
|
260 |
+
#: custom-field-template/custom-field-template.php:976
|
261 |
+
msgid ""
|
262 |
+
"In case that you would like to forbid to display the custom field column on "
|
263 |
+
"the edit post list page."
|
264 |
+
msgstr ""
|
265 |
+
"در صورت استی که شما می خواهید به منع ستون زمینه سفارشی برای نمایش در ویرایش "
|
266 |
+
"پست صفحه فهرست اقدام نمائید."
|
267 |
+
|
268 |
+
#: custom-field-template/custom-field-template.php:977
|
269 |
+
msgid "Disable the custom field column (The quick edit also does not work.)"
|
270 |
+
msgstr "غیرفعال کردن ستون فیلدهای سفارشی(ویرایش سریع نیز کار نخواهد کرد)"
|
271 |
+
|
272 |
+
#: custom-field-template/custom-field-template.php:981
|
273 |
+
msgid ""
|
274 |
+
"In case that you would like to replace the box title with the template title."
|
275 |
+
msgstr "در صورتی که شما می خواهید عنوان جعبه را با عنوان قالب جایگزین کنید."
|
276 |
+
|
277 |
+
#: custom-field-template/custom-field-template.php:982
|
278 |
+
msgid "Replace the box title"
|
279 |
+
msgstr "جایگزینی عنوان جعبه"
|
280 |
+
|
281 |
+
#: custom-field-template/custom-field-template.php:986
|
282 |
+
msgid "In case that you would like to use the shortcode in the widget."
|
283 |
+
msgstr "In case that you would like to use the shortcode in the widget."
|
284 |
+
|
285 |
+
#: custom-field-template/custom-field-template.php:987
|
286 |
+
msgid "Use the shortcode in the widget"
|
287 |
+
msgstr "استفاده از کدهای کوتاه در ابزارک"
|
288 |
+
|
289 |
+
# http://sabood.ir
|
290 |
+
# Mehdi Zare
|
291 |
+
#: custom-field-template/custom-field-template.php:991
|
292 |
+
msgid "In case that you would like to use the shortcode in the excerpt."
|
293 |
+
msgstr ""
|
294 |
+
"در صورتی است که شما می خواهید کدهای کوتاه را در منتخب کردن استفاده کنید."
|
295 |
+
|
296 |
+
# http://sabood.ir
|
297 |
+
# Mehdi Zare
|
298 |
+
#: custom-field-template/custom-field-template.php:992
|
299 |
+
msgid "Use the shortcode in the excerpt"
|
300 |
+
msgstr "استفاده از کدهای کوتاه در منتخب کردن"
|
301 |
+
|
302 |
+
#: custom-field-template/custom-field-template.php:1002
|
303 |
+
msgid "Text to place before every list which is called by the cft shortcode"
|
304 |
+
msgstr "Text to place before every list which is called by the cft shortcode"
|
305 |
+
|
306 |
+
#: custom-field-template/custom-field-template.php:1004
|
307 |
+
msgid "Text to place after every list which is called by the cft shortcode"
|
308 |
+
msgstr "Text to place after every list which is called by the cft shortcode"
|
309 |
+
|
310 |
+
#: custom-field-template/custom-field-template.php:1006
|
311 |
+
msgid "Text to place before every value which is called by the cft shortcode"
|
312 |
+
msgstr "Text to place before every value which is called by the cft shortcode"
|
313 |
+
|
314 |
+
#: custom-field-template/custom-field-template.php:1008
|
315 |
+
msgid "Text to place after every value which is called by the cft shortcode"
|
316 |
+
msgstr "Text to place after every value which is called by the cft shortcode"
|
317 |
+
|
318 |
+
#: custom-field-template/custom-field-template.php:1023
|
319 |
+
msgid "ADMIN CSS"
|
320 |
+
msgstr "مدیریت (CSS)"
|
321 |
+
|
322 |
+
#: custom-field-template/custom-field-template.php:1042
|
323 |
+
msgid "[cft] and [cftsearch] Shortcode Format"
|
324 |
+
msgstr "قالب کدهای کوتاه [cft] و [cftsearch] "
|
325 |
+
|
326 |
+
#: custom-field-template/custom-field-template.php:1045
|
327 |
+
msgid "For [cft], [key] will be converted into the value of [key]."
|
328 |
+
msgstr "For [cft], [key] will be converted into the value of [key]."
|
329 |
+
|
330 |
+
#: custom-field-template/custom-field-template.php:1046
|
331 |
+
msgid "For [cftsearch], [key] will be converted into the input field."
|
332 |
+
msgstr "For [cftsearch], [key] will be converted into the input field."
|
333 |
+
|
334 |
+
#: custom-field-template/custom-field-template.php:1055
|
335 |
+
#: custom-field-template/custom-field-template.php:1126
|
336 |
+
msgid "Use PHP"
|
337 |
+
msgstr " PHP استفاده "
|
338 |
+
|
339 |
+
#: custom-field-template/custom-field-template.php:1071
|
340 |
+
msgid "PHP CODE (Experimental Option)"
|
341 |
+
msgstr "کد PHP (تنظیمات آزمایشی)"
|
342 |
+
|
343 |
+
#: custom-field-template/custom-field-template.php:1073
|
344 |
+
msgid "Are you sure to save PHP codes? Please do it at your own risk."
|
345 |
+
msgstr "Are you sure to save PHP codes? Please do it at your own risk."
|
346 |
+
|
347 |
+
#: custom-field-template/custom-field-template.php:1074
|
348 |
+
msgid "For `text` and `textarea`, you must set $value as an string."
|
349 |
+
msgstr "For `text` and `textarea`, you must set $value as an string."
|
350 |
+
|
351 |
+
#: custom-field-template/custom-field-template.php:1076
|
352 |
+
msgid ""
|
353 |
+
"For `checkbox`, `radio`, and `select`, you must set $values as an array."
|
354 |
+
msgstr ""
|
355 |
+
"For `checkbox`, `radio`, and `select`, you must set $values as an array."
|
356 |
+
|
357 |
+
#: custom-field-template/custom-field-template.php:1102
|
358 |
+
msgid "Auto Hook of `the_content()` (Experimental Option)"
|
359 |
+
msgstr "Auto Hook of `the_content()` (Experimental Option)"
|
360 |
+
|
361 |
+
#: custom-field-template/custom-field-template.php:1112
|
362 |
+
msgid "Position"
|
363 |
+
msgstr "حالت"
|
364 |
+
|
365 |
+
#: custom-field-template/custom-field-template.php:1113
|
366 |
+
msgid "Before the content"
|
367 |
+
msgstr "قبل از محتوی"
|
368 |
+
|
369 |
+
#: custom-field-template/custom-field-template.php:1114
|
370 |
+
msgid "After the content"
|
371 |
+
msgstr "بعد از محتوی"
|
372 |
+
|
373 |
+
#: custom-field-template/custom-field-template.php:1115
|
374 |
+
#, php-format
|
375 |
+
msgid "Inside the content ([cfthook hook=%d])"
|
376 |
+
msgstr "در داخل محتوی ([cfthook hook=%d])"
|
377 |
+
|
378 |
+
#: custom-field-template/custom-field-template.php:1125
|
379 |
+
msgid "Content"
|
380 |
+
msgstr "محتوی"
|
381 |
+
|
382 |
+
#: custom-field-template/custom-field-template.php:1127
|
383 |
+
msgid "Apply to feeds"
|
384 |
+
msgstr "انجام برای فیدها"
|
385 |
+
|
386 |
+
#: custom-field-template/custom-field-template.php:1143
|
387 |
+
msgid "Rebuild Value Counts"
|
388 |
+
msgstr "بازسازی مقدار شمارش ها"
|
389 |
+
|
390 |
+
#: custom-field-template/custom-field-template.php:1145
|
391 |
+
msgid "Are you sure to rebuild all value counts?"
|
392 |
+
msgstr "آیا شما مطمئنید که می خواهید همه مقدار شمارش ها را بازسازی کنید؟"
|
393 |
+
|
394 |
+
#: custom-field-template/custom-field-template.php:1149
|
395 |
+
msgid ""
|
396 |
+
"Value Counts are used for temporarily saving how many values in each key. "
|
397 |
+
"Set `valueCount = true` into fields."
|
398 |
+
msgstr ""
|
399 |
+
"شمارش مقدارها برای ذخیره سازی قالبها استفاده می شود تا چگونه مقدارها در هر "
|
400 |
+
"کلید قرار گیرد Set `valueCount = true` into fields."
|
401 |
+
|
402 |
+
#: custom-field-template/custom-field-template.php:1153
|
403 |
+
msgid "Rebuild Value Counts »"
|
404 |
+
msgstr "بازسازی شمارش مقدارها"
|
405 |
+
|
406 |
+
#: custom-field-template/custom-field-template.php:1164
|
407 |
+
msgid "Rebuild Tags"
|
408 |
+
msgstr "بازسازی برچسب ها"
|
409 |
+
|
410 |
+
#: custom-field-template/custom-field-template.php:1166
|
411 |
+
msgid "Are you sure to rebuild tags?"
|
412 |
+
msgstr "آیا مطمئنید که می خواهید برچسب ها را بازسازی کنید؟"
|
413 |
+
|
414 |
+
#: custom-field-template/custom-field-template.php:1170
|
415 |
+
msgid "Rebuild Tags »"
|
416 |
+
msgstr "بازسازی برچسب ها »"
|
417 |
+
|
418 |
+
#: custom-field-template/custom-field-template.php:1181
|
419 |
+
msgid "Option List"
|
420 |
+
msgstr "لیست تنظیمات"
|
421 |
+
|
422 |
+
#: custom-field-template/custom-field-template.php:1343
|
423 |
+
msgid "Export Options"
|
424 |
+
msgstr "برون بری تنظیمات"
|
425 |
+
|
426 |
+
#: custom-field-template/custom-field-template.php:1349
|
427 |
+
msgid "Export Options »"
|
428 |
+
msgstr "تنظیمات برون بری »"
|
429 |
+
|
430 |
+
#: custom-field-template/custom-field-template.php:1359
|
431 |
+
msgid "Import Options"
|
432 |
+
msgstr "درون ریزی تنظیمات"
|
433 |
+
|
434 |
+
#: custom-field-template/custom-field-template.php:1361
|
435 |
+
msgid "Are you sure to import options? Options you set will be overwritten."
|
436 |
+
msgstr ""
|
437 |
+
"آیا شما مطمئن هستید که می خواهید تنظیمات را درون سازی کنید؟ تنظیمات رونویسی "
|
438 |
+
"خواهد شد"
|
439 |
+
|
440 |
+
#: custom-field-template/custom-field-template.php:1365
|
441 |
+
msgid "Import Options »"
|
442 |
+
msgstr "تنظیمات درون سازی »"
|
443 |
+
|
444 |
+
#: custom-field-template/custom-field-template.php:1375
|
445 |
+
msgid "Reset Options"
|
446 |
+
msgstr "بازگردانی تنظیمات"
|
447 |
+
|
448 |
+
#: custom-field-template/custom-field-template.php:1377
|
449 |
+
msgid ""
|
450 |
+
"Are you sure to reset options? Options you set will be reset to the default "
|
451 |
+
"settings."
|
452 |
+
msgstr ""
|
453 |
+
"آیا شما مطمئن هستید که می خواهید تنظیمات را بازگردانی کنید؟ تنظیمات به صورت "
|
454 |
+
"پیش فرض بازگردانده خواهد شد"
|
455 |
+
|
456 |
+
#: custom-field-template/custom-field-template.php:1381
|
457 |
+
msgid "Reset Options »"
|
458 |
+
msgstr "بازگردانی تنظیمات »"
|
459 |
+
|
460 |
+
#: custom-field-template/custom-field-template.php:1391
|
461 |
+
msgid "Delete Options"
|
462 |
+
msgstr "پاک کردن تنظیمات"
|
463 |
+
|
464 |
+
#: custom-field-template/custom-field-template.php:1393
|
465 |
+
msgid "Are you sure to delete options? Options you set will be deleted."
|
466 |
+
msgstr ""
|
467 |
+
"آیا شما مطمئن هستید که می خواهید تنظیمات را پاک کنید؟ تنظیمات شما پاک خواهد "
|
468 |
+
"شد"
|
469 |
+
|
470 |
+
#: custom-field-template/custom-field-template.php:1397
|
471 |
+
msgid "Delete Options »"
|
472 |
+
msgstr "پاک کردن تنظیمات »"
|
473 |
+
|
474 |
+
#: custom-field-template/custom-field-template.php:1407
|
475 |
+
msgid "Donation"
|
476 |
+
msgstr "هدیه"
|
477 |
+
|
478 |
+
#: custom-field-template/custom-field-template.php:1409
|
479 |
+
msgid ""
|
480 |
+
"If you liked this plugin, please make a donation via paypal! Any amount is "
|
481 |
+
"welcome. Your support is much appreciated."
|
482 |
+
msgstr ""
|
483 |
+
"اگر شما حامی این افزونه هستید لطفا اقدام به ایجاد یک کمک مالی از طریق پی پال "
|
484 |
+
"به هر مقداری که مایلید نمایید حمایت شما بسیار باعث بهبود کار ماست. "
|
485 |
+
|
486 |
+
#: custom-field-template/custom-field-template.php:1505
|
487 |
+
#: custom-field-template/custom-field-template.php:1626
|
488 |
+
#: custom-field-template/custom-field-template.php:1706
|
489 |
+
#: custom-field-template/custom-field-template.php:1880
|
490 |
+
#: custom-field-template/custom-field-template.php:2065
|
491 |
+
msgid "Add New"
|
492 |
+
msgstr "اضافه کردن یک جدید"
|
493 |
+
|
494 |
+
#: custom-field-template/custom-field-template.php:1636
|
495 |
+
msgid "Clear"
|
496 |
+
msgstr "پاکسازی"
|
497 |
+
|
498 |
+
#: custom-field-template/custom-field-template.php:1722
|
499 |
+
msgid "Select"
|
500 |
+
msgstr "انتخاب"
|
501 |
+
|
502 |
+
#: custom-field-template/custom-field-template.php:1787
|
503 |
+
msgid "Add an Image"
|
504 |
+
msgstr "اضافه کردن یک عکس"
|
505 |
+
|
506 |
+
#: custom-field-template/custom-field-template.php:1792
|
507 |
+
msgid "Add Video"
|
508 |
+
msgstr "اضافه کردن ویدئو"
|
509 |
+
|
510 |
+
#: custom-field-template/custom-field-template.php:1797
|
511 |
+
msgid "Add Audio"
|
512 |
+
msgstr "اضافه کردن صدا"
|
513 |
+
|
514 |
+
#: custom-field-template/custom-field-template.php:1801
|
515 |
+
msgid "Add Media"
|
516 |
+
msgstr "اضافه کردن رسانه"
|
517 |
+
|
518 |
+
#: custom-field-template/custom-field-template.php:1808
|
519 |
+
msgid "Toggle"
|
520 |
+
msgstr "تغییر وضعیت"
|
521 |
+
|
522 |
+
#: custom-field-template/custom-field-template.php:1900
|
523 |
+
#: custom-field-template/custom-field-template.php:2067
|
524 |
+
msgid "Delete"
|
525 |
+
msgstr "حذف"
|
526 |
+
|
527 |
+
#: custom-field-template/custom-field-template.php:2319
|
528 |
+
msgid "Enable"
|
529 |
+
msgstr "فعال کردن"
|
530 |
+
|
531 |
+
#: custom-field-template/custom-field-template.php:2323
|
532 |
+
msgid "Initialize"
|
533 |
+
msgstr "مقداردهی اولیه"
|
534 |
+
|
535 |
+
#: custom-field-template/custom-field-template.php:2324
|
536 |
+
msgid "Are you sure to reset current values? Default values will be loaded."
|
537 |
+
msgstr ""
|
538 |
+
"آیا شما مطمئن هستید که برای تنظیم مجدد مقدار فعلی؟ مقادیر پیش فرض بارگذاری "
|
539 |
+
"خواهد شد."
|
540 |
+
|
541 |
+
#: custom-field-template/custom-field-template.php:2329
|
542 |
+
msgid "Save"
|
543 |
+
msgstr "ذخیره"
|
544 |
+
|
545 |
+
#: custom-field-template/custom-field-template.php:2980
|
546 |
+
msgid "Search »"
|
547 |
+
msgstr "جستجو »"
|
548 |
+
|
549 |
+
#~ msgid "Use multiple image inset"
|
550 |
+
#~ msgstr "да"
|
551 |
+
|
552 |
+
#~ msgid "Caution:"
|
553 |
+
#~ msgstr "Предупреждение:"
|
554 |
+
|
555 |
+
#~ msgid ""
|
556 |
+
#~ "You need to edit `wp-admin/includes/media.php`. Delete or comment out the "
|
557 |
+
#~ "code in the function media_send_to_editor."
|
558 |
+
#~ msgstr ""
|
559 |
+
#~ "вам нужно отредактировать файл <code>wp-admin/includes/media.php</code>, "
|
560 |
+
#~ "удалите или закомментируйте код в функции media_send_to_editor."
|
561 |
+
|
562 |
+
#~ msgid "Admin CSS"
|
563 |
+
#~ msgstr "CSS шаблона в админ. панели"
|
custom-field-template.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Custom Field Template
|
|
4 |
Plugin URI: http://wpgogo.com/development/custom-field-template.html
|
5 |
Description: This plugin adds the default custom fields on the Write Post/Page.
|
6 |
Author: Hiroaki Miyashita
|
7 |
-
Version: 2.1
|
8 |
Author URI: http://wpgogo.com/
|
9 |
*/
|
10 |
|
@@ -1041,7 +1041,7 @@ type = file';
|
|
1041 |
elseif ( !empty($_POST['custom_field_template_php_submit']) ) :
|
1042 |
unset($options['php']);
|
1043 |
for($i=0;$i<count($_POST["custom_field_template_php"]);$i++) {
|
1044 |
-
if(
|
1045 |
$options['php'][] = $_POST["custom_field_template_php"][$i];
|
1046 |
}
|
1047 |
update_option('custom_field_template_data', $options);
|
@@ -1793,6 +1793,8 @@ jQuery(this).addClass("closed");
|
|
1793 |
extract($data);
|
1794 |
$options = $this->get_custom_field_template_data();
|
1795 |
|
|
|
|
|
1796 |
$title = $name;
|
1797 |
$name = $this->sanitize_name( $name );
|
1798 |
$name_id = preg_replace( '/%/', '', $name );
|
@@ -1880,6 +1882,8 @@ jQuery(this).addClass("closed");
|
|
1880 |
extract($data);
|
1881 |
$options = $this->get_custom_field_template_data();
|
1882 |
|
|
|
|
|
1883 |
$title = $name;
|
1884 |
$name = $this->sanitize_name( $name );
|
1885 |
$name_id = preg_replace( '/%/', '', $name );
|
@@ -1940,6 +1944,8 @@ jQuery(this).addClass("closed");
|
|
1940 |
extract($data);
|
1941 |
$options = $this->get_custom_field_template_data();
|
1942 |
|
|
|
|
|
1943 |
$title = $name;
|
1944 |
$name = $this->sanitize_name( $name );
|
1945 |
$name_id = preg_replace( '/%/', '', $name );
|
@@ -2030,6 +2036,8 @@ jQuery(this).addClass("closed");
|
|
2030 |
extract($data);
|
2031 |
$options = $this->get_custom_field_template_data();
|
2032 |
|
|
|
|
|
2033 |
$title = $name;
|
2034 |
$name = $this->sanitize_name( $name );
|
2035 |
$name_id = preg_replace( '/%/', '', $name );
|
@@ -2116,6 +2124,8 @@ jQuery(this).addClass("closed");
|
|
2116 |
|
2117 |
global $wp_version;
|
2118 |
|
|
|
|
|
2119 |
$title = $name;
|
2120 |
$name = $this->sanitize_name( $name );
|
2121 |
$name_id = preg_replace( '/%/', '', $name );
|
@@ -2295,10 +2305,12 @@ jQuery(this).addClass("closed");
|
|
2295 |
|
2296 |
function make_file( $name, $sid, $data ) {
|
2297 |
$cftnum = $size = $hideKey = $label = $class = $style = $before = $after = $multipleButton = $relation = $mediaLibrary = $mediaPicker = '';
|
2298 |
-
$hide = $addfield = $out = $out_key = $out_value = $picker = '';
|
2299 |
extract($data);
|
2300 |
$options = $this->get_custom_field_template_data();
|
2301 |
|
|
|
|
|
2302 |
$title = $name;
|
2303 |
$name = $this->sanitize_name( $name );
|
2304 |
$name_id = preg_replace( '/%/', '', $name );
|
@@ -2335,7 +2347,9 @@ jQuery(this).addClass("closed");
|
|
2335 |
|
2336 |
if ( $mediaPicker == true ) :
|
2337 |
$picker = __(' OR ', 'custom-field-template');
|
2338 |
-
$picker .= '<a href="'.$image_upload_iframe_src.'&post_id='.$_REQUEST[ 'post' ].'&TB_iframe=1&tab='.$tab.'" class="thickbox" onclick="jQuery('."'#cft_current_template'".').val(jQuery(this).parent().parent().parent().
|
|
|
|
|
2339 |
endif;
|
2340 |
|
2341 |
$out_key = '<span' . $hide . '><label for="' . $name_id . $sid . '_' . $cftnum . '">' . $title . '</label></span>'.$addfield;
|
@@ -2502,11 +2516,13 @@ jQuery(this).addClass("closed");
|
|
2502 |
$format = stripslashes($options['shortcode_format'][$options['custom_fields'][$id]['format']]);
|
2503 |
|
2504 |
$last_title = '';
|
|
|
2505 |
foreach( $fields as $field_key => $field_val ) :
|
2506 |
foreach( $field_val as $title => $data ) {
|
2507 |
$class = $style = $addfield = $tmpout = $out_all = $out_key = $out_value = $duplicator = '';
|
2508 |
if ( isset($data['parentSN']) && is_numeric($data['parentSN']) ) $parentSN = $data['parentSN'];
|
2509 |
else $parentSN = $field_key;
|
|
|
2510 |
if ( isset($data['level']) && is_numeric($data['level']) ) :
|
2511 |
if ( $data['level'] > $level ) continue;
|
2512 |
endif;
|
@@ -2516,6 +2532,7 @@ jQuery(this).addClass("closed");
|
|
2516 |
$tmpout .= '</div><div' . $class . $style . '>';
|
2517 |
}
|
2518 |
else if( $data['type'] == 'fieldset_open' ) {
|
|
|
2519 |
if ( !empty($data['class']) ) $class = ' class="' . $data['class'] . '"';
|
2520 |
if ( !empty($data['style']) ) $style = ' style="' . $data['style'] . '"';
|
2521 |
$tmpout .= '<fieldset' . $class . $style . '>'."\n";
|
@@ -2550,6 +2567,7 @@ jQuery(this).addClass("closed");
|
|
2550 |
endif;
|
2551 |
}
|
2552 |
else if( $data['type'] == 'fieldset_close' ) {
|
|
|
2553 |
$tmpout .= '</fieldset>';
|
2554 |
}
|
2555 |
else if( $data['type'] == 'textfield' || $data['type'] == 'text' ) {
|
@@ -3161,6 +3179,8 @@ jQuery("#edButtonPreview").trigger("click"); }' . "\n";*/
|
|
3161 |
|
3162 |
update_option('custom_field_template_data', $options);
|
3163 |
wp_cache_flush();
|
|
|
|
|
3164 |
}
|
3165 |
|
3166 |
function parse_ini_str($Str,$ProcessSections = TRUE) {
|
@@ -3686,10 +3706,11 @@ jQuery("#edButtonPreview").trigger("click"); }' . "\n";*/
|
|
3686 |
foreach( $field_val as $key => $val) :
|
3687 |
if ( $val['search'] == true ) :
|
3688 |
if ( !empty($val['label']) && !empty($options['custom_field_template_replace_keys_by_labels']) )
|
3689 |
-
$
|
|
|
3690 |
$output .= '<dl>' ."\n";
|
3691 |
if ( $val['hideKey'] != true) :
|
3692 |
-
$output .= '<dt><label>' . $
|
3693 |
endif;
|
3694 |
|
3695 |
$class = "";
|
4 |
Plugin URI: http://wpgogo.com/development/custom-field-template.html
|
5 |
Description: This plugin adds the default custom fields on the Write Post/Page.
|
6 |
Author: Hiroaki Miyashita
|
7 |
+
Version: 2.1.1
|
8 |
Author URI: http://wpgogo.com/
|
9 |
*/
|
10 |
|
1041 |
elseif ( !empty($_POST['custom_field_template_php_submit']) ) :
|
1042 |
unset($options['php']);
|
1043 |
for($i=0;$i<count($_POST["custom_field_template_php"]);$i++) {
|
1044 |
+
if( !empty($_POST["custom_field_template_php"][$i]) )
|
1045 |
$options['php'][] = $_POST["custom_field_template_php"][$i];
|
1046 |
}
|
1047 |
update_option('custom_field_template_data', $options);
|
1793 |
extract($data);
|
1794 |
$options = $this->get_custom_field_template_data();
|
1795 |
|
1796 |
+
$name = stripslashes($name);
|
1797 |
+
|
1798 |
$title = $name;
|
1799 |
$name = $this->sanitize_name( $name );
|
1800 |
$name_id = preg_replace( '/%/', '', $name );
|
1882 |
extract($data);
|
1883 |
$options = $this->get_custom_field_template_data();
|
1884 |
|
1885 |
+
$name = stripslashes($name);
|
1886 |
+
|
1887 |
$title = $name;
|
1888 |
$name = $this->sanitize_name( $name );
|
1889 |
$name_id = preg_replace( '/%/', '', $name );
|
1944 |
extract($data);
|
1945 |
$options = $this->get_custom_field_template_data();
|
1946 |
|
1947 |
+
$name = stripslashes($name);
|
1948 |
+
|
1949 |
$title = $name;
|
1950 |
$name = $this->sanitize_name( $name );
|
1951 |
$name_id = preg_replace( '/%/', '', $name );
|
2036 |
extract($data);
|
2037 |
$options = $this->get_custom_field_template_data();
|
2038 |
|
2039 |
+
$name = stripslashes($name);
|
2040 |
+
|
2041 |
$title = $name;
|
2042 |
$name = $this->sanitize_name( $name );
|
2043 |
$name_id = preg_replace( '/%/', '', $name );
|
2124 |
|
2125 |
global $wp_version;
|
2126 |
|
2127 |
+
$name = stripslashes($name);
|
2128 |
+
|
2129 |
$title = $name;
|
2130 |
$name = $this->sanitize_name( $name );
|
2131 |
$name_id = preg_replace( '/%/', '', $name );
|
2305 |
|
2306 |
function make_file( $name, $sid, $data ) {
|
2307 |
$cftnum = $size = $hideKey = $label = $class = $style = $before = $after = $multipleButton = $relation = $mediaLibrary = $mediaPicker = '';
|
2308 |
+
$hide = $addfield = $out = $out_key = $out_value = $picker = $inside_fieldset = '';
|
2309 |
extract($data);
|
2310 |
$options = $this->get_custom_field_template_data();
|
2311 |
|
2312 |
+
$name = stripslashes($name);
|
2313 |
+
|
2314 |
$title = $name;
|
2315 |
$name = $this->sanitize_name( $name );
|
2316 |
$name_id = preg_replace( '/%/', '', $name );
|
2347 |
|
2348 |
if ( $mediaPicker == true ) :
|
2349 |
$picker = __(' OR ', 'custom-field-template');
|
2350 |
+
$picker .= '<a href="'.$image_upload_iframe_src.'&post_id='.$_REQUEST[ 'post' ].'&TB_iframe=1&tab='.$tab.'" class="thickbox" onclick="jQuery('."'#cft_current_template'".').val(jQuery(this).parent().parent().parent().';
|
2351 |
+
if ( $inside_fieldset ) $picker .= 'parent().';
|
2352 |
+
$picker .= 'parent().attr(\'id\').replace(\'cft_\',\'\'));jQuery('."'#cft_clicked_id'".').val(jQuery(this).parent().find(\'input\').attr(\'id\'));">'.__('Select by Media Picker', 'custom-field-template').'</a>';
|
2353 |
endif;
|
2354 |
|
2355 |
$out_key = '<span' . $hide . '><label for="' . $name_id . $sid . '_' . $cftnum . '">' . $title . '</label></span>'.$addfield;
|
2516 |
$format = stripslashes($options['shortcode_format'][$options['custom_fields'][$id]['format']]);
|
2517 |
|
2518 |
$last_title = '';
|
2519 |
+
$fieldset_open = 0;
|
2520 |
foreach( $fields as $field_key => $field_val ) :
|
2521 |
foreach( $field_val as $title => $data ) {
|
2522 |
$class = $style = $addfield = $tmpout = $out_all = $out_key = $out_value = $duplicator = '';
|
2523 |
if ( isset($data['parentSN']) && is_numeric($data['parentSN']) ) $parentSN = $data['parentSN'];
|
2524 |
else $parentSN = $field_key;
|
2525 |
+
if ( $fieldset_open ) $data['inside_fieldset'] = 1;
|
2526 |
if ( isset($data['level']) && is_numeric($data['level']) ) :
|
2527 |
if ( $data['level'] > $level ) continue;
|
2528 |
endif;
|
2532 |
$tmpout .= '</div><div' . $class . $style . '>';
|
2533 |
}
|
2534 |
else if( $data['type'] == 'fieldset_open' ) {
|
2535 |
+
$fieldset_open = 1;
|
2536 |
if ( !empty($data['class']) ) $class = ' class="' . $data['class'] . '"';
|
2537 |
if ( !empty($data['style']) ) $style = ' style="' . $data['style'] . '"';
|
2538 |
$tmpout .= '<fieldset' . $class . $style . '>'."\n";
|
2567 |
endif;
|
2568 |
}
|
2569 |
else if( $data['type'] == 'fieldset_close' ) {
|
2570 |
+
$fieldset_open = 0;
|
2571 |
$tmpout .= '</fieldset>';
|
2572 |
}
|
2573 |
else if( $data['type'] == 'textfield' || $data['type'] == 'text' ) {
|
3179 |
|
3180 |
update_option('custom_field_template_data', $options);
|
3181 |
wp_cache_flush();
|
3182 |
+
|
3183 |
+
do_action('cft_save_post', $post_id, $post);
|
3184 |
}
|
3185 |
|
3186 |
function parse_ini_str($Str,$ProcessSections = TRUE) {
|
3706 |
foreach( $field_val as $key => $val) :
|
3707 |
if ( $val['search'] == true ) :
|
3708 |
if ( !empty($val['label']) && !empty($options['custom_field_template_replace_keys_by_labels']) )
|
3709 |
+
$label = stripcslashes($val['label']);
|
3710 |
+
else $label = $key;
|
3711 |
$output .= '<dl>' ."\n";
|
3712 |
if ( $val['hideKey'] != true) :
|
3713 |
+
$output .= '<dt><label>' . $label . '</label></dt>' ."\n";
|
3714 |
endif;
|
3715 |
|
3716 |
$class = "";
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://wpgogo.com/development/custom-field-template.html
|
|
4 |
Tags: custom field, custom fields, custom, fields, field, template, meta, custom field template, custom post type
|
5 |
Requires at least: 2.1
|
6 |
Tested up to: 3.5
|
7 |
-
Stable tag: 2.1
|
8 |
License: GPLv2 or later
|
9 |
|
10 |
The Custom Field Template plugin extends the functionality of custom fields.
|
@@ -69,6 +69,7 @@ Localization
|
|
69 |
* Czech (cs_CZ) - [Jakub](http://www.webees.cz/)
|
70 |
* German (de_DE) - F J Kaiser
|
71 |
* Spanish (es_ES) - [Dario Ferrer](http://www.darioferrer.com/)
|
|
|
72 |
* French (fr_FR) - Nicolas Lemoine
|
73 |
* Hungarian (hu_HU) - [Balazs Kovacs](http://www.netpok.hu)
|
74 |
* Indonesian (id_ID) - [Masino Sinaga](http://www.openscriptsolution.com/)
|
@@ -111,6 +112,13 @@ See the default template and modify it.
|
|
111 |
|
112 |
== Changelog ==
|
113 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
114 |
= 2.1 =
|
115 |
* Bugfix: category refinement.
|
116 |
|
4 |
Tags: custom field, custom fields, custom, fields, field, template, meta, custom field template, custom post type
|
5 |
Requires at least: 2.1
|
6 |
Tested up to: 3.5
|
7 |
+
Stable tag: 2.1.1
|
8 |
License: GPLv2 or later
|
9 |
|
10 |
The Custom Field Template plugin extends the functionality of custom fields.
|
69 |
* Czech (cs_CZ) - [Jakub](http://www.webees.cz/)
|
70 |
* German (de_DE) - F J Kaiser
|
71 |
* Spanish (es_ES) - [Dario Ferrer](http://www.darioferrer.com/)
|
72 |
+
* Farsi (fa_IR) - [Mehdi Zare](http://sabood.ir/)
|
73 |
* French (fr_FR) - Nicolas Lemoine
|
74 |
* Hungarian (hu_HU) - [Balazs Kovacs](http://www.netpok.hu)
|
75 |
* Indonesian (id_ID) - [Masino Sinaga](http://www.openscriptsolution.com/)
|
112 |
|
113 |
== Changelog ==
|
114 |
|
115 |
+
= 2.1.1 =
|
116 |
+
* Farsi.
|
117 |
+
* Bugfix: key output with single quotes.
|
118 |
+
* Bugfix: media picker inside the fieldset type.
|
119 |
+
* Bugfix: empty save of PHP CODE.
|
120 |
+
* Bugfix: field label in the cftsearch shortcode.
|
121 |
+
|
122 |
= 2.1 =
|
123 |
* Bugfix: category refinement.
|
124 |
|