Custom Field Template - Version 1.2

Version Description

Download this release

Release Info

Developer Hiroaki Miyashita
Plugin Icon 128x128 Custom Field Template
Version 1.2
Comparing to
See all releases

Code changes from version 1.1.7 to 1.2

custom-field-template-ja.mo CHANGED
Binary file
custom-field-template-ja.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Custom Field Template\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2009-04-07 11:32+0900\n"
6
- "PO-Revision-Date: 2009-04-07 11:32+0900\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
9
  "MIME-Version: 1.0\n"
@@ -19,14 +19,14 @@ msgstr ""
19
  #: custom-field-template/custom-field-template.php:119
20
  #: custom-field-template/custom-field-template.php:120
21
  #: custom-field-template/custom-field-template.php:450
22
- #: custom-field-template/custom-field-template.php:632
23
- #: custom-field-template/custom-field-template.php:1515
24
- #: custom-field-template/custom-field-template.php:1635
25
  msgid "Custom Field Template"
26
  msgstr "カスタムフィールドテンプレート"
27
 
28
  #: custom-field-template/custom-field-template.php:159
29
- #: custom-field-template/custom-field-template.php:1727
30
  msgid "Load"
31
  msgstr "読込"
32
 
@@ -59,333 +59,356 @@ msgstr "オプションは更新されました。"
59
  msgid "Value Counts rebuilt."
60
  msgstr "バリューカウントは再構築されました。"
61
 
62
- #: custom-field-template/custom-field-template.php:613
 
 
 
 
63
  msgid "Options imported."
64
  msgstr "オプションはインポートされました。"
65
 
66
- #: custom-field-template/custom-field-template.php:620
67
  msgid "Options resetted."
68
  msgstr "オプションはリセットされました。"
69
 
70
- #: custom-field-template/custom-field-template.php:624
71
  msgid "Options deleted."
72
  msgstr "オプションは削除されました。"
73
 
74
- #: custom-field-template/custom-field-template.php:638
75
- #: custom-field-template/custom-field-template.php:715
76
- #: custom-field-template/custom-field-template.php:734
77
- #: custom-field-template/custom-field-template.php:763
78
- #: custom-field-template/custom-field-template.php:794
79
- #: custom-field-template/custom-field-template.php:833
80
- #: custom-field-template/custom-field-template.php:853
81
- #: custom-field-template/custom-field-template.php:961
82
- #: custom-field-template/custom-field-template.php:977
83
- #: custom-field-template/custom-field-template.php:993
84
- #: custom-field-template/custom-field-template.php:1009
85
- #: custom-field-template/custom-field-template.php:1025
 
86
  msgid "Click to toggle"
87
  msgstr "クリックで切替"
88
 
89
- #: custom-field-template/custom-field-template.php:639
90
  msgid "Custom Field Template Options"
91
  msgstr "カスタムフィールドテンプレートオプション"
92
 
93
- #: custom-field-template/custom-field-template.php:649
94
  msgid "Template Title"
95
  msgstr "テンプレートタイトル"
96
 
97
- #: custom-field-template/custom-field-template.php:651
98
  msgid "Template Instruction"
99
  msgstr "テンプレートインストラクション"
100
 
101
- #: custom-field-template/custom-field-template.php:653
102
- #: custom-field-template/custom-field-template.php:810
103
  msgid "Post Type"
104
  msgstr "投稿タイプ"
105
 
106
- #: custom-field-template/custom-field-template.php:655
107
- #: custom-field-template/custom-field-template.php:811
108
  msgid "Both"
109
  msgstr "両方"
110
 
111
- #: custom-field-template/custom-field-template.php:656
112
- #: custom-field-template/custom-field-template.php:812
113
  msgid "Post"
114
  msgstr "投稿"
115
 
116
- #: custom-field-template/custom-field-template.php:657
117
- #: custom-field-template/custom-field-template.php:813
118
  msgid "Page"
119
  msgstr "ページ"
120
 
121
- #: custom-field-template/custom-field-template.php:658
122
- #: custom-field-template/custom-field-template.php:814
123
  msgid "Category ID (comma-deliminated)"
124
  msgstr "カテゴリーID(カンマ区切り)"
125
 
126
- #: custom-field-template/custom-field-template.php:660
127
  msgid "Template Content"
128
  msgstr "テンプレートコンテンツ"
129
 
130
- #: custom-field-template/custom-field-template.php:667
131
  msgid "In case that you would like to insert multiple images at once in use of the custom field media buttons"
132
  msgstr "カスタムフィールへの画像挿入を一度に複数枚実行する場合"
133
 
134
- #: custom-field-template/custom-field-template.php:668
135
  msgid "Use multiple image inset"
136
  msgstr "複数画像挿入を利用する"
137
 
138
- #: custom-field-template/custom-field-template.php:668
139
  msgid "Caution:"
140
  msgstr "ご注意:"
141
 
142
- #: custom-field-template/custom-field-template.php:668
143
  msgid "You need to edit `wp-admin/includes/media.php`. Delete or comment out the code in the function media_send_to_editor."
144
  msgstr "`wp-admin/includes/media.php`を編集する必要があります。media_send_to_editor関数の中身を削除するかコメントアウトしてください。"
145
 
146
- #: custom-field-template/custom-field-template.php:672
147
  msgid "In case that you would like to replace custom keys by labels if `label` is set"
148
  msgstr "`label`がセットされていて、カスタムフィールドのキーの代わりにラベルを表示したい場合"
149
 
150
- #: custom-field-template/custom-field-template.php:673
151
  msgid "Use labels in place of custom keys"
152
  msgstr "カスタムフィールドのキーの代わりにラベルを使用する"
153
 
154
- #: custom-field-template/custom-field-template.php:676
155
  msgid "In case that you would like to add p and br tags in textareas automatically"
156
  msgstr "テキストエリアでpタグ、brタグを自動的に追加したい場合"
157
 
158
- #: custom-field-template/custom-field-template.php:677
159
  msgid "Use wpautop function"
160
  msgstr "wpautop関数を使用する"
161
 
162
- #: custom-field-template/custom-field-template.php:681
163
  msgid "In case that you would like to save values automatically in switching templates"
164
  msgstr "テンプレート切替時自動で保存したい場合"
165
 
166
- #: custom-field-template/custom-field-template.php:682
167
  msgid "Use the auto save in switching templates"
168
  msgstr "テンプレート切替時の自動保存を使用する"
169
 
170
- #: custom-field-template/custom-field-template.php:686
171
  msgid "In case that you would like to forbid to use the default custom fields."
172
  msgstr "デフォルトのカスタムフィールドの使用を禁止する場合"
173
 
174
- #: custom-field-template/custom-field-template.php:687
175
  msgid "Disable the default custom fields"
176
  msgstr "デフォルトのカスタムフィールドを無効にする"
177
 
178
- #: custom-field-template/custom-field-template.php:691
179
  msgid "In case that you would like to forbid to use the quick edit."
180
  msgstr "クイック編集の使用を禁止する場合"
181
 
182
- #: custom-field-template/custom-field-template.php:692
183
  msgid "Disable the quick edit"
184
  msgstr "クイック編集を無効にする"
185
 
186
- #: custom-field-template/custom-field-template.php:696
187
  msgid "In case that you would like to replace the box title with the template title."
188
  msgstr "ボックスタイトルをテンプレートタイトルで置き換える場合"
189
 
190
- #: custom-field-template/custom-field-template.php:697
191
  msgid "Replace the box title"
192
  msgstr "ボックスタイトルを置き換える"
193
 
194
- #: custom-field-template/custom-field-template.php:701
195
  msgid "In case that you would like to use the shortcode in the widget."
196
  msgstr "ショートコードをウィジェットで使用したい場合"
197
 
198
- #: custom-field-template/custom-field-template.php:702
199
  msgid "Use the shortcode in the widget"
200
  msgstr "ショートコードをウィジェットで使用する"
201
 
202
- #: custom-field-template/custom-field-template.php:706
203
- #: custom-field-template/custom-field-template.php:725
204
- #: custom-field-template/custom-field-template.php:754
205
- #: custom-field-template/custom-field-template.php:785
206
- #: custom-field-template/custom-field-template.php:824
207
  msgid "Update Options »"
208
  msgstr "オプションを更新する »"
209
 
210
- #: custom-field-template/custom-field-template.php:716
211
  msgid "ADMIN CSS"
212
  msgstr "ADMIN CSS"
213
 
214
- #: custom-field-template/custom-field-template.php:735
215
  msgid "[cft] and [cftsearch] Shortcode Format"
216
  msgstr "[cft] and [cftsearch] Shortcode Format"
217
 
218
- #: custom-field-template/custom-field-template.php:738
219
  msgid "For [cft], [key] will be converted into the value of [key]."
220
  msgstr "[cft]では、[key]は、[key]の値に置換されます。"
221
 
222
- #: custom-field-template/custom-field-template.php:739
223
  msgid "For [cftsearch], [key] will be converted into the input field."
224
  msgstr "[cftsearch]では、[key]は、インプットフィールドに置換されます。"
225
 
226
- #: custom-field-template/custom-field-template.php:748
227
- #: custom-field-template/custom-field-template.php:817
228
  msgid "Use PHP"
229
  msgstr "PHPを使用する"
230
 
231
- #: custom-field-template/custom-field-template.php:764
232
  msgid "PHP CODE (Experimental Option)"
233
  msgstr "PHP CODE (Experimental Option)"
234
 
235
- #: custom-field-template/custom-field-template.php:766
236
  msgid "Are you sure to save PHP codes? Please do it at your own risk."
237
  msgstr "PHPコードを保存してよろしいですか?自己責任で実行してください。"
238
 
239
- #: custom-field-template/custom-field-template.php:767
240
  msgid "For `text` and `textarea`, you must set $value as an string."
241
  msgstr "`text`と`textarea`は$valueを文字列としてセットしてください。"
242
 
243
- #: custom-field-template/custom-field-template.php:769
244
  msgid "For `checkbox`, `radio`, and `select`, you must set $values as an array."
245
  msgstr "`checkbox`、`radio`、`select`では、配列として$valuesをセットしてください。"
246
 
247
- #: custom-field-template/custom-field-template.php:795
248
  msgid "Auto Hook of `the_content()` (Experimental Option)"
249
  msgstr "Auto Hook of `the_content()` (Experimental Option)"
250
 
251
- #: custom-field-template/custom-field-template.php:805
252
  msgid "Position"
253
  msgstr "位置"
254
 
255
- #: custom-field-template/custom-field-template.php:806
256
  msgid "Before the conetnt"
257
  msgstr "コンテンツの前"
258
 
259
- #: custom-field-template/custom-field-template.php:807
260
  msgid "After the conetnt"
261
  msgstr "コンテンツの後"
262
 
263
- #: custom-field-template/custom-field-template.php:808
264
  #, php-format
265
  msgid "Inside the conetnt ([cfthook hook=%d])"
266
  msgstr "コンテンツの中 ([cfthook hook=%d])"
267
 
268
- #: custom-field-template/custom-field-template.php:816
269
  msgid "Content"
270
  msgstr "コンテンツ"
271
 
272
- #: custom-field-template/custom-field-template.php:818
273
  msgid "Apply to feeds"
274
  msgstr "フィードに適用する"
275
 
276
- #: custom-field-template/custom-field-template.php:834
277
  msgid "Rebuild Value Counts"
278
  msgstr "バリューカウントの再構築"
279
 
280
- #: custom-field-template/custom-field-template.php:836
281
  msgid "Are you sure to rebuild all value counts?"
282
  msgstr "本当に全てのバリューカウントを再構築しますか?"
283
 
284
- #: custom-field-template/custom-field-template.php:840
285
  msgid "Value Counts are used for temporarily saving how many values in each key. Set `valueCount = true` into fields."
286
  msgstr "バリューカウントはキーごとに値がどのくらいあるか一時的に保存するのに使用されます。`valueCount = true`をフィールドにセットしてください。"
287
 
288
- #: custom-field-template/custom-field-template.php:844
289
  msgid "Rebuild Value Counts »"
290
  msgstr "バリューカウントを再構築する »"
291
 
292
- #: custom-field-template/custom-field-template.php:854
 
 
 
 
 
 
 
 
 
 
 
 
293
  msgid "Option List"
294
  msgstr "オプションリスト"
295
 
296
- #: custom-field-template/custom-field-template.php:962
297
  msgid "Export Options"
298
  msgstr "オプションをエクスポートする"
299
 
300
- #: custom-field-template/custom-field-template.php:968
301
  msgid "Export Options »"
302
  msgstr "オプションをエクスポートする »"
303
 
304
- #: custom-field-template/custom-field-template.php:978
305
  msgid "Import Options"
306
  msgstr "オプションをインポートする"
307
 
308
- #: custom-field-template/custom-field-template.php:980
309
  msgid "Are you sure to import options? Options you set will be overwritten."
310
  msgstr "本当にオプションをインポートしてもよろしいですか?設定したオプションは上書きされます。"
311
 
312
- #: custom-field-template/custom-field-template.php:984
313
  msgid "Import Options »"
314
  msgstr "オプションをインポートする »"
315
 
316
- #: custom-field-template/custom-field-template.php:994
317
  msgid "Reset Options"
318
  msgstr "オプションをリセットする"
319
 
320
- #: custom-field-template/custom-field-template.php:996
321
  msgid "Are you sure to reset options? Options you set will be reset to the default settings."
322
  msgstr "本当にオプションをリセットしてもよろしいですか?設定したオプションはデフォルトの状態に戻ります。"
323
 
324
- #: custom-field-template/custom-field-template.php:1000
325
  msgid "Unset Options »"
326
  msgstr "オプションをリセットする »"
327
 
328
- #: custom-field-template/custom-field-template.php:1010
329
  msgid "Delete Options"
330
  msgstr "オプションを削除する"
331
 
332
- #: custom-field-template/custom-field-template.php:1012
333
  msgid "Are you sure to delete options? Options you set will be deleted."
334
  msgstr "本当にオプションを削除してもよろしいですか?設定したオプションは削除されます。"
335
 
336
- #: custom-field-template/custom-field-template.php:1016
337
  msgid "Delete Options »"
338
  msgstr "オプションを削除する »"
339
 
340
- #: custom-field-template/custom-field-template.php:1026
341
  msgid "Donation"
342
  msgstr "寄付"
343
 
344
- #: custom-field-template/custom-field-template.php:1028
345
  msgid "If you liked this plugin, please make a donation via paypal! Any amount is welcome. Your support is much appreciated."
346
  msgstr "このプラグインをお気に召しましたら、Paypalよりご寄付をよろしくお願いいたします。"
347
 
348
- #: custom-field-template/custom-field-template.php:1220
 
 
 
 
 
 
349
  msgid "Clear"
350
  msgstr "解除"
351
 
352
- #: custom-field-template/custom-field-template.php:1296
353
  msgid "Select"
354
  msgstr "選択してください"
355
 
356
- #: custom-field-template/custom-field-template.php:1355
357
  msgid "Add Media"
358
  msgstr ""
359
 
360
- #: custom-field-template/custom-field-template.php:1357
361
  msgid "Add an Image"
362
  msgstr ""
363
 
364
- #: custom-field-template/custom-field-template.php:1359
365
  msgid "Add Video"
366
  msgstr ""
367
 
368
- #: custom-field-template/custom-field-template.php:1361
369
  msgid "Add Audio"
370
  msgstr ""
371
 
372
- #: custom-field-template/custom-field-template.php:1372
373
  msgid "Toggle"
374
  msgstr "切り替え"
375
 
376
- #: custom-field-template/custom-field-template.php:1676
377
  msgid "Initialize"
378
  msgstr "初期化"
379
 
380
- #: custom-field-template/custom-field-template.php:1677
381
  msgid "Are you sure to reset current values? Default values will be loaded."
382
  msgstr "現在値をリセットしてもよろしいですか?初期値が読み込まれます。"
383
 
384
- #: custom-field-template/custom-field-template.php:1680
385
  msgid "Save"
386
  msgstr "保存"
387
 
388
- #: custom-field-template/custom-field-template.php:2078
389
  msgid "Search »"
390
  msgstr "検索 »"
391
 
2
  msgstr ""
3
  "Project-Id-Version: Custom Field Template\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2009-04-23 02:17+0900\n"
6
+ "PO-Revision-Date: 2009-04-23 02:18+0900\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
9
  "MIME-Version: 1.0\n"
19
  #: custom-field-template/custom-field-template.php:119
20
  #: custom-field-template/custom-field-template.php:120
21
  #: custom-field-template/custom-field-template.php:450
22
+ #: custom-field-template/custom-field-template.php:635
23
+ #: custom-field-template/custom-field-template.php:1567
24
+ #: custom-field-template/custom-field-template.php:1687
25
  msgid "Custom Field Template"
26
  msgstr "カスタムフィールドテンプレート"
27
 
28
  #: custom-field-template/custom-field-template.php:159
29
+ #: custom-field-template/custom-field-template.php:1779
30
  msgid "Load"
31
  msgstr "読込"
32
 
59
  msgid "Value Counts rebuilt."
60
  msgstr "バリューカウントは再構築されました。"
61
 
62
+ #: custom-field-template/custom-field-template.php:607
63
+ msgid "Tags rebuilt."
64
+ msgstr "タグは再構築されました。"
65
+
66
+ #: custom-field-template/custom-field-template.php:616
67
  msgid "Options imported."
68
  msgstr "オプションはインポートされました。"
69
 
70
+ #: custom-field-template/custom-field-template.php:623
71
  msgid "Options resetted."
72
  msgstr "オプションはリセットされました。"
73
 
74
+ #: custom-field-template/custom-field-template.php:627
75
  msgid "Options deleted."
76
  msgstr "オプションは削除されました。"
77
 
78
+ #: custom-field-template/custom-field-template.php:641
79
+ #: custom-field-template/custom-field-template.php:718
80
+ #: custom-field-template/custom-field-template.php:737
81
+ #: custom-field-template/custom-field-template.php:766
82
+ #: custom-field-template/custom-field-template.php:797
83
+ #: custom-field-template/custom-field-template.php:836
84
+ #: custom-field-template/custom-field-template.php:857
85
+ #: custom-field-template/custom-field-template.php:874
86
+ #: custom-field-template/custom-field-template.php:994
87
+ #: custom-field-template/custom-field-template.php:1010
88
+ #: custom-field-template/custom-field-template.php:1026
89
+ #: custom-field-template/custom-field-template.php:1042
90
+ #: custom-field-template/custom-field-template.php:1058
91
  msgid "Click to toggle"
92
  msgstr "クリックで切替"
93
 
94
+ #: custom-field-template/custom-field-template.php:642
95
  msgid "Custom Field Template Options"
96
  msgstr "カスタムフィールドテンプレートオプション"
97
 
98
+ #: custom-field-template/custom-field-template.php:652
99
  msgid "Template Title"
100
  msgstr "テンプレートタイトル"
101
 
102
+ #: custom-field-template/custom-field-template.php:654
103
  msgid "Template Instruction"
104
  msgstr "テンプレートインストラクション"
105
 
106
+ #: custom-field-template/custom-field-template.php:656
107
+ #: custom-field-template/custom-field-template.php:813
108
  msgid "Post Type"
109
  msgstr "投稿タイプ"
110
 
111
+ #: custom-field-template/custom-field-template.php:658
112
+ #: custom-field-template/custom-field-template.php:814
113
  msgid "Both"
114
  msgstr "両方"
115
 
116
+ #: custom-field-template/custom-field-template.php:659
117
+ #: custom-field-template/custom-field-template.php:815
118
  msgid "Post"
119
  msgstr "投稿"
120
 
121
+ #: custom-field-template/custom-field-template.php:660
122
+ #: custom-field-template/custom-field-template.php:816
123
  msgid "Page"
124
  msgstr "ページ"
125
 
126
+ #: custom-field-template/custom-field-template.php:661
127
+ #: custom-field-template/custom-field-template.php:817
128
  msgid "Category ID (comma-deliminated)"
129
  msgstr "カテゴリーID(カンマ区切り)"
130
 
131
+ #: custom-field-template/custom-field-template.php:663
132
  msgid "Template Content"
133
  msgstr "テンプレートコンテンツ"
134
 
135
+ #: custom-field-template/custom-field-template.php:670
136
  msgid "In case that you would like to insert multiple images at once in use of the custom field media buttons"
137
  msgstr "カスタムフィールへの画像挿入を一度に複数枚実行する場合"
138
 
139
+ #: custom-field-template/custom-field-template.php:671
140
  msgid "Use multiple image inset"
141
  msgstr "複数画像挿入を利用する"
142
 
143
+ #: custom-field-template/custom-field-template.php:671
144
  msgid "Caution:"
145
  msgstr "ご注意:"
146
 
147
+ #: custom-field-template/custom-field-template.php:671
148
  msgid "You need to edit `wp-admin/includes/media.php`. Delete or comment out the code in the function media_send_to_editor."
149
  msgstr "`wp-admin/includes/media.php`を編集する必要があります。media_send_to_editor関数の中身を削除するかコメントアウトしてください。"
150
 
151
+ #: custom-field-template/custom-field-template.php:675
152
  msgid "In case that you would like to replace custom keys by labels if `label` is set"
153
  msgstr "`label`がセットされていて、カスタムフィールドのキーの代わりにラベルを表示したい場合"
154
 
155
+ #: custom-field-template/custom-field-template.php:676
156
  msgid "Use labels in place of custom keys"
157
  msgstr "カスタムフィールドのキーの代わりにラベルを使用する"
158
 
159
+ #: custom-field-template/custom-field-template.php:679
160
  msgid "In case that you would like to add p and br tags in textareas automatically"
161
  msgstr "テキストエリアでpタグ、brタグを自動的に追加したい場合"
162
 
163
+ #: custom-field-template/custom-field-template.php:680
164
  msgid "Use wpautop function"
165
  msgstr "wpautop関数を使用する"
166
 
167
+ #: custom-field-template/custom-field-template.php:684
168
  msgid "In case that you would like to save values automatically in switching templates"
169
  msgstr "テンプレート切替時自動で保存したい場合"
170
 
171
+ #: custom-field-template/custom-field-template.php:685
172
  msgid "Use the auto save in switching templates"
173
  msgstr "テンプレート切替時の自動保存を使用する"
174
 
175
+ #: custom-field-template/custom-field-template.php:689
176
  msgid "In case that you would like to forbid to use the default custom fields."
177
  msgstr "デフォルトのカスタムフィールドの使用を禁止する場合"
178
 
179
+ #: custom-field-template/custom-field-template.php:690
180
  msgid "Disable the default custom fields"
181
  msgstr "デフォルトのカスタムフィールドを無効にする"
182
 
183
+ #: custom-field-template/custom-field-template.php:694
184
  msgid "In case that you would like to forbid to use the quick edit."
185
  msgstr "クイック編集の使用を禁止する場合"
186
 
187
+ #: custom-field-template/custom-field-template.php:695
188
  msgid "Disable the quick edit"
189
  msgstr "クイック編集を無効にする"
190
 
191
+ #: custom-field-template/custom-field-template.php:699
192
  msgid "In case that you would like to replace the box title with the template title."
193
  msgstr "ボックスタイトルをテンプレートタイトルで置き換える場合"
194
 
195
+ #: custom-field-template/custom-field-template.php:700
196
  msgid "Replace the box title"
197
  msgstr "ボックスタイトルを置き換える"
198
 
199
+ #: custom-field-template/custom-field-template.php:704
200
  msgid "In case that you would like to use the shortcode in the widget."
201
  msgstr "ショートコードをウィジェットで使用したい場合"
202
 
203
+ #: custom-field-template/custom-field-template.php:705
204
  msgid "Use the shortcode in the widget"
205
  msgstr "ショートコードをウィジェットで使用する"
206
 
207
+ #: custom-field-template/custom-field-template.php:709
208
+ #: custom-field-template/custom-field-template.php:728
209
+ #: custom-field-template/custom-field-template.php:757
210
+ #: custom-field-template/custom-field-template.php:788
211
+ #: custom-field-template/custom-field-template.php:827
212
  msgid "Update Options »"
213
  msgstr "オプションを更新する »"
214
 
215
+ #: custom-field-template/custom-field-template.php:719
216
  msgid "ADMIN CSS"
217
  msgstr "ADMIN CSS"
218
 
219
+ #: custom-field-template/custom-field-template.php:738
220
  msgid "[cft] and [cftsearch] Shortcode Format"
221
  msgstr "[cft] and [cftsearch] Shortcode Format"
222
 
223
+ #: custom-field-template/custom-field-template.php:741
224
  msgid "For [cft], [key] will be converted into the value of [key]."
225
  msgstr "[cft]では、[key]は、[key]の値に置換されます。"
226
 
227
+ #: custom-field-template/custom-field-template.php:742
228
  msgid "For [cftsearch], [key] will be converted into the input field."
229
  msgstr "[cftsearch]では、[key]は、インプットフィールドに置換されます。"
230
 
231
+ #: custom-field-template/custom-field-template.php:751
232
+ #: custom-field-template/custom-field-template.php:820
233
  msgid "Use PHP"
234
  msgstr "PHPを使用する"
235
 
236
+ #: custom-field-template/custom-field-template.php:767
237
  msgid "PHP CODE (Experimental Option)"
238
  msgstr "PHP CODE (Experimental Option)"
239
 
240
+ #: custom-field-template/custom-field-template.php:769
241
  msgid "Are you sure to save PHP codes? Please do it at your own risk."
242
  msgstr "PHPコードを保存してよろしいですか?自己責任で実行してください。"
243
 
244
+ #: custom-field-template/custom-field-template.php:770
245
  msgid "For `text` and `textarea`, you must set $value as an string."
246
  msgstr "`text`と`textarea`は$valueを文字列としてセットしてください。"
247
 
248
+ #: custom-field-template/custom-field-template.php:772
249
  msgid "For `checkbox`, `radio`, and `select`, you must set $values as an array."
250
  msgstr "`checkbox`、`radio`、`select`では、配列として$valuesをセットしてください。"
251
 
252
+ #: custom-field-template/custom-field-template.php:798
253
  msgid "Auto Hook of `the_content()` (Experimental Option)"
254
  msgstr "Auto Hook of `the_content()` (Experimental Option)"
255
 
256
+ #: custom-field-template/custom-field-template.php:808
257
  msgid "Position"
258
  msgstr "位置"
259
 
260
+ #: custom-field-template/custom-field-template.php:809
261
  msgid "Before the conetnt"
262
  msgstr "コンテンツの前"
263
 
264
+ #: custom-field-template/custom-field-template.php:810
265
  msgid "After the conetnt"
266
  msgstr "コンテンツの後"
267
 
268
+ #: custom-field-template/custom-field-template.php:811
269
  #, php-format
270
  msgid "Inside the conetnt ([cfthook hook=%d])"
271
  msgstr "コンテンツの中 ([cfthook hook=%d])"
272
 
273
+ #: custom-field-template/custom-field-template.php:819
274
  msgid "Content"
275
  msgstr "コンテンツ"
276
 
277
+ #: custom-field-template/custom-field-template.php:821
278
  msgid "Apply to feeds"
279
  msgstr "フィードに適用する"
280
 
281
+ #: custom-field-template/custom-field-template.php:837
282
  msgid "Rebuild Value Counts"
283
  msgstr "バリューカウントの再構築"
284
 
285
+ #: custom-field-template/custom-field-template.php:839
286
  msgid "Are you sure to rebuild all value counts?"
287
  msgstr "本当に全てのバリューカウントを再構築しますか?"
288
 
289
+ #: custom-field-template/custom-field-template.php:843
290
  msgid "Value Counts are used for temporarily saving how many values in each key. Set `valueCount = true` into fields."
291
  msgstr "バリューカウントはキーごとに値がどのくらいあるか一時的に保存するのに使用されます。`valueCount = true`をフィールドにセットしてください。"
292
 
293
+ #: custom-field-template/custom-field-template.php:847
294
  msgid "Rebuild Value Counts »"
295
  msgstr "バリューカウントを再構築する »"
296
 
297
+ #: custom-field-template/custom-field-template.php:858
298
+ msgid "Rebuild Tags"
299
+ msgstr "タグの再構築"
300
+
301
+ #: custom-field-template/custom-field-template.php:860
302
+ msgid "Are you sure to rebuild tags?"
303
+ msgstr "本当に全てのタグを再構築しますか?"
304
+
305
+ #: custom-field-template/custom-field-template.php:864
306
+ msgid "Rebuild Tags »"
307
+ msgstr "タグを再構築する »"
308
+
309
+ #: custom-field-template/custom-field-template.php:875
310
  msgid "Option List"
311
  msgstr "オプションリスト"
312
 
313
+ #: custom-field-template/custom-field-template.php:995
314
  msgid "Export Options"
315
  msgstr "オプションをエクスポートする"
316
 
317
+ #: custom-field-template/custom-field-template.php:1001
318
  msgid "Export Options »"
319
  msgstr "オプションをエクスポートする »"
320
 
321
+ #: custom-field-template/custom-field-template.php:1011
322
  msgid "Import Options"
323
  msgstr "オプションをインポートする"
324
 
325
+ #: custom-field-template/custom-field-template.php:1013
326
  msgid "Are you sure to import options? Options you set will be overwritten."
327
  msgstr "本当にオプションをインポートしてもよろしいですか?設定したオプションは上書きされます。"
328
 
329
+ #: custom-field-template/custom-field-template.php:1017
330
  msgid "Import Options »"
331
  msgstr "オプションをインポートする »"
332
 
333
+ #: custom-field-template/custom-field-template.php:1027
334
  msgid "Reset Options"
335
  msgstr "オプションをリセットする"
336
 
337
+ #: custom-field-template/custom-field-template.php:1029
338
  msgid "Are you sure to reset options? Options you set will be reset to the default settings."
339
  msgstr "本当にオプションをリセットしてもよろしいですか?設定したオプションはデフォルトの状態に戻ります。"
340
 
341
+ #: custom-field-template/custom-field-template.php:1033
342
  msgid "Unset Options »"
343
  msgstr "オプションをリセットする »"
344
 
345
+ #: custom-field-template/custom-field-template.php:1043
346
  msgid "Delete Options"
347
  msgstr "オプションを削除する"
348
 
349
+ #: custom-field-template/custom-field-template.php:1045
350
  msgid "Are you sure to delete options? Options you set will be deleted."
351
  msgstr "本当にオプションを削除してもよろしいですか?設定したオプションは削除されます。"
352
 
353
+ #: custom-field-template/custom-field-template.php:1049
354
  msgid "Delete Options »"
355
  msgstr "オプションを削除する »"
356
 
357
+ #: custom-field-template/custom-field-template.php:1059
358
  msgid "Donation"
359
  msgstr "寄付"
360
 
361
+ #: custom-field-template/custom-field-template.php:1061
362
  msgid "If you liked this plugin, please make a donation via paypal! Any amount is welcome. Your support is much appreciated."
363
  msgstr "このプラグインをお気に召しましたら、Paypalよりご寄付をよろしくお願いいたします。"
364
 
365
+ #: custom-field-template/custom-field-template.php:1153
366
+ #: custom-field-template/custom-field-template.php:1256
367
+ #: custom-field-template/custom-field-template.php:1332
368
+ msgid "Add New"
369
+ msgstr "追加"
370
+
371
+ #: custom-field-template/custom-field-template.php:1266
372
  msgid "Clear"
373
  msgstr "解除"
374
 
375
+ #: custom-field-template/custom-field-template.php:1348
376
  msgid "Select"
377
  msgstr "選択してください"
378
 
379
+ #: custom-field-template/custom-field-template.php:1407
380
  msgid "Add Media"
381
  msgstr ""
382
 
383
+ #: custom-field-template/custom-field-template.php:1409
384
  msgid "Add an Image"
385
  msgstr ""
386
 
387
+ #: custom-field-template/custom-field-template.php:1411
388
  msgid "Add Video"
389
  msgstr ""
390
 
391
+ #: custom-field-template/custom-field-template.php:1413
392
  msgid "Add Audio"
393
  msgstr ""
394
 
395
+ #: custom-field-template/custom-field-template.php:1424
396
  msgid "Toggle"
397
  msgstr "切り替え"
398
 
399
+ #: custom-field-template/custom-field-template.php:1728
400
  msgid "Initialize"
401
  msgstr "初期化"
402
 
403
+ #: custom-field-template/custom-field-template.php:1729
404
  msgid "Are you sure to reset current values? Default values will be loaded."
405
  msgstr "現在値をリセットしてもよろしいですか?初期値が読み込まれます。"
406
 
407
+ #: custom-field-template/custom-field-template.php:1732
408
  msgid "Save"
409
  msgstr "保存"
410
 
411
+ #: custom-field-template/custom-field-template.php:2151
412
  msgid "Search »"
413
  msgstr "検索 »"
414
 
custom-field-template.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Custom Field Template
4
  Plugin URI: http://wordpressgogo.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: 1.1.7
8
  Author URI: http://wordpressgogo.com/
9
  */
10
 
@@ -602,6 +602,9 @@ mediaButton = true';
602
  $this->custom_field_template_rebuild_value_counts();
603
  $options = $this->get_custom_field_template_data();
604
  $message = __('Value Counts rebuilt.', 'custom-field-template');
 
 
 
605
  elseif ($_POST['custom_field_template_import_options_submit']) :
606
  if ( is_uploaded_file($_FILES['cftfile']['tmp_name']) ) :
607
  ob_start();
@@ -849,6 +852,24 @@ echo $value_count[$meta_key][$meta_value];</p>
849
  </div>
850
  </div>
851
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
852
  <div class="postbox closed">
853
  <div class="handlediv" title="<?php _e('Click to toggle', 'custom-field-template'); ?>"><br /></div>
854
  <h3><?php _e('Option List', 'custom-field-template'); ?></h3>
@@ -926,6 +947,18 @@ hideKey = true<br />
926
  <th>outputCode</th><td>outputCode = 0</td><td>outputCode = 0</td><td>outputCode = 0</td><td>outputCode = 0</td><td>outputCode = 0</td>
927
  </tr>
928
  <tr>
 
 
 
 
 
 
 
 
 
 
 
 
929
  <th>blank</th><td>blank = true</td><td>blank = true</td><td>blank = true</td><td>blank = true</td><td>blank = true</td>
930
  </tr>
931
  <tr>
@@ -1076,7 +1109,7 @@ jQuery(this).addClass("closed");
1076
  return $custom_fields;
1077
  }
1078
 
1079
- function make_textfield( $name, $sid, $size = 25, $default, $hideKey, $label, $code, $class, $style, $before, $after, $maxlength,
1080
  $onclick, $ondblclick, $onkeydown, $onkeypress, $onkeyup, $onmousedown, $onmouseup, $onmouseover, $onmouseout, $onmousemove, $onfocus, $onblur, $onchange, $onselect ) {
1081
  $options = $this->get_custom_field_template_data();
1082
 
@@ -1115,9 +1148,15 @@ jQuery(this).addClass("closed");
1115
  $event_output .= " " . $key . '="' . stripcslashes(trim($val)) . '"';
1116
  endforeach;
1117
 
 
 
 
 
 
 
1118
  $out .=
1119
  '<dl id="dl_' . $name . $sid . '">' .
1120
- '<dt><span' . $hide . '><label for="' . $name . $sid . '">' . $title . '</label></span></dt>' .
1121
  '<dd>';
1122
 
1123
  if ( !empty($label) && !$options['custom_field_template_replace_keys_by_labels'] )
@@ -1180,7 +1219,7 @@ jQuery(this).addClass("closed");
1180
  return $out;
1181
  }
1182
 
1183
- function make_radio( $name, $sid, $values, $valueLabel, $clearButton, $default, $hideKey, $label, $code, $class, $style,
1184
  $onclick, $ondblclick, $onkeydown, $onkeypress, $onkeyup, $onmousedown, $onmouseup, $onmouseover, $onmouseout, $onmousemove, $onfocus, $onblur, $onchange, $onselect ) {
1185
  $options = $this->get_custom_field_template_data();
1186
 
@@ -1212,9 +1251,15 @@ jQuery(this).addClass("closed");
1212
  $event_output .= " " . $key . '="' . stripcslashes(trim($val)) . '"';
1213
  endforeach;
1214
 
 
 
 
 
 
 
1215
  $out .=
1216
  '<dl id="dl_' . $name . $sid . '">' .
1217
- '<dt><span' . $hide . '>' . $title . '</span>';
1218
 
1219
  if( $clearButton == true ) {
1220
  $out .= '<div>';
@@ -1248,7 +1293,7 @@ jQuery(this).addClass("closed");
1248
  return $out;
1249
  }
1250
 
1251
- function make_select( $name, $sid, $values, $valueLabel, $default, $hideKey, $label, $code, $class, $style, $before, $after, $selectLabel,
1252
  $onclick, $ondblclick, $onkeydown, $onkeypress, $onkeyup, $onmousedown, $onmouseup, $onmouseover, $onmouseout, $onmousemove, $onfocus, $onblur, $onchange, $onselect ) {
1253
  $options = $this->get_custom_field_template_data();
1254
 
@@ -1281,10 +1326,16 @@ jQuery(this).addClass("closed");
1281
  if ( $val )
1282
  $event_output .= " " . $key . '="' . stripcslashes(trim($val)) . '"';
1283
  endforeach;
 
 
 
 
 
 
1284
 
1285
  $out .=
1286
  '<dl id="dl_' . $name . $sid . '">' .
1287
- '<dt><span' . $hide . '><label for="' . $name . $sid . '">' . $title . '</label></span></dt>' .
1288
  '<dd>';
1289
 
1290
  if ( !empty($label) && !$options['custom_field_template_replace_keys_by_labels'] )
@@ -1462,7 +1513,7 @@ EOF;
1462
  $out .= '</div><div' . $class . '>';
1463
  }
1464
  else if( $data[$i]['type'] == 'textfield' || $data[$i]['type'] == 'text' ) {
1465
- $out .= $this->make_textfield( $title, $i, $data[$i]['size'], $data[$i]['default'], $data[$i]['hideKey'], $data[$i]['label'], $data[$i]['code'], $data[$i]['class'], $data[$i]['style'], $data[$i]['before'], $data[$i]['after'], $data[$i]['maxlength'],
1466
  $data[$i]['onclick'], $data[$i]['ondblclick'], $data[$i]['onkeydown'], $data[$i]['onkeypress'], $data[$i]['onkeyup'], $data[$i]['onmousedown'], $data[$i]['onmouseup'], $data[$i]['onmouseover'], $data[$i]['onmouseout'], $data[$i]['onmousemove'], $data[$i]['onfocus'], $data[$i]['onblur'], $data[$i]['onchange'], $data[$i]['onselect'] );
1467
  }
1468
  else if( $data[$i]['type'] == 'checkbox' ) {
@@ -1473,13 +1524,13 @@ EOF;
1473
  else if( $data[$i]['type'] == 'radio' ) {
1474
  $out .=
1475
  $this->make_radio(
1476
- $title, $i, explode( '#', $data[$i]['value'] ), explode( '#', $data[$i]['valueLabel'] ), $data[$i]['clearButton'], $data[$i]['default'], $data[$i]['hideKey'], $data[$i]['label'], $data[$i]['code'], $data[$i]['class'], $data[$i]['style'],
1477
  $data[$i]['onclick'], $data[$i]['ondblclick'], $data[$i]['onkeydown'], $data[$i]['onkeypress'], $data[$i]['onkeyup'], $data[$i]['onmousedown'], $data[$i]['onmouseup'], $data[$i]['onmouseover'], $data[$i]['onmouseout'], $data[$i]['onmousemove'], $data[$i]['onfocus'], $data[$i]['onblur'], $data[$i]['onchange'], $data[$i]['onselect'] );
1478
  }
1479
  else if( $data[$i]['type'] == 'select' ) {
1480
  $out .=
1481
  $this->make_select(
1482
- $title, $i, explode( '#', $data[$i]['value'] ), explode( '#', $data[$i]['valueLabel'] ), $data[$i]['default'], $data[$i]['hideKey'], $data[$i]['label'], $data[$i]['code'], $data[$i]['class'], $data[$i]['style'], $data[$i]['before'], $data[$i]['after'], $data[$i]['selectLabel'],
1483
  $data[$i]['onclick'], $data[$i]['ondblclick'], $data[$i]['onkeydown'], $data[$i]['onkeypress'], $data[$i]['onkeyup'], $data[$i]['onmousedown'], $data[$i]['onmouseup'], $data[$i]['onmouseover'], $data[$i]['onmouseout'], $data[$i]['onmousemove'], $data[$i]['onfocus'], $data[$i]['onblur'], $data[$i]['onchange'], $data[$i]['onselect'] );
1484
  }
1485
  else if( $data[$i]['type'] == 'textarea' ) {
@@ -1890,6 +1941,27 @@ jQuery("#edButtonPreview").trigger("click"); }' . "\n";
1890
  break;
1891
  }
1892
  } while ($Temp = strtok("\r\n"));
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1893
 
1894
  foreach($Data as $title => $data) {
1895
  foreach($data as $key => $val) {
@@ -2365,10 +2437,10 @@ jQuery("#edButtonPreview").trigger("click"); }' . "\n";
2365
  case '=' :
2366
  case '<>' :
2367
  case '<=>':
2368
- $where .= " AND ROW(ID,1) IN (SELECT post_id,count(post_id) FROM wp_postmeta WHERE (" . $wpdb->postmeta . ".meta_key = '" . $key . "' AND " . $wpdb->postmeta . ".meta_value " . $replace[$key][$key2][0]['operator'] . " " . trim($val3) . ") GROUP BY post_id) ";
2369
  break;
2370
  default :
2371
- $where .= " AND ROW(ID,1) IN (SELECT post_id,count(post_id) FROM wp_postmeta WHERE (" . $wpdb->postmeta . ".meta_key = '" . $key . "' AND " . $wpdb->postmeta . ".meta_value LIKE '%" . trim($val3) . "%') GROUP BY post_id) ";
2372
  break;
2373
  endswitch;
2374
  endif;
@@ -2376,6 +2448,19 @@ jQuery("#edButtonPreview").trigger("click"); }' . "\n";
2376
  endforeach;
2377
  endforeach;
2378
  endif;
 
 
 
 
 
 
 
 
 
 
 
 
 
2379
 
2380
  if ( is_array($_REQUEST['cftcategory_in']) ) :
2381
  $ids = get_objects_in_term($_REQUEST['cftcategory_in'], 'category');
@@ -2394,7 +2479,7 @@ jQuery("#edButtonPreview").trigger("click"); }' . "\n";
2394
  endif;
2395
 
2396
  $where .= " AND `".$wpdb->posts."`.post_status = 'publish'";
2397
- if ( $_REQUEST['s'] ) $where .= $original_where;
2398
 
2399
  return $where;
2400
  }
@@ -2429,6 +2514,21 @@ jQuery("#edButtonPreview").trigger("click"); }' . "\n";
2429
  return $sql;
2430
  }
2431
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2432
  function EvalBuffer($string) {
2433
  ob_start();
2434
  eval("$string[2];");
@@ -2529,21 +2629,6 @@ jQuery("#edButtonPreview").trigger("click"); }' . "\n";
2529
  endif;
2530
  update_option('custom_field_template_data', $options);
2531
  }
2532
-
2533
- function custom_field_template_post_limits($sql_limit) {
2534
- global $wp_query;
2535
-
2536
- if ( !$sql_limit ) return;
2537
- list($offset, $old_limit) = explode(',', $sql_limit);
2538
- $limit = (int)$_REQUEST['limit'];
2539
- if ( !$limit )
2540
- $limit = trim($old_limit);
2541
- $wp_query->query_vars['posts_per_page'] = $limit;
2542
- $offset = ($wp_query->query_vars['paged'] - 1) * $limit;
2543
- if ( $offset < 0 ) $offset = 0;
2544
-
2545
- return ( $limit ? "LIMIT $offset, $limit" : '' );
2546
- }
2547
  }
2548
 
2549
  $custom_field_template = new custom_field_template();
4
  Plugin URI: http://wordpressgogo.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: 1.2
8
  Author URI: http://wordpressgogo.com/
9
  */
10
 
602
  $this->custom_field_template_rebuild_value_counts();
603
  $options = $this->get_custom_field_template_data();
604
  $message = __('Value Counts rebuilt.', 'custom-field-template');
605
+ elseif ($_POST['custom_field_template_rebuild_tags_submit']) :
606
+ $options = $this->get_custom_field_template_data();
607
+ $message = __('Tags rebuilt.', 'custom-field-template');
608
  elseif ($_POST['custom_field_template_import_options_submit']) :
609
  if ( is_uploaded_file($_FILES['cftfile']['tmp_name']) ) :
610
  ob_start();
852
  </div>
853
  </div>
854
 
855
+ <!--
856
+ <div class="postbox closed">
857
+ <div class="handlediv" title="<?php _e('Click to toggle', 'custom-field-template'); ?>"><br /></div>
858
+ <h3><?php _e('Rebuild Tags', 'custom-field-template'); ?></h3>
859
+ <div class="inside">
860
+ <form method="post" onsubmit="return confirm('<?php _e('Are you sure to rebuild tags?', 'custom-field-template'); ?>');">
861
+ <table class="form-table" style="margin-bottom:5px;">
862
+ <tbody>
863
+ <tr><td>
864
+ <p><input type="submit" name="custom_field_template_rebuild_tags_submit" value="<?php _e('Rebuild Tags &raquo;', 'custom-field-template'); ?>" class="button-primary" /></p>
865
+ </td></tr>
866
+ </tbody>
867
+ </table>
868
+ </form>
869
+ </div>
870
+ </div>
871
+ //-->
872
+
873
  <div class="postbox closed">
874
  <div class="handlediv" title="<?php _e('Click to toggle', 'custom-field-template'); ?>"><br /></div>
875
  <h3><?php _e('Option List', 'custom-field-template'); ?></h3>
947
  <th>outputCode</th><td>outputCode = 0</td><td>outputCode = 0</td><td>outputCode = 0</td><td>outputCode = 0</td><td>outputCode = 0</td>
948
  </tr>
949
  <tr>
950
+ <th>multiple</th><td>multiple = true</td><td></td><td>multiple = true</td><td>multiple = true</td><td>multiple = true</td>
951
+ </tr>
952
+ <tr>
953
+ <th>startNum</th><td>startNum = 5</td><td></td><td>startNum = 5</td><td>startNum = 5</td><td>startNum = 5</td>
954
+ </tr>
955
+ <tr>
956
+ <th>endNum</th><td>endNum = 10</td><td></td><td>endNum = 10</td><td>endNum = 10</td><td>endNum = 10</td>
957
+ </tr>
958
+ <tr>
959
+ <th>multipleButton</th><td>multipleButton = true</td><td></td><td>multipleButton = true</td><td>multipleButton = true</td><td></td>
960
+ </tr>
961
+ <tr>
962
  <th>blank</th><td>blank = true</td><td>blank = true</td><td>blank = true</td><td>blank = true</td><td>blank = true</td>
963
  </tr>
964
  <tr>
1109
  return $custom_fields;
1110
  }
1111
 
1112
+ function make_textfield( $name, $sid, $size = 25, $default, $hideKey, $label, $code, $class, $style, $before, $after, $maxlength, $multipleButton,
1113
  $onclick, $ondblclick, $onkeydown, $onkeypress, $onkeyup, $onmousedown, $onmouseup, $onmouseover, $onmouseout, $onmousemove, $onfocus, $onblur, $onchange, $onselect ) {
1114
  $options = $this->get_custom_field_template_data();
1115
 
1148
  $event_output .= " " . $key . '="' . stripcslashes(trim($val)) . '"';
1149
  endforeach;
1150
 
1151
+ if ( $multipleButton == true && $sid == 0 ) :
1152
+ $addfield .= '<div>';
1153
+ $addfield .= '<a href="#clear" onclick="jQuery(this).parent().parent().parent().clone().insertBefore(jQuery(this).parent().parent().parent()).find('."'input'".').val('."''".');jQuery(this).parent().css('."'visibility','hidden'".');jQuery(this).parent().prev().css('."'visibility','hidden'".'); return false;">' . __('Add New', 'custom-field-template') . '</a>';
1154
+ $addfield .= '</div>';
1155
+ endif;
1156
+
1157
  $out .=
1158
  '<dl id="dl_' . $name . $sid . '">' .
1159
+ '<dt><span' . $hide . '><label for="' . $name . $sid . '">' . $title . '</label></span>'.$addfield.'</dt>' .
1160
  '<dd>';
1161
 
1162
  if ( !empty($label) && !$options['custom_field_template_replace_keys_by_labels'] )
1219
  return $out;
1220
  }
1221
 
1222
+ function make_radio( $name, $sid, $values, $valueLabel, $clearButton, $default, $hideKey, $label, $code, $class, $style, $multipleButton,
1223
  $onclick, $ondblclick, $onkeydown, $onkeypress, $onkeyup, $onmousedown, $onmouseup, $onmouseover, $onmouseout, $onmousemove, $onfocus, $onblur, $onchange, $onselect ) {
1224
  $options = $this->get_custom_field_template_data();
1225
 
1251
  $event_output .= " " . $key . '="' . stripcslashes(trim($val)) . '"';
1252
  endforeach;
1253
 
1254
+ if ( $multipleButton == true && $sid == 0 ) :
1255
+ $addfield .= '<div>';
1256
+ $addfield .= '<a href="#clear" onclick="jQuery(this).parent().parent().parent().clone().insertBefore(jQuery(this).parent().parent().parent()).find('."'input'".').attr('."'checked',false".');jQuery(this).parent().css('."'visibility','hidden'".');jQuery(this).parent().prev().css('."'visibility','hidden'".'); return false;">' . __('Add New', 'custom-field-template') . '</a>';
1257
+ $addfield .= '</div>';
1258
+ endif;
1259
+
1260
  $out .=
1261
  '<dl id="dl_' . $name . $sid . '">' .
1262
+ '<dt><span' . $hide . '>' . $title . '</span>'.$addfield;
1263
 
1264
  if( $clearButton == true ) {
1265
  $out .= '<div>';
1293
  return $out;
1294
  }
1295
 
1296
+ function make_select( $name, $sid, $values, $valueLabel, $default, $hideKey, $label, $code, $class, $style, $before, $after, $selectLabel, $multipleButton,
1297
  $onclick, $ondblclick, $onkeydown, $onkeypress, $onkeyup, $onmousedown, $onmouseup, $onmouseover, $onmouseout, $onmousemove, $onfocus, $onblur, $onchange, $onselect ) {
1298
  $options = $this->get_custom_field_template_data();
1299
 
1326
  if ( $val )
1327
  $event_output .= " " . $key . '="' . stripcslashes(trim($val)) . '"';
1328
  endforeach;
1329
+
1330
+ if ( $multipleButton == true && $sid == 0 ) :
1331
+ $addfield .= '<div>';
1332
+ $addfield .= '<a href="#clear" onclick="jQuery(this).parent().parent().parent().clone().insertBefore(jQuery(this).parent().parent().parent()).find('."'option'".').attr('."'selected',false".');jQuery(this).parent().css('."'visibility','hidden'".');jQuery(this).parent().prev().css('."'visibility','hidden'".'); return false;">' . __('Add New', 'custom-field-template') . '</a>';
1333
+ $addfield .= '</div>';
1334
+ endif;
1335
 
1336
  $out .=
1337
  '<dl id="dl_' . $name . $sid . '">' .
1338
+ '<dt><span' . $hide . '><label for="' . $name . $sid . '">' . $title . '</label></span>'.$addfield.'</dt>' .
1339
  '<dd>';
1340
 
1341
  if ( !empty($label) && !$options['custom_field_template_replace_keys_by_labels'] )
1513
  $out .= '</div><div' . $class . '>';
1514
  }
1515
  else if( $data[$i]['type'] == 'textfield' || $data[$i]['type'] == 'text' ) {
1516
+ $out .= $this->make_textfield( $title, $i, $data[$i]['size'], $data[$i]['default'], $data[$i]['hideKey'], $data[$i]['label'], $data[$i]['code'], $data[$i]['class'], $data[$i]['style'], $data[$i]['before'], $data[$i]['after'], $data[$i]['maxlength'], $data[$i]['multipleButton'],
1517
  $data[$i]['onclick'], $data[$i]['ondblclick'], $data[$i]['onkeydown'], $data[$i]['onkeypress'], $data[$i]['onkeyup'], $data[$i]['onmousedown'], $data[$i]['onmouseup'], $data[$i]['onmouseover'], $data[$i]['onmouseout'], $data[$i]['onmousemove'], $data[$i]['onfocus'], $data[$i]['onblur'], $data[$i]['onchange'], $data[$i]['onselect'] );
1518
  }
1519
  else if( $data[$i]['type'] == 'checkbox' ) {
1524
  else if( $data[$i]['type'] == 'radio' ) {
1525
  $out .=
1526
  $this->make_radio(
1527
+ $title, $i, explode( '#', $data[$i]['value'] ), explode( '#', $data[$i]['valueLabel'] ), $data[$i]['clearButton'], $data[$i]['default'], $data[$i]['hideKey'], $data[$i]['label'], $data[$i]['code'], $data[$i]['class'], $data[$i]['style'], $data[$i]['multipleButton'],
1528
  $data[$i]['onclick'], $data[$i]['ondblclick'], $data[$i]['onkeydown'], $data[$i]['onkeypress'], $data[$i]['onkeyup'], $data[$i]['onmousedown'], $data[$i]['onmouseup'], $data[$i]['onmouseover'], $data[$i]['onmouseout'], $data[$i]['onmousemove'], $data[$i]['onfocus'], $data[$i]['onblur'], $data[$i]['onchange'], $data[$i]['onselect'] );
1529
  }
1530
  else if( $data[$i]['type'] == 'select' ) {
1531
  $out .=
1532
  $this->make_select(
1533
+ $title, $i, explode( '#', $data[$i]['value'] ), explode( '#', $data[$i]['valueLabel'] ), $data[$i]['default'], $data[$i]['hideKey'], $data[$i]['label'], $data[$i]['code'], $data[$i]['class'], $data[$i]['style'], $data[$i]['before'], $data[$i]['after'], $data[$i]['selectLabel'], $data[$i]['multipleButton'],
1534
  $data[$i]['onclick'], $data[$i]['ondblclick'], $data[$i]['onkeydown'], $data[$i]['onkeypress'], $data[$i]['onkeyup'], $data[$i]['onmousedown'], $data[$i]['onmouseup'], $data[$i]['onmouseover'], $data[$i]['onmouseout'], $data[$i]['onmousemove'], $data[$i]['onfocus'], $data[$i]['onblur'], $data[$i]['onchange'], $data[$i]['onselect'] );
1535
  }
1536
  else if( $data[$i]['type'] == 'textarea' ) {
1941
  break;
1942
  }
1943
  } while ($Temp = strtok("\r\n"));
1944
+
1945
+ foreach($Data as $title => $data) :
1946
+ foreach($data as $key => $val) :
1947
+ if ( $val['multiple'] == true && $val['type'] != 'checkbox' ) :
1948
+ $counter = count($_REQUEST[$this->sanitize_name($title)]);
1949
+ if ( !$counter ) :
1950
+ $counter = count(get_post_meta( $_REQUEST['post'], $title, false ));
1951
+ $counter++;
1952
+ endif;
1953
+ if ( is_numeric($val['startNum']) && $val['startNum']>$counter ) $counter = $val['startNum'];
1954
+ if ( is_numeric($val['endNum']) && $val['endNum']<$counter ) $counter = $val['endNum'];
1955
+ endif;
1956
+ if ( $counter ) :
1957
+ for($i=1;$i<$counter; $i++) :
1958
+ $Data[$title][$i] = $Data[$title][0];
1959
+ $Data[$title][$i]["hideKey"] = true;
1960
+ endfor;
1961
+ endif;
1962
+ unset($counter);
1963
+ endforeach;
1964
+ endforeach;
1965
 
1966
  foreach($Data as $title => $data) {
1967
  foreach($data as $key => $val) {
2437
  case '=' :
2438
  case '<>' :
2439
  case '<=>':
2440
+ $where .= " AND ROW(ID,1) IN (SELECT post_id,count(post_id) FROM wp_postmeta WHERE (" . $wpdb->postmeta . ".meta_key = '" . $key . "' AND " . $wpdb->postmeta . ".meta_value " . $replace[$key][$key2][0]['operator'] . " " . trim($val3) . ") GROUP BY post_id) ";
2441
  break;
2442
  default :
2443
+ $where .= " AND ROW(ID,1) IN (SELECT post_id,count(post_id) FROM wp_postmeta WHERE (" . $wpdb->postmeta . ".meta_key = '" . $key . "' AND " . $wpdb->postmeta . ".meta_value LIKE '%" . trim($val3) . "%') GROUP BY post_id) ";
2444
  break;
2445
  endswitch;
2446
  endif;
2448
  endforeach;
2449
  endforeach;
2450
  endif;
2451
+
2452
+ if ( $_REQUEST['s'] ) :
2453
+ if ( function_exists('mb_split') ) :
2454
+ $s = mb_split('\s', $_REQUEST['s']);
2455
+ else:
2456
+ $s = split('\s', $_REQUEST['s']);
2457
+ endif;
2458
+ foreach ( $s as $v ) :
2459
+ if ( !empty($v) ) :
2460
+ $where .= " AND ROW(ID,1) IN (SELECT post_id,count(post_id) FROM wp_postmeta WHERE (" . $wpdb->postmeta . ".meta_value LIKE '%" . trim($v) . "%') GROUP BY post_id) ";
2461
+ endif;
2462
+ endforeach;
2463
+ endif;
2464
 
2465
  if ( is_array($_REQUEST['cftcategory_in']) ) :
2466
  $ids = get_objects_in_term($_REQUEST['cftcategory_in'], 'category');
2479
  endif;
2480
 
2481
  $where .= " AND `".$wpdb->posts."`.post_status = 'publish'";
2482
+ //if ( $_REQUEST['s'] ) $where .= $original_where;
2483
 
2484
  return $where;
2485
  }
2514
  return $sql;
2515
  }
2516
 
2517
+ function custom_field_template_post_limits($sql_limit) {
2518
+ global $wp_query;
2519
+
2520
+ if ( !$sql_limit ) return;
2521
+ list($offset, $old_limit) = explode(',', $sql_limit);
2522
+ $limit = (int)$_REQUEST['limit'];
2523
+ if ( !$limit )
2524
+ $limit = trim($old_limit);
2525
+ $wp_query->query_vars['posts_per_page'] = $limit;
2526
+ $offset = ($wp_query->query_vars['paged'] - 1) * $limit;
2527
+ if ( $offset < 0 ) $offset = 0;
2528
+
2529
+ return ( $limit ? "LIMIT $offset, $limit" : '' );
2530
+ }
2531
+
2532
  function EvalBuffer($string) {
2533
  ob_start();
2534
  eval("$string[2];");
2629
  endif;
2630
  update_option('custom_field_template_data', $options);
2631
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2632
  }
2633
 
2634
  $custom_field_template = new custom_field_template();
custom-field-template.pot CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Custom Field Template\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2009-04-07 11:33+0900\n"
6
- "PO-Revision-Date: 2009-04-07 11:33+0900\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
9
  "MIME-Version: 1.0\n"
@@ -16,14 +16,14 @@ msgstr ""
16
  #: custom-field-template/custom-field-template.php:119
17
  #: custom-field-template/custom-field-template.php:120
18
  #: custom-field-template/custom-field-template.php:450
19
- #: custom-field-template/custom-field-template.php:632
20
- #: custom-field-template/custom-field-template.php:1515
21
- #: custom-field-template/custom-field-template.php:1635
22
  msgid "Custom Field Template"
23
  msgstr ""
24
 
25
  #: custom-field-template/custom-field-template.php:159
26
- #: custom-field-template/custom-field-template.php:1727
27
  msgid "Load"
28
  msgstr ""
29
 
@@ -56,333 +56,356 @@ msgstr ""
56
  msgid "Value Counts rebuilt."
57
  msgstr ""
58
 
59
- #: custom-field-template/custom-field-template.php:613
 
 
 
 
60
  msgid "Options imported."
61
  msgstr ""
62
 
63
- #: custom-field-template/custom-field-template.php:620
64
  msgid "Options resetted."
65
  msgstr ""
66
 
67
- #: custom-field-template/custom-field-template.php:624
68
  msgid "Options deleted."
69
  msgstr ""
70
 
71
- #: custom-field-template/custom-field-template.php:638
72
- #: custom-field-template/custom-field-template.php:715
73
- #: custom-field-template/custom-field-template.php:734
74
- #: custom-field-template/custom-field-template.php:763
75
- #: custom-field-template/custom-field-template.php:794
76
- #: custom-field-template/custom-field-template.php:833
77
- #: custom-field-template/custom-field-template.php:853
78
- #: custom-field-template/custom-field-template.php:961
79
- #: custom-field-template/custom-field-template.php:977
80
- #: custom-field-template/custom-field-template.php:993
81
- #: custom-field-template/custom-field-template.php:1009
82
- #: custom-field-template/custom-field-template.php:1025
 
83
  msgid "Click to toggle"
84
  msgstr ""
85
 
86
- #: custom-field-template/custom-field-template.php:639
87
  msgid "Custom Field Template Options"
88
  msgstr ""
89
 
90
- #: custom-field-template/custom-field-template.php:649
91
  msgid "Template Title"
92
  msgstr ""
93
 
94
- #: custom-field-template/custom-field-template.php:651
95
  msgid "Template Instruction"
96
  msgstr ""
97
 
98
- #: custom-field-template/custom-field-template.php:653
99
- #: custom-field-template/custom-field-template.php:810
100
  msgid "Post Type"
101
  msgstr ""
102
 
103
- #: custom-field-template/custom-field-template.php:655
104
- #: custom-field-template/custom-field-template.php:811
105
  msgid "Both"
106
  msgstr ""
107
 
108
- #: custom-field-template/custom-field-template.php:656
109
- #: custom-field-template/custom-field-template.php:812
110
  msgid "Post"
111
  msgstr ""
112
 
113
- #: custom-field-template/custom-field-template.php:657
114
- #: custom-field-template/custom-field-template.php:813
115
  msgid "Page"
116
  msgstr ""
117
 
118
- #: custom-field-template/custom-field-template.php:658
119
- #: custom-field-template/custom-field-template.php:814
120
  msgid "Category ID (comma-deliminated)"
121
  msgstr ""
122
 
123
- #: custom-field-template/custom-field-template.php:660
124
  msgid "Template Content"
125
  msgstr ""
126
 
127
- #: custom-field-template/custom-field-template.php:667
128
  msgid "In case that you would like to insert multiple images at once in use of the custom field media buttons"
129
  msgstr ""
130
 
131
- #: custom-field-template/custom-field-template.php:668
132
  msgid "Use multiple image inset"
133
  msgstr ""
134
 
135
- #: custom-field-template/custom-field-template.php:668
136
  msgid "Caution:"
137
  msgstr ""
138
 
139
- #: custom-field-template/custom-field-template.php:668
140
  msgid "You need to edit `wp-admin/includes/media.php`. Delete or comment out the code in the function media_send_to_editor."
141
  msgstr ""
142
 
143
- #: custom-field-template/custom-field-template.php:672
144
  msgid "In case that you would like to replace custom keys by labels if `label` is set"
145
  msgstr ""
146
 
147
- #: custom-field-template/custom-field-template.php:673
148
  msgid "Use labels in place of custom keys"
149
  msgstr ""
150
 
151
- #: custom-field-template/custom-field-template.php:676
152
  msgid "In case that you would like to add p and br tags in textareas automatically"
153
  msgstr ""
154
 
155
- #: custom-field-template/custom-field-template.php:677
156
  msgid "Use wpautop function"
157
  msgstr ""
158
 
159
- #: custom-field-template/custom-field-template.php:681
160
  msgid "In case that you would like to save values automatically in switching templates"
161
  msgstr ""
162
 
163
- #: custom-field-template/custom-field-template.php:682
164
  msgid "Use the auto save in switching templates"
165
  msgstr ""
166
 
167
- #: custom-field-template/custom-field-template.php:686
168
  msgid "In case that you would like to forbid to use the default custom fields."
169
  msgstr ""
170
 
171
- #: custom-field-template/custom-field-template.php:687
172
  msgid "Disable the default custom fields"
173
  msgstr ""
174
 
175
- #: custom-field-template/custom-field-template.php:691
176
  msgid "In case that you would like to forbid to use the quick edit."
177
  msgstr ""
178
 
179
- #: custom-field-template/custom-field-template.php:692
180
  msgid "Disable the quick edit"
181
  msgstr ""
182
 
183
- #: custom-field-template/custom-field-template.php:696
184
  msgid "In case that you would like to replace the box title with the template title."
185
  msgstr ""
186
 
187
- #: custom-field-template/custom-field-template.php:697
188
  msgid "Replace the box title"
189
  msgstr ""
190
 
191
- #: custom-field-template/custom-field-template.php:701
192
  msgid "In case that you would like to use the shortcode in the widget."
193
  msgstr ""
194
 
195
- #: custom-field-template/custom-field-template.php:702
196
  msgid "Use the shortcode in the widget"
197
  msgstr ""
198
 
199
- #: custom-field-template/custom-field-template.php:706
200
- #: custom-field-template/custom-field-template.php:725
201
- #: custom-field-template/custom-field-template.php:754
202
- #: custom-field-template/custom-field-template.php:785
203
- #: custom-field-template/custom-field-template.php:824
204
  msgid "Update Options &raquo;"
205
  msgstr ""
206
 
207
- #: custom-field-template/custom-field-template.php:716
208
  msgid "ADMIN CSS"
209
  msgstr ""
210
 
211
- #: custom-field-template/custom-field-template.php:735
212
  msgid "[cft] and [cftsearch] Shortcode Format"
213
  msgstr ""
214
 
215
- #: custom-field-template/custom-field-template.php:738
216
  msgid "For [cft], [key] will be converted into the value of [key]."
217
  msgstr ""
218
 
219
- #: custom-field-template/custom-field-template.php:739
220
  msgid "For [cftsearch], [key] will be converted into the input field."
221
  msgstr ""
222
 
223
- #: custom-field-template/custom-field-template.php:748
224
- #: custom-field-template/custom-field-template.php:817
225
  msgid "Use PHP"
226
  msgstr ""
227
 
228
- #: custom-field-template/custom-field-template.php:764
229
  msgid "PHP CODE (Experimental Option)"
230
  msgstr ""
231
 
232
- #: custom-field-template/custom-field-template.php:766
233
  msgid "Are you sure to save PHP codes? Please do it at your own risk."
234
  msgstr ""
235
 
236
- #: custom-field-template/custom-field-template.php:767
237
  msgid "For `text` and `textarea`, you must set $value as an string."
238
  msgstr ""
239
 
240
- #: custom-field-template/custom-field-template.php:769
241
  msgid "For `checkbox`, `radio`, and `select`, you must set $values as an array."
242
  msgstr ""
243
 
244
- #: custom-field-template/custom-field-template.php:795
245
  msgid "Auto Hook of `the_content()` (Experimental Option)"
246
  msgstr ""
247
 
248
- #: custom-field-template/custom-field-template.php:805
249
  msgid "Position"
250
  msgstr ""
251
 
252
- #: custom-field-template/custom-field-template.php:806
253
  msgid "Before the conetnt"
254
  msgstr ""
255
 
256
- #: custom-field-template/custom-field-template.php:807
257
  msgid "After the conetnt"
258
  msgstr ""
259
 
260
- #: custom-field-template/custom-field-template.php:808
261
  #, php-format
262
  msgid "Inside the conetnt ([cfthook hook=%d])"
263
  msgstr ""
264
 
265
- #: custom-field-template/custom-field-template.php:816
266
  msgid "Content"
267
  msgstr ""
268
 
269
- #: custom-field-template/custom-field-template.php:818
270
  msgid "Apply to feeds"
271
  msgstr ""
272
 
273
- #: custom-field-template/custom-field-template.php:834
274
  msgid "Rebuild Value Counts"
275
  msgstr ""
276
 
277
- #: custom-field-template/custom-field-template.php:836
278
  msgid "Are you sure to rebuild all value counts?"
279
  msgstr ""
280
 
281
- #: custom-field-template/custom-field-template.php:840
282
  msgid "Value Counts are used for temporarily saving how many values in each key. Set `valueCount = true` into fields."
283
  msgstr ""
284
 
285
- #: custom-field-template/custom-field-template.php:844
286
  msgid "Rebuild Value Counts &raquo;"
287
  msgstr ""
288
 
289
- #: custom-field-template/custom-field-template.php:854
 
 
 
 
 
 
 
 
 
 
 
 
290
  msgid "Option List"
291
  msgstr ""
292
 
293
- #: custom-field-template/custom-field-template.php:962
294
  msgid "Export Options"
295
  msgstr ""
296
 
297
- #: custom-field-template/custom-field-template.php:968
298
  msgid "Export Options &raquo;"
299
  msgstr ""
300
 
301
- #: custom-field-template/custom-field-template.php:978
302
  msgid "Import Options"
303
  msgstr ""
304
 
305
- #: custom-field-template/custom-field-template.php:980
306
  msgid "Are you sure to import options? Options you set will be overwritten."
307
  msgstr ""
308
 
309
- #: custom-field-template/custom-field-template.php:984
310
  msgid "Import Options &raquo;"
311
  msgstr ""
312
 
313
- #: custom-field-template/custom-field-template.php:994
314
  msgid "Reset Options"
315
  msgstr ""
316
 
317
- #: custom-field-template/custom-field-template.php:996
318
  msgid "Are you sure to reset options? Options you set will be reset to the default settings."
319
  msgstr ""
320
 
321
- #: custom-field-template/custom-field-template.php:1000
322
  msgid "Unset Options &raquo;"
323
  msgstr ""
324
 
325
- #: custom-field-template/custom-field-template.php:1010
326
  msgid "Delete Options"
327
  msgstr ""
328
 
329
- #: custom-field-template/custom-field-template.php:1012
330
  msgid "Are you sure to delete options? Options you set will be deleted."
331
  msgstr ""
332
 
333
- #: custom-field-template/custom-field-template.php:1016
334
  msgid "Delete Options &raquo;"
335
  msgstr ""
336
 
337
- #: custom-field-template/custom-field-template.php:1026
338
  msgid "Donation"
339
  msgstr ""
340
 
341
- #: custom-field-template/custom-field-template.php:1028
342
  msgid "If you liked this plugin, please make a donation via paypal! Any amount is welcome. Your support is much appreciated."
343
  msgstr ""
344
 
345
- #: custom-field-template/custom-field-template.php:1220
 
 
 
 
 
 
346
  msgid "Clear"
347
  msgstr ""
348
 
349
- #: custom-field-template/custom-field-template.php:1296
350
  msgid "Select"
351
  msgstr ""
352
 
353
- #: custom-field-template/custom-field-template.php:1355
354
  msgid "Add Media"
355
  msgstr ""
356
 
357
- #: custom-field-template/custom-field-template.php:1357
358
  msgid "Add an Image"
359
  msgstr ""
360
 
361
- #: custom-field-template/custom-field-template.php:1359
362
  msgid "Add Video"
363
  msgstr ""
364
 
365
- #: custom-field-template/custom-field-template.php:1361
366
  msgid "Add Audio"
367
  msgstr ""
368
 
369
- #: custom-field-template/custom-field-template.php:1372
370
  msgid "Toggle"
371
  msgstr ""
372
 
373
- #: custom-field-template/custom-field-template.php:1676
374
  msgid "Initialize"
375
  msgstr ""
376
 
377
- #: custom-field-template/custom-field-template.php:1677
378
  msgid "Are you sure to reset current values? Default values will be loaded."
379
  msgstr ""
380
 
381
- #: custom-field-template/custom-field-template.php:1680
382
  msgid "Save"
383
  msgstr ""
384
 
385
- #: custom-field-template/custom-field-template.php:2078
386
  msgid "Search &raquo;"
387
  msgstr ""
388
 
2
  msgstr ""
3
  "Project-Id-Version: Custom Field Template\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2009-04-23 02:18+0900\n"
6
+ "PO-Revision-Date: 2009-04-23 02:18+0900\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
9
  "MIME-Version: 1.0\n"
16
  #: custom-field-template/custom-field-template.php:119
17
  #: custom-field-template/custom-field-template.php:120
18
  #: custom-field-template/custom-field-template.php:450
19
+ #: custom-field-template/custom-field-template.php:635
20
+ #: custom-field-template/custom-field-template.php:1567
21
+ #: custom-field-template/custom-field-template.php:1687
22
  msgid "Custom Field Template"
23
  msgstr ""
24
 
25
  #: custom-field-template/custom-field-template.php:159
26
+ #: custom-field-template/custom-field-template.php:1779
27
  msgid "Load"
28
  msgstr ""
29
 
56
  msgid "Value Counts rebuilt."
57
  msgstr ""
58
 
59
+ #: custom-field-template/custom-field-template.php:607
60
+ msgid "Tags rebuilt."
61
+ msgstr ""
62
+
63
+ #: custom-field-template/custom-field-template.php:616
64
  msgid "Options imported."
65
  msgstr ""
66
 
67
+ #: custom-field-template/custom-field-template.php:623
68
  msgid "Options resetted."
69
  msgstr ""
70
 
71
+ #: custom-field-template/custom-field-template.php:627
72
  msgid "Options deleted."
73
  msgstr ""
74
 
75
+ #: custom-field-template/custom-field-template.php:641
76
+ #: custom-field-template/custom-field-template.php:718
77
+ #: custom-field-template/custom-field-template.php:737
78
+ #: custom-field-template/custom-field-template.php:766
79
+ #: custom-field-template/custom-field-template.php:797
80
+ #: custom-field-template/custom-field-template.php:836
81
+ #: custom-field-template/custom-field-template.php:857
82
+ #: custom-field-template/custom-field-template.php:874
83
+ #: custom-field-template/custom-field-template.php:994
84
+ #: custom-field-template/custom-field-template.php:1010
85
+ #: custom-field-template/custom-field-template.php:1026
86
+ #: custom-field-template/custom-field-template.php:1042
87
+ #: custom-field-template/custom-field-template.php:1058
88
  msgid "Click to toggle"
89
  msgstr ""
90
 
91
+ #: custom-field-template/custom-field-template.php:642
92
  msgid "Custom Field Template Options"
93
  msgstr ""
94
 
95
+ #: custom-field-template/custom-field-template.php:652
96
  msgid "Template Title"
97
  msgstr ""
98
 
99
+ #: custom-field-template/custom-field-template.php:654
100
  msgid "Template Instruction"
101
  msgstr ""
102
 
103
+ #: custom-field-template/custom-field-template.php:656
104
+ #: custom-field-template/custom-field-template.php:813
105
  msgid "Post Type"
106
  msgstr ""
107
 
108
+ #: custom-field-template/custom-field-template.php:658
109
+ #: custom-field-template/custom-field-template.php:814
110
  msgid "Both"
111
  msgstr ""
112
 
113
+ #: custom-field-template/custom-field-template.php:659
114
+ #: custom-field-template/custom-field-template.php:815
115
  msgid "Post"
116
  msgstr ""
117
 
118
+ #: custom-field-template/custom-field-template.php:660
119
+ #: custom-field-template/custom-field-template.php:816
120
  msgid "Page"
121
  msgstr ""
122
 
123
+ #: custom-field-template/custom-field-template.php:661
124
+ #: custom-field-template/custom-field-template.php:817
125
  msgid "Category ID (comma-deliminated)"
126
  msgstr ""
127
 
128
+ #: custom-field-template/custom-field-template.php:663
129
  msgid "Template Content"
130
  msgstr ""
131
 
132
+ #: custom-field-template/custom-field-template.php:670
133
  msgid "In case that you would like to insert multiple images at once in use of the custom field media buttons"
134
  msgstr ""
135
 
136
+ #: custom-field-template/custom-field-template.php:671
137
  msgid "Use multiple image inset"
138
  msgstr ""
139
 
140
+ #: custom-field-template/custom-field-template.php:671
141
  msgid "Caution:"
142
  msgstr ""
143
 
144
+ #: custom-field-template/custom-field-template.php:671
145
  msgid "You need to edit `wp-admin/includes/media.php`. Delete or comment out the code in the function media_send_to_editor."
146
  msgstr ""
147
 
148
+ #: custom-field-template/custom-field-template.php:675
149
  msgid "In case that you would like to replace custom keys by labels if `label` is set"
150
  msgstr ""
151
 
152
+ #: custom-field-template/custom-field-template.php:676
153
  msgid "Use labels in place of custom keys"
154
  msgstr ""
155
 
156
+ #: custom-field-template/custom-field-template.php:679
157
  msgid "In case that you would like to add p and br tags in textareas automatically"
158
  msgstr ""
159
 
160
+ #: custom-field-template/custom-field-template.php:680
161
  msgid "Use wpautop function"
162
  msgstr ""
163
 
164
+ #: custom-field-template/custom-field-template.php:684
165
  msgid "In case that you would like to save values automatically in switching templates"
166
  msgstr ""
167
 
168
+ #: custom-field-template/custom-field-template.php:685
169
  msgid "Use the auto save in switching templates"
170
  msgstr ""
171
 
172
+ #: custom-field-template/custom-field-template.php:689
173
  msgid "In case that you would like to forbid to use the default custom fields."
174
  msgstr ""
175
 
176
+ #: custom-field-template/custom-field-template.php:690
177
  msgid "Disable the default custom fields"
178
  msgstr ""
179
 
180
+ #: custom-field-template/custom-field-template.php:694
181
  msgid "In case that you would like to forbid to use the quick edit."
182
  msgstr ""
183
 
184
+ #: custom-field-template/custom-field-template.php:695
185
  msgid "Disable the quick edit"
186
  msgstr ""
187
 
188
+ #: custom-field-template/custom-field-template.php:699
189
  msgid "In case that you would like to replace the box title with the template title."
190
  msgstr ""
191
 
192
+ #: custom-field-template/custom-field-template.php:700
193
  msgid "Replace the box title"
194
  msgstr ""
195
 
196
+ #: custom-field-template/custom-field-template.php:704
197
  msgid "In case that you would like to use the shortcode in the widget."
198
  msgstr ""
199
 
200
+ #: custom-field-template/custom-field-template.php:705
201
  msgid "Use the shortcode in the widget"
202
  msgstr ""
203
 
204
+ #: custom-field-template/custom-field-template.php:709
205
+ #: custom-field-template/custom-field-template.php:728
206
+ #: custom-field-template/custom-field-template.php:757
207
+ #: custom-field-template/custom-field-template.php:788
208
+ #: custom-field-template/custom-field-template.php:827
209
  msgid "Update Options &raquo;"
210
  msgstr ""
211
 
212
+ #: custom-field-template/custom-field-template.php:719
213
  msgid "ADMIN CSS"
214
  msgstr ""
215
 
216
+ #: custom-field-template/custom-field-template.php:738
217
  msgid "[cft] and [cftsearch] Shortcode Format"
218
  msgstr ""
219
 
220
+ #: custom-field-template/custom-field-template.php:741
221
  msgid "For [cft], [key] will be converted into the value of [key]."
222
  msgstr ""
223
 
224
+ #: custom-field-template/custom-field-template.php:742
225
  msgid "For [cftsearch], [key] will be converted into the input field."
226
  msgstr ""
227
 
228
+ #: custom-field-template/custom-field-template.php:751
229
+ #: custom-field-template/custom-field-template.php:820
230
  msgid "Use PHP"
231
  msgstr ""
232
 
233
+ #: custom-field-template/custom-field-template.php:767
234
  msgid "PHP CODE (Experimental Option)"
235
  msgstr ""
236
 
237
+ #: custom-field-template/custom-field-template.php:769
238
  msgid "Are you sure to save PHP codes? Please do it at your own risk."
239
  msgstr ""
240
 
241
+ #: custom-field-template/custom-field-template.php:770
242
  msgid "For `text` and `textarea`, you must set $value as an string."
243
  msgstr ""
244
 
245
+ #: custom-field-template/custom-field-template.php:772
246
  msgid "For `checkbox`, `radio`, and `select`, you must set $values as an array."
247
  msgstr ""
248
 
249
+ #: custom-field-template/custom-field-template.php:798
250
  msgid "Auto Hook of `the_content()` (Experimental Option)"
251
  msgstr ""
252
 
253
+ #: custom-field-template/custom-field-template.php:808
254
  msgid "Position"
255
  msgstr ""
256
 
257
+ #: custom-field-template/custom-field-template.php:809
258
  msgid "Before the conetnt"
259
  msgstr ""
260
 
261
+ #: custom-field-template/custom-field-template.php:810
262
  msgid "After the conetnt"
263
  msgstr ""
264
 
265
+ #: custom-field-template/custom-field-template.php:811
266
  #, php-format
267
  msgid "Inside the conetnt ([cfthook hook=%d])"
268
  msgstr ""
269
 
270
+ #: custom-field-template/custom-field-template.php:819
271
  msgid "Content"
272
  msgstr ""
273
 
274
+ #: custom-field-template/custom-field-template.php:821
275
  msgid "Apply to feeds"
276
  msgstr ""
277
 
278
+ #: custom-field-template/custom-field-template.php:837
279
  msgid "Rebuild Value Counts"
280
  msgstr ""
281
 
282
+ #: custom-field-template/custom-field-template.php:839
283
  msgid "Are you sure to rebuild all value counts?"
284
  msgstr ""
285
 
286
+ #: custom-field-template/custom-field-template.php:843
287
  msgid "Value Counts are used for temporarily saving how many values in each key. Set `valueCount = true` into fields."
288
  msgstr ""
289
 
290
+ #: custom-field-template/custom-field-template.php:847
291
  msgid "Rebuild Value Counts &raquo;"
292
  msgstr ""
293
 
294
+ #: custom-field-template/custom-field-template.php:858
295
+ msgid "Rebuild Tags"
296
+ msgstr ""
297
+
298
+ #: custom-field-template/custom-field-template.php:860
299
+ msgid "Are you sure to rebuild tags?"
300
+ msgstr ""
301
+
302
+ #: custom-field-template/custom-field-template.php:864
303
+ msgid "Rebuild Tags &raquo;"
304
+ msgstr ""
305
+
306
+ #: custom-field-template/custom-field-template.php:875
307
  msgid "Option List"
308
  msgstr ""
309
 
310
+ #: custom-field-template/custom-field-template.php:995
311
  msgid "Export Options"
312
  msgstr ""
313
 
314
+ #: custom-field-template/custom-field-template.php:1001
315
  msgid "Export Options &raquo;"
316
  msgstr ""
317
 
318
+ #: custom-field-template/custom-field-template.php:1011
319
  msgid "Import Options"
320
  msgstr ""
321
 
322
+ #: custom-field-template/custom-field-template.php:1013
323
  msgid "Are you sure to import options? Options you set will be overwritten."
324
  msgstr ""
325
 
326
+ #: custom-field-template/custom-field-template.php:1017
327
  msgid "Import Options &raquo;"
328
  msgstr ""
329
 
330
+ #: custom-field-template/custom-field-template.php:1027
331
  msgid "Reset Options"
332
  msgstr ""
333
 
334
+ #: custom-field-template/custom-field-template.php:1029
335
  msgid "Are you sure to reset options? Options you set will be reset to the default settings."
336
  msgstr ""
337
 
338
+ #: custom-field-template/custom-field-template.php:1033
339
  msgid "Unset Options &raquo;"
340
  msgstr ""
341
 
342
+ #: custom-field-template/custom-field-template.php:1043
343
  msgid "Delete Options"
344
  msgstr ""
345
 
346
+ #: custom-field-template/custom-field-template.php:1045
347
  msgid "Are you sure to delete options? Options you set will be deleted."
348
  msgstr ""
349
 
350
+ #: custom-field-template/custom-field-template.php:1049
351
  msgid "Delete Options &raquo;"
352
  msgstr ""
353
 
354
+ #: custom-field-template/custom-field-template.php:1059
355
  msgid "Donation"
356
  msgstr ""
357
 
358
+ #: custom-field-template/custom-field-template.php:1061
359
  msgid "If you liked this plugin, please make a donation via paypal! Any amount is welcome. Your support is much appreciated."
360
  msgstr ""
361
 
362
+ #: custom-field-template/custom-field-template.php:1153
363
+ #: custom-field-template/custom-field-template.php:1256
364
+ #: custom-field-template/custom-field-template.php:1332
365
+ msgid "Add New"
366
+ msgstr ""
367
+
368
+ #: custom-field-template/custom-field-template.php:1266
369
  msgid "Clear"
370
  msgstr ""
371
 
372
+ #: custom-field-template/custom-field-template.php:1348
373
  msgid "Select"
374
  msgstr ""
375
 
376
+ #: custom-field-template/custom-field-template.php:1407
377
  msgid "Add Media"
378
  msgstr ""
379
 
380
+ #: custom-field-template/custom-field-template.php:1409
381
  msgid "Add an Image"
382
  msgstr ""
383
 
384
+ #: custom-field-template/custom-field-template.php:1411
385
  msgid "Add Video"
386
  msgstr ""
387
 
388
+ #: custom-field-template/custom-field-template.php:1413
389
  msgid "Add Audio"
390
  msgstr ""
391
 
392
+ #: custom-field-template/custom-field-template.php:1424
393
  msgid "Toggle"
394
  msgstr ""
395
 
396
+ #: custom-field-template/custom-field-template.php:1728
397
  msgid "Initialize"
398
  msgstr ""
399
 
400
+ #: custom-field-template/custom-field-template.php:1729
401
  msgid "Are you sure to reset current values? Default values will be loaded."
402
  msgstr ""
403
 
404
+ #: custom-field-template/custom-field-template.php:1732
405
  msgid "Save"
406
  msgstr ""
407
 
408
+ #: custom-field-template/custom-field-template.php:2151
409
  msgid "Search &raquo;"
410
  msgstr ""
411
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://wordpressgogo.com/development/custom-field-template.html
4
  Tags: custom, fields, field, template, meta, custom field, custom fields, custom field template
5
  Requires at least: 2.1
6
  Tested up to: 2.7.1
7
- Stable tag: 1.1.7
8
 
9
  This plugin adds the default custom fields on the Write Post/Page.
10
 
@@ -51,6 +51,7 @@ The Custom Field Template plugin adds the default custom fields on the Write Pos
51
  * Adds the export and import functionality.
52
  * Adds the style attribute. (`style = color:#FF0000;`)
53
  * Adds the maxlength attribute. (`maxlength = 10`)
 
54
 
55
  Localization
56
 
4
  Tags: custom, fields, field, template, meta, custom field, custom fields, custom field template
5
  Requires at least: 2.1
6
  Tested up to: 2.7.1
7
+ Stable tag: 1.2
8
 
9
  This plugin adds the default custom fields on the Write Post/Page.
10
 
51
  * Adds the export and import functionality.
52
  * Adds the style attribute. (`style = color:#FF0000;`)
53
  * Adds the maxlength attribute. (`maxlength = 10`)
54
+ * Adds the attributes of multiple fields. (`multiple = true`, `startNum = 5`, `endNum = 10`, `multipleButton = true`)
55
 
56
  Localization
57