Version Description
Download this release
Release Info
Developer | Hiroaki Miyashita |
Plugin | Custom Field Template |
Version | 1.1.2 |
Comparing to | |
See all releases |
Code changes from version 1.1.1 to 1.1.2
- custom-field-template-it_IT.mo +0 -0
- custom-field-template-it_IT.po +120 -103
- custom-field-template.php +47 -25
- readme.txt +1 -1
custom-field-template-it_IT.mo
CHANGED
Binary file
|
custom-field-template-it_IT.po
CHANGED
@@ -2,8 +2,8 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Custom Field Template in italiano\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date: 2009-03-
|
6 |
-
"PO-Revision-Date: 2009-03-
|
7 |
"Last-Translator: Gianni Diurno (aka gidibao) <gidibao@gmail.com>\n"
|
8 |
"Language-Team: Gianni Diurno | http://gidibao.net/ <gidibao@gmail.com>\n"
|
9 |
"MIME-Version: 1.0\n"
|
@@ -16,329 +16,346 @@ msgstr ""
|
|
16 |
"X-Poedit-Basepath: ../\n"
|
17 |
"X-Poedit-SearchPath-0: custom-field-template\n"
|
18 |
|
19 |
-
#: custom-field-template/custom-field-template.php:
|
20 |
-
#: custom-field-template/custom-field-template.php:
|
21 |
-
#: custom-field-template/custom-field-template.php:
|
22 |
-
#: custom-field-template/custom-field-template.php:
|
23 |
-
#: custom-field-template/custom-field-template.php:
|
24 |
-
#: custom-field-template/custom-field-template.php:
|
25 |
msgid "Custom Field Template"
|
26 |
msgstr "Custom Field Template"
|
27 |
|
28 |
-
#: custom-field-template/custom-field-template.php:
|
29 |
-
#: custom-field-template/custom-field-template.php:
|
30 |
msgid "Load"
|
31 |
msgstr "Carica"
|
32 |
|
33 |
-
#: custom-field-template/custom-field-template.php:
|
34 |
msgid "read more"
|
35 |
msgstr "prosegui"
|
36 |
|
37 |
-
#: custom-field-template/custom-field-template.php:
|
38 |
-
#: custom-field-template/custom-field-template.php:
|
39 |
msgid "Custom Fields"
|
40 |
msgstr "Campi personalizzati"
|
41 |
|
42 |
-
#: custom-field-template/custom-field-template.php:
|
43 |
msgid "Settings"
|
44 |
msgstr "Impostazioni"
|
45 |
|
46 |
-
#: custom-field-template/custom-field-template.php:
|
47 |
msgid "Default Template"
|
48 |
msgstr "Template predefinito"
|
49 |
|
50 |
-
#: custom-field-template/custom-field-template.php:
|
51 |
-
#: custom-field-template/custom-field-template.php:
|
52 |
-
#: custom-field-template/custom-field-template.php:
|
53 |
-
#: custom-field-template/custom-field-template.php:
|
54 |
-
#: custom-field-template/custom-field-template.php:
|
55 |
msgid "Options updated."
|
56 |
msgstr "Le opzioni sono state aggiornate."
|
57 |
|
58 |
-
#: custom-field-template/custom-field-template.php:
|
59 |
msgid "Value Counts rebuilt."
|
60 |
msgstr "Value Counts rigenerati. "
|
61 |
|
62 |
-
#: custom-field-template/custom-field-template.php:
|
63 |
msgid "Options resetted."
|
64 |
msgstr "Le opzioni sono state ripristinate."
|
65 |
|
66 |
-
#: custom-field-template/custom-field-template.php:
|
67 |
msgid "Options deleted."
|
68 |
msgstr "Le opzioni sini state cancellate:"
|
69 |
|
70 |
-
#: custom-field-template/custom-field-template.php:
|
71 |
-
#: custom-field-template/custom-field-template.php:
|
72 |
-
#: custom-field-template/custom-field-template.php:
|
73 |
-
#: custom-field-template/custom-field-template.php:
|
74 |
-
#: custom-field-template/custom-field-template.php:
|
75 |
-
#: custom-field-template/custom-field-template.php:
|
76 |
-
#: custom-field-template/custom-field-template.php:
|
77 |
-
#: custom-field-template/custom-field-template.php:
|
78 |
-
#: custom-field-template/custom-field-template.php:
|
79 |
-
#: custom-field-template/custom-field-template.php:
|
80 |
msgid "Click to toggle"
|
81 |
msgstr "Clicca per commutare"
|
82 |
|
83 |
-
#: custom-field-template/custom-field-template.php:
|
84 |
msgid "Custom Field Template Options"
|
85 |
msgstr "Opzioni template campi personalizzati"
|
86 |
|
87 |
-
#: custom-field-template/custom-field-template.php:
|
88 |
msgid "Template Title"
|
89 |
msgstr "Nome del template:"
|
90 |
|
91 |
-
#: custom-field-template/custom-field-template.php:
|
92 |
msgid "Template Instruction"
|
93 |
msgstr "Allestimento template"
|
94 |
|
95 |
-
#: custom-field-template/custom-field-template.php:
|
|
|
96 |
msgid "Post Type"
|
97 |
msgstr "Tipo di articolo"
|
98 |
|
99 |
-
#: custom-field-template/custom-field-template.php:
|
|
|
100 |
msgid "Both"
|
101 |
msgstr "Entrambi"
|
102 |
|
103 |
-
#: custom-field-template/custom-field-template.php:
|
|
|
104 |
msgid "Post"
|
105 |
msgstr "Articolo"
|
106 |
|
107 |
-
#: custom-field-template/custom-field-template.php:
|
|
|
108 |
msgid "Page"
|
109 |
msgstr "Pagina"
|
110 |
|
111 |
-
#: custom-field-template/custom-field-template.php:
|
112 |
-
#: custom-field-template/custom-field-template.php:
|
113 |
msgid "Category ID (comma-deliminated)"
|
114 |
msgstr "ID categoria (separa con una virgola)"
|
115 |
|
116 |
-
#: custom-field-template/custom-field-template.php:
|
117 |
msgid "Template Content"
|
118 |
msgstr "Contenuti template"
|
119 |
|
120 |
-
#: custom-field-template/custom-field-template.php:
|
121 |
msgid "In case that you would like to insert multiple images at once in use of the custom field media buttons"
|
122 |
msgstr "Nel caso in cui desiderassi inserire più immagini contemporaneamente utilizza i pulsanti media del campo personalizzato"
|
123 |
|
124 |
-
#: custom-field-template/custom-field-template.php:
|
125 |
msgid "Use multiple image inset"
|
126 |
msgstr "Inserisci più immagini contemporaneamente"
|
127 |
|
128 |
-
#: custom-field-template/custom-field-template.php:
|
129 |
msgid "Caution:"
|
130 |
msgstr "Attenzione:"
|
131 |
|
132 |
-
#: custom-field-template/custom-field-template.php:
|
133 |
msgid "You need to edit `wp-admin/includes/media.php`. Delete or comment out the code in the function media_send_to_editor."
|
134 |
msgstr "E' necessario modificare `wp-admin/includes/media.php`. Cancella o disabilita il codice nella funzione media_send_to_editor."
|
135 |
|
136 |
-
#: custom-field-template/custom-field-template.php:
|
137 |
msgid "In case that you would like to replace custom keys by labels if `label` is set"
|
138 |
msgstr "Nel caso in cui desiderassi sostituire le chiavi personalizzate con le etichette qualora fosse stato impostato `label`"
|
139 |
|
140 |
-
#: custom-field-template/custom-field-template.php:
|
141 |
msgid "Use labels in place of custom keys"
|
142 |
msgstr "Utilizza le etichette al posto delle chiavi personalizzate"
|
143 |
|
144 |
-
#: custom-field-template/custom-field-template.php:
|
145 |
msgid "In case that you would like to add p and br tags in textareas automatically"
|
146 |
msgstr "Nel caso in cui desiderassi aggiungere automaticamente i tag p e br nell'area di testo"
|
147 |
|
148 |
-
#: custom-field-template/custom-field-template.php:
|
149 |
msgid "Use wpautop function"
|
150 |
msgstr "Usa funzione wpautop"
|
151 |
|
152 |
-
#: custom-field-template/custom-field-template.php:
|
153 |
msgid "In case that you would like to save values automatically in switching templates"
|
154 |
msgstr "Nel caso in cui desiderassi salvare automaticamente i valori durante il cambio dei template"
|
155 |
|
156 |
-
#: custom-field-template/custom-field-template.php:
|
157 |
msgid "Use the auto save in switching templates"
|
158 |
msgstr "Salva in automatico al cambio dei template"
|
159 |
|
160 |
-
#: custom-field-template/custom-field-template.php:
|
161 |
msgid "In case that you would like to forbid to use the default custom fields."
|
162 |
msgstr "Nel caso in cui desiderassi impedire l'utilizzo dei campi personalizzati predefiniti."
|
163 |
|
164 |
-
#: custom-field-template/custom-field-template.php:
|
165 |
msgid "Disable the default custom fields"
|
166 |
msgstr "Disattiva i campi personalizzati predefiniti"
|
167 |
|
168 |
-
#: custom-field-template/custom-field-template.php:
|
169 |
msgid "In case that you would like to forbid to use the quick edit."
|
170 |
msgstr "Nel caso in cui desiderassi impedire l'utilizzo dell'editor veloce."
|
171 |
|
172 |
-
#: custom-field-template/custom-field-template.php:
|
173 |
msgid "Disable the quick edit"
|
174 |
msgstr "Disattiva l'editor veloce"
|
175 |
|
176 |
-
#: custom-field-template/custom-field-template.php:
|
177 |
msgid "In case that you would like to replace the box title with the template title."
|
178 |
msgstr "Nel caso in cui desiderassi sostituire il titolo della casella con il titolo del template."
|
179 |
|
180 |
-
#: custom-field-template/custom-field-template.php:
|
181 |
msgid "Replace the box title"
|
182 |
msgstr "Sostituisci il titolo della casella"
|
183 |
|
184 |
-
#: custom-field-template/custom-field-template.php:
|
185 |
msgid "In case that you would like to use the shortcode in the widget."
|
186 |
msgstr "Nel caso in cui desiderassi utilizzare lo shortcode nel widget"
|
187 |
|
188 |
-
#: custom-field-template/custom-field-template.php:
|
189 |
msgid "Use the shortcode in the widget"
|
190 |
msgstr "Utilizza lo shortcode nel widget"
|
191 |
|
192 |
-
#: custom-field-template/custom-field-template.php:
|
193 |
-
#: custom-field-template/custom-field-template.php:
|
194 |
-
#: custom-field-template/custom-field-template.php:
|
195 |
-
#: custom-field-template/custom-field-template.php:
|
196 |
-
#: custom-field-template/custom-field-template.php:
|
197 |
msgid "Update Options »"
|
198 |
msgstr "Aggiorna le opzioni »"
|
199 |
|
200 |
-
#: custom-field-template/custom-field-template.php:
|
201 |
msgid "ADMIN CSS"
|
202 |
msgstr "CSS AMMINISTRAZIONE"
|
203 |
|
204 |
-
#: custom-field-template/custom-field-template.php:
|
205 |
msgid "[cft] and [cftsearch] Shortcode Format"
|
206 |
msgstr "Formato Shortcode [cft] e [cftsearch]"
|
207 |
|
208 |
-
#: custom-field-template/custom-field-template.php:
|
209 |
msgid "For [cft], [key] will be converted into the value of [key]."
|
210 |
msgstr "[key] verrà convertito nel valore di [key]."
|
211 |
|
212 |
-
#: custom-field-template/custom-field-template.php:
|
213 |
msgid "For [cftsearch], [key] will be converted into the input field."
|
214 |
msgstr "[cftsearch], [key] verrà convertito nell'input del campo."
|
215 |
|
216 |
-
#: custom-field-template/custom-field-template.php:
|
217 |
-
#: custom-field-template/custom-field-template.php:
|
218 |
msgid "Use PHP"
|
219 |
msgstr "Usa PHP"
|
220 |
|
221 |
-
#: custom-field-template/custom-field-template.php:
|
222 |
msgid "PHP CODE (Experimental Option)"
|
223 |
msgstr "CODICE PHP CODE (opzione sperimentale)"
|
224 |
|
225 |
-
#: custom-field-template/custom-field-template.php:
|
226 |
msgid "Are you sure to save PHP codes? Please do it at your own risk."
|
227 |
msgstr "Sei certo di volere salvare dei codici PHP? Se sì, fallo a tuo rischio."
|
228 |
|
229 |
-
#: custom-field-template/custom-field-template.php:
|
230 |
msgid "For `text` and `textarea`, you must set $value as an string."
|
231 |
msgstr "`text` e `textarea`, dovrai impostare come stringa $value."
|
232 |
|
233 |
-
#: custom-field-template/custom-field-template.php:
|
234 |
msgid "For `checkbox`, `radio`, and `select`, you must set $values as an array."
|
235 |
msgstr "`checkbox`, `radio`, e `select`, dovrai impostare come array $values."
|
236 |
|
237 |
-
#: custom-field-template/custom-field-template.php:
|
238 |
msgid "Auto Hook of `the_content()` (Experimental Option)"
|
239 |
msgstr "Hook automatico di `the_content()` (opzione sperimentale)"
|
240 |
|
241 |
-
#: custom-field-template/custom-field-template.php:
|
242 |
msgid "Position"
|
243 |
msgstr "Posizione"
|
244 |
|
245 |
-
#: custom-field-template/custom-field-template.php:
|
246 |
msgid "Before the conetnt"
|
247 |
msgstr "Davanti ai contenuti"
|
248 |
|
249 |
-
#: custom-field-template/custom-field-template.php:
|
250 |
msgid "After the conetnt"
|
251 |
msgstr "A seguire i contenuti"
|
252 |
|
253 |
-
#: custom-field-template/custom-field-template.php:
|
|
|
|
|
|
|
|
|
|
|
254 |
msgid "Content"
|
255 |
msgstr "Contenuti"
|
256 |
|
257 |
-
#: custom-field-template/custom-field-template.php:
|
258 |
msgid "Rebuild Value Counts"
|
259 |
msgstr "Rigenera Value Counts"
|
260 |
|
261 |
-
#: custom-field-template/custom-field-template.php:
|
262 |
msgid "Are you sure to rebuild all value counts?"
|
263 |
msgstr "Sei certo di volere rigenerare tutti i value counts?"
|
264 |
|
265 |
-
#: custom-field-template/custom-field-template.php:
|
266 |
msgid "Value Counts are used for temporarily saving how many values in each key. Set `valueCount = true` into fields."
|
267 |
msgstr "I Value Counts sono utilizzati per il salvataggio temporaneo dei valori per ogni chiave. Imposta dentro ai campi `valueCount = true`."
|
268 |
|
269 |
-
#: custom-field-template/custom-field-template.php:
|
270 |
msgid "Rebuild Value Counts »"
|
271 |
msgstr "Rigenera Value Counts »"
|
272 |
|
273 |
-
#: custom-field-template/custom-field-template.php:
|
274 |
msgid "Option List"
|
275 |
msgstr "Lista opzione"
|
276 |
|
277 |
-
#: custom-field-template/custom-field-template.php:
|
278 |
msgid "Reset Options"
|
279 |
msgstr "Ripristina le opzioni"
|
280 |
|
281 |
-
#: custom-field-template/custom-field-template.php:
|
282 |
msgid "Are you sure to reset options? Options you set will be reset to the default settings."
|
283 |
msgstr "Sei certo di volere ripristinare le opzioni? Le opzioni personalizzate verranno ripristinate alle predefinite."
|
284 |
|
285 |
-
#: custom-field-template/custom-field-template.php:
|
286 |
msgid "Unset Options »"
|
287 |
msgstr "Procedi »"
|
288 |
|
289 |
-
#: custom-field-template/custom-field-template.php:
|
290 |
msgid "Delete Options"
|
291 |
msgstr "Cancella le opzioni"
|
292 |
|
293 |
-
#: custom-field-template/custom-field-template.php:
|
294 |
msgid "Are you sure to delete options? Options you set will be deleted."
|
295 |
msgstr "Sei certo di volere cancellare le opzioni? Le opzioni personalizzate verranno cancellate."
|
296 |
|
297 |
-
#: custom-field-template/custom-field-template.php:
|
298 |
msgid "Delete Options »"
|
299 |
msgstr "Cancella le opzioni »"
|
300 |
|
301 |
-
#: custom-field-template/custom-field-template.php:
|
302 |
msgid "Donation"
|
303 |
msgstr "Fai una donazione"
|
304 |
|
305 |
-
#: custom-field-template/custom-field-template.php:
|
306 |
msgid "If you liked this plugin, please make a donation via paypal! Any amount is welcome. Your support is much appreciated."
|
307 |
msgstr "Qualora avesi gradito questo plugin, effettua una donazione via paypal! Grazie."
|
308 |
|
309 |
-
#: custom-field-template/custom-field-template.php:
|
310 |
msgid "Clear"
|
311 |
msgstr "Pulisci"
|
312 |
|
313 |
-
#: custom-field-template/custom-field-template.php:
|
314 |
msgid "Select"
|
315 |
msgstr "Seleziona"
|
316 |
|
317 |
-
#: custom-field-template/custom-field-template.php:
|
318 |
msgid "Add Media"
|
319 |
msgstr "Aggiungi media"
|
320 |
|
321 |
-
#: custom-field-template/custom-field-template.php:
|
322 |
msgid "Add an Image"
|
323 |
msgstr "Aggiungi immagine"
|
324 |
|
325 |
-
#: custom-field-template/custom-field-template.php:
|
326 |
msgid "Add Video"
|
327 |
msgstr "Aggiungi video"
|
328 |
|
329 |
-
#: custom-field-template/custom-field-template.php:
|
330 |
msgid "Add Audio"
|
331 |
msgstr "Aggiungi audio"
|
332 |
|
333 |
-
#: custom-field-template/custom-field-template.php:
|
334 |
msgid "Toggle"
|
335 |
msgstr "Commuta"
|
336 |
|
337 |
-
#: custom-field-template/custom-field-template.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
338 |
msgid "Save"
|
339 |
msgstr "Salva"
|
340 |
|
341 |
-
#: custom-field-template/custom-field-template.php:
|
342 |
msgid "Search »"
|
343 |
msgstr "Cerca »"
|
344 |
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Custom Field Template in italiano\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2009-03-23 00:05+0900\n"
|
6 |
+
"PO-Revision-Date: 2009-03-22 21:24+0100\n"
|
7 |
"Last-Translator: Gianni Diurno (aka gidibao) <gidibao@gmail.com>\n"
|
8 |
"Language-Team: Gianni Diurno | http://gidibao.net/ <gidibao@gmail.com>\n"
|
9 |
"MIME-Version: 1.0\n"
|
16 |
"X-Poedit-Basepath: ../\n"
|
17 |
"X-Poedit-SearchPath-0: custom-field-template\n"
|
18 |
|
19 |
+
#: custom-field-template/custom-field-template.php:107
|
20 |
+
#: custom-field-template/custom-field-template.php:108
|
21 |
+
#: custom-field-template/custom-field-template.php:438
|
22 |
+
#: custom-field-template/custom-field-template.php:607
|
23 |
+
#: custom-field-template/custom-field-template.php:1443
|
24 |
+
#: custom-field-template/custom-field-template.php:1563
|
25 |
msgid "Custom Field Template"
|
26 |
msgstr "Custom Field Template"
|
27 |
|
28 |
+
#: custom-field-template/custom-field-template.php:147
|
29 |
+
#: custom-field-template/custom-field-template.php:1655
|
30 |
msgid "Load"
|
31 |
msgstr "Carica"
|
32 |
|
33 |
+
#: custom-field-template/custom-field-template.php:296
|
34 |
msgid "read more"
|
35 |
msgstr "prosegui"
|
36 |
|
37 |
+
#: custom-field-template/custom-field-template.php:314
|
38 |
+
#: custom-field-template/custom-field-template.php:324
|
39 |
msgid "Custom Fields"
|
40 |
msgstr "Campi personalizzati"
|
41 |
|
42 |
+
#: custom-field-template/custom-field-template.php:354
|
43 |
msgid "Settings"
|
44 |
msgstr "Impostazioni"
|
45 |
|
46 |
+
#: custom-field-template/custom-field-template.php:366
|
47 |
msgid "Default Template"
|
48 |
msgstr "Template predefinito"
|
49 |
|
50 |
+
#: custom-field-template/custom-field-template.php:547
|
51 |
+
#: custom-field-template/custom-field-template.php:551
|
52 |
+
#: custom-field-template/custom-field-template.php:563
|
53 |
+
#: custom-field-template/custom-field-template.php:571
|
54 |
+
#: custom-field-template/custom-field-template.php:586
|
55 |
msgid "Options updated."
|
56 |
msgstr "Le opzioni sono state aggiornate."
|
57 |
|
58 |
+
#: custom-field-template/custom-field-template.php:590
|
59 |
msgid "Value Counts rebuilt."
|
60 |
msgstr "Value Counts rigenerati. "
|
61 |
|
62 |
+
#: custom-field-template/custom-field-template.php:595
|
63 |
msgid "Options resetted."
|
64 |
msgstr "Le opzioni sono state ripristinate."
|
65 |
|
66 |
+
#: custom-field-template/custom-field-template.php:599
|
67 |
msgid "Options deleted."
|
68 |
msgstr "Le opzioni sini state cancellate:"
|
69 |
|
70 |
+
#: custom-field-template/custom-field-template.php:613
|
71 |
+
#: custom-field-template/custom-field-template.php:690
|
72 |
+
#: custom-field-template/custom-field-template.php:709
|
73 |
+
#: custom-field-template/custom-field-template.php:738
|
74 |
+
#: custom-field-template/custom-field-template.php:769
|
75 |
+
#: custom-field-template/custom-field-template.php:807
|
76 |
+
#: custom-field-template/custom-field-template.php:827
|
77 |
+
#: custom-field-template/custom-field-template.php:926
|
78 |
+
#: custom-field-template/custom-field-template.php:942
|
79 |
+
#: custom-field-template/custom-field-template.php:958
|
80 |
msgid "Click to toggle"
|
81 |
msgstr "Clicca per commutare"
|
82 |
|
83 |
+
#: custom-field-template/custom-field-template.php:614
|
84 |
msgid "Custom Field Template Options"
|
85 |
msgstr "Opzioni template campi personalizzati"
|
86 |
|
87 |
+
#: custom-field-template/custom-field-template.php:624
|
88 |
msgid "Template Title"
|
89 |
msgstr "Nome del template:"
|
90 |
|
91 |
+
#: custom-field-template/custom-field-template.php:626
|
92 |
msgid "Template Instruction"
|
93 |
msgstr "Allestimento template"
|
94 |
|
95 |
+
#: custom-field-template/custom-field-template.php:628
|
96 |
+
#: custom-field-template/custom-field-template.php:785
|
97 |
msgid "Post Type"
|
98 |
msgstr "Tipo di articolo"
|
99 |
|
100 |
+
#: custom-field-template/custom-field-template.php:630
|
101 |
+
#: custom-field-template/custom-field-template.php:786
|
102 |
msgid "Both"
|
103 |
msgstr "Entrambi"
|
104 |
|
105 |
+
#: custom-field-template/custom-field-template.php:631
|
106 |
+
#: custom-field-template/custom-field-template.php:787
|
107 |
msgid "Post"
|
108 |
msgstr "Articolo"
|
109 |
|
110 |
+
#: custom-field-template/custom-field-template.php:632
|
111 |
+
#: custom-field-template/custom-field-template.php:788
|
112 |
msgid "Page"
|
113 |
msgstr "Pagina"
|
114 |
|
115 |
+
#: custom-field-template/custom-field-template.php:633
|
116 |
+
#: custom-field-template/custom-field-template.php:789
|
117 |
msgid "Category ID (comma-deliminated)"
|
118 |
msgstr "ID categoria (separa con una virgola)"
|
119 |
|
120 |
+
#: custom-field-template/custom-field-template.php:635
|
121 |
msgid "Template Content"
|
122 |
msgstr "Contenuti template"
|
123 |
|
124 |
+
#: custom-field-template/custom-field-template.php:642
|
125 |
msgid "In case that you would like to insert multiple images at once in use of the custom field media buttons"
|
126 |
msgstr "Nel caso in cui desiderassi inserire più immagini contemporaneamente utilizza i pulsanti media del campo personalizzato"
|
127 |
|
128 |
+
#: custom-field-template/custom-field-template.php:643
|
129 |
msgid "Use multiple image inset"
|
130 |
msgstr "Inserisci più immagini contemporaneamente"
|
131 |
|
132 |
+
#: custom-field-template/custom-field-template.php:643
|
133 |
msgid "Caution:"
|
134 |
msgstr "Attenzione:"
|
135 |
|
136 |
+
#: custom-field-template/custom-field-template.php:643
|
137 |
msgid "You need to edit `wp-admin/includes/media.php`. Delete or comment out the code in the function media_send_to_editor."
|
138 |
msgstr "E' necessario modificare `wp-admin/includes/media.php`. Cancella o disabilita il codice nella funzione media_send_to_editor."
|
139 |
|
140 |
+
#: custom-field-template/custom-field-template.php:647
|
141 |
msgid "In case that you would like to replace custom keys by labels if `label` is set"
|
142 |
msgstr "Nel caso in cui desiderassi sostituire le chiavi personalizzate con le etichette qualora fosse stato impostato `label`"
|
143 |
|
144 |
+
#: custom-field-template/custom-field-template.php:648
|
145 |
msgid "Use labels in place of custom keys"
|
146 |
msgstr "Utilizza le etichette al posto delle chiavi personalizzate"
|
147 |
|
148 |
+
#: custom-field-template/custom-field-template.php:651
|
149 |
msgid "In case that you would like to add p and br tags in textareas automatically"
|
150 |
msgstr "Nel caso in cui desiderassi aggiungere automaticamente i tag p e br nell'area di testo"
|
151 |
|
152 |
+
#: custom-field-template/custom-field-template.php:652
|
153 |
msgid "Use wpautop function"
|
154 |
msgstr "Usa funzione wpautop"
|
155 |
|
156 |
+
#: custom-field-template/custom-field-template.php:656
|
157 |
msgid "In case that you would like to save values automatically in switching templates"
|
158 |
msgstr "Nel caso in cui desiderassi salvare automaticamente i valori durante il cambio dei template"
|
159 |
|
160 |
+
#: custom-field-template/custom-field-template.php:657
|
161 |
msgid "Use the auto save in switching templates"
|
162 |
msgstr "Salva in automatico al cambio dei template"
|
163 |
|
164 |
+
#: custom-field-template/custom-field-template.php:661
|
165 |
msgid "In case that you would like to forbid to use the default custom fields."
|
166 |
msgstr "Nel caso in cui desiderassi impedire l'utilizzo dei campi personalizzati predefiniti."
|
167 |
|
168 |
+
#: custom-field-template/custom-field-template.php:662
|
169 |
msgid "Disable the default custom fields"
|
170 |
msgstr "Disattiva i campi personalizzati predefiniti"
|
171 |
|
172 |
+
#: custom-field-template/custom-field-template.php:666
|
173 |
msgid "In case that you would like to forbid to use the quick edit."
|
174 |
msgstr "Nel caso in cui desiderassi impedire l'utilizzo dell'editor veloce."
|
175 |
|
176 |
+
#: custom-field-template/custom-field-template.php:667
|
177 |
msgid "Disable the quick edit"
|
178 |
msgstr "Disattiva l'editor veloce"
|
179 |
|
180 |
+
#: custom-field-template/custom-field-template.php:671
|
181 |
msgid "In case that you would like to replace the box title with the template title."
|
182 |
msgstr "Nel caso in cui desiderassi sostituire il titolo della casella con il titolo del template."
|
183 |
|
184 |
+
#: custom-field-template/custom-field-template.php:672
|
185 |
msgid "Replace the box title"
|
186 |
msgstr "Sostituisci il titolo della casella"
|
187 |
|
188 |
+
#: custom-field-template/custom-field-template.php:676
|
189 |
msgid "In case that you would like to use the shortcode in the widget."
|
190 |
msgstr "Nel caso in cui desiderassi utilizzare lo shortcode nel widget"
|
191 |
|
192 |
+
#: custom-field-template/custom-field-template.php:677
|
193 |
msgid "Use the shortcode in the widget"
|
194 |
msgstr "Utilizza lo shortcode nel widget"
|
195 |
|
196 |
+
#: custom-field-template/custom-field-template.php:681
|
197 |
+
#: custom-field-template/custom-field-template.php:700
|
198 |
+
#: custom-field-template/custom-field-template.php:729
|
199 |
+
#: custom-field-template/custom-field-template.php:760
|
200 |
+
#: custom-field-template/custom-field-template.php:798
|
201 |
msgid "Update Options »"
|
202 |
msgstr "Aggiorna le opzioni »"
|
203 |
|
204 |
+
#: custom-field-template/custom-field-template.php:691
|
205 |
msgid "ADMIN CSS"
|
206 |
msgstr "CSS AMMINISTRAZIONE"
|
207 |
|
208 |
+
#: custom-field-template/custom-field-template.php:710
|
209 |
msgid "[cft] and [cftsearch] Shortcode Format"
|
210 |
msgstr "Formato Shortcode [cft] e [cftsearch]"
|
211 |
|
212 |
+
#: custom-field-template/custom-field-template.php:713
|
213 |
msgid "For [cft], [key] will be converted into the value of [key]."
|
214 |
msgstr "[key] verrà convertito nel valore di [key]."
|
215 |
|
216 |
+
#: custom-field-template/custom-field-template.php:714
|
217 |
msgid "For [cftsearch], [key] will be converted into the input field."
|
218 |
msgstr "[cftsearch], [key] verrà convertito nell'input del campo."
|
219 |
|
220 |
+
#: custom-field-template/custom-field-template.php:723
|
221 |
+
#: custom-field-template/custom-field-template.php:792
|
222 |
msgid "Use PHP"
|
223 |
msgstr "Usa PHP"
|
224 |
|
225 |
+
#: custom-field-template/custom-field-template.php:739
|
226 |
msgid "PHP CODE (Experimental Option)"
|
227 |
msgstr "CODICE PHP CODE (opzione sperimentale)"
|
228 |
|
229 |
+
#: custom-field-template/custom-field-template.php:741
|
230 |
msgid "Are you sure to save PHP codes? Please do it at your own risk."
|
231 |
msgstr "Sei certo di volere salvare dei codici PHP? Se sì, fallo a tuo rischio."
|
232 |
|
233 |
+
#: custom-field-template/custom-field-template.php:742
|
234 |
msgid "For `text` and `textarea`, you must set $value as an string."
|
235 |
msgstr "`text` e `textarea`, dovrai impostare come stringa $value."
|
236 |
|
237 |
+
#: custom-field-template/custom-field-template.php:744
|
238 |
msgid "For `checkbox`, `radio`, and `select`, you must set $values as an array."
|
239 |
msgstr "`checkbox`, `radio`, e `select`, dovrai impostare come array $values."
|
240 |
|
241 |
+
#: custom-field-template/custom-field-template.php:770
|
242 |
msgid "Auto Hook of `the_content()` (Experimental Option)"
|
243 |
msgstr "Hook automatico di `the_content()` (opzione sperimentale)"
|
244 |
|
245 |
+
#: custom-field-template/custom-field-template.php:780
|
246 |
msgid "Position"
|
247 |
msgstr "Posizione"
|
248 |
|
249 |
+
#: custom-field-template/custom-field-template.php:781
|
250 |
msgid "Before the conetnt"
|
251 |
msgstr "Davanti ai contenuti"
|
252 |
|
253 |
+
#: custom-field-template/custom-field-template.php:782
|
254 |
msgid "After the conetnt"
|
255 |
msgstr "A seguire i contenuti"
|
256 |
|
257 |
+
#: custom-field-template/custom-field-template.php:783
|
258 |
+
#, php-format
|
259 |
+
msgid "Inside the conetnt ([cfthook hook=%d])"
|
260 |
+
msgstr "Dentro il contenuto ([cfthook hook=%d])"
|
261 |
+
|
262 |
+
#: custom-field-template/custom-field-template.php:791
|
263 |
msgid "Content"
|
264 |
msgstr "Contenuti"
|
265 |
|
266 |
+
#: custom-field-template/custom-field-template.php:808
|
267 |
msgid "Rebuild Value Counts"
|
268 |
msgstr "Rigenera Value Counts"
|
269 |
|
270 |
+
#: custom-field-template/custom-field-template.php:810
|
271 |
msgid "Are you sure to rebuild all value counts?"
|
272 |
msgstr "Sei certo di volere rigenerare tutti i value counts?"
|
273 |
|
274 |
+
#: custom-field-template/custom-field-template.php:814
|
275 |
msgid "Value Counts are used for temporarily saving how many values in each key. Set `valueCount = true` into fields."
|
276 |
msgstr "I Value Counts sono utilizzati per il salvataggio temporaneo dei valori per ogni chiave. Imposta dentro ai campi `valueCount = true`."
|
277 |
|
278 |
+
#: custom-field-template/custom-field-template.php:818
|
279 |
msgid "Rebuild Value Counts »"
|
280 |
msgstr "Rigenera Value Counts »"
|
281 |
|
282 |
+
#: custom-field-template/custom-field-template.php:828
|
283 |
msgid "Option List"
|
284 |
msgstr "Lista opzione"
|
285 |
|
286 |
+
#: custom-field-template/custom-field-template.php:927
|
287 |
msgid "Reset Options"
|
288 |
msgstr "Ripristina le opzioni"
|
289 |
|
290 |
+
#: custom-field-template/custom-field-template.php:929
|
291 |
msgid "Are you sure to reset options? Options you set will be reset to the default settings."
|
292 |
msgstr "Sei certo di volere ripristinare le opzioni? Le opzioni personalizzate verranno ripristinate alle predefinite."
|
293 |
|
294 |
+
#: custom-field-template/custom-field-template.php:933
|
295 |
msgid "Unset Options »"
|
296 |
msgstr "Procedi »"
|
297 |
|
298 |
+
#: custom-field-template/custom-field-template.php:943
|
299 |
msgid "Delete Options"
|
300 |
msgstr "Cancella le opzioni"
|
301 |
|
302 |
+
#: custom-field-template/custom-field-template.php:945
|
303 |
msgid "Are you sure to delete options? Options you set will be deleted."
|
304 |
msgstr "Sei certo di volere cancellare le opzioni? Le opzioni personalizzate verranno cancellate."
|
305 |
|
306 |
+
#: custom-field-template/custom-field-template.php:949
|
307 |
msgid "Delete Options »"
|
308 |
msgstr "Cancella le opzioni »"
|
309 |
|
310 |
+
#: custom-field-template/custom-field-template.php:959
|
311 |
msgid "Donation"
|
312 |
msgstr "Fai una donazione"
|
313 |
|
314 |
+
#: custom-field-template/custom-field-template.php:961
|
315 |
msgid "If you liked this plugin, please make a donation via paypal! Any amount is welcome. Your support is much appreciated."
|
316 |
msgstr "Qualora avesi gradito questo plugin, effettua una donazione via paypal! Grazie."
|
317 |
|
318 |
+
#: custom-field-template/custom-field-template.php:1150
|
319 |
msgid "Clear"
|
320 |
msgstr "Pulisci"
|
321 |
|
322 |
+
#: custom-field-template/custom-field-template.php:1225
|
323 |
msgid "Select"
|
324 |
msgstr "Seleziona"
|
325 |
|
326 |
+
#: custom-field-template/custom-field-template.php:1284
|
327 |
msgid "Add Media"
|
328 |
msgstr "Aggiungi media"
|
329 |
|
330 |
+
#: custom-field-template/custom-field-template.php:1286
|
331 |
msgid "Add an Image"
|
332 |
msgstr "Aggiungi immagine"
|
333 |
|
334 |
+
#: custom-field-template/custom-field-template.php:1288
|
335 |
msgid "Add Video"
|
336 |
msgstr "Aggiungi video"
|
337 |
|
338 |
+
#: custom-field-template/custom-field-template.php:1290
|
339 |
msgid "Add Audio"
|
340 |
msgstr "Aggiungi audio"
|
341 |
|
342 |
+
#: custom-field-template/custom-field-template.php:1301
|
343 |
msgid "Toggle"
|
344 |
msgstr "Commuta"
|
345 |
|
346 |
+
#: custom-field-template/custom-field-template.php:1604
|
347 |
+
msgid "Initialize"
|
348 |
+
msgstr "Inizializza"
|
349 |
+
|
350 |
+
#: custom-field-template/custom-field-template.php:1605
|
351 |
+
msgid "Are you sure to reset current values? Default values will be loaded."
|
352 |
+
msgstr "Sei certo di volere ripristinare le impostazioni? Verranno ricaricate le predefinite."
|
353 |
+
|
354 |
+
#: custom-field-template/custom-field-template.php:1608
|
355 |
msgid "Save"
|
356 |
msgstr "Salva"
|
357 |
|
358 |
+
#: custom-field-template/custom-field-template.php:1985
|
359 |
msgid "Search »"
|
360 |
msgstr "Cerca »"
|
361 |
|
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.
|
8 |
Author URI: http://wordpressgogo.com/
|
9 |
*/
|
10 |
|
@@ -844,9 +844,9 @@ hideKey = true<br />
|
|
844 |
<th>hideKey</th><td>hideKey = true</td><td>hideKey = true</td><td>hideKey = true</td><td>hideKey = true</td><td>hideKey = true</td>
|
845 |
</tr>
|
846 |
<tr>
|
847 |
-
<tr>
|
848 |
<th>label</th><td>label = ABC</td><td>label = DEF</td><td>label = GHI</td><td>label = JKL</td><td>label = MNO</td>
|
849 |
</tr>
|
|
|
850 |
<th>size</th><td>size = 30</td><td></td><td></td><td></td><td></td>
|
851 |
</tr>
|
852 |
<tr>
|
@@ -1043,7 +1043,7 @@ jQuery(this).addClass("closed");
|
|
1043 |
$event_output = "";
|
1044 |
foreach($event as $key => $val) :
|
1045 |
if ( $val )
|
1046 |
-
$event_output .= " " . $key . '="' . stripcslashes($val) . '"';
|
1047 |
endforeach;
|
1048 |
|
1049 |
$out .=
|
@@ -1053,7 +1053,7 @@ jQuery(this).addClass("closed");
|
|
1053 |
|
1054 |
if ( !empty($label) && !$options['custom_field_template_replace_keys_by_labels'] )
|
1055 |
$out .= '<p class="label">' . stripcslashes($label) . '</p>';
|
1056 |
-
$out .= '<input id="' . $name . $sid . '" name="' . $name . '[]" value="' . attribute_escape($value) . '" type="text" size="' . $size . '"' . $class . $event_output . ' /></dd>' .
|
1057 |
'</dl>';
|
1058 |
return $out;
|
1059 |
}
|
@@ -1086,7 +1086,7 @@ jQuery(this).addClass("closed");
|
|
1086 |
$event_output = "";
|
1087 |
foreach($event as $key => $val) :
|
1088 |
if ( $val )
|
1089 |
-
$event_output .= " " . $key . '="' . stripcslashes($val) . '"';
|
1090 |
endforeach;
|
1091 |
|
1092 |
$out .=
|
@@ -1098,11 +1098,11 @@ jQuery(this).addClass("closed");
|
|
1098 |
|
1099 |
if ( !empty($label) && !$options['custom_field_template_replace_keys_by_labels'] )
|
1100 |
$out .= '<p class="label">' . stripcslashes($label) . '</p>';
|
1101 |
-
$out .= '<label for="' . $id . '" class="selectit"><input id="' . $id . '" name="' . $name . '[' . $sid . ']" value="' . attribute_escape($value) . '" ' . $checked . ' type="checkbox"' . $class . $event_output . ' /> ';
|
1102 |
if ( $valueLabel )
|
1103 |
-
$out .= stripcslashes($valueLabel);
|
1104 |
else
|
1105 |
-
$out .= stripcslashes($value);
|
1106 |
$out .= '</label><br />';
|
1107 |
|
1108 |
$out .= '</dd></dl>';
|
@@ -1138,7 +1138,7 @@ jQuery(this).addClass("closed");
|
|
1138 |
$event_output = "";
|
1139 |
foreach($event as $key => $val) :
|
1140 |
if ( $val )
|
1141 |
-
$event_output .= " " . $key . '="' . stripcslashes($val) . '"';
|
1142 |
endforeach;
|
1143 |
|
1144 |
$out .=
|
@@ -1164,11 +1164,11 @@ jQuery(this).addClass("closed");
|
|
1164 |
$checked = ( trim( $val ) == trim( $selected ) ) ? 'checked="checked"' : '';
|
1165 |
|
1166 |
$out .=
|
1167 |
-
'<label for="' . $id . '" class="selectit"><input id="' . $id . '" name="' . $name . '[' . $sid . ']" value="' . attribute_escape($val) . '" ' . $checked . ' type="radio"' . $class . $event_output . ' /> ';
|
1168 |
if ( $valueLabel[$i] )
|
1169 |
-
$out .= stripcslashes($valueLabel[$i]);
|
1170 |
else
|
1171 |
-
$out .= stripcslashes($val);
|
1172 |
$out .= '</label><br />';
|
1173 |
$i++;
|
1174 |
}
|
@@ -1207,7 +1207,7 @@ jQuery(this).addClass("closed");
|
|
1207 |
$event_output = "";
|
1208 |
foreach($event as $key => $val) :
|
1209 |
if ( $val )
|
1210 |
-
$event_output .= " " . $key . '="' . stripcslashes($val) . '"';
|
1211 |
endforeach;
|
1212 |
|
1213 |
$out .=
|
@@ -1228,11 +1228,11 @@ jQuery(this).addClass("closed");
|
|
1228 |
foreach( $values as $val ) {
|
1229 |
$checked = ( trim( $val ) == trim( $selected ) ) ? 'selected="selected"' : '';
|
1230 |
|
1231 |
-
$out .= '<option value="' . attribute_escape($val) . '" ' . $checked . ' > ';
|
1232 |
if ( $valueLabel[$i] )
|
1233 |
-
$out .= stripcslashes($valueLabel[$i]);
|
1234 |
else
|
1235 |
-
$out .= stripcslashes($val);
|
1236 |
$out .= '</option>';
|
1237 |
$i++;
|
1238 |
}
|
@@ -1318,7 +1318,7 @@ EOF;
|
|
1318 |
$event_output = "";
|
1319 |
foreach($event as $key => $val) :
|
1320 |
if ( $val )
|
1321 |
-
$event_output .= " " . $key . '="' . stripcslashes($val) . '"';
|
1322 |
endforeach;
|
1323 |
|
1324 |
$out .=
|
@@ -1336,7 +1336,7 @@ EOF;
|
|
1336 |
$editorcontainer_class .= ' class="editorcontainer"';
|
1337 |
endif;
|
1338 |
|
1339 |
-
$out .= '<div' . $editorcontainer_class . ' id="editorcontainer_' . $name . $rand . '"><textarea id="' . $name . $rand . '" name="' . $name . '[' . $sid . ']" rows="' .$rows. '" cols="' . $cols . '" style="color:#000000"' . $content_class . $event_output . '>' . attribute_escape($value) . '</textarea><input type="hidden" name="'.$name.'_rand['.$sid.']" value="'.$rand.'" /></div>';
|
1340 |
if ( $htmlEditor == true ) $out .= '</div>';
|
1341 |
$out .= '</dd></dl>';
|
1342 |
|
@@ -1679,7 +1679,7 @@ jQuery("#edButtonPreview").trigger("click"); }' . "\n";
|
|
1679 |
global $wpdb, $wp_version;
|
1680 |
$options = $this->get_custom_field_template_data();
|
1681 |
|
1682 |
-
if( !isset( $id ) )
|
1683 |
$id = $_REQUEST[ 'post_ID' ];
|
1684 |
|
1685 |
if( !current_user_can('edit_post', $id) )
|
@@ -1699,11 +1699,11 @@ jQuery("#edButtonPreview").trigger("click"); }' . "\n";
|
|
1699 |
if ( $fields == null )
|
1700 |
return;
|
1701 |
|
1702 |
-
foreach( $fields as $title => $data) {
|
1703 |
$name = $this->sanitize_name( $title );
|
1704 |
$title = $wpdb->escape(stripcslashes(trim($title)));
|
1705 |
delete_post_meta($id, $title);
|
1706 |
-
}
|
1707 |
|
1708 |
if ( !class_exists('SimpleTags') )
|
1709 |
$tags_input = explode(",", $_POST['tags_input']);
|
@@ -1712,6 +1712,7 @@ jQuery("#edButtonPreview").trigger("click"); }' . "\n";
|
|
1712 |
$name = $this->sanitize_name( $title );
|
1713 |
$title = $wpdb->escape(stripcslashes(trim($title)));
|
1714 |
|
|
|
1715 |
for($i = 0; $i<count($data); $i++) {
|
1716 |
$value = stripcslashes(trim($_REQUEST[ "$name" ][$i]));
|
1717 |
|
@@ -1721,8 +1722,9 @@ jQuery("#edButtonPreview").trigger("click"); }' . "\n";
|
|
1721 |
if ( is_numeric($data[$i]['editCode']) ) :
|
1722 |
eval(stripcslashes($options['php'][$data[$i]['editCode']]));
|
1723 |
endif;
|
1724 |
-
if ( strlen( $value ) )
|
1725 |
-
|
|
|
1726 |
if ( $data[$i]['insertTag'] == true ) $tags_input[] = $value;
|
1727 |
if ( $data[$i]['valueCount'] == true ) :
|
1728 |
$options['value_count'][$title][$value] = $this->set_value_count($title, $value);
|
@@ -1732,9 +1734,29 @@ jQuery("#edButtonPreview").trigger("click"); }' . "\n";
|
|
1732 |
preg_match('/cw=[0-9]+&ch=([0-9]+)/', $_REQUEST['TinyMCE_' . $name . trim($_REQUEST[ $name."_rand" ][$i]) . '_size'], $matched);
|
1733 |
$options['tinyMCE'][$id][$name][$i] = (int)($matched[1]/20);
|
1734 |
}
|
1735 |
-
} else
|
1736 |
-
if ( $data[$i]['blank'] == true )
|
|
|
1737 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1738 |
}
|
1739 |
|
1740 |
if ( is_array($tags_input) ) :
|
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.2
|
8 |
Author URI: http://wordpressgogo.com/
|
9 |
*/
|
10 |
|
844 |
<th>hideKey</th><td>hideKey = true</td><td>hideKey = true</td><td>hideKey = true</td><td>hideKey = true</td><td>hideKey = true</td>
|
845 |
</tr>
|
846 |
<tr>
|
|
|
847 |
<th>label</th><td>label = ABC</td><td>label = DEF</td><td>label = GHI</td><td>label = JKL</td><td>label = MNO</td>
|
848 |
</tr>
|
849 |
+
<tr>
|
850 |
<th>size</th><td>size = 30</td><td></td><td></td><td></td><td></td>
|
851 |
</tr>
|
852 |
<tr>
|
1043 |
$event_output = "";
|
1044 |
foreach($event as $key => $val) :
|
1045 |
if ( $val )
|
1046 |
+
$event_output .= " " . $key . '="' . stripcslashes(trim($val)) . '"';
|
1047 |
endforeach;
|
1048 |
|
1049 |
$out .=
|
1053 |
|
1054 |
if ( !empty($label) && !$options['custom_field_template_replace_keys_by_labels'] )
|
1055 |
$out .= '<p class="label">' . stripcslashes($label) . '</p>';
|
1056 |
+
$out .= '<input id="' . $name . $sid . '" name="' . $name . '[]" value="' . attribute_escape(trim($value)) . '" type="text" size="' . $size . '"' . $class . $event_output . ' /></dd>' .
|
1057 |
'</dl>';
|
1058 |
return $out;
|
1059 |
}
|
1086 |
$event_output = "";
|
1087 |
foreach($event as $key => $val) :
|
1088 |
if ( $val )
|
1089 |
+
$event_output .= " " . $key . '="' . stripcslashes(trim($val)) . '"';
|
1090 |
endforeach;
|
1091 |
|
1092 |
$out .=
|
1098 |
|
1099 |
if ( !empty($label) && !$options['custom_field_template_replace_keys_by_labels'] )
|
1100 |
$out .= '<p class="label">' . stripcslashes($label) . '</p>';
|
1101 |
+
$out .= '<label for="' . $id . '" class="selectit"><input id="' . $id . '" name="' . $name . '[' . $sid . ']" value="' . attribute_escape(trim($value)) . '" ' . $checked . ' type="checkbox"' . $class . $event_output . ' /> ';
|
1102 |
if ( $valueLabel )
|
1103 |
+
$out .= stripcslashes(trim($valueLabel));
|
1104 |
else
|
1105 |
+
$out .= stripcslashes(trim($value));
|
1106 |
$out .= '</label><br />';
|
1107 |
|
1108 |
$out .= '</dd></dl>';
|
1138 |
$event_output = "";
|
1139 |
foreach($event as $key => $val) :
|
1140 |
if ( $val )
|
1141 |
+
$event_output .= " " . $key . '="' . stripcslashes(trim($val)) . '"';
|
1142 |
endforeach;
|
1143 |
|
1144 |
$out .=
|
1164 |
$checked = ( trim( $val ) == trim( $selected ) ) ? 'checked="checked"' : '';
|
1165 |
|
1166 |
$out .=
|
1167 |
+
'<label for="' . $id . '" class="selectit"><input id="' . $id . '" name="' . $name . '[' . $sid . ']" value="' . attribute_escape(trim($val)) . '" ' . $checked . ' type="radio"' . $class . $event_output . ' /> ';
|
1168 |
if ( $valueLabel[$i] )
|
1169 |
+
$out .= stripcslashes(trim($valueLabel[$i]));
|
1170 |
else
|
1171 |
+
$out .= stripcslashes(trim($val));
|
1172 |
$out .= '</label><br />';
|
1173 |
$i++;
|
1174 |
}
|
1207 |
$event_output = "";
|
1208 |
foreach($event as $key => $val) :
|
1209 |
if ( $val )
|
1210 |
+
$event_output .= " " . $key . '="' . stripcslashes(trim($val)) . '"';
|
1211 |
endforeach;
|
1212 |
|
1213 |
$out .=
|
1228 |
foreach( $values as $val ) {
|
1229 |
$checked = ( trim( $val ) == trim( $selected ) ) ? 'selected="selected"' : '';
|
1230 |
|
1231 |
+
$out .= '<option value="' . attribute_escape(trim($val)) . '" ' . $checked . ' > ';
|
1232 |
if ( $valueLabel[$i] )
|
1233 |
+
$out .= stripcslashes(trim($valueLabel[$i]));
|
1234 |
else
|
1235 |
+
$out .= stripcslashes(trim($val));
|
1236 |
$out .= '</option>';
|
1237 |
$i++;
|
1238 |
}
|
1318 |
$event_output = "";
|
1319 |
foreach($event as $key => $val) :
|
1320 |
if ( $val )
|
1321 |
+
$event_output .= " " . $key . '="' . stripcslashes(trim($val)) . '"';
|
1322 |
endforeach;
|
1323 |
|
1324 |
$out .=
|
1336 |
$editorcontainer_class .= ' class="editorcontainer"';
|
1337 |
endif;
|
1338 |
|
1339 |
+
$out .= '<div' . $editorcontainer_class . ' id="editorcontainer_' . $name . $rand . '"><textarea id="' . $name . $rand . '" name="' . $name . '[' . $sid . ']" rows="' .$rows. '" cols="' . $cols . '" style="color:#000000"' . $content_class . $event_output . '>' . attribute_escape(trim($value)) . '</textarea><input type="hidden" name="'.$name.'_rand['.$sid.']" value="'.$rand.'" /></div>';
|
1340 |
if ( $htmlEditor == true ) $out .= '</div>';
|
1341 |
$out .= '</dd></dl>';
|
1342 |
|
1679 |
global $wpdb, $wp_version;
|
1680 |
$options = $this->get_custom_field_template_data();
|
1681 |
|
1682 |
+
if( !isset( $id ) || $_REQUEST[ 'post_ID' ] )
|
1683 |
$id = $_REQUEST[ 'post_ID' ];
|
1684 |
|
1685 |
if( !current_user_can('edit_post', $id) )
|
1699 |
if ( $fields == null )
|
1700 |
return;
|
1701 |
|
1702 |
+
/*foreach( $fields as $title => $data) {
|
1703 |
$name = $this->sanitize_name( $title );
|
1704 |
$title = $wpdb->escape(stripcslashes(trim($title)));
|
1705 |
delete_post_meta($id, $title);
|
1706 |
+
}*/
|
1707 |
|
1708 |
if ( !class_exists('SimpleTags') )
|
1709 |
$tags_input = explode(",", $_POST['tags_input']);
|
1712 |
$name = $this->sanitize_name( $title );
|
1713 |
$title = $wpdb->escape(stripcslashes(trim($title)));
|
1714 |
|
1715 |
+
unset($values);
|
1716 |
for($i = 0; $i<count($data); $i++) {
|
1717 |
$value = stripcslashes(trim($_REQUEST[ "$name" ][$i]));
|
1718 |
|
1722 |
if ( is_numeric($data[$i]['editCode']) ) :
|
1723 |
eval(stripcslashes($options['php'][$data[$i]['editCode']]));
|
1724 |
endif;
|
1725 |
+
if ( strlen( $value ) ) :
|
1726 |
+
$values[] = $value;
|
1727 |
+
endif;
|
1728 |
if ( $data[$i]['insertTag'] == true ) $tags_input[] = $value;
|
1729 |
if ( $data[$i]['valueCount'] == true ) :
|
1730 |
$options['value_count'][$title][$value] = $this->set_value_count($title, $value);
|
1734 |
preg_match('/cw=[0-9]+&ch=([0-9]+)/', $_REQUEST['TinyMCE_' . $name . trim($_REQUEST[ $name."_rand" ][$i]) . '_size'], $matched);
|
1735 |
$options['tinyMCE'][$id][$name][$i] = (int)($matched[1]/20);
|
1736 |
}
|
1737 |
+
} else {
|
1738 |
+
if ( $data[$i]['blank'] == true ) $values[] = "";
|
1739 |
+
}
|
1740 |
}
|
1741 |
+
if ( count($values) == 1 ) :
|
1742 |
+
if ( !add_post_meta( $id, $title, apply_filters('cft_'.urlencode($title), $values[0]), true ) ) :
|
1743 |
+
update_post_meta( $id, $title, apply_filters('cft_'.urlencode($title), $values[0]) );
|
1744 |
+
endif;
|
1745 |
+
elseif ( count($values) > 1 ) :
|
1746 |
+
$tmp = get_post_meta( $id, $title, false );
|
1747 |
+
if ( count($tmp)>0 ) :
|
1748 |
+
if ( $values != $tmp ) :
|
1749 |
+
delete_post_meta($id, $title);
|
1750 |
+
foreach($values as $val)
|
1751 |
+
add_post_meta( $id, $title, apply_filters('cft_'.urlencode($title), $val) );
|
1752 |
+
endif;
|
1753 |
+
else :
|
1754 |
+
foreach($values as $val)
|
1755 |
+
add_post_meta( $id, $title, apply_filters('cft_'.urlencode($title), $val) );
|
1756 |
+
endif;
|
1757 |
+
else :
|
1758 |
+
delete_post_meta($id, $title);
|
1759 |
+
endif;
|
1760 |
}
|
1761 |
|
1762 |
if ( is_array($tags_input) ) :
|
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.
|
8 |
|
9 |
This plugin adds the default custom fields on the Write Post/Page.
|
10 |
|
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.2
|
8 |
|
9 |
This plugin adds the default custom fields on the Write Post/Page.
|
10 |
|