Breadcrumb NavXT - Version 2.1.3

Version Description

Download this release

Release Info

Developer mtekk
Plugin Icon 128x128 Breadcrumb NavXT
Version 2.1.3
Comparing to
See all releases

Code changes from version 2.1.2 to 2.1.3

breadcrumb_navxt-de_DE.mo CHANGED
Binary file
breadcrumb_navxt-de_DE.po CHANGED
@@ -3,7 +3,7 @@ msgstr ""
3
  "Project-Id-Version: Breadcrumb NavXT\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2008-01-25 16:19-0600\n"
6
- "PO-Revision-Date: 2008-02-09 17:26+0100\n"
7
  "Last-Translator: mot <artnorm@gmail.com>\n"
8
  "Language-Team: Tom Klingenberg <artnorm@gmail.com>\n"
9
  "MIME-Version: 1.0\n"
@@ -112,8 +112,8 @@ msgstr "Dieses Administrations-Interface erlaubt weitreichende Einstellungen zur
112
  #: C:\Documents
113
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
114
  #: NavXT/breadcrumb_navxt_admin.php:254
115
- msgid "General Settings:"
116
- msgstr "Genrelle Einstellungen:"
117
 
118
  #: C:\Documents
119
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
@@ -124,266 +124,266 @@ msgstr "Leerzeichen am Beginn und Ende der Optionen schützen."
124
  #: C:\Documents
125
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
126
  #: NavXT/breadcrumb_navxt_admin.php:261
127
- msgid "Blog Title:"
128
- msgstr "Blog Titel:"
129
 
130
  #: C:\Documents
131
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
132
  #: NavXT/breadcrumb_navxt_admin.php:265
133
- msgid "Breadcrumb Separator:"
134
- msgstr "Breadcrumb Trennsymbol:"
135
 
136
  #: C:\Documents
137
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
138
  #: NavXT/breadcrumb_navxt_admin.php:269
139
- msgid "Search Prefix:"
140
- msgstr "Such-Prefix:"
141
 
142
  #: C:\Documents
143
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
144
  #: NavXT/breadcrumb_navxt_admin.php:273
145
- msgid "Search Suffix:"
146
- msgstr "Such-Suffix:"
147
 
148
  #: C:\Documents
149
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
150
  #: NavXT/breadcrumb_navxt_admin.php:277
151
- msgid "404 Title:"
152
- msgstr "404 Titel:"
153
 
154
  #: C:\Documents
155
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
156
  #: NavXT/breadcrumb_navxt_admin.php:282
157
- msgid "Static Frontpage Settings:"
158
- msgstr "Einstellungen der statischen Startseite:"
159
 
160
  #: C:\Documents
161
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
162
  #: NavXT/breadcrumb_navxt_admin.php:283
163
- msgid "Static Frontpage:"
164
- msgstr "Statische Startseite:"
165
 
166
  #: C:\Documents
167
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
168
  #: NavXT/breadcrumb_navxt_admin.php:297
169
- msgid "Relative Blog URL:"
170
- msgstr "Relatvie Blog URL:"
171
 
172
  #: C:\Documents
173
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
174
  #: NavXT/breadcrumb_navxt_admin.php:300
175
- msgid "Display Home:"
176
- msgstr "Home anzeigen:"
177
 
178
  #: C:\Documents
179
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
180
  #: NavXT/breadcrumb_navxt_admin.php:313
181
- msgid "Display Home Link:"
182
- msgstr "Home-Link anzeigen:"
183
 
184
  #: C:\Documents
185
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
186
  #: NavXT/breadcrumb_navxt_admin.php:327
187
- msgid "Home Title:"
188
- msgstr "Home Titel:"
189
 
190
  #: C:\Documents
191
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
192
  #: NavXT/breadcrumb_navxt_admin.php:332
193
- msgid "Author Page Settings:"
194
- msgstr "Einstellungen Autorenseite:"
195
 
196
  #: C:\Documents
197
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
198
  #: NavXT/breadcrumb_navxt_admin.php:334
199
- msgid "Author Prefix:"
200
- msgstr "Autor-Prefix:"
201
 
202
  #: C:\Documents
203
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
204
  #: NavXT/breadcrumb_navxt_admin.php:338
205
- msgid "Author Suffix:"
206
- msgstr "Autor-Suffix:"
207
 
208
  #: C:\Documents
209
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
210
  #: NavXT/breadcrumb_navxt_admin.php:341
211
- msgid "Author Display Format:"
212
- msgstr "Autor Darstellungsformat:"
213
 
214
  #: C:\Documents
215
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
216
  #: NavXT/breadcrumb_navxt_admin.php:356
217
- msgid "Archive Display Settings:"
218
- msgstr "Archiv Darstellungsformat:"
219
 
220
  #: C:\Documents
221
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
222
  #: NavXT/breadcrumb_navxt_admin.php:358
223
- msgid "URL Title Prefix:"
224
- msgstr "URL Titel-Prefix:"
225
 
226
  #: C:\Documents
227
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
228
  #: NavXT/breadcrumb_navxt_admin.php:362
229
- msgid "URL Title Suffix:"
230
- msgstr "URL Titel-Suffix:"
231
 
232
  #: C:\Documents
233
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
234
  #: NavXT/breadcrumb_navxt_admin.php:366
235
- msgid "Archive by Category Prefix:"
236
- msgstr "Archiv Kategorien-Prefix:"
237
 
238
  #: C:\Documents
239
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
240
  #: NavXT/breadcrumb_navxt_admin.php:370
241
- msgid "Archive by Category Suffix:"
242
- msgstr "Archiv Kategorien-Suffix:"
243
 
244
  #: C:\Documents
245
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
246
  #: NavXT/breadcrumb_navxt_admin.php:374
247
- msgid "Archive by Date Prefix:"
248
- msgstr "Archiv Datums-Prefix:"
249
 
250
  #: C:\Documents
251
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
252
  #: NavXT/breadcrumb_navxt_admin.php:378
253
- msgid "Archive by Date Suffix:"
254
- msgstr "Archiv Datums-Suffix:"
255
 
256
  #: C:\Documents
257
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
258
  #: NavXT/breadcrumb_navxt_admin.php:381
259
- msgid "Archive by Date Format:"
260
- msgstr "Archiv Datums-Format:"
261
 
262
  #: C:\Documents
263
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
264
  #: NavXT/breadcrumb_navxt_admin.php:395
265
- msgid "Archive by Tag Prefix:"
266
- msgstr "Archiv Tag-Prefix:"
267
 
268
  #: C:\Documents
269
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
270
  #: NavXT/breadcrumb_navxt_admin.php:399
271
- msgid "Archive by Tag Suffix:"
272
- msgstr "Archiv Tag-Suffix:"
273
 
274
  #: C:\Documents
275
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
276
  #: NavXT/breadcrumb_navxt_admin.php:404
277
- msgid "Current Item Settings:"
278
- msgstr "Aktuelles Element:"
279
 
280
  #: C:\Documents
281
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
282
  #: NavXT/breadcrumb_navxt_admin.php:405
283
- msgid "Link Current Item:"
284
- msgstr "Element Verlinken:"
285
 
286
  #: C:\Documents
287
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
288
  #: NavXT/breadcrumb_navxt_admin.php:419
289
- msgid "Current Item URL Title:"
290
- msgstr "Aktuelle URL Titel:"
291
 
292
  #: C:\Documents
293
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
294
  #: NavXT/breadcrumb_navxt_admin.php:423
295
- msgid "Current Item Style Prefix:"
296
- msgstr "Aktuelles Stil-Prefix:"
297
 
298
  #: C:\Documents
299
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
300
  #: NavXT/breadcrumb_navxt_admin.php:427
301
- msgid "Current Item Style Suffix:"
302
- msgstr "Aktuelles Stil-Suffix:"
303
 
304
  #: C:\Documents
305
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
306
  #: NavXT/breadcrumb_navxt_admin.php:430
307
- msgid "Display Paged Text:"
308
- msgstr "Seiten-Text:"
309
 
310
  #: C:\Documents
311
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
312
  #: NavXT/breadcrumb_navxt_admin.php:444
313
- msgid "Paged Prefix:"
314
- msgstr "Seiten-Prefix:"
315
 
316
  #: C:\Documents
317
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
318
  #: NavXT/breadcrumb_navxt_admin.php:448
319
- msgid "Paged Suffix:"
320
- msgstr "Seiten-Suffix:"
321
 
322
  #: C:\Documents
323
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
324
  #: NavXT/breadcrumb_navxt_admin.php:453
325
- msgid "Single Post Settings:"
326
- msgstr "Einzelner Beitrag:"
327
 
328
  #: C:\Documents
329
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
330
  #: NavXT/breadcrumb_navxt_admin.php:455
331
- msgid "Single Blogpost Prefix:"
332
- msgstr "Einzelbeitrag-Prefix:"
333
 
334
  #: C:\Documents
335
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
336
  #: NavXT/breadcrumb_navxt_admin.php:459
337
- msgid "Single Blogpost Suffix:"
338
- msgstr "Einzelbeitrag-Suffix:"
339
 
340
  #: C:\Documents
341
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
342
  #: NavXT/breadcrumb_navxt_admin.php:463
343
- msgid "Page Prefix:"
344
- msgstr "Seiten-Prefix:"
345
 
346
  #: C:\Documents
347
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
348
  #: NavXT/breadcrumb_navxt_admin.php:467
349
- msgid "Page Suffix:"
350
- msgstr "Seiten-Suffix:"
351
 
352
  #: C:\Documents
353
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
354
  #: NavXT/breadcrumb_navxt_admin.php:471
355
- msgid "Post Attachment Prefix:"
356
- msgstr "Beitrags-Attachment Prefix:"
357
 
358
  #: C:\Documents
359
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
360
  #: NavXT/breadcrumb_navxt_admin.php:475
361
- msgid "Post Attachment Suffix:"
362
- msgstr "Beitrags-Attachment Suffix:"
363
 
364
  #: C:\Documents
365
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
366
  #: NavXT/breadcrumb_navxt_admin.php:479
367
- msgid "Post Title Maxlen:"
368
- msgstr "Beitragstitel Maximallänge:"
369
 
370
  #: C:\Documents
371
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
372
  #: NavXT/breadcrumb_navxt_admin.php:483
373
- msgid "Single Blog Post Category Display:"
374
- msgstr "Einzelbeitrag Kategorie-Anzeige:"
375
 
376
  #: C:\Documents
377
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
378
  #: NavXT/breadcrumb_navxt_admin.php:497
379
- msgid "Single Blog Post Category Prefix:"
380
- msgstr "Einzelbeitrag Kategorie-Prefix:"
381
 
382
  #: C:\Documents
383
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
384
  #: NavXT/breadcrumb_navxt_admin.php:501
385
- msgid "Single Blog Post Category Suffix:"
386
- msgstr "Einzelbeitrag Kategorie-Suffix:"
387
 
388
  #: C:\Documents
389
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
3
  "Project-Id-Version: Breadcrumb NavXT\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2008-01-25 16:19-0600\n"
6
+ "PO-Revision-Date: 2008-06-13 08:13+0100\n"
7
  "Last-Translator: mot <artnorm@gmail.com>\n"
8
  "Language-Team: Tom Klingenberg <artnorm@gmail.com>\n"
9
  "MIME-Version: 1.0\n"
112
  #: C:\Documents
113
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
114
  #: NavXT/breadcrumb_navxt_admin.php:254
115
+ msgid "General Settings"
116
+ msgstr "Genrelle Einstellungen"
117
 
118
  #: C:\Documents
119
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
124
  #: C:\Documents
125
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
126
  #: NavXT/breadcrumb_navxt_admin.php:261
127
+ msgid "Blog Title"
128
+ msgstr "Blog Titel"
129
 
130
  #: C:\Documents
131
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
132
  #: NavXT/breadcrumb_navxt_admin.php:265
133
+ msgid "Breadcrumb Separator"
134
+ msgstr "Breadcrumb Trennsymbol"
135
 
136
  #: C:\Documents
137
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
138
  #: NavXT/breadcrumb_navxt_admin.php:269
139
+ msgid "Search Prefix"
140
+ msgstr "Such-Prefix"
141
 
142
  #: C:\Documents
143
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
144
  #: NavXT/breadcrumb_navxt_admin.php:273
145
+ msgid "Search Suffix"
146
+ msgstr "Such-Suffix"
147
 
148
  #: C:\Documents
149
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
150
  #: NavXT/breadcrumb_navxt_admin.php:277
151
+ msgid "404 Title"
152
+ msgstr "404 Titel"
153
 
154
  #: C:\Documents
155
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
156
  #: NavXT/breadcrumb_navxt_admin.php:282
157
+ msgid "Static Frontpage Settings"
158
+ msgstr "Einstellungen der statischen Startseite"
159
 
160
  #: C:\Documents
161
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
162
  #: NavXT/breadcrumb_navxt_admin.php:283
163
+ msgid "Static Frontpage"
164
+ msgstr "Statische Startseite"
165
 
166
  #: C:\Documents
167
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
168
  #: NavXT/breadcrumb_navxt_admin.php:297
169
+ msgid "Relative Blog URL"
170
+ msgstr "Relative Blog URL"
171
 
172
  #: C:\Documents
173
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
174
  #: NavXT/breadcrumb_navxt_admin.php:300
175
+ msgid "Display Home"
176
+ msgstr "Home anzeigen"
177
 
178
  #: C:\Documents
179
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
180
  #: NavXT/breadcrumb_navxt_admin.php:313
181
+ msgid "Display Home Link"
182
+ msgstr "Home-Link anzeigen"
183
 
184
  #: C:\Documents
185
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
186
  #: NavXT/breadcrumb_navxt_admin.php:327
187
+ msgid "Home Title"
188
+ msgstr "Home Titel"
189
 
190
  #: C:\Documents
191
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
192
  #: NavXT/breadcrumb_navxt_admin.php:332
193
+ msgid "Author Page Settings"
194
+ msgstr "Einstellungen Autorenseite"
195
 
196
  #: C:\Documents
197
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
198
  #: NavXT/breadcrumb_navxt_admin.php:334
199
+ msgid "Author Prefix"
200
+ msgstr "Autor-Prefix"
201
 
202
  #: C:\Documents
203
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
204
  #: NavXT/breadcrumb_navxt_admin.php:338
205
+ msgid "Author Suffix"
206
+ msgstr "Autor-Suffix"
207
 
208
  #: C:\Documents
209
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
210
  #: NavXT/breadcrumb_navxt_admin.php:341
211
+ msgid "Author Display Format"
212
+ msgstr "Autor Darstellungsformat"
213
 
214
  #: C:\Documents
215
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
216
  #: NavXT/breadcrumb_navxt_admin.php:356
217
+ msgid "Archive Display Settings"
218
+ msgstr "Archiv Darstellungsformat"
219
 
220
  #: C:\Documents
221
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
222
  #: NavXT/breadcrumb_navxt_admin.php:358
223
+ msgid "URL Title Prefix"
224
+ msgstr "URL Titel-Prefix"
225
 
226
  #: C:\Documents
227
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
228
  #: NavXT/breadcrumb_navxt_admin.php:362
229
+ msgid "URL Title Suffix"
230
+ msgstr "URL Titel-Suffix"
231
 
232
  #: C:\Documents
233
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
234
  #: NavXT/breadcrumb_navxt_admin.php:366
235
+ msgid "Archive by Category Prefix"
236
+ msgstr "Archiv Kategorien-Prefix"
237
 
238
  #: C:\Documents
239
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
240
  #: NavXT/breadcrumb_navxt_admin.php:370
241
+ msgid "Archive by Category Suffix"
242
+ msgstr "Archiv Kategorien-Suffix"
243
 
244
  #: C:\Documents
245
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
246
  #: NavXT/breadcrumb_navxt_admin.php:374
247
+ msgid "Archive by Date Prefix"
248
+ msgstr "Archiv Datums-Prefix"
249
 
250
  #: C:\Documents
251
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
252
  #: NavXT/breadcrumb_navxt_admin.php:378
253
+ msgid "Archive by Date Suffix"
254
+ msgstr "Archiv Datums-Suffix"
255
 
256
  #: C:\Documents
257
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
258
  #: NavXT/breadcrumb_navxt_admin.php:381
259
+ msgid "Archive by Date Format"
260
+ msgstr "Archiv Datums-Format"
261
 
262
  #: C:\Documents
263
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
264
  #: NavXT/breadcrumb_navxt_admin.php:395
265
+ msgid "Archive by Tag Prefix"
266
+ msgstr "Archiv Tag-Prefix"
267
 
268
  #: C:\Documents
269
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
270
  #: NavXT/breadcrumb_navxt_admin.php:399
271
+ msgid "Archive by Tag Suffix"
272
+ msgstr "Archiv Tag-Suffix"
273
 
274
  #: C:\Documents
275
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
276
  #: NavXT/breadcrumb_navxt_admin.php:404
277
+ msgid "Current Item Settings"
278
+ msgstr "Aktuelles Element"
279
 
280
  #: C:\Documents
281
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
282
  #: NavXT/breadcrumb_navxt_admin.php:405
283
+ msgid "Link Current Item"
284
+ msgstr "Element Verlinken"
285
 
286
  #: C:\Documents
287
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
288
  #: NavXT/breadcrumb_navxt_admin.php:419
289
+ msgid "Current Item URL Title"
290
+ msgstr "Aktuelle URL Titel"
291
 
292
  #: C:\Documents
293
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
294
  #: NavXT/breadcrumb_navxt_admin.php:423
295
+ msgid "Current Item Style Prefix"
296
+ msgstr "Aktuelles Stil-Prefix"
297
 
298
  #: C:\Documents
299
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
300
  #: NavXT/breadcrumb_navxt_admin.php:427
301
+ msgid "Current Item Style Suffix"
302
+ msgstr "Aktuelles Stil-Suffix"
303
 
304
  #: C:\Documents
305
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
306
  #: NavXT/breadcrumb_navxt_admin.php:430
307
+ msgid "Display Paged Text"
308
+ msgstr "Seiten-Text"
309
 
310
  #: C:\Documents
311
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
312
  #: NavXT/breadcrumb_navxt_admin.php:444
313
+ msgid "Paged Prefix"
314
+ msgstr "Seiten-Prefix"
315
 
316
  #: C:\Documents
317
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
318
  #: NavXT/breadcrumb_navxt_admin.php:448
319
+ msgid "Paged Suffix"
320
+ msgstr "Seiten-Suffix"
321
 
322
  #: C:\Documents
323
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
324
  #: NavXT/breadcrumb_navxt_admin.php:453
325
+ msgid "Single Post Settings"
326
+ msgstr "Einzelner Beitrag"
327
 
328
  #: C:\Documents
329
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
330
  #: NavXT/breadcrumb_navxt_admin.php:455
331
+ msgid "Single Blogpost Prefix"
332
+ msgstr "Einzelbeitrag-Prefix"
333
 
334
  #: C:\Documents
335
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
336
  #: NavXT/breadcrumb_navxt_admin.php:459
337
+ msgid "Single Blogpost Suffix"
338
+ msgstr "Einzelbeitrag-Suffix"
339
 
340
  #: C:\Documents
341
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
342
  #: NavXT/breadcrumb_navxt_admin.php:463
343
+ msgid "Page Prefix"
344
+ msgstr "Seiten-Prefix"
345
 
346
  #: C:\Documents
347
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
348
  #: NavXT/breadcrumb_navxt_admin.php:467
349
+ msgid "Page Suffix"
350
+ msgstr "Seiten-Suffix"
351
 
352
  #: C:\Documents
353
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
354
  #: NavXT/breadcrumb_navxt_admin.php:471
355
+ msgid "Post Attachment Prefix"
356
+ msgstr "Beitrags-Attachment Prefix"
357
 
358
  #: C:\Documents
359
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
360
  #: NavXT/breadcrumb_navxt_admin.php:475
361
+ msgid "Post Attachment Suffix"
362
+ msgstr "Beitrags-Attachment Suffix"
363
 
364
  #: C:\Documents
365
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
366
  #: NavXT/breadcrumb_navxt_admin.php:479
367
+ msgid "Post Title Maxlen"
368
+ msgstr "Beitragstitel Maximallänge"
369
 
370
  #: C:\Documents
371
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
372
  #: NavXT/breadcrumb_navxt_admin.php:483
373
+ msgid "Single Blog Post Category Display"
374
+ msgstr "Einzelbeitrag Kategorie-Anzeige"
375
 
376
  #: C:\Documents
377
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
378
  #: NavXT/breadcrumb_navxt_admin.php:497
379
+ msgid "Single Blog Post Category Prefix"
380
+ msgstr "Einzelbeitrag Kategorie-Prefix"
381
 
382
  #: C:\Documents
383
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
384
  #: NavXT/breadcrumb_navxt_admin.php:501
385
+ msgid "Single Blog Post Category Suffix"
386
+ msgstr "Einzelbeitrag Kategorie-Suffix"
387
 
388
  #: C:\Documents
389
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
breadcrumb_navxt.mo CHANGED
Binary file
breadcrumb_navxt.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Breadcrumb NavXT\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2008-04-02 11:36-0600\n"
6
- "PO-Revision-Date: 2008-04-02 11:36-0600\n"
7
  "Last-Translator: John Havlik <mtekkmonkey@gmail.com>\n"
8
  "Language-Team: John Havlik <mtekkmonkey@gmail.com>\n"
9
  "MIME-Version: 1.0\n"
@@ -16,7 +16,7 @@ msgstr ""
16
 
17
  #: C:\Documents
18
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
19
- #: NavXT\trunk/breadcrumb_navxt_admin.php:32
20
  msgid ""
21
  "<strong>Aborting: WordPress API Malfunction</strong><br /> For some reason the \n"
22
  "\t\t\t\tfunction get_currentuserinfo() did not behave as expected. Your user_level seems to be null.\n"
@@ -30,55 +30,61 @@ msgstr ""
30
 
31
  #: C:\Documents
32
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
33
- #: NavXT\trunk/breadcrumb_navxt_admin.php:40
34
  msgid "WordPress version: "
35
  msgstr ""
36
 
37
  #: C:\Documents
38
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
39
- #: NavXT\trunk/breadcrumb_navxt_admin.php:42
40
  msgid "PHP version: "
41
  msgstr ""
42
 
43
  #: C:\Documents
44
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
45
- #: NavXT\trunk/breadcrumb_navxt_admin.php:44
46
  msgid "Plug-in version: "
47
  msgstr ""
48
 
49
  #: C:\Documents
50
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
51
- #: NavXT\trunk/breadcrumb_navxt_admin.php:49
52
  msgid "<strong>Aborting: Insufficient Privleges</strong><br /> Your User Level: "
53
  msgstr ""
54
 
55
  #: C:\Documents
56
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
57
- #: NavXT\trunk/breadcrumb_navxt_admin.php:51
58
  msgid "<br /> Required User Level: "
59
  msgstr ""
60
 
61
  #: C:\Documents
62
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
63
- #: NavXT\trunk/breadcrumb_navxt_admin.php:241
64
- msgid "Warning, your version of Breadcrumb NavXT does not match the version supported by this administrative interface. As a result things may not work as intened."
65
  msgstr ""
66
 
67
  #: C:\Documents
68
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
69
- #: NavXT\trunk/breadcrumb_navxt_admin.php:242
70
  msgid "Your Breadcrumb NavXT Administration interface version is "
71
  msgstr ""
72
 
73
  #: C:\Documents
74
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
75
- #: NavXT\trunk/breadcrumb_navxt_admin.php:243
76
  msgid "Your Breadcrumb NavXT version is "
77
  msgstr ""
78
 
79
  #: C:\Documents
80
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
81
- #: NavXT\trunk/breadcrumb_navxt_admin.php:248
 
 
 
 
 
 
82
  #, php-format
83
  msgid ""
84
  "This administration interface allows the full customization of the breadcrumb output with no loss\n"
@@ -90,295 +96,405 @@ msgstr ""
90
 
91
  #: C:\Documents
92
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
93
- #: NavXT\trunk/breadcrumb_navxt_admin.php:257
94
- msgid "General Settings:"
95
  msgstr ""
96
 
97
  #: C:\Documents
98
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
99
- #: NavXT\trunk/breadcrumb_navxt_admin.php:261
100
- msgid "Blog Title:"
101
  msgstr ""
102
 
103
  #: C:\Documents
104
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
105
- #: NavXT\trunk/breadcrumb_navxt_admin.php:269
106
- msgid "Breadcrumb Separator:"
107
  msgstr ""
108
 
109
  #: C:\Documents
110
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
111
- #: NavXT\trunk/breadcrumb_navxt_admin.php:277
112
- msgid "Search Prefix:"
113
  msgstr ""
114
 
115
  #: C:\Documents
116
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
117
- #: NavXT\trunk/breadcrumb_navxt_admin.php:285
118
- msgid "Search Suffix:"
119
  msgstr ""
120
 
121
  #: C:\Documents
122
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
123
- #: NavXT\trunk/breadcrumb_navxt_admin.php:293
124
- msgid "404 Title:"
125
  msgstr ""
126
 
127
  #: C:\Documents
128
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
129
- #: NavXT\trunk/breadcrumb_navxt_admin.php:303
130
- msgid "Static Frontpage Settings:"
131
  msgstr ""
132
 
133
  #: C:\Documents
134
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
135
- #: NavXT\trunk/breadcrumb_navxt_admin.php:307
136
- msgid "Static Frontpage:"
137
  msgstr ""
138
 
139
  #: C:\Documents
140
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
141
- #: NavXT\trunk/breadcrumb_navxt_admin.php:317
142
- msgid "Relative Blog URL:"
143
  msgstr ""
144
 
145
  #: C:\Documents
146
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
147
- #: NavXT\trunk/breadcrumb_navxt_admin.php:325
148
- msgid "Display Home:"
149
  msgstr ""
150
 
151
  #: C:\Documents
152
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
153
- #: NavXT\trunk/breadcrumb_navxt_admin.php:335
154
- msgid "Display Home Link:"
155
  msgstr ""
156
 
157
  #: C:\Documents
158
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
159
- #: NavXT\trunk/breadcrumb_navxt_admin.php:345
160
- msgid "Home Title:"
161
  msgstr ""
162
 
163
  #: C:\Documents
164
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
165
- #: NavXT\trunk/breadcrumb_navxt_admin.php:355
166
- msgid "Author Page Settings:"
167
  msgstr ""
168
 
169
  #: C:\Documents
170
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
171
- #: NavXT\trunk/breadcrumb_navxt_admin.php:359
172
- msgid "Author Prefix:"
173
  msgstr ""
174
 
175
  #: C:\Documents
176
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
177
- #: NavXT\trunk/breadcrumb_navxt_admin.php:367
178
- msgid "Author Suffix:"
 
179
  msgstr ""
180
 
181
  #: C:\Documents
182
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
183
- #: NavXT\trunk/breadcrumb_navxt_admin.php:375
184
- msgid "Author Display Format:"
185
  msgstr ""
186
 
187
  #: C:\Documents
188
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
189
- #: NavXT\trunk/breadcrumb_navxt_admin.php:388
190
- msgid "Archive Display Settings:"
 
 
 
 
 
 
191
  msgstr ""
192
 
193
  #: C:\Documents
194
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
195
- #: NavXT\trunk/breadcrumb_navxt_admin.php:392
196
- msgid "URL Title Prefix:"
197
  msgstr ""
198
 
199
  #: C:\Documents
200
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
201
- #: NavXT\trunk/breadcrumb_navxt_admin.php:400
202
- msgid "URL Title Suffix:"
203
  msgstr ""
204
 
205
  #: C:\Documents
206
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
207
- #: NavXT\trunk/breadcrumb_navxt_admin.php:408
208
- msgid "Archive by Category Prefix:"
209
  msgstr ""
210
 
211
  #: C:\Documents
212
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
213
- #: NavXT\trunk/breadcrumb_navxt_admin.php:416
214
- msgid "Archive by Category Suffix:"
215
  msgstr ""
216
 
217
  #: C:\Documents
218
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
219
- #: NavXT\trunk/breadcrumb_navxt_admin.php:424
220
- msgid "Archive by Date Prefix:"
 
221
  msgstr ""
222
 
223
  #: C:\Documents
224
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
225
- #: NavXT\trunk/breadcrumb_navxt_admin.php:432
226
- msgid "Archive by Date Suffix:"
227
  msgstr ""
228
 
229
  #: C:\Documents
230
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
231
- #: NavXT\trunk/breadcrumb_navxt_admin.php:440
232
- msgid "Archive by Date Format:"
233
  msgstr ""
234
 
235
  #: C:\Documents
236
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
237
- #: NavXT\trunk/breadcrumb_navxt_admin.php:450
238
- msgid "Archive by Tag Prefix:"
239
  msgstr ""
240
 
241
  #: C:\Documents
242
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
243
- #: NavXT\trunk/breadcrumb_navxt_admin.php:458
244
- msgid "Archive by Tag Suffix:"
245
  msgstr ""
246
 
247
  #: C:\Documents
248
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
249
- #: NavXT\trunk/breadcrumb_navxt_admin.php:468
250
- msgid "Current Item Settings:"
251
  msgstr ""
252
 
253
  #: C:\Documents
254
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
255
- #: NavXT\trunk/breadcrumb_navxt_admin.php:472
256
- msgid "Link Current Item:"
257
  msgstr ""
258
 
259
  #: C:\Documents
260
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
261
- #: NavXT\trunk/breadcrumb_navxt_admin.php:482
262
- msgid "Current Item URL Title:"
263
  msgstr ""
264
 
265
  #: C:\Documents
266
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
267
- #: NavXT\trunk/breadcrumb_navxt_admin.php:490
268
- msgid "Current Item Style Prefix:"
269
  msgstr ""
270
 
271
  #: C:\Documents
272
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
273
- #: NavXT\trunk/breadcrumb_navxt_admin.php:498
274
- msgid "Current Item Style Suffix:"
275
  msgstr ""
276
 
277
  #: C:\Documents
278
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
279
- #: NavXT\trunk/breadcrumb_navxt_admin.php:506
280
- msgid "Display Paged Text:"
281
  msgstr ""
282
 
283
  #: C:\Documents
284
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
285
- #: NavXT\trunk/breadcrumb_navxt_admin.php:516
286
- msgid "Paged Prefix:"
287
  msgstr ""
288
 
289
  #: C:\Documents
290
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
291
- #: NavXT\trunk/breadcrumb_navxt_admin.php:524
292
- msgid "Paged Suffix:"
293
  msgstr ""
294
 
295
  #: C:\Documents
296
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
297
- #: NavXT\trunk/breadcrumb_navxt_admin.php:534
298
- msgid "Single Post Settings:"
299
  msgstr ""
300
 
301
  #: C:\Documents
302
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
303
- #: NavXT\trunk/breadcrumb_navxt_admin.php:538
304
- msgid "Single Blogpost Prefix:"
305
  msgstr ""
306
 
307
  #: C:\Documents
308
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
309
- #: NavXT\trunk/breadcrumb_navxt_admin.php:546
310
- msgid "Single Blogpost Suffix:"
 
 
 
 
 
 
 
 
 
 
 
 
311
  msgstr ""
312
 
313
  #: C:\Documents
314
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
315
  #: NavXT\trunk/breadcrumb_navxt_admin.php:554
316
- msgid "Page Prefix:"
317
  msgstr ""
318
 
319
  #: C:\Documents
320
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
321
  #: NavXT\trunk/breadcrumb_navxt_admin.php:562
322
- msgid "Page Suffix:"
323
  msgstr ""
324
 
325
  #: C:\Documents
326
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
327
  #: NavXT\trunk/breadcrumb_navxt_admin.php:570
328
- msgid "Post Attachment Prefix:"
329
  msgstr ""
330
 
331
  #: C:\Documents
332
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
333
  #: NavXT\trunk/breadcrumb_navxt_admin.php:578
334
- msgid "Post Attachment Suffix:"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
335
  msgstr ""
336
 
337
  #: C:\Documents
338
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
339
- #: NavXT\trunk/breadcrumb_navxt_admin.php:586
340
- msgid "Post Title Maxlen:"
341
  msgstr ""
342
 
343
  #: C:\Documents
344
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
345
- #: NavXT\trunk/breadcrumb_navxt_admin.php:594
346
- msgid "Single Blog Post Taxonomy Display:"
347
  msgstr ""
348
 
349
  #: C:\Documents
350
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
351
- #: NavXT\trunk/breadcrumb_navxt_admin.php:604
352
- msgid "Single Blog Post Taxonomy:"
353
  msgstr ""
354
 
355
  #: C:\Documents
356
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
357
- #: NavXT\trunk/breadcrumb_navxt_admin.php:614
358
- msgid "Single Blog Post Category Prefix:"
359
  msgstr ""
360
 
361
  #: C:\Documents
362
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
363
- #: NavXT\trunk/breadcrumb_navxt_admin.php:622
364
- msgid "Single Blog Post Category Suffix:"
365
  msgstr ""
366
 
367
  #: C:\Documents
368
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
369
- #: NavXT\trunk/breadcrumb_navxt_admin.php:630
370
- msgid "Single Blog Post Tag Prefix:"
371
  msgstr ""
372
 
373
  #: C:\Documents
374
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
375
- #: NavXT\trunk/breadcrumb_navxt_admin.php:638
376
- msgid "Single Blog Post Tag Suffix:"
377
  msgstr ""
378
 
379
  #: C:\Documents
380
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
381
- #: NavXT\trunk/breadcrumb_navxt_admin.php:647
382
  msgid "Save Changes"
383
  msgstr ""
384
 
2
  msgstr ""
3
  "Project-Id-Version: Breadcrumb NavXT\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2008-06-30 23:03-0600\n"
6
+ "PO-Revision-Date: 2008-06-30 23:03-0600\n"
7
  "Last-Translator: John Havlik <mtekkmonkey@gmail.com>\n"
8
  "Language-Team: John Havlik <mtekkmonkey@gmail.com>\n"
9
  "MIME-Version: 1.0\n"
16
 
17
  #: C:\Documents
18
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
19
+ #: NavXT\trunk/breadcrumb_navxt_admin.php:53
20
  msgid ""
21
  "<strong>Aborting: WordPress API Malfunction</strong><br /> For some reason the \n"
22
  "\t\t\t\tfunction get_currentuserinfo() did not behave as expected. Your user_level seems to be null.\n"
30
 
31
  #: C:\Documents
32
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
33
+ #: NavXT\trunk/breadcrumb_navxt_admin.php:61
34
  msgid "WordPress version: "
35
  msgstr ""
36
 
37
  #: C:\Documents
38
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
39
+ #: NavXT\trunk/breadcrumb_navxt_admin.php:63
40
  msgid "PHP version: "
41
  msgstr ""
42
 
43
  #: C:\Documents
44
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
45
+ #: NavXT\trunk/breadcrumb_navxt_admin.php:65
46
  msgid "Plug-in version: "
47
  msgstr ""
48
 
49
  #: C:\Documents
50
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
51
+ #: NavXT\trunk/breadcrumb_navxt_admin.php:71
52
  msgid "<strong>Aborting: Insufficient Privleges</strong><br /> Your User Level: "
53
  msgstr ""
54
 
55
  #: C:\Documents
56
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
57
+ #: NavXT\trunk/breadcrumb_navxt_admin.php:73
58
  msgid "<br /> Required User Level: "
59
  msgstr ""
60
 
61
  #: C:\Documents
62
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
63
+ #: NavXT\trunk/breadcrumb_navxt_admin.php:313
64
+ msgid "Warning, your version of Breadcrumb NavXT does not match the version supported by this administrative interface. As a result, settings may not work as expected."
65
  msgstr ""
66
 
67
  #: C:\Documents
68
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
69
+ #: NavXT\trunk/breadcrumb_navxt_admin.php:314
70
  msgid "Your Breadcrumb NavXT Administration interface version is "
71
  msgstr ""
72
 
73
  #: C:\Documents
74
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
75
+ #: NavXT\trunk/breadcrumb_navxt_admin.php:315
76
  msgid "Your Breadcrumb NavXT version is "
77
  msgstr ""
78
 
79
  #: C:\Documents
80
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
81
+ #: NavXT\trunk/breadcrumb_navxt_admin.php:321
82
+ msgid "Breadcrumb NavXT Settings"
83
+ msgstr ""
84
+
85
+ #: C:\Documents
86
+ #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
87
+ #: NavXT\trunk/breadcrumb_navxt_admin.php:327
88
  #, php-format
89
  msgid ""
90
  "This administration interface allows the full customization of the breadcrumb output with no loss\n"
96
 
97
  #: C:\Documents
98
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
99
+ #: NavXT\trunk/breadcrumb_navxt_admin.php:333
100
+ msgid "General"
101
  msgstr ""
102
 
103
  #: C:\Documents
104
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
105
+ #: NavXT\trunk/breadcrumb_navxt_admin.php:337
106
+ msgid "Blog Title"
107
  msgstr ""
108
 
109
  #: C:\Documents
110
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
111
+ #: NavXT\trunk/breadcrumb_navxt_admin.php:341
112
+ msgid "Will be displayed on the home page (when not using a static front page), always links to the main post page."
113
  msgstr ""
114
 
115
  #: C:\Documents
116
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
117
+ #: NavXT\trunk/breadcrumb_navxt_admin.php:346
118
+ msgid "Breadcrumb Separator"
119
  msgstr ""
120
 
121
  #: C:\Documents
122
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
123
+ #: NavXT\trunk/breadcrumb_navxt_admin.php:350
124
+ msgid "Placed in between each breadcrumb."
125
  msgstr ""
126
 
127
  #: C:\Documents
128
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
129
+ #: NavXT\trunk/breadcrumb_navxt_admin.php:355
130
+ msgid "URL Title Prefix"
131
  msgstr ""
132
 
133
  #: C:\Documents
134
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
135
+ #: NavXT\trunk/breadcrumb_navxt_admin.php:359
136
+ msgid "The prefix applied globally to the title field in the breadcrumb links."
137
  msgstr ""
138
 
139
  #: C:\Documents
140
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
141
+ #: NavXT\trunk/breadcrumb_navxt_admin.php:363
142
+ msgid "URL Title Suffix"
143
  msgstr ""
144
 
145
  #: C:\Documents
146
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
147
+ #: NavXT\trunk/breadcrumb_navxt_admin.php:367
148
+ msgid "The suffix applied globally to the title field in the breadcrumb links."
149
  msgstr ""
150
 
151
  #: C:\Documents
152
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
153
+ #: NavXT\trunk/breadcrumb_navxt_admin.php:372
154
+ msgid "Search Prefix"
155
  msgstr ""
156
 
157
  #: C:\Documents
158
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
159
+ #: NavXT\trunk/breadcrumb_navxt_admin.php:380
160
+ msgid "Search Suffix"
161
  msgstr ""
162
 
163
  #: C:\Documents
164
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
165
+ #: NavXT\trunk/breadcrumb_navxt_admin.php:388
166
+ msgid "404 Title"
167
  msgstr ""
168
 
169
  #: C:\Documents
170
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
171
+ #: NavXT\trunk/breadcrumb_navxt_admin.php:397
172
+ msgid "Front Page"
173
  msgstr ""
174
 
175
  #: C:\Documents
176
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
177
+ #: NavXT\trunk/breadcrumb_navxt_admin.php:401
178
+ msgid "Static Front Page"
179
  msgstr ""
180
 
181
  #: C:\Documents
182
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
183
+ #: NavXT\trunk/breadcrumb_navxt_admin.php:404
184
+ #: NavXT\trunk/breadcrumb_navxt_admin.php:548
185
+ msgid "Yes"
186
  msgstr ""
187
 
188
  #: C:\Documents
189
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
190
+ #: NavXT\trunk/breadcrumb_navxt_admin.php:409
191
+ msgid "Relative Blog URL"
192
  msgstr ""
193
 
194
  #: C:\Documents
195
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
196
+ #: NavXT\trunk/breadcrumb_navxt_admin.php:413
197
+ msgid "The location of the page that contains posts relative to the WordPress Blog address."
198
+ msgstr ""
199
+
200
+ #: C:\Documents
201
+ #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
202
+ #: NavXT\trunk/breadcrumb_navxt_admin.php:418
203
+ msgid "Home Breadcrumb"
204
  msgstr ""
205
 
206
  #: C:\Documents
207
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
208
+ #: NavXT\trunk/breadcrumb_navxt_admin.php:423
209
+ msgid "Is in trail"
210
  msgstr ""
211
 
212
  #: C:\Documents
213
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
214
+ #: NavXT\trunk/breadcrumb_navxt_admin.php:423
215
+ msgid "Should the \"Home\" crumb be placed in the breadcrumb trail?"
216
  msgstr ""
217
 
218
  #: C:\Documents
219
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
220
+ #: NavXT\trunk/breadcrumb_navxt_admin.php:427
221
+ msgid "Links to Homepage"
222
  msgstr ""
223
 
224
  #: C:\Documents
225
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
226
+ #: NavXT\trunk/breadcrumb_navxt_admin.php:427
227
+ msgid "Should the Home crumb link to the home page?"
228
  msgstr ""
229
 
230
  #: C:\Documents
231
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
232
+ #: NavXT\trunk/breadcrumb_navxt_admin.php:429
233
+ #, php-format
234
+ msgid "URL of the Homepage is %s"
235
  msgstr ""
236
 
237
  #: C:\Documents
238
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
239
+ #: NavXT\trunk/breadcrumb_navxt_admin.php:434
240
+ msgid "Home Title"
241
  msgstr ""
242
 
243
  #: C:\Documents
244
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
245
+ #: NavXT\trunk/breadcrumb_navxt_admin.php:438
246
+ msgid "The title applied to the link to the static home page."
247
  msgstr ""
248
 
249
  #: C:\Documents
250
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
251
+ #: NavXT\trunk/breadcrumb_navxt_admin.php:444
252
+ msgid "Author Page"
253
  msgstr ""
254
 
255
  #: C:\Documents
256
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
257
+ #: NavXT\trunk/breadcrumb_navxt_admin.php:448
258
+ msgid "Author Prefix"
259
  msgstr ""
260
 
261
  #: C:\Documents
262
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
263
+ #: NavXT\trunk/breadcrumb_navxt_admin.php:456
264
+ msgid "Author Suffix"
265
  msgstr ""
266
 
267
  #: C:\Documents
268
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
269
+ #: NavXT\trunk/breadcrumb_navxt_admin.php:464
270
+ msgid "Author Display Format"
271
  msgstr ""
272
 
273
  #: C:\Documents
274
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
275
+ #: NavXT\trunk/breadcrumb_navxt_admin.php:475
276
+ msgid "Archive Display"
277
  msgstr ""
278
 
279
  #: C:\Documents
280
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
281
+ #: NavXT\trunk/breadcrumb_navxt_admin.php:479
282
+ msgid "Archive by Category Prefix"
283
  msgstr ""
284
 
285
  #: C:\Documents
286
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
287
+ #: NavXT\trunk/breadcrumb_navxt_admin.php:487
288
+ msgid "Archive by Category Suffix"
289
  msgstr ""
290
 
291
  #: C:\Documents
292
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
293
+ #: NavXT\trunk/breadcrumb_navxt_admin.php:495
294
+ msgid "Archive by Date Prefix"
295
  msgstr ""
296
 
297
  #: C:\Documents
298
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
299
+ #: NavXT\trunk/breadcrumb_navxt_admin.php:503
300
+ msgid "Archive by Date Suffix"
301
  msgstr ""
302
 
303
  #: C:\Documents
304
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
305
+ #: NavXT\trunk/breadcrumb_navxt_admin.php:511
306
+ msgid "Archive by Date Format"
307
  msgstr ""
308
 
309
  #: C:\Documents
310
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
311
+ #: NavXT\trunk/breadcrumb_navxt_admin.php:517
312
+ msgid "e.g. EU: 14 May 2008, US: May 14, 2008, ISO: 2008 May 14"
313
  msgstr ""
314
 
315
  #: C:\Documents
316
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
317
+ #: NavXT\trunk/breadcrumb_navxt_admin.php:522
318
+ msgid "Archive by Tag Prefix"
319
  msgstr ""
320
 
321
  #: C:\Documents
322
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
323
+ #: NavXT\trunk/breadcrumb_navxt_admin.php:530
324
+ msgid "Archive by Tag Suffix"
325
+ msgstr ""
326
+
327
+ #: C:\Documents
328
+ #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
329
+ #: NavXT\trunk/breadcrumb_navxt_admin.php:539
330
+ msgid "Current Item"
331
+ msgstr ""
332
+
333
+ #: C:\Documents
334
+ #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
335
+ #: NavXT\trunk/breadcrumb_navxt_admin.php:543
336
+ msgid "Link Current Item"
337
  msgstr ""
338
 
339
  #: C:\Documents
340
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
341
  #: NavXT\trunk/breadcrumb_navxt_admin.php:554
342
+ msgid "Current Item URL Title"
343
  msgstr ""
344
 
345
  #: C:\Documents
346
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
347
  #: NavXT\trunk/breadcrumb_navxt_admin.php:562
348
+ msgid "Current Item Style Prefix"
349
  msgstr ""
350
 
351
  #: C:\Documents
352
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
353
  #: NavXT\trunk/breadcrumb_navxt_admin.php:570
354
+ msgid "Current Item Style Suffix"
355
  msgstr ""
356
 
357
  #: C:\Documents
358
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
359
  #: NavXT\trunk/breadcrumb_navxt_admin.php:578
360
+ msgid "Display Paged Text"
361
+ msgstr ""
362
+
363
+ #: C:\Documents
364
+ #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
365
+ #: NavXT\trunk/breadcrumb_navxt_admin.php:583
366
+ msgid "Show that the user is on a page other than the first on posts/archives with multiple pages."
367
+ msgstr ""
368
+
369
+ #: C:\Documents
370
+ #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
371
+ #: NavXT\trunk/breadcrumb_navxt_admin.php:589
372
+ msgid "Paged Prefix"
373
+ msgstr ""
374
+
375
+ #: C:\Documents
376
+ #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
377
+ #: NavXT\trunk/breadcrumb_navxt_admin.php:597
378
+ msgid "Paged Suffix"
379
+ msgstr ""
380
+
381
+ #: C:\Documents
382
+ #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
383
+ #: NavXT\trunk/breadcrumb_navxt_admin.php:606
384
+ msgid "Single Post"
385
+ msgstr ""
386
+
387
+ #: C:\Documents
388
+ #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
389
+ #: NavXT\trunk/breadcrumb_navxt_admin.php:610
390
+ msgid "Single Blogpost Prefix"
391
+ msgstr ""
392
+
393
+ #: C:\Documents
394
+ #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
395
+ #: NavXT\trunk/breadcrumb_navxt_admin.php:618
396
+ msgid "Single Blogpost Suffix"
397
+ msgstr ""
398
+
399
+ #: C:\Documents
400
+ #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
401
+ #: NavXT\trunk/breadcrumb_navxt_admin.php:626
402
+ msgid "Page Prefix"
403
+ msgstr ""
404
+
405
+ #: C:\Documents
406
+ #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
407
+ #: NavXT\trunk/breadcrumb_navxt_admin.php:634
408
+ msgid "Page Suffix"
409
+ msgstr ""
410
+
411
+ #: C:\Documents
412
+ #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
413
+ #: NavXT\trunk/breadcrumb_navxt_admin.php:642
414
+ msgid "Post Attachment Prefix"
415
+ msgstr ""
416
+
417
+ #: C:\Documents
418
+ #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
419
+ #: NavXT\trunk/breadcrumb_navxt_admin.php:650
420
+ msgid "Post Attachment Suffix"
421
+ msgstr ""
422
+
423
+ #: C:\Documents
424
+ #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
425
+ #: NavXT\trunk/breadcrumb_navxt_admin.php:658
426
+ msgid "Post Title Max Length"
427
+ msgstr ""
428
+
429
+ #: C:\Documents
430
+ #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
431
+ #: NavXT\trunk/breadcrumb_navxt_admin.php:667
432
+ msgid "Taxonomy"
433
+ msgstr ""
434
+
435
+ #: C:\Documents
436
+ #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
437
+ #: NavXT\trunk/breadcrumb_navxt_admin.php:671
438
+ msgid "Single Blog Post Taxonomy Display"
439
+ msgstr ""
440
+
441
+ #: C:\Documents
442
+ #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
443
+ #: NavXT\trunk/breadcrumb_navxt_admin.php:676
444
+ msgid "Show the taxonomy leading to a post in the breadcrumb trail."
445
+ msgstr ""
446
+
447
+ #: C:\Documents
448
+ #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
449
+ #: NavXT\trunk/breadcrumb_navxt_admin.php:682
450
+ msgid "Single Blog Post Taxonomy"
451
  msgstr ""
452
 
453
  #: C:\Documents
454
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
455
+ #: NavXT\trunk/breadcrumb_navxt_admin.php:688
456
+ msgid "Categories"
457
  msgstr ""
458
 
459
  #: C:\Documents
460
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
461
+ #: NavXT\trunk/breadcrumb_navxt_admin.php:694
462
+ msgid "Tags"
463
  msgstr ""
464
 
465
  #: C:\Documents
466
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
467
+ #: NavXT\trunk/breadcrumb_navxt_admin.php:698
468
+ msgid "The taxonomy which the breadcrumb trail will show."
469
  msgstr ""
470
 
471
  #: C:\Documents
472
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
473
+ #: NavXT\trunk/breadcrumb_navxt_admin.php:704
474
+ msgid "Single Blog Post Category Prefix"
475
  msgstr ""
476
 
477
  #: C:\Documents
478
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
479
+ #: NavXT\trunk/breadcrumb_navxt_admin.php:712
480
+ msgid "Single Blog Post Category Suffix"
481
  msgstr ""
482
 
483
  #: C:\Documents
484
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
485
+ #: NavXT\trunk/breadcrumb_navxt_admin.php:720
486
+ msgid "Single Blog Post Tag Prefix"
487
  msgstr ""
488
 
489
  #: C:\Documents
490
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
491
+ #: NavXT\trunk/breadcrumb_navxt_admin.php:728
492
+ msgid "Single Blog Post Tag Suffix"
493
  msgstr ""
494
 
495
  #: C:\Documents
496
  #: and Settings\mtekk\My Documents\Aptana Studio\Breadcrumb
497
+ #: NavXT\trunk/breadcrumb_navxt_admin.php:737
498
  msgid "Save Changes"
499
  msgstr ""
500
 
breadcrumb_navxt_admin.php CHANGED
@@ -3,23 +3,41 @@
3
  Plugin Name: Breadcrumb NavXT - Adminstration Interface
4
  Plugin URI: http://mtekk.weblogs.us/code/breadcrumb-navxt/
5
  Description: Adds a breadcrumb navigation showing the visitor&#39;s path to their current location. This enables the administrative interface for specifying the output of the breadcrumb. For details on how to use this plugin visit <a href="http://mtekk.weblogs.us/code/breadcrumb-navxt/">Breadcrumb NavXT</a>.
6
- Version: 2.1.2
7
  Author: John Havlik
8
  Author URI: http://mtekk.weblogs.us/
9
  */
10
- $bcn_admin_version = "2.1.2";
 
 
 
 
 
 
 
 
 
 
 
 
11
  $bcn_admin_req = 8;
12
- //Include the breadcrumb class if needed
 
 
 
13
  if(!class_exists('bcn_breadcrumb'))
14
  {
15
  require(dirname(__FILE__) . '/breadcrumb_navxt_class.php');
16
  }
17
  //Include the supplemental functions
18
  require(dirname(__FILE__) . '/breadcrumb_navxt_api.php');
 
 
 
19
  /**
20
- * bcn_security
21
- *
22
- * Makes sure the user has the proper permissions. Dies on failure.
23
  */
24
  function bcn_security()
25
  {
@@ -59,74 +77,88 @@ function bcn_security()
59
  }
60
  }
61
  /**
62
- * bcn_install
63
- *
64
  * Initilizes the administrative interface options if it is a new install, or an upgrade from an incompatible version
 
 
65
  */
66
  function bcn_install()
67
  {
68
  global $bcn_admin_req, $bcn_version;
 
69
  bcn_security();
 
70
  if(get_option('bcn_version') != $bcn_admin_version)
71
  {
72
- update_option('bcn_version' , $bcn_admin_version);
73
- update_option('bcn_preserve', 0);
74
- update_option('bcn_static_frontpage', 'false');
75
- update_option('bcn_url_blog', '');
76
- update_option('bcn_home_display', 'true');
77
- update_option('bcn_home_link', 'true');
78
- update_option('bcn_title_home', 'Home');
79
- update_option('bcn_title_blog', 'Blog');
80
- update_option('bcn_separator', '&nbsp;>&nbsp;');
81
- update_option('bcn_search_prefix', 'Search results for &#39;');
82
- update_option('bcn_search_suffix', '&#39;');
83
- update_option('bcn_author_prefix', 'Posts by ');
84
- update_option('bcn_author_suffix', '');
85
- update_option('bcn_author_display', 'display_name');
86
- update_option('bcn_singleblogpost_prefix', 'Blog article:&nbsp;');
87
- update_option('bcn_singleblogpost_suffix', '');
88
- update_option('bcn_page_prefix', '');
89
- update_option('bcn_page_suffix', '');
90
- update_option('bcn_urltitle_prefix', 'Browse to:&nbsp;');
91
- update_option('bcn_urltitle_suffix', '');
92
- update_option('bcn_archive_category_prefix', 'Archive by category &#39;');
93
- update_option('bcn_archive_category_suffix', '&#39;');
94
- update_option('bcn_archive_date_prefix', 'Archive: ');
95
- update_option('bcn_archive_date_suffix', '');
96
- update_option('bcn_archive_date_format', 'EU');
97
- update_option('bcn_attachment_prefix', 'Attachment:&nbsp;');
98
- update_option('bcn_attachment_suffix', '');
99
- update_option('bcn_archive_tag_prefix', 'Archive by tag &#39;');
100
- update_option('bcn_archive_tag_suffix', '&#39;');
101
- update_option('bcn_title_404', '404');
102
- update_option('bcn_link_current_item', 'false');
103
- update_option('bcn_current_item_urltitle', 'Link of current page (click to refresh)');
104
- update_option('bcn_current_item_style_prefix', '');
105
- update_option('bcn_current_item_style_suffix', '');
106
- update_option('bcn_posttitle_maxlen', 0);
107
- update_option('bcn_paged_display', 'false');
108
- update_option('bcn_paged_prefix', ', Page&nbsp;');
109
- update_option('bcn_paged_suffix', '');
110
- update_option('bcn_singleblogpost_taxonomy', 'category');
111
- update_option('bcn_singleblogpost_taxonomy_display', 'true');
112
- update_option('bcn_singleblogpost_category_prefix', '');
113
- update_option('bcn_singleblogpost_category_suffix', '');
114
- update_option('bcn_singleblogpost_tag_prefix', '');
115
- update_option('bcn_singleblogpost_tag_suffix', '');
 
 
 
 
 
 
 
 
 
 
116
  }
117
  }
118
  /**
119
- * breadcrumb_nav_xt_display
120
- *
121
  * An alias of bcn_display, exists for legacy compatibility. Use bcn_display instead of this.
 
 
122
  */
123
  function breadcrumb_nav_xt_display()
124
  {
 
 
 
 
125
  bcn_display();
126
  }
127
  /**
128
- * bcn_display
129
- *
130
  * Creates a bcn_breadcrumb object, sets the options per user specification in the
131
  * administration interface and outputs the breadcrumb
132
  */
@@ -138,7 +170,7 @@ function bcn_display()
138
  //Make new breadcrumb object
139
  $breadcrumb = new bcn_breadcrumb;
140
  //Set the settings
141
- $breadcrumb->opt['static_frontpage'] = get_option('bcn_static_frontpage');
142
  $breadcrumb->opt['url_blog'] = get_option('bcn_url_blog');
143
  $breadcrumb->opt['home_display'] = get_option('bcn_home_display');
144
  $breadcrumb->opt['home_link'] = get_option('bcn_home_link');
@@ -166,7 +198,7 @@ function bcn_display()
166
  $breadcrumb->opt['archive_tag_prefix'] = get_option('bcn_archive_tag_prefix');
167
  $breadcrumb->opt['archive_tag_suffix'] = get_option('bcn_archive_tag_suffix');
168
  $breadcrumb->opt['title_404'] = get_option('bcn_title_404');
169
- $breadcrumb->opt['link_current_item'] = get_option('bcn_link_current_item');
170
  $breadcrumb->opt['current_item_urltitle'] = get_option('bcn_current_item_urltitle');
171
  $breadcrumb->opt['current_item_style_prefix'] = get_option('bcn_current_item_style_prefix');
172
  $breadcrumb->opt['current_item_style_suffix'] = get_option('bcn_current_item_style_suffix');
@@ -175,7 +207,7 @@ function bcn_display()
175
  $breadcrumb->opt['paged_prefix'] = get_option('bcn_paged_prefix');
176
  $breadcrumb->opt['paged_suffix'] = get_option('bcn_paged_suffix');
177
  $breadcrumb->opt['singleblogpost_taxonomy'] = get_option('bcn_singleblogpost_taxonomy');
178
- $breadcrumb->opt['singleblogpost_taxonomy_display'] = get_option('bcn_singleblogpost_taxonomy_display');
179
  $breadcrumb->opt['singleblogpost_category_prefix'] = get_option('bcn_singleblogpost_category_prefix');
180
  $breadcrumb->opt['singleblogpost_category_suffix'] = get_option('bcn_singleblogpost_category_suffix');
181
  $breadcrumb->opt['singleblogpost_tag_prefix'] = get_option('bcn_singleblogpost_tag_prefix');
@@ -194,49 +226,54 @@ function bcn_display()
194
  function bcn_admin_options()
195
  {
196
  global $wpdb, $bcn_admin_req;
 
197
  bcn_security();
198
- update_option('bcn_static_frontpage', bcn_get('static_frontpage'));
199
- update_option('bcn_url_blog', bcn_get('url_blog'));
200
- update_option('bcn_home_display', bcn_get('home_display'));
201
- update_option('bcn_home_link', bcn_get('home_link'));
202
- update_option('bcn_title_home', bcn_get('title_home'));
203
- update_option('bcn_title_blog', bcn_get('title_blog'));
204
- update_option('bcn_separator', bcn_get('separator'));
205
- update_option('bcn_search_prefix', bcn_get('search_prefix'));
206
- update_option('bcn_search_suffix', bcn_get('search_suffix'));
207
- update_option('bcn_author_prefix', bcn_get('author_prefix'));
208
- update_option('bcn_author_suffix', bcn_get('author_suffix'));
209
- update_option('bcn_author_display', bcn_get('author_display'));
210
- update_option('bcn_attachment_prefix', bcn_get('attachment_prefix'));
211
- update_option('bcn_attachment_suffix', bcn_get('attachment_suffix'));
212
- update_option('bcn_singleblogpost_prefix', bcn_get('singleblogpost_prefix'));
213
- update_option('bcn_singleblogpost_suffix', bcn_get('singleblogpost_suffix'));
214
- update_option('bcn_page_prefix', bcn_get('page_prefix'));
215
- update_option('bcn_page_suffix', bcn_get('page_suffix'));
216
- update_option('bcn_urltitle_prefix', bcn_get('urltitle_prefix'));
217
- update_option('bcn_urltitle_suffix', bcn_get('urltitle_suffix'));
218
- update_option('bcn_archive_category_prefix', bcn_get('archive_category_prefix'));
219
- update_option('bcn_archive_category_suffix', bcn_get('archive_category_suffix'));
220
- update_option('bcn_archive_date_prefix', bcn_get('archive_date_prefix'));
221
- update_option('bcn_archive_date_suffix', bcn_get('archive_date_suffix'));
222
- update_option('bcn_archive_date_format', bcn_get('archive_date_format'));
223
- update_option('bcn_archive_tag_prefix', bcn_get('archive_tag_prefix'));
224
- update_option('bcn_archive_tag_suffix', bcn_get('archive_tag_suffix'));
225
- update_option('bcn_title_404', bcn_get('title_404'));
226
- update_option('bcn_link_current_item', bcn_get('link_current_item'));
227
- update_option('bcn_current_item_urltitle', bcn_get('current_item_urltitle'));
228
- update_option('bcn_current_item_style_prefix', bcn_get('current_item_style_prefix'));
229
- update_option('bcn_current_item_style_suffix', bcn_get('current_item_style_suffix'));
230
- update_option('bcn_posttitle_maxlen', bcn_get('posttitle_maxlen'));
231
- update_option('bcn_paged_display', bcn_get('paged_display'));
232
- update_option('bcn_paged_prefix', bcn_get('paged_prefix'));
233
- update_option('bcn_paged_suffix', bcn_get('paged_suffix'));
234
- update_option('bcn_singleblogpost_taxonomy', bcn_get('singleblogpost_taxonomy'));
235
- update_option('bcn_singleblogpost_taxonomy_display', bcn_get('singleblogpost_taxonomy_display'));
236
- update_option('bcn_singleblogpost_category_prefix', bcn_get('singleblogpost_category_prefix'));
237
- update_option('bcn_singleblogpost_category_suffix', bcn_get('singleblogpost_category_suffix'));
238
- update_option('bcn_singleblogpost_tag_prefix', bcn_get('singleblogpost_tag_prefix'));
239
- update_option('bcn_singleblogpost_tag_suffix', bcn_get('singleblogpost_tag_suffix'));
 
 
 
 
240
  }
241
  /**
242
  * bcn_add_page
@@ -256,49 +293,83 @@ function bcn_add_page()
256
  function bcn_admin()
257
  {
258
  global $bcn_admin_req, $bcn_admin_version, $bcn_version;
 
 
259
  bcn_security();
 
 
260
  bcn_local();
261
- list($breadcrumb_major, $breadcrumb_minor, $breadcrumb_bugfix) = explode('.', $bcn_version);
262
- list($major, $minor, $bugfix) = explode('.', $bcn_admin_version);
263
- if($breadcrumb_major != $major || $breadcrumb_minor != $minor)
264
- { ?>
 
 
 
 
 
 
265
  <div id="message" class="updated fade">
266
- <p><?php _e('Warning, your version of Breadcrumb NavXT does not match the version supported by this administrative interface. As a result things may not work as intened.', 'breadcrumb_navxt'); ?></p>
267
  <p><?php _e('Your Breadcrumb NavXT Administration interface version is ', 'breadcrumb_navxt'); echo $bcn_version; ?>.</p>
268
  <p><?php _e('Your Breadcrumb NavXT version is ', 'breadcrumb_navxt'); echo $bcn_admin_version; ?>.</p>
269
  </div>
270
- <?php }
271
- ?>
272
- <div class="wrap"><h2>Breadcrumb NavXT Settings:</h2>
273
- <p><?php printf(__( 'This administration interface allows the full customization of the breadcrumb output with no loss
 
 
 
 
 
 
 
274
  of functionality when compared to manual configuration. Each setting is the same as the corresponding
275
  class option, please refer to the
276
  %sdocumentation%s
277
- for more detailed explanation of each setting.', 'breadcrumb_navxt'), '<a title="Go to the Breadcrumb NavXT online documentation" href="http://mtekk.weblogs.us/code/breadcrumb-navxt/breadcrumb-navxt-doc/">', '</a>'); ?>
278
- </p>
279
- <form action="options-general.php?page=breadcrumb-nav-xt" method="post" id="bcn_admin_options">
280
- <fieldset id="general" class="bcn_options">
281
- <legend><h3><?php _e('General Settings:', 'breadcrumb_navxt'); ?></h3></legend>
282
  <table class="form-table">
283
  <tr valign="top">
284
- <th width="33%" scope="row">
285
- <label for="title_blog"><?php _e('Blog Title:', 'breadcrumb_navxt'); ?></label>
286
  </th>
287
  <td>
288
- <input type="text" name="title_blog" id="title_blog" value="<?php echo bcn_get_option_inputvalue('bcn_title_blog'); ?>" size="32" />
 
289
  </td>
290
  </tr>
291
  <tr valign="top">
292
  <th scope="row">
293
- <label for="separator"><?php _e('Breadcrumb Separator:', 'breadcrumb_navxt'); ?></label>
294
  </th>
295
  <td>
296
- <input type="text" name="separator" id="separator" value="<?php echo bcn_get_option_inputvalue('bcn_separator'); ?>" size="32" />
 
297
  </td>
298
  </tr>
299
  <tr valign="top">
300
  <th scope="row">
301
- <label for="search_prefix"><?php _e('Search Prefix:', 'breadcrumb_navxt'); ?></label>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
302
  </th>
303
  <td>
304
  <input type="text" name="search_prefix" id="search_prefix" value="<?php echo bcn_get_option_inputvalue('bcn_search_prefix'); ?>" size="32" />
@@ -306,7 +377,7 @@ function bcn_admin()
306
  </tr>
307
  <tr valign="top">
308
  <th scope="row">
309
- <label for="search_suffix"><?php _e('Search Suffix:', 'breadcrumb_navxt'); ?></label>
310
  </th>
311
  <td>
312
  <input type="text" name="search_suffix" id="search_suffix" value="<?php echo bcn_get_option_inputvalue('bcn_search_suffix'); ?>" size="32" />
@@ -314,7 +385,7 @@ function bcn_admin()
314
  </tr>
315
  <tr valign="top">
316
  <th scope="row">
317
- <label for="title_404"><?php _e('404 Title:', 'breadcrumb_navxt'); ?></label>
318
  </th>
319
  <td>
320
  <input type="text" name="title_404" id="title_404" value="<?php echo bcn_get_option_inputvalue('bcn_title_404'); ?>" size="32" />
@@ -323,62 +394,58 @@ function bcn_admin()
323
  </table>
324
  </fieldset>
325
  <fieldset id="static_front_page" class="bcn_options">
326
- <legend><h3><?php _e('Static Frontpage Settings:', 'breadcrumb_navxt'); ?></h3></legend>
327
  <table class="form-table">
328
- <tr valign="top">
329
- <th width="33%" scope="row">
330
- <label for="static_frontpage"><?php _e('Static Frontpage:', 'breadcrumb_navxt'); ?></label>
331
- </th>
332
- <td>
333
- <select name="static_frontpage">
334
- <?php echo bcn_select_options_truefalse('bcn_static_frontpage') ?>
335
- </select>
336
- </td>
337
- </tr>
338
  <tr valign="top">
339
  <th scope="row">
340
- <label for="url_blog"><?php _e('Relative Blog URL:', 'breadcrumb_navxt'); ?></label>
341
  </th>
342
  <td>
343
- <input type="text" name="url_blog" id="url_blog" value="<?php echo bcn_get_option_inputvalue('bcn_url_blog'); ?>" size="32" />
344
  </td>
345
  </tr>
346
  <tr valign="top">
347
  <th scope="row">
348
- <label for="home_display"><?php _e('Display Home:', 'breadcrumb_navxt'); ?></label>
349
  </th>
350
  <td>
351
- <select name="home_display">
352
- <?php bcn_select_options_truefalse('bcn_home_display') ?>
353
- </select>
354
  </td>
355
- </tr>
356
  <tr valign="top">
357
  <th scope="row">
358
- <label for="home_link"><?php _e('Display Home Link:', 'breadcrumb_navxt'); ?></label>
359
  </th>
360
- <td>
361
- <select name="home_link">
362
- <?php bcn_select_options_truefalse('bcn_home_link'); ?>
363
- </select>
 
 
 
 
 
 
364
  </td>
365
- </tr>
366
  <tr valign="top">
367
  <th scope="row">
368
- <label for="title_home"><?php _e('Home Title:', 'breadcrumb_navxt'); ?></label>
369
  </th>
370
  <td>
371
- <input type="text" name="title_home" id="title_home" value="<?php echo bcn_get_option_inputvalue('bcn_title_home'); ?>" size="32" />
 
372
  </td>
373
  </tr>
374
  </table>
375
  </fieldset>
376
  <fieldset id="author" class="bcn_options">
377
- <legend><h3><?php _e('Author Page Settings:', 'breadcrumb_navxt'); ?></h3></legend>
378
  <table class="form-table">
379
  <tr valign="top">
380
- <th width="33%" scope="row">
381
- <label for="author_prefix"><?php _e('Author Prefix:', 'breadcrumb_navxt'); ?></label>
382
  </th>
383
  <td>
384
  <input type="text" name="author_prefix" id="author_prefix" value="<?php echo bcn_get_option_inputvalue('bcn_author_prefix'); ?>" size="32" />
@@ -386,7 +453,7 @@ function bcn_admin()
386
  </tr>
387
  <tr valign="top">
388
  <th scope="row">
389
- <label for="author_suffix"><?php _e('Author Suffix:', 'breadcrumb_navxt'); ?></label>
390
  </th>
391
  <td>
392
  <input type="text" name="author_suffix" id="author_suffix" value="<?php echo bcn_get_option_inputvalue('bcn_author_suffix'); ?>" size="32" />
@@ -394,39 +461,22 @@ function bcn_admin()
394
  </tr>
395
  <tr valign="top">
396
  <th scope="row">
397
- <label for="author_display"><?php _e('Author Display Format:', 'breadcrumb_navxt'); ?></label>
398
  </th>
399
  <td>
400
- <select name="author_display">
401
  <?php bcn_select_options('bcn_author_display', array("display_name", "nickname", "first_name", "last_name")); ?>
402
  </select>
403
  </td>
404
  </tr>
405
-
406
  </table>
407
  </fieldset>
408
  <fieldset id="category" class="bcn_options">
409
- <legend><h3><?php _e('Archive Display Settings:', 'breadcrumb_navxt'); ?></h3></legend>
410
  <table class="form-table">
411
- <tr valign="top">
412
- <th width="33%" scope="row">
413
- <label for="urltitle_prefix"><?php _e('URL Title Prefix:', 'breadcrumb_navxt'); ?></label>
414
- </th>
415
- <td>
416
- <input type="text" name="urltitle_prefix" id="urltitle_prefix" value="<?php echo bcn_get_option_inputvalue('bcn_urltitle_prefix'); ?>" size="32" />
417
- </td>
418
- </tr>
419
- <tr valign="top">
420
- <th scope="row">
421
- <label for="urltitle_suffix"><?php _e('URL Title Suffix:', 'breadcrumb_navxt'); ?></label>
422
- </th>
423
- <td>
424
- <input type="text" name="urltitle_suffix" id="urltitle_suffix" value="<?php echo bcn_get_option_inputvalue('bcn_urltitle_suffix'); ?>" size="32" />
425
- </td>
426
- </tr>
427
  <tr valign="top">
428
  <th scope="row">
429
- <label for="archive_category_prefix"><?php _e('Archive by Category Prefix:', 'breadcrumb_navxt'); ?></label>
430
  </th>
431
  <td>
432
  <input type="text" name="archive_category_prefix" id="archive_category_prefix" value="<?php echo bcn_get_option_inputvalue('bcn_archive_category_prefix'); ?>" size="32" />
@@ -434,7 +484,7 @@ function bcn_admin()
434
  </tr>
435
  <tr valign="top">
436
  <th scope="row">
437
- <label for="archive_category_suffix"><?php _e('Archive by Category Suffix:', 'breadcrumb_navxt'); ?></label>
438
  </th>
439
  <td>
440
  <input type="text" name="archive_category_suffix" id="archive_category_suffix" value="<?php echo bcn_get_option_inputvalue('bcn_archive_category_suffix'); ?>" size="32" />
@@ -442,7 +492,7 @@ function bcn_admin()
442
  </tr>
443
  <tr valign="top">
444
  <th scope="row">
445
- <label for="archive_date_prefix"><?php _e('Archive by Date Prefix:', 'breadcrumb_navxt'); ?></label>
446
  </th>
447
  <td>
448
  <input type="text" name="archive_date_prefix" id="archive_date_prefix" value="<?php echo bcn_get_option_inputvalue('bcn_archive_date_prefix'); ?>" size="32" />
@@ -450,7 +500,7 @@ function bcn_admin()
450
  </tr>
451
  <tr valign="top">
452
  <th scope="row">
453
- <label for="archive_date_suffix"><?php _e('Archive by Date Suffix:', 'breadcrumb_navxt'); ?></label>
454
  </th>
455
  <td>
456
  <input type="text" name="archive_date_suffix" id="archive_date_suffix" value="<?php echo bcn_get_option_inputvalue('bcn_archive_date_suffix'); ?>" size="32" />
@@ -458,17 +508,18 @@ function bcn_admin()
458
  </tr>
459
  <tr valign="top">
460
  <th scope="row">
461
- <label for="archive_date_format"><?php _e('Archive by Date Format:', 'breadcrumb_navxt'); ?></label>
462
  </th>
463
  <td>
464
- <select name="archive_date_format">
465
  <?php bcn_select_options('bcn_archive_date_format', array("EU", "US", "ISO")); ?>
466
- </select>
 
467
  </td>
468
  </tr>
469
  <tr valign="top">
470
  <th scope="row">
471
- <label for="archive_tag_prefix"><?php _e('Archive by Tag Prefix:', 'breadcrumb_navxt'); ?></label>
472
  </th>
473
  <td>
474
  <input type="text" name="archive_tag_prefix" id="archive_tag_prefix" value="<?php echo bcn_get_option_inputvalue('bcn_archive_tag_prefix'); ?>" size="32" />
@@ -476,7 +527,7 @@ function bcn_admin()
476
  </tr>
477
  <tr valign="top">
478
  <th scope="row">
479
- <label for="archive_tag_suffix"><?php _e('Archive by Tag Suffix:', 'breadcrumb_navxt'); ?></label>
480
  </th>
481
  <td>
482
  <input type="text" name="archive_tag_suffix" id="archive_tag_suffix" value="<?php echo bcn_get_option_inputvalue('bcn_archive_tag_suffix'); ?>" size="32" />
@@ -485,21 +536,22 @@ function bcn_admin()
485
  </table>
486
  </fieldset>
487
  <fieldset id="current" class="bcn_options">
488
- <legend><h3><?php _e('Current Item Settings:', 'breadcrumb_navxt'); ?></h3></legend>
489
  <table class="form-table">
490
  <tr valign="top">
491
- <th width="33%" scope="row">
492
- <label for="link_current_item"><?php _e('Link Current Item:', 'breadcrumb_navxt'); ?></label>
493
  </th>
494
  <td>
495
- <select name="link_current_item">
496
- <?php bcn_select_options_truefalse('bcn_link_current_item'); ?>
497
- </select>
 
498
  </td>
499
  </tr>
500
  <tr valign="top">
501
  <th scope="row">
502
- <label for="current_item_urltitle"><?php _e('Current Item URL Title:', 'breadcrumb_navxt'); ?></label>
503
  </th>
504
  <td>
505
  <input type="text" name="current_item_urltitle" id="current_item_urltitle" value="<?php echo bcn_get_option_inputvalue('bcn_current_item_urltitle'); ?>" size="32" />
@@ -507,7 +559,7 @@ function bcn_admin()
507
  </tr>
508
  <tr valign="top">
509
  <th scope="row">
510
- <label for="current_item_style_prefix"><?php _e('Current Item Style Prefix:', 'breadcrumb_navxt'); ?></label>
511
  </th>
512
  <td>
513
  <input type="text" name="current_item_style_prefix" id="current_item_style_prefix" value="<?php echo bcn_get_option_inputvalue('bcn_current_item_style_prefix'); ?>" size="32" />
@@ -515,7 +567,7 @@ function bcn_admin()
515
  </tr>
516
  <tr valign="top">
517
  <th scope="row">
518
- <label for="current_item_style_suffix"><?php _e('Current Item Style Suffix:', 'breadcrumb_navxt'); ?></label>
519
  </th>
520
  <td>
521
  <input type="text" name="current_item_style_suffix" id="current_item_style_suffix" value="<?php echo bcn_get_option_inputvalue('bcn_current_item_style_suffix'); ?>" size="32" />
@@ -523,17 +575,18 @@ function bcn_admin()
523
  </tr>
524
  <tr valign="top">
525
  <th scope="row">
526
- <label for="paged_display"><?php _e('Display Paged Text:', 'breadcrumb_navxt'); ?></label>
527
  </th>
528
  <td>
529
- <select name="paged_display">
530
- <?php bcn_select_options_truefalse('bcn_paged_display'); ?>
531
- </select>
 
532
  </td>
533
  </tr>
534
  <tr valign="top">
535
  <th scope="row">
536
- <label for="paged_prefix"><?php _e('Paged Prefix:', 'breadcrumb_navxt'); ?></label>
537
  </th>
538
  <td>
539
  <input type="text" name="paged_prefix" id="paged_prefix" value="<?php echo bcn_get_option_inputvalue('bcn_paged_prefix'); ?>" size="32" />
@@ -541,7 +594,7 @@ function bcn_admin()
541
  </tr>
542
  <tr valign="top">
543
  <th scope="row">
544
- <label for="paged_suffix"><?php _e('Paged Suffix:', 'breadcrumb_navxt'); ?></label>
545
  </th>
546
  <td>
547
  <input type="text" name="paged_suffix" id="paged_suffix" value="<?php echo bcn_get_option_inputvalue('bcn_paged_suffix'); ?>" size="32" />
@@ -550,11 +603,11 @@ function bcn_admin()
550
  </table>
551
  </fieldset>
552
  <fieldset id="single" class="bcn_options">
553
- <legend><h3><?php _e('Single Post Settings:', 'breadcrumb_navxt'); ?></h3></legend>
554
  <table class="form-table">
555
  <tr valign="top">
556
- <th width="33%" scope="row">
557
- <label for="singleblogpost_prefix"><?php _e('Single Blogpost Prefix:', 'breadcrumb_navxt'); ?></label>
558
  </th>
559
  <td>
560
  <input type="text" name="singleblogpost_prefix" id="singleblogpost_prefix" value="<?php echo bcn_get_option_inputvalue('bcn_singleblogpost_prefix'); ?>" size="32" />
@@ -562,7 +615,7 @@ function bcn_admin()
562
  </tr>
563
  <tr valign="top">
564
  <th scope="row">
565
- <label for="singleblogpost_suffix"><?php _e('Single Blogpost Suffix:', 'breadcrumb_navxt'); ?></label>
566
  </th>
567
  <td>
568
  <input type="text" name="singleblogpost_suffix" id="singleblogpost_suffix" value="<?php echo bcn_get_option_inputvalue('bcn_singleblogpost_suffix'); ?>" size="32" />
@@ -570,7 +623,7 @@ function bcn_admin()
570
  </tr>
571
  <tr valign="top">
572
  <th scope="row">
573
- <label for="page_prefix"><?php _e('Page Prefix:', 'breadcrumb_navxt'); ?></label>
574
  </th>
575
  <td>
576
  <input type="text" name="page_prefix" id="page_prefix" value="<?php echo bcn_get_option_inputvalue('bcn_page_prefix'); ?>" size="32" />
@@ -578,7 +631,7 @@ function bcn_admin()
578
  </tr>
579
  <tr valign="top">
580
  <th scope="row">
581
- <label for="page_suffix"><?php _e('Page Suffix:', 'breadcrumb_navxt'); ?></label>
582
  </th>
583
  <td>
584
  <input type="text" name="page_suffix" id="page_suffix" value="<?php echo bcn_get_option_inputvalue('bcn_page_suffix'); ?>" size="32" />
@@ -586,7 +639,7 @@ function bcn_admin()
586
  </tr>
587
  <tr valign="top">
588
  <th scope="row">
589
- <label for="attachment_prefix"><?php _e('Post Attachment Prefix:', 'breadcrumb_navxt'); ?></label>
590
  </th>
591
  <td>
592
  <input type="text" name="attachment_prefix" id="attachment_prefix" value="<?php echo bcn_get_option_inputvalue('bcn_attachment_prefix'); ?>" size="32" />
@@ -594,7 +647,7 @@ function bcn_admin()
594
  </tr>
595
  <tr valign="top">
596
  <th scope="row">
597
- <label for="attachment_suffix"><?php _e('Post Attachment Suffix:', 'breadcrumb_navxt'); ?></label>
598
  </th>
599
  <td>
600
  <input type="text" name="attachment_suffix" id="attachment_suffix" value="<?php echo bcn_get_option_inputvalue('bcn_attachment_suffix'); ?>" size="32" />
@@ -602,35 +655,53 @@ function bcn_admin()
602
  </tr>
603
  <tr valign="top">
604
  <th scope="row">
605
- <label for="title_home"><?php _e('Post Title Maxlen:', 'breadcrumb_navxt'); ?></label>
606
  </th>
607
  <td>
608
  <input type="text" name="posttitle_maxlen" id="posttitle_maxlen" value="<?php echo bcn_get_option_inputvalue('bcn_posttitle_maxlen'); ?>" size="10" />
609
  </td>
610
  </tr>
 
 
 
 
 
611
  <tr valign="top">
612
  <th scope="row">
613
- <label for="singleblogpost_taxonomy_display"><?php _e('Single Blog Post Taxonomy Display:', 'breadcrumb_navxt'); ?></label>
614
  </th>
615
  <td>
616
- <select name="singleblogpost_taxonomy_display">
617
- <?php bcn_select_options_truefalse('bcn_singleblogpost_taxonomy_display'); ?>
618
- </select>
 
619
  </td>
620
  </tr>
621
  <tr valign="top">
622
  <th scope="row">
623
- <label for="singleblogpost_taxonomy"><?php _e('Single Blog Post Taxonomy:', 'breadcrumb_navxt'); ?></label>
624
  </th>
625
  <td>
626
- <select name="singleblogpost_taxonomy">
627
- <?php bcn_select_options('bcn_singleblogpost_taxonomy', array("category", "tag")); ?>
628
- </select>
 
 
 
 
 
 
 
 
 
 
 
 
629
  </td>
630
- </tr>
631
  <tr valign="top">
632
  <th scope="row">
633
- <label for="singleblogpost_category_prefix"><?php _e('Single Blog Post Category Prefix:', 'breadcrumb_navxt'); ?></label>
634
  </th>
635
  <td>
636
  <input type="text" name="singleblogpost_category_prefix" id="singleblogpost_category_prefix" value="<?php echo bcn_get_option_inputvalue('bcn_singleblogpost_category_prefix'); ?>" size="32" />
@@ -638,7 +709,7 @@ function bcn_admin()
638
  </tr>
639
  <tr valign="top">
640
  <th scope="row">
641
- <label for="singleblogpost_category_suffix"><?php _e('Single Blog Post Category Suffix:', 'breadcrumb_navxt'); ?></label>
642
  </th>
643
  <td>
644
  <input type="text" name="singleblogpost_category_suffix" id="singleblogpost_category_suffix" value="<?php echo bcn_get_option_inputvalue('bcn_singleblogpost_category_suffix'); ?>" size="32" />
@@ -646,7 +717,7 @@ function bcn_admin()
646
  </tr>
647
  <tr valign="top">
648
  <th scope="row">
649
- <label for="singleblogpost_tag_prefix"><?php _e('Single Blog Post Tag Prefix:', 'breadcrumb_navxt'); ?></label>
650
  </th>
651
  <td>
652
  <input type="text" name="singleblogpost_tag_prefix" id="singleblogpost_tag_prefix" value="<?php echo bcn_get_option_inputvalue('bcn_singleblogpost_tag_prefix'); ?>" size="32" />
@@ -654,7 +725,7 @@ function bcn_admin()
654
  </tr>
655
  <tr valign="top">
656
  <th scope="row">
657
- <label for="singleblogpost_tag_suffix"><?php _e('Single Blog Post Tag Suffix:', 'breadcrumb_navxt'); ?></label>
658
  </th>
659
  <td>
660
  <input type="text" name="singleblogpost_tag_suffix" id="singleblogpost_tag_suffix" value="<?php echo bcn_get_option_inputvalue('bcn_singleblogpost_tag_suffix'); ?>" size="32" />
@@ -662,6 +733,7 @@ function bcn_admin()
662
  </tr>
663
  </table>
664
  </fieldset>
 
665
  <p class="submit"><input type="submit" name="bcn_admin_options" value="<?php _e('Save Changes') ?>" /></p>
666
  </form>
667
  </div>
@@ -670,19 +742,23 @@ function bcn_admin()
670
  /**
671
  * bcn_select_options
672
  *
673
- * displays wordpress options as <seclect> options
674
  *
675
  * @param (string) optionname name of wordpress options store
676
- * @param (array) options array of options
677
  */
678
- function bcn_select_options($optionname, $options)
679
  {
680
  $value = get_option($optionname);
681
-
682
- printf('<option>%s</option>', $value);
683
-
 
 
 
684
  foreach($options as $option)
685
  {
 
686
  if($option != $value)
687
  {
688
  printf('<option>%s</option>', $option);
@@ -690,25 +766,23 @@ function bcn_select_options($optionname, $options)
690
  }
691
  }
692
  /**
693
- * bcn_select_options_truefalse
694
- *
695
- * displays wordpress options as true/fals <seclect> options
696
- *
697
- * @param (string) optionname of wordpress options store
698
  */
699
- function bcn_select_options_truefalse($optionname)
700
- {
701
- bcn_select_options($optionname, array('true', 'false'));
702
- }
703
- //Additional styles for admin interface
704
  function bcn_options_style()
705
  {
 
 
 
 
706
  ?>
707
- <style>
708
- .bcn_options{border: none;}
709
  </style>
710
  <?php
711
  }
 
712
  //WordPress hooks
713
  if(function_exists('add_action')){
714
  //Installation Script hook
@@ -716,10 +790,13 @@ if(function_exists('add_action')){
716
  //WordPress Admin interface hook
717
  add_action('admin_menu', 'bcn_add_page');
718
  add_action('admin_head', 'bcn_options_style');
 
 
719
  //Admin Options hook
720
  if(isset($_POST['bcn_admin_options']))
721
  {
722
  add_action('init', 'bcn_admin_options');
723
  }
724
  }
 
725
  ?>
3
  Plugin Name: Breadcrumb NavXT - Adminstration Interface
4
  Plugin URI: http://mtekk.weblogs.us/code/breadcrumb-navxt/
5
  Description: Adds a breadcrumb navigation showing the visitor&#39;s path to their current location. This enables the administrative interface for specifying the output of the breadcrumb. For details on how to use this plugin visit <a href="http://mtekk.weblogs.us/code/breadcrumb-navxt/">Breadcrumb NavXT</a>.
6
+ Version: 2.1.3
7
  Author: John Havlik
8
  Author URI: http://mtekk.weblogs.us/
9
  */
10
+ /*
11
+ *
12
+ * @author John Havlik
13
+ * @author Tom Klingenberg
14
+ *
15
+ * @todo remove static frontpage options
16
+ * @todo put main admin panel logic into one class to better seperate from
17
+ * global namespace and to provide better modularization for upgrades.
18
+ */
19
+
20
+ //Configuration
21
+
22
+ $bcn_admin_version = "2.1.3";
23
  $bcn_admin_req = 8;
24
+
25
+ //Includes
26
+
27
+ //Include the breadcrumb class (if needed)
28
  if(!class_exists('bcn_breadcrumb'))
29
  {
30
  require(dirname(__FILE__) . '/breadcrumb_navxt_class.php');
31
  }
32
  //Include the supplemental functions
33
  require(dirname(__FILE__) . '/breadcrumb_navxt_api.php');
34
+
35
+ //Main
36
+
37
  /**
38
+ * Ensure the user has the proper permissions. Dies on failure.
39
+ *
40
+ * @return void
41
  */
42
  function bcn_security()
43
  {
77
  }
78
  }
79
  /**
 
 
80
  * Initilizes the administrative interface options if it is a new install, or an upgrade from an incompatible version
81
+ *
82
+ * @return void
83
  */
84
  function bcn_install()
85
  {
86
  global $bcn_admin_req, $bcn_version;
87
+
88
  bcn_security();
89
+ //Check if the database settings are for an old version
90
  if(get_option('bcn_version') != $bcn_admin_version)
91
  {
92
+ //First we should clean up old options we don't use anymore
93
+ list($major, $minor, $release) = explode('.', get_option('bcn_version'));
94
+ //If the old DB version was prior to 2.1.3
95
+ if($major <= 2 && $minor <= 1 && $release <= 3)
96
+ {
97
+ //Remove old crap
98
+ delete_option('bcn_preserve');
99
+ delete_option('bcn_static_frontpage');
100
+ }
101
+ //No need for using API hacks, we fully controol things here
102
+ //We always want to update to our current version
103
+ update_option('bcn_version', $bcn_admin_version);
104
+ //Add in options if they didn't exist before, load defaults into them
105
+ add_option('bcn_url_blog', '');
106
+ add_option('bcn_home_display', 'true');
107
+ add_option('bcn_home_link', 'true');
108
+ add_option('bcn_title_home', 'Home');
109
+ add_option('bcn_title_blog', 'Blog');
110
+ add_option('bcn_separator', '&nbsp;&gt;&nbsp;');
111
+ add_option('bcn_search_prefix', 'Search results for &#39;');
112
+ add_option('bcn_search_suffix', '&#39;');
113
+ add_option('bcn_author_prefix', 'Posts by ');
114
+ add_option('bcn_author_suffix', '');
115
+ add_option('bcn_author_display', 'display_name');
116
+ add_option('bcn_singleblogpost_prefix', 'Blog article:&nbsp;');
117
+ add_option('bcn_singleblogpost_suffix', '');
118
+ add_option('bcn_page_prefix', '');
119
+ add_option('bcn_page_suffix', '');
120
+ add_option('bcn_urltitle_prefix', 'Browse to:&nbsp;');
121
+ add_option('bcn_urltitle_suffix', '');
122
+ add_option('bcn_archive_category_prefix', 'Archive by category &#39;');
123
+ add_option('bcn_archive_category_suffix', '&#39;');
124
+ add_option('bcn_archive_date_prefix', 'Archive: ');
125
+ add_option('bcn_archive_date_suffix', '');
126
+ add_option('bcn_archive_date_format', 'EU');
127
+ add_option('bcn_attachment_prefix', 'Attachment:&nbsp;');
128
+ add_option('bcn_attachment_suffix', '');
129
+ add_option('bcn_archive_tag_prefix', 'Archive by tag &#39;');
130
+ add_option('bcn_archive_tag_suffix', '&#39;');
131
+ add_option('bcn_title_404', '404');
132
+ add_option('bcn_link_current_item', 'false');
133
+ add_option('bcn_current_item_urltitle', 'Link of current page (click to refresh)');
134
+ add_option('bcn_current_item_style_prefix', '');
135
+ add_option('bcn_current_item_style_suffix', '');
136
+ add_option('bcn_posttitle_maxlen', 0);
137
+ add_option('bcn_paged_display', 'false');
138
+ add_option('bcn_paged_prefix', ', Page&nbsp;');
139
+ add_option('bcn_paged_suffix', '');
140
+ add_option('bcn_singleblogpost_taxonomy', 'category');
141
+ add_option('bcn_singleblogpost_taxonomy_display', 'true');
142
+ add_option('bcn_singleblogpost_category_prefix', '');
143
+ add_option('bcn_singleblogpost_category_suffix', '');
144
+ add_option('bcn_singleblogpost_tag_prefix', '');
145
+ add_option('bcn_singleblogpost_tag_suffix', '');
146
  }
147
  }
148
  /**
 
 
149
  * An alias of bcn_display, exists for legacy compatibility. Use bcn_display instead of this.
150
+ *
151
+ * @see bcn_display
152
  */
153
  function breadcrumb_nav_xt_display()
154
  {
155
+ if(function_exists('_deprecated_function'))
156
+ {
157
+ _deprecated_function('breadcrumb_nav_xt_display','2.1','bcn_display');
158
+ }
159
  bcn_display();
160
  }
161
  /**
 
 
162
  * Creates a bcn_breadcrumb object, sets the options per user specification in the
163
  * administration interface and outputs the breadcrumb
164
  */
170
  //Make new breadcrumb object
171
  $breadcrumb = new bcn_breadcrumb;
172
  //Set the settings
173
+ // @todo clean removed in 2.1.3 $breadcrumb->opt['static_frontpage'] = get_option('bcn_static_frontpage');
174
  $breadcrumb->opt['url_blog'] = get_option('bcn_url_blog');
175
  $breadcrumb->opt['home_display'] = get_option('bcn_home_display');
176
  $breadcrumb->opt['home_link'] = get_option('bcn_home_link');
198
  $breadcrumb->opt['archive_tag_prefix'] = get_option('bcn_archive_tag_prefix');
199
  $breadcrumb->opt['archive_tag_suffix'] = get_option('bcn_archive_tag_suffix');
200
  $breadcrumb->opt['title_404'] = get_option('bcn_title_404');
201
+ $breadcrumb->opt['link_current_item'] = get_option('bcn_link_current_item', 'false');
202
  $breadcrumb->opt['current_item_urltitle'] = get_option('bcn_current_item_urltitle');
203
  $breadcrumb->opt['current_item_style_prefix'] = get_option('bcn_current_item_style_prefix');
204
  $breadcrumb->opt['current_item_style_suffix'] = get_option('bcn_current_item_style_suffix');
207
  $breadcrumb->opt['paged_prefix'] = get_option('bcn_paged_prefix');
208
  $breadcrumb->opt['paged_suffix'] = get_option('bcn_paged_suffix');
209
  $breadcrumb->opt['singleblogpost_taxonomy'] = get_option('bcn_singleblogpost_taxonomy');
210
+ $breadcrumb->opt['singleblogpost_taxonomy_display'] = get_option('bcn_singleblogpost_taxonomy_display', 'false');
211
  $breadcrumb->opt['singleblogpost_category_prefix'] = get_option('bcn_singleblogpost_category_prefix');
212
  $breadcrumb->opt['singleblogpost_category_suffix'] = get_option('bcn_singleblogpost_category_suffix');
213
  $breadcrumb->opt['singleblogpost_tag_prefix'] = get_option('bcn_singleblogpost_tag_prefix');
226
  function bcn_admin_options()
227
  {
228
  global $wpdb, $bcn_admin_req;
229
+
230
  bcn_security();
231
+
232
+ //Do a nonce check, prevent malicious link/form problems
233
+ check_admin_referer('bcn_admin_options');
234
+
235
+ // @todo clean removed in 2.1.3 update_option('bcn_static_frontpage', bcn_get('static_frontpage'));
236
+ bcn_update_option('bcn_url_blog', bcn_get('url_blog'));
237
+ bcn_update_option('bcn_home_display', bcn_get('home_display', 'false'));
238
+ bcn_update_option('bcn_home_link', bcn_get('home_link', 'false'));
239
+ bcn_update_option('bcn_title_home', bcn_get('title_home'));
240
+ bcn_update_option('bcn_title_blog', bcn_get('title_blog'));
241
+ bcn_update_option('bcn_separator', bcn_get('separator'));
242
+ bcn_update_option('bcn_search_prefix', bcn_get('search_prefix'));
243
+ bcn_update_option('bcn_search_suffix', bcn_get('search_suffix'));
244
+ bcn_update_option('bcn_author_prefix', bcn_get('author_prefix'));
245
+ bcn_update_option('bcn_author_suffix', bcn_get('author_suffix'));
246
+ bcn_update_option('bcn_author_display', bcn_get('author_display'));
247
+ bcn_update_option('bcn_attachment_prefix', bcn_get('attachment_prefix'));
248
+ bcn_update_option('bcn_attachment_suffix', bcn_get('attachment_suffix'));
249
+ bcn_update_option('bcn_singleblogpost_prefix', bcn_get('singleblogpost_prefix'));
250
+ bcn_update_option('bcn_singleblogpost_suffix', bcn_get('singleblogpost_suffix'));
251
+ bcn_update_option('bcn_page_prefix', bcn_get('page_prefix'));
252
+ bcn_update_option('bcn_page_suffix', bcn_get('page_suffix'));
253
+ bcn_update_option('bcn_urltitle_prefix', bcn_get('urltitle_prefix'));
254
+ bcn_update_option('bcn_urltitle_suffix', bcn_get('urltitle_suffix'));
255
+ bcn_update_option('bcn_archive_category_prefix', bcn_get('archive_category_prefix'));
256
+ bcn_update_option('bcn_archive_category_suffix', bcn_get('archive_category_suffix'));
257
+ bcn_update_option('bcn_archive_date_prefix', bcn_get('archive_date_prefix'));
258
+ bcn_update_option('bcn_archive_date_suffix', bcn_get('archive_date_suffix'));
259
+ bcn_update_option('bcn_archive_date_format', bcn_get('archive_date_format'));
260
+ bcn_update_option('bcn_archive_tag_prefix', bcn_get('archive_tag_prefix'));
261
+ bcn_update_option('bcn_archive_tag_suffix', bcn_get('archive_tag_suffix'));
262
+ bcn_update_option('bcn_title_404', bcn_get('title_404'));
263
+ bcn_update_option('bcn_link_current_item', bcn_get('link_current_item', 'false'));
264
+ bcn_update_option('bcn_current_item_urltitle', bcn_get('current_item_urltitle'));
265
+ bcn_update_option('bcn_current_item_style_prefix', bcn_get('current_item_style_prefix'));
266
+ bcn_update_option('bcn_current_item_style_suffix', bcn_get('current_item_style_suffix'));
267
+ bcn_update_option('bcn_posttitle_maxlen', bcn_get('posttitle_maxlen'));
268
+ bcn_update_option('bcn_paged_display', bcn_get('paged_display'));
269
+ bcn_update_option('bcn_paged_prefix', bcn_get('paged_prefix'));
270
+ bcn_update_option('bcn_paged_suffix', bcn_get('paged_suffix'));
271
+ bcn_update_option('bcn_singleblogpost_taxonomy', bcn_get('singleblogpost_taxonomy'));
272
+ bcn_update_option('bcn_singleblogpost_taxonomy_display', bcn_get('singleblogpost_taxonomy_display'));
273
+ bcn_update_option('bcn_singleblogpost_category_prefix', bcn_get('singleblogpost_category_prefix'));
274
+ bcn_update_option('bcn_singleblogpost_category_suffix', bcn_get('singleblogpost_category_suffix'));
275
+ bcn_update_option('bcn_singleblogpost_tag_prefix', bcn_get('singleblogpost_tag_prefix'));
276
+ bcn_update_option('bcn_singleblogpost_tag_suffix', bcn_get('singleblogpost_tag_suffix'));
277
  }
278
  /**
279
  * bcn_add_page
293
  function bcn_admin()
294
  {
295
  global $bcn_admin_req, $bcn_admin_version, $bcn_version;
296
+
297
+ //Makes sure the user has the proper permissions. Dies on failure.
298
  bcn_security();
299
+
300
+ //Initilizes l10n domain
301
  bcn_local();
302
+
303
+ /*
304
+ * compare breadcrumb plugin and breadcrumb admin version with each other
305
+ * major and minor version numbering must both match, revision numbers are ignored
306
+ */
307
+ list($bcn_plugin_major, $bcn_plugin_minor, $bcn_plugin_bugfix) = explode('.', $bcn_version);
308
+ list($bcn_admin_major, $bcn_admin_minor, $bcn_admin_bugfix) = explode('.', $bcn_admin_version);
309
+ if($bcn_plugin_major != $bcn_admin_major || $bcn_plugin_minor != $bcn_admin_minor)
310
+ {
311
+ ?>
312
  <div id="message" class="updated fade">
313
+ <p><?php _e('Warning, your version of Breadcrumb NavXT does not match the version supported by this administrative interface. As a result, settings may not work as expected.', 'breadcrumb_navxt'); ?></p>
314
  <p><?php _e('Your Breadcrumb NavXT Administration interface version is ', 'breadcrumb_navxt'); echo $bcn_version; ?>.</p>
315
  <p><?php _e('Your Breadcrumb NavXT version is ', 'breadcrumb_navxt'); echo $bcn_admin_version; ?>.</p>
316
  </div>
317
+ <?php
318
+ }
319
+ //Output the administration panel (until end of function)
320
+ ?>
321
+ <div class="wrap"><h2><?php _e('Breadcrumb NavXT Settings', 'breadcrumb_navxt'); ?></h2>
322
+ <form action="options-general.php?page=breadcrumb-nav-xt" method="post" id="bcn_admin_options">
323
+ <?php wp_nonce_field('bcn_admin_options');?>
324
+ <div id="hasadmintabs">
325
+ <fieldset id="general" class="bcn_options">
326
+ <p><?php
327
+ printf(__( 'This administration interface allows the full customization of the breadcrumb output with no loss
328
  of functionality when compared to manual configuration. Each setting is the same as the corresponding
329
  class option, please refer to the
330
  %sdocumentation%s
331
+ for more detailed explanation of each setting.', 'breadcrumb_navxt'), '<a title="Go to the Breadcrumb NavXT online documentation" href="http://mtekk.weblogs.us/code/breadcrumb-navxt/breadcrumb-navxt-doc/">', '</a>');
332
+ ?></p>
333
+ <h3><?php _e('General', 'breadcrumb_navxt'); ?></h3>
 
 
334
  <table class="form-table">
335
  <tr valign="top">
336
+ <th scope="row">
337
+ <label for="title_blog"><?php _e('Blog Title', 'breadcrumb_navxt'); ?></label>
338
  </th>
339
  <td>
340
+ <input type="text" name="title_blog" id="title_blog" value="<?php echo bcn_get_option_inputvalue('bcn_title_blog'); ?>" size="32" /><br />
341
+ <?php _e('Will be displayed on the home page (when not using a static front page), always links to the main post page.', 'breadcrumb_navxt'); ?>
342
  </td>
343
  </tr>
344
  <tr valign="top">
345
  <th scope="row">
346
+ <label for="separator"><?php _e('Breadcrumb Separator', 'breadcrumb_navxt'); ?></label>
347
  </th>
348
  <td>
349
+ <input type="text" name="separator" id="separator" value="<?php echo bcn_get_option_inputvalue('bcn_separator'); ?>" size="32" /><br />
350
+ <?php _e('Placed in between each breadcrumb.', 'breadcrumb_navxt'); ?>
351
  </td>
352
  </tr>
353
  <tr valign="top">
354
  <th scope="row">
355
+ <label for="urltitle_prefix"><?php _e('URL Title Prefix', 'breadcrumb_navxt'); ?></label>
356
+ </th>
357
+ <td>
358
+ <input type="text" name="urltitle_prefix" id="urltitle_prefix" value="<?php echo bcn_get_option_inputvalue('bcn_urltitle_prefix'); ?>" size="32" /><br />
359
+ <?php _e('The prefix applied globally to the title field in the breadcrumb links.', 'breadcrumb_navxt'); ?>
360
+ </tr>
361
+ <tr valign="top">
362
+ <th scope="row">
363
+ <label for="urltitle_suffix"><?php _e('URL Title Suffix', 'breadcrumb_navxt'); ?></label>
364
+ </th>
365
+ <td>
366
+ <input type="text" name="urltitle_suffix" id="urltitle_suffix" value="<?php echo bcn_get_option_inputvalue('bcn_urltitle_suffix'); ?>" size="32" /><br />
367
+ <?php _e('The suffix applied globally to the title field in the breadcrumb links.', 'breadcrumb_navxt'); ?>
368
+ </td>
369
+ </tr>
370
+ <tr valign="top">
371
+ <th scope="row">
372
+ <label for="search_prefix"><?php _e('Search Prefix', 'breadcrumb_navxt'); ?></label>
373
  </th>
374
  <td>
375
  <input type="text" name="search_prefix" id="search_prefix" value="<?php echo bcn_get_option_inputvalue('bcn_search_prefix'); ?>" size="32" />
377
  </tr>
378
  <tr valign="top">
379
  <th scope="row">
380
+ <label for="search_suffix"><?php _e('Search Suffix', 'breadcrumb_navxt'); ?></label>
381
  </th>
382
  <td>
383
  <input type="text" name="search_suffix" id="search_suffix" value="<?php echo bcn_get_option_inputvalue('bcn_search_suffix'); ?>" size="32" />
385
  </tr>
386
  <tr valign="top">
387
  <th scope="row">
388
+ <label for="title_404"><?php _e('404 Title', 'breadcrumb_navxt'); ?></label>
389
  </th>
390
  <td>
391
  <input type="text" name="title_404" id="title_404" value="<?php echo bcn_get_option_inputvalue('bcn_title_404'); ?>" size="32" />
394
  </table>
395
  </fieldset>
396
  <fieldset id="static_front_page" class="bcn_options">
397
+ <h3><?php _e('Front Page', 'breadcrumb_navxt'); ?></h3>
398
  <table class="form-table">
 
 
 
 
 
 
 
 
 
 
399
  <tr valign="top">
400
  <th scope="row">
401
+ <?php _e('Static Front Page', 'breadcrumb_navxt'); ?>
402
  </th>
403
  <td>
404
+ <span id="static_frontpage_ex"><?php echo __(bcn_wp_has_static_frontpage() ? 'Yes': 'No'); ?></span>
405
  </td>
406
  </tr>
407
  <tr valign="top">
408
  <th scope="row">
409
+ <label for="url_blog"><?php _e('Relative Blog URL', 'breadcrumb_navxt'); ?></label>
410
  </th>
411
  <td>
412
+ <input type="text" name="url_blog" id="url_blog" value="<?php echo bcn_get_option_inputvalue('bcn_url_blog'); ?>" size="32" /><br />
413
+ <?php _e('The location of the page that contains posts relative to the WordPress Blog address.', 'breadcrumb_navxt'); ?>
 
414
  </td>
415
+ </tr>
416
  <tr valign="top">
417
  <th scope="row">
418
+ <?php _e('Home Breadcrumb', 'breadcrumb_navxt'); ?>
419
  </th>
420
+ <td>
421
+ <label for="home_display">
422
+ <input name="home_display" type="checkbox" id="home_display" value="true" <?php checked('true', get_option('bcn_home_display')); ?> />
423
+ <?php _e('Is in trail', 'breadcrumb_navxt') ?> - <?php _e('Should the "Home" crumb be placed in the breadcrumb trail?', 'breadcrumb_navxt'); ?>
424
+ </label><br />
425
+ <label for="home_link">
426
+ <input name="home_link" type="checkbox" id="home_link" value="true" <?php checked('true', get_option('bcn_home_link')); ?> />
427
+ <?php _e('Links to Homepage', 'breadcrumb_navxt') ?> - <?php _e('Should the "Home" crumb link to the home page?', 'breadcrumb_navxt'); ?>
428
+ </label><br />
429
+ <?php printf(__('URL of the Homepage is %s', 'breadcrumb_navxt'), sprintf('<em>%s</em>', bcn_wp_url_home())) ?>
430
  </td>
431
+ </tr>
432
  <tr valign="top">
433
  <th scope="row">
434
+ <label for="title_home"><?php _e('Home Title', 'breadcrumb_navxt'); ?></label>
435
  </th>
436
  <td>
437
+ <input type="text" name="title_home" id="title_home" value="<?php echo bcn_get_option_inputvalue('bcn_title_home'); ?>" size="32" /><br />
438
+ <?php _e('The title applied to the link to the static home page.', 'breadcrumb_navxt'); ?>
439
  </td>
440
  </tr>
441
  </table>
442
  </fieldset>
443
  <fieldset id="author" class="bcn_options">
444
+ <h3><?php _e('Author Page', 'breadcrumb_navxt'); ?></h3>
445
  <table class="form-table">
446
  <tr valign="top">
447
+ <th scope="row">
448
+ <label for="author_prefix"><?php _e('Author Prefix', 'breadcrumb_navxt'); ?></label>
449
  </th>
450
  <td>
451
  <input type="text" name="author_prefix" id="author_prefix" value="<?php echo bcn_get_option_inputvalue('bcn_author_prefix'); ?>" size="32" />
453
  </tr>
454
  <tr valign="top">
455
  <th scope="row">
456
+ <label for="author_suffix"><?php _e('Author Suffix', 'breadcrumb_navxt'); ?></label>
457
  </th>
458
  <td>
459
  <input type="text" name="author_suffix" id="author_suffix" value="<?php echo bcn_get_option_inputvalue('bcn_author_suffix'); ?>" size="32" />
461
  </tr>
462
  <tr valign="top">
463
  <th scope="row">
464
+ <label for="author_display"><?php _e('Author Display Format', 'breadcrumb_navxt'); ?></label>
465
  </th>
466
  <td>
467
+ <select name="author_display" id="author_display">
468
  <?php bcn_select_options('bcn_author_display', array("display_name", "nickname", "first_name", "last_name")); ?>
469
  </select>
470
  </td>
471
  </tr>
 
472
  </table>
473
  </fieldset>
474
  <fieldset id="category" class="bcn_options">
475
+ <h3><?php _e('Archive Display', 'breadcrumb_navxt'); ?></h3>
476
  <table class="form-table">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
477
  <tr valign="top">
478
  <th scope="row">
479
+ <label for="archive_category_prefix"><?php _e('Archive by Category Prefix', 'breadcrumb_navxt'); ?></label>
480
  </th>
481
  <td>
482
  <input type="text" name="archive_category_prefix" id="archive_category_prefix" value="<?php echo bcn_get_option_inputvalue('bcn_archive_category_prefix'); ?>" size="32" />
484
  </tr>
485
  <tr valign="top">
486
  <th scope="row">
487
+ <label for="archive_category_suffix"><?php _e('Archive by Category Suffix', 'breadcrumb_navxt'); ?></label>
488
  </th>
489
  <td>
490
  <input type="text" name="archive_category_suffix" id="archive_category_suffix" value="<?php echo bcn_get_option_inputvalue('bcn_archive_category_suffix'); ?>" size="32" />
492
  </tr>
493
  <tr valign="top">
494
  <th scope="row">
495
+ <label for="archive_date_prefix"><?php _e('Archive by Date Prefix', 'breadcrumb_navxt'); ?></label>
496
  </th>
497
  <td>
498
  <input type="text" name="archive_date_prefix" id="archive_date_prefix" value="<?php echo bcn_get_option_inputvalue('bcn_archive_date_prefix'); ?>" size="32" />
500
  </tr>
501
  <tr valign="top">
502
  <th scope="row">
503
+ <label for="archive_date_suffix"><?php _e('Archive by Date Suffix', 'breadcrumb_navxt'); ?></label>
504
  </th>
505
  <td>
506
  <input type="text" name="archive_date_suffix" id="archive_date_suffix" value="<?php echo bcn_get_option_inputvalue('bcn_archive_date_suffix'); ?>" size="32" />
508
  </tr>
509
  <tr valign="top">
510
  <th scope="row">
511
+ <label for="archive_date_format"><?php _e('Archive by Date Format', 'breadcrumb_navxt'); ?></label>
512
  </th>
513
  <td>
514
+ <select name="archive_date_format" id="archive_date_format">
515
  <?php bcn_select_options('bcn_archive_date_format', array("EU", "US", "ISO")); ?>
516
+ </select><br />
517
+ <?php _e('e.g. EU: 14 May 2008, US: May 14, 2008, ISO: 2008 May 14', 'breadcrumb_navxt'); ?>
518
  </td>
519
  </tr>
520
  <tr valign="top">
521
  <th scope="row">
522
+ <label for="archive_tag_prefix"><?php _e('Archive by Tag Prefix', 'breadcrumb_navxt'); ?></label>
523
  </th>
524
  <td>
525
  <input type="text" name="archive_tag_prefix" id="archive_tag_prefix" value="<?php echo bcn_get_option_inputvalue('bcn_archive_tag_prefix'); ?>" size="32" />
527
  </tr>
528
  <tr valign="top">
529
  <th scope="row">
530
+ <label for="archive_tag_suffix"><?php _e('Archive by Tag Suffix', 'breadcrumb_navxt'); ?></label>
531
  </th>
532
  <td>
533
  <input type="text" name="archive_tag_suffix" id="archive_tag_suffix" value="<?php echo bcn_get_option_inputvalue('bcn_archive_tag_suffix'); ?>" size="32" />
536
  </table>
537
  </fieldset>
538
  <fieldset id="current" class="bcn_options">
539
+ <h3><?php _e('Current Item', 'breadcrumb_navxt'); ?></h3>
540
  <table class="form-table">
541
  <tr valign="top">
542
+ <th scope="row">
543
+ <label for="link_current_item"><?php _e('Link Current Item', 'breadcrumb_navxt'); ?></label>
544
  </th>
545
  <td>
546
+ <label>
547
+ <input name="link_current_item" type="checkbox" id="link_current_item" value="true" <?php checked('true', bcn_get_option('bcn_link_current_item')); ?> />
548
+ <?php _e('Yes'); ?>
549
+ </label>
550
  </td>
551
  </tr>
552
  <tr valign="top">
553
  <th scope="row">
554
+ <label for="current_item_urltitle"><?php _e('Current Item URL Title', 'breadcrumb_navxt'); ?></label>
555
  </th>
556
  <td>
557
  <input type="text" name="current_item_urltitle" id="current_item_urltitle" value="<?php echo bcn_get_option_inputvalue('bcn_current_item_urltitle'); ?>" size="32" />
559
  </tr>
560
  <tr valign="top">
561
  <th scope="row">
562
+ <label for="current_item_style_prefix"><?php _e('Current Item Style Prefix', 'breadcrumb_navxt'); ?></label>
563
  </th>
564
  <td>
565
  <input type="text" name="current_item_style_prefix" id="current_item_style_prefix" value="<?php echo bcn_get_option_inputvalue('bcn_current_item_style_prefix'); ?>" size="32" />
567
  </tr>
568
  <tr valign="top">
569
  <th scope="row">
570
+ <label for="current_item_style_suffix"><?php _e('Current Item Style Suffix', 'breadcrumb_navxt'); ?></label>
571
  </th>
572
  <td>
573
  <input type="text" name="current_item_style_suffix" id="current_item_style_suffix" value="<?php echo bcn_get_option_inputvalue('bcn_current_item_style_suffix'); ?>" size="32" />
575
  </tr>
576
  <tr valign="top">
577
  <th scope="row">
578
+ <label for="paged_display"><?php _e('Display Paged Text', 'breadcrumb_navxt'); ?></label>
579
  </th>
580
  <td>
581
+ <label>
582
+ <input name="paged_display" type="checkbox" id="paged_display" value="true" <?php checked('true', bcn_get_option('bcn_paged_display')); ?> />
583
+ <?php _e('Show that the user is on a page other than the first on posts/archives with multiple pages.', 'breadcrumb_navxt'); ?>
584
+ </label>
585
  </td>
586
  </tr>
587
  <tr valign="top">
588
  <th scope="row">
589
+ <label for="paged_prefix"><?php _e('Paged Prefix', 'breadcrumb_navxt'); ?></label>
590
  </th>
591
  <td>
592
  <input type="text" name="paged_prefix" id="paged_prefix" value="<?php echo bcn_get_option_inputvalue('bcn_paged_prefix'); ?>" size="32" />
594
  </tr>
595
  <tr valign="top">
596
  <th scope="row">
597
+ <label for="paged_suffix"><?php _e('Paged Suffix', 'breadcrumb_navxt'); ?></label>
598
  </th>
599
  <td>
600
  <input type="text" name="paged_suffix" id="paged_suffix" value="<?php echo bcn_get_option_inputvalue('bcn_paged_suffix'); ?>" size="32" />
603
  </table>
604
  </fieldset>
605
  <fieldset id="single" class="bcn_options">
606
+ <h3><?php _e('Single Post', 'breadcrumb_navxt'); ?></h3>
607
  <table class="form-table">
608
  <tr valign="top">
609
+ <th scope="row">
610
+ <label for="singleblogpost_prefix"><?php _e('Single Blogpost Prefix', 'breadcrumb_navxt'); ?></label>
611
  </th>
612
  <td>
613
  <input type="text" name="singleblogpost_prefix" id="singleblogpost_prefix" value="<?php echo bcn_get_option_inputvalue('bcn_singleblogpost_prefix'); ?>" size="32" />
615
  </tr>
616
  <tr valign="top">
617
  <th scope="row">
618
+ <label for="singleblogpost_suffix"><?php _e('Single Blogpost Suffix', 'breadcrumb_navxt'); ?></label>
619
  </th>
620
  <td>
621
  <input type="text" name="singleblogpost_suffix" id="singleblogpost_suffix" value="<?php echo bcn_get_option_inputvalue('bcn_singleblogpost_suffix'); ?>" size="32" />
623
  </tr>
624
  <tr valign="top">
625
  <th scope="row">
626
+ <label for="page_prefix"><?php _e('Page Prefix', 'breadcrumb_navxt'); ?></label>
627
  </th>
628
  <td>
629
  <input type="text" name="page_prefix" id="page_prefix" value="<?php echo bcn_get_option_inputvalue('bcn_page_prefix'); ?>" size="32" />
631
  </tr>
632
  <tr valign="top">
633
  <th scope="row">
634
+ <label for="page_suffix"><?php _e('Page Suffix', 'breadcrumb_navxt'); ?></label>
635
  </th>
636
  <td>
637
  <input type="text" name="page_suffix" id="page_suffix" value="<?php echo bcn_get_option_inputvalue('bcn_page_suffix'); ?>" size="32" />
639
  </tr>
640
  <tr valign="top">
641
  <th scope="row">
642
+ <label for="attachment_prefix"><?php _e('Post Attachment Prefix', 'breadcrumb_navxt'); ?></label>
643
  </th>
644
  <td>
645
  <input type="text" name="attachment_prefix" id="attachment_prefix" value="<?php echo bcn_get_option_inputvalue('bcn_attachment_prefix'); ?>" size="32" />
647
  </tr>
648
  <tr valign="top">
649
  <th scope="row">
650
+ <label for="attachment_suffix"><?php _e('Post Attachment Suffix', 'breadcrumb_navxt'); ?></label>
651
  </th>
652
  <td>
653
  <input type="text" name="attachment_suffix" id="attachment_suffix" value="<?php echo bcn_get_option_inputvalue('bcn_attachment_suffix'); ?>" size="32" />
655
  </tr>
656
  <tr valign="top">
657
  <th scope="row">
658
+ <label for="title_home"><?php _e('Post Title Max Length', 'breadcrumb_navxt'); ?></label>
659
  </th>
660
  <td>
661
  <input type="text" name="posttitle_maxlen" id="posttitle_maxlen" value="<?php echo bcn_get_option_inputvalue('bcn_posttitle_maxlen'); ?>" size="10" />
662
  </td>
663
  </tr>
664
+ </table>
665
+ </fieldset>
666
+ <fieldset id="taxonomy" class="bcn_options">
667
+ <h3><?php _e('Taxonomy', 'breadcrumb_navxt'); ?></h3>
668
+ <table class="form-table">
669
  <tr valign="top">
670
  <th scope="row">
671
+ <?php _e('Single Blog Post Taxonomy Display', 'breadcrumb_navxt'); ?>
672
  </th>
673
  <td>
674
+ <label for="singleblogpost_taxonomy_display">
675
+ <input name="singleblogpost_taxonomy_display" type="checkbox" id="singleblogpost_taxonomy_display" value="true" <?php checked('true', bcn_get_option('bcn_singleblogpost_taxonomy_display')); ?> />
676
+ <?php _e('Show the taxonomy leading to a post in the breadcrumb trail.', 'breadcrumb_navxt'); ?>
677
+ </label>
678
  </td>
679
  </tr>
680
  <tr valign="top">
681
  <th scope="row">
682
+ <p><?php _e('Single Blog Post Taxonomy', 'breadcrumb_navxt'); ?></p>
683
  </th>
684
  <td>
685
+ <p>
686
+ <label>
687
+ <input name="singleblogpost_taxonomy" type="radio" value="category" class="togx" <?php checked('category', bcn_get_option('bcn_singleblogpost_taxonomy')); ?> />
688
+ <?php _e('Categories'); ?>
689
+ </label>
690
+ </p>
691
+ <p>
692
+ <label>
693
+ <input name="singleblogpost_taxonomy" type="radio" value="tag" class="togx" <?php checked('tag', bcn_get_option('bcn_singleblogpost_taxonomy')); ?> />
694
+ <?php _e('Tags'); ?>
695
+ </label>
696
+ </p>
697
+ <p>
698
+ <?php _e('The taxonomy which the breadcrumb trail will show.', 'breadcrumb_navxt'); ?>
699
+ </p>
700
  </td>
701
+ </tr>
702
  <tr valign="top">
703
  <th scope="row">
704
+ <label for="singleblogpost_category_prefix"><?php _e('Single Blog Post Category Prefix', 'breadcrumb_navxt'); ?></label>
705
  </th>
706
  <td>
707
  <input type="text" name="singleblogpost_category_prefix" id="singleblogpost_category_prefix" value="<?php echo bcn_get_option_inputvalue('bcn_singleblogpost_category_prefix'); ?>" size="32" />
709
  </tr>
710
  <tr valign="top">
711
  <th scope="row">
712
+ <label for="singleblogpost_category_suffix"><?php _e('Single Blog Post Category Suffix', 'breadcrumb_navxt'); ?></label>
713
  </th>
714
  <td>
715
  <input type="text" name="singleblogpost_category_suffix" id="singleblogpost_category_suffix" value="<?php echo bcn_get_option_inputvalue('bcn_singleblogpost_category_suffix'); ?>" size="32" />
717
  </tr>
718
  <tr valign="top">
719
  <th scope="row">
720
+ <label for="singleblogpost_tag_prefix"><?php _e('Single Blog Post Tag Prefix', 'breadcrumb_navxt'); ?></label>
721
  </th>
722
  <td>
723
  <input type="text" name="singleblogpost_tag_prefix" id="singleblogpost_tag_prefix" value="<?php echo bcn_get_option_inputvalue('bcn_singleblogpost_tag_prefix'); ?>" size="32" />
725
  </tr>
726
  <tr valign="top">
727
  <th scope="row">
728
+ <label for="singleblogpost_tag_suffix"><?php _e('Single Blog Post Tag Suffix', 'breadcrumb_navxt'); ?></label>
729
  </th>
730
  <td>
731
  <input type="text" name="singleblogpost_tag_suffix" id="singleblogpost_tag_suffix" value="<?php echo bcn_get_option_inputvalue('bcn_singleblogpost_tag_suffix'); ?>" size="32" />
733
  </tr>
734
  </table>
735
  </fieldset>
736
+ </div>
737
  <p class="submit"><input type="submit" name="bcn_admin_options" value="<?php _e('Save Changes') ?>" /></p>
738
  </form>
739
  </div>
742
  /**
743
  * bcn_select_options
744
  *
745
+ * displays wordpress options as <seclect> options defaults to true/false
746
  *
747
  * @param (string) optionname name of wordpress options store
748
+ * @param (array) options array of options defaults to array('true','false')
749
  */
750
+ function bcn_select_options($optionname, $options = array('true','false'))
751
  {
752
  $value = get_option($optionname);
753
+ //First output the current value
754
+ if ($value)
755
+ {
756
+ printf('<option>%s</option>', $value);
757
+ }
758
+ //Now do the rest
759
  foreach($options as $option)
760
  {
761
+ //Don't want multiple occurance of the current value
762
  if($option != $value)
763
  {
764
  printf('<option>%s</option>', $option);
766
  }
767
  }
768
  /**
769
+ * Additional styles and scripts for admin interface
770
+ *
771
+ * @todo do not add to any admin page
 
 
772
  */
 
 
 
 
 
773
  function bcn_options_style()
774
  {
775
+ //wp_version is needed for version checks performed in this function
776
+ global $wp_version;
777
+
778
+ //setup styles for admn and tabbed admin page
779
  ?>
780
+ <style type="text/css">
781
+ .bcn_options{border: none;}
782
  </style>
783
  <?php
784
  }
785
+
786
  //WordPress hooks
787
  if(function_exists('add_action')){
788
  //Installation Script hook
790
  //WordPress Admin interface hook
791
  add_action('admin_menu', 'bcn_add_page');
792
  add_action('admin_head', 'bcn_options_style');
793
+ //Enque javscript dependencies
794
+ //wp_enqueue_script('jquery-ui-tabs');
795
  //Admin Options hook
796
  if(isset($_POST['bcn_admin_options']))
797
  {
798
  add_action('init', 'bcn_admin_options');
799
  }
800
  }
801
+
802
  ?>
breadcrumb_navxt_api.php CHANGED
@@ -17,6 +17,65 @@
17
  * codebase in 2007-09.
18
  * see http://trac.wordpress.org/ticket/4781
19
  */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
20
  /**
21
  * bcn_get_option_inputvalue
22
  *
@@ -31,11 +90,11 @@
31
  function bcn_get_option_inputvalue($optionname)
32
  {
33
  //Retrieve the option value
34
- $bcn_value = get_option($optionname);
35
- //Remove &nbsp; so that it looks correct
36
- $bcn_value = str_replace("&nbsp;", " ", $bcn_value);
37
  //Convert any (x)HTML special charactors into a form that won't mess up the web form
38
  $bcn_value_secaped = htmlspecialchars($bcn_value);
 
39
  //Return the escaped value
40
  return $bcn_value_secaped;
41
  }
@@ -56,38 +115,27 @@ function bcn_get_option_inputvalue($optionname)
56
  * unslahsed-phpslashed data again. This is done in this function.
57
  *
58
  * @param (string) varname name of the post variable
 
59
  * @return (string) unescaped post data
60
  * @note WP-Version 2.3.3, wp-settings.php #259ff
61
  */
62
- function bcn_get($varname)
63
  {
64
  //Import variable from post-request
65
  $bcn_value = $_POST[$varname];
66
- //If null kick out early (nothing to work with)
 
67
  if($bcn_value == "")
68
  {
69
- return "";
70
  }
 
71
  //Only if we have a string should we check for spaces
72
- if(is_string($bcn_value))
73
- {
74
- //Preserving the front space if exists
75
- if(strpos($bcn_value, " ") === 0)
76
- {
77
- $bcn_value = "&nbsp;" . ltrim($bcn_value);
78
- }
79
- //Preserv the end space if exists
80
- $bcn_length = strlen($bcn_value) - 1;
81
- if($bcn_length > 0)
82
- {
83
- if(strpos($bcn_value, " ", $bcn_length - 1) === $bcn_length)
84
- {
85
- $bcn_value = rtrim($bcn_value) . "&nbsp;";
86
- }
87
- }
88
- }
89
  //Remove by faulty-wordpress-code added slashes
90
  $bcn_value = stripslashes($bcn_value);
 
91
  //Return unslashed value
92
  return $bcn_value;
93
  }
@@ -101,4 +149,56 @@ function bcn_local()
101
  //Load breadcrumb-navxt translation
102
  load_plugin_textdomain($domain = 'breadcrumb_navxt', $path = PLUGINDIR . '/breadcrumb-navxt');
103
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
104
  ?>
17
  * codebase in 2007-09.
18
  * see http://trac.wordpress.org/ticket/4781
19
  */
20
+
21
+ /**
22
+ * Get Option, get_option Replacement
23
+ *
24
+ * @param string optionname name of the wordpress option
25
+ */
26
+ function bcn_get_option($optionname)
27
+ {
28
+ //Retrieve the option value
29
+ $bcn_value = get_option($optionname);
30
+
31
+ //Remove &nbsp; so that it looks correct (string problem)
32
+ $bcn_value = str_replace("&nbsp;", " ", $bcn_value);
33
+
34
+ return $bcn_value;
35
+ }
36
+
37
+ /**
38
+ * Update Option, update_option Replacement
39
+ *
40
+ * @param unknown_type $optionname
41
+ * @param unknown_type $value
42
+ * @see bcn_get_option
43
+ */
44
+ function bcn_update_option($optionname, $value)
45
+ {
46
+ $bcn_value = $value;
47
+
48
+ /*
49
+ * Only if we have a string should we check for spaces
50
+ *
51
+ * @note since $value is from $_POST[] this will return true ever^^
52
+ *
53
+ *
54
+ * @todo Instead of poking blindly around and inventing stupid algos:
55
+ * enclose the whole string sothat everything is preserved automatically
56
+ * bcn_get_option can remove the enclosure then again with ease 100% transparent
57
+ */
58
+ if(is_string($bcn_value))
59
+ {
60
+ //Preserving the front space if exists
61
+ if(strpos($bcn_value, " ") === 0)
62
+ {
63
+ $bcn_value = "&nbsp;" . ltrim($bcn_value);
64
+ }
65
+ //Preserv the end space if exists
66
+ $bcn_length = strlen($bcn_value) - 1;
67
+ if($bcn_length > 0)
68
+ {
69
+ if(strpos($bcn_value, " ", $bcn_length - 1) === $bcn_length)
70
+ {
71
+ $bcn_value = rtrim($bcn_value) . "&nbsp;";
72
+ }
73
+ }
74
+ }
75
+
76
+ return update_option($optionname, $bcn_value);
77
+ }
78
+
79
  /**
80
  * bcn_get_option_inputvalue
81
  *
90
  function bcn_get_option_inputvalue($optionname)
91
  {
92
  //Retrieve the option value
93
+ $bcn_value = bcn_get_option($optionname);
94
+
 
95
  //Convert any (x)HTML special charactors into a form that won't mess up the web form
96
  $bcn_value_secaped = htmlspecialchars($bcn_value);
97
+
98
  //Return the escaped value
99
  return $bcn_value_secaped;
100
  }
115
  * unslahsed-phpslashed data again. This is done in this function.
116
  *
117
  * @param (string) varname name of the post variable
118
+ * @param (string) default deftaul value (optional)
119
  * @return (string) unescaped post data
120
  * @note WP-Version 2.3.3, wp-settings.php #259ff
121
  */
122
+ function bcn_get($varname, $default = "")
123
  {
124
  //Import variable from post-request
125
  $bcn_value = $_POST[$varname];
126
+
127
+ //If null kick out early (handle default values as well)
128
  if($bcn_value == "")
129
  {
130
+ return $default;
131
  }
132
+
133
  //Only if we have a string should we check for spaces
134
+ // >> this has been migrated to where it belongs to: bcn_update_option
135
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
136
  //Remove by faulty-wordpress-code added slashes
137
  $bcn_value = stripslashes($bcn_value);
138
+
139
  //Return unslashed value
140
  return $bcn_value;
141
  }
149
  //Load breadcrumb-navxt translation
150
  load_plugin_textdomain($domain = 'breadcrumb_navxt', $path = PLUGINDIR . '/breadcrumb-navxt');
151
  }
152
+
153
+ /**
154
+ * bcn_wp_static_frontpage
155
+ *
156
+ * does this wordpress installation uses a static page as frontpage
157
+ * or the standard listing of latest posts?
158
+ *
159
+ * @return bool true if wordpress uses a static frontpage
160
+ * @since 2.1.3
161
+ */
162
+ function bcn_wp_has_static_frontpage()
163
+ {
164
+ /*
165
+ * the option is taken directly from wordpress configuraion
166
+ *
167
+ * wp option: get_option('show_on_front')
168
+ *
169
+ * @see http://codex.wordpress.org/Option_Reference
170
+ *
171
+ * page_on_front
172
+ *
173
+ * The ID of the page that should be displayed on the front page.
174
+ * Requires show_on_front's value to be page.
175
+ * Data type: Integer
176
+ *
177
+ * show_on_front
178
+ *
179
+ * What to show on the front page
180
+ * 'posts' : Your latest posts
181
+ * 'page' : A static page (see page_on_front)
182
+ * Data type: String
183
+ */
184
+
185
+ $blog_has_static_frontpage = (bool) (get_option('show_on_front') == 'page');
186
+
187
+ return $blog_has_static_frontpage;
188
+ }
189
+
190
+ /**
191
+ * Get Wordpress Homepage
192
+ *
193
+ * @return string URL of wordpress homepage
194
+ * @since 2.1.3
195
+ */
196
+ function bcn_wp_url_home()
197
+ {
198
+ $url_home = get_option('home') . '/';
199
+
200
+ return $url_home;
201
+ }
202
+
203
+
204
  ?>
breadcrumb_navxt_class.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Breadcrumb NavXT - Core
4
  Plugin URI: http://mtekk.weblogs.us/code/breadcrumb-navxt/
5
  Description: Adds a breadcrumb navigation showing the visitor&#39;s path to their current location. This plug-in provides direct access to the bcn_breadcrumb class without using the administrative interface. For details on how to use this plugin visit <a href="http://mtekk.weblogs.us/code/breadcrumb-navxt/">Breadcrumb NavXT</a>.
6
- Version: 2.1.2
7
  Author: John Havlik
8
  Author URI: http://mtekk.weblogs.us/
9
  */
@@ -23,7 +23,7 @@ Author URI: http://mtekk.weblogs.us/
23
  along with this program; if not, write to the Free Software
24
  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
25
  */
26
- $bcn_version = "2.1.2";
27
  //The main class
28
  class bcn_breadcrumb
29
  {
@@ -149,7 +149,7 @@ class bcn_breadcrumb
149
  function do_home()
150
  {
151
  //Static front page
152
- if($this->opt['static_frontpage'] === 'true' || get_option('page_on_front'))
153
  {
154
  //If we're displaying the home
155
  if($this->opt['home_display'] === 'true')
@@ -177,6 +177,7 @@ class bcn_breadcrumb
177
  {
178
  $this->breadcrumb['title'] = $this->opt['title_blog'];
179
  }
 
180
  else
181
  {
182
  $this->breadcrumb['title'] = '<a title="' . $this->opt['current_item_urltitle'] . '" href="' . get_option('home') . '">' . $this->opt['title_blog'] . '</a>';
@@ -184,26 +185,23 @@ class bcn_breadcrumb
184
  }
185
  function do_title()
186
  {
187
- if($this->opt['static_frontpage'] === 'true' || get_option('page_on_front'))
 
188
  {
189
  //Single posts, archives of all types, and the author pages are descendents of "blog"
190
- if(is_single() || is_archive() || is_author() || (is_home() && $this->opt['link_current_item'] === 'true'))
191
  {
192
  $this->breadcrumb['title'] = array();
193
  $this->breadcrumb['title'][] = '<a title="' . $this->opt['urltitle_prefix'] . $this->opt['title_blog'] . $this->opt['urltitle_suffix'] . '" href="' . $this->opt['url_home'] . '">' . $this->opt['title_home'] . '</a>';
194
  $this->breadcrumb['title'][] = '<a title="' . $this->opt['urltitle_prefix'] . $this->opt['title_blog'] . $this->opt['urltitle_suffix'] . '" href="' . $this->opt['url_home'] . $this->opt['url_blog'] . '">' . $this->opt['title_blog'] . '</a>';
195
  }
196
- //If its on the blog page but we don't link current
197
  else if(is_home())
198
  {
199
  $this->breadcrumb['title'] = array();
200
  $this->breadcrumb['title'][] = '<a title="' . $this->opt['urltitle_prefix'] . $this->opt['title_blog'] . $this->opt['urltitle_suffix'] . '" href="' . $this->opt['url_home'] . '">' . $this->opt['title_home'] . '</a>';
201
  $this->breadcrumb['title'][] = $this->opt['title_blog'];
202
  }
203
- else
204
- {
205
- $this->breadcrumb['title'] = '<a title="' . $this->opt['urltitle_prefix'] . $this->opt['title_blog'] . $this->opt['urltitle_suffix'] . '" href="' . $this->opt['url_home'] . '">' . $this->opt['title_home'] . '</a>';
206
- }
207
  }
208
  else
209
  {
@@ -294,7 +292,8 @@ class bcn_breadcrumb
294
  $bcn_use_category = 0;
295
  foreach($bcn_object as $object)
296
  {
297
- if(is_numeric($object->category_parent) && $bcn_use_category == 0)
 
298
  {
299
  $bcn_use_category = $i;
300
  }
@@ -585,7 +584,18 @@ class bcn_breadcrumb
585
  }
586
  }
587
  }
588
- //Breadcrumb Creation Function
 
 
 
 
 
 
 
 
 
 
 
589
  function display($bcn_return = false)
590
  {
591
  global $bcn_version;
@@ -631,10 +641,15 @@ class bcn_breadcrumb
631
  }
632
  }
633
  //Polyglot compatibility filter
634
- if (function_exists('polyglot_filter'))
635
  {
636
  $bcn_output = polyglot_filter($bcn_output);
637
  }
 
 
 
 
 
638
  //Return it or echo it?
639
  if($bcn_return)
640
  {
@@ -643,7 +658,7 @@ class bcn_breadcrumb
643
  else
644
  {
645
  //Giving credit where credit is due, please don't remove it
646
- $bcn_tag = "\n" . "<!-- Breadcrumb, generated by Breadcrumb NavXT " . $bcn_version . " - http://mtekk.weblogs.us/code -->" . "\n";
647
  echo $bcn_tag . $bcn_output;
648
  }
649
  }
3
  Plugin Name: Breadcrumb NavXT - Core
4
  Plugin URI: http://mtekk.weblogs.us/code/breadcrumb-navxt/
5
  Description: Adds a breadcrumb navigation showing the visitor&#39;s path to their current location. This plug-in provides direct access to the bcn_breadcrumb class without using the administrative interface. For details on how to use this plugin visit <a href="http://mtekk.weblogs.us/code/breadcrumb-navxt/">Breadcrumb NavXT</a>.
6
+ Version: 2.1.3
7
  Author: John Havlik
8
  Author URI: http://mtekk.weblogs.us/
9
  */
23
  along with this program; if not, write to the Free Software
24
  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
25
  */
26
+ $bcn_version = "2.1.3";
27
  //The main class
28
  class bcn_breadcrumb
29
  {
149
  function do_home()
150
  {
151
  //Static front page
152
+ if(get_option('show_on_front') == 'page')
153
  {
154
  //If we're displaying the home
155
  if($this->opt['home_display'] === 'true')
177
  {
178
  $this->breadcrumb['title'] = $this->opt['title_blog'];
179
  }
180
+ //Default to linking this is kinda hackish as we usually don't build links for the current item outside of the assembler
181
  else
182
  {
183
  $this->breadcrumb['title'] = '<a title="' . $this->opt['current_item_urltitle'] . '" href="' . get_option('home') . '">' . $this->opt['title_blog'] . '</a>';
185
  }
186
  function do_title()
187
  {
188
+ //If there are static front pages we need to make sure that link shows up as well as the blog title.
189
+ if(get_option('show_on_front') == 'page')
190
  {
191
  //Single posts, archives of all types, and the author pages are descendents of "blog"
192
+ if(is_page() || is_single() || is_archive() || is_author() || (is_home() && $this->opt['link_current_item'] === 'true'))
193
  {
194
  $this->breadcrumb['title'] = array();
195
  $this->breadcrumb['title'][] = '<a title="' . $this->opt['urltitle_prefix'] . $this->opt['title_blog'] . $this->opt['urltitle_suffix'] . '" href="' . $this->opt['url_home'] . '">' . $this->opt['title_home'] . '</a>';
196
  $this->breadcrumb['title'][] = '<a title="' . $this->opt['urltitle_prefix'] . $this->opt['title_blog'] . $this->opt['urltitle_suffix'] . '" href="' . $this->opt['url_home'] . $this->opt['url_blog'] . '">' . $this->opt['title_blog'] . '</a>';
197
  }
198
+ //If it's on the blog page but we don't link current
199
  else if(is_home())
200
  {
201
  $this->breadcrumb['title'] = array();
202
  $this->breadcrumb['title'][] = '<a title="' . $this->opt['urltitle_prefix'] . $this->opt['title_blog'] . $this->opt['urltitle_suffix'] . '" href="' . $this->opt['url_home'] . '">' . $this->opt['title_home'] . '</a>';
203
  $this->breadcrumb['title'][] = $this->opt['title_blog'];
204
  }
 
 
 
 
205
  }
206
  else
207
  {
292
  $bcn_use_category = 0;
293
  foreach($bcn_object as $object)
294
  {
295
+ //We want the first category hiearchy
296
+ if($object->category_parent > 0 && $bcn_use_category == 0)
297
  {
298
  $bcn_use_category = $i;
299
  }
584
  }
585
  }
586
  }
587
+ /**
588
+ * display
589
+ *
590
+ * Breadcrumb Creation Function
591
+ *
592
+ * This functions outputs or returns the breadcrumb trail.
593
+ *
594
+ * @param (bool) $bcn_return Wether to return data or to echo it
595
+ *
596
+ * @return (void) Void if Option to print out breadcrumb trail was chosen.
597
+ * @return (string) String-Data of breadcrumb trail.
598
+ */
599
  function display($bcn_return = false)
600
  {
601
  global $bcn_version;
641
  }
642
  }
643
  //Polyglot compatibility filter
644
+ if(function_exists('polyglot_filter'))
645
  {
646
  $bcn_output = polyglot_filter($bcn_output);
647
  }
648
+ //qTranslate compatibility filter
649
+ if(function_exists('qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage'))
650
+ {
651
+ $bcn_output = qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage($bcn_output);
652
+ }
653
  //Return it or echo it?
654
  if($bcn_return)
655
  {
658
  else
659
  {
660
  //Giving credit where credit is due, please don't remove it
661
+ $bcn_tag = "<!-- \nBreadcrumb, generated by Breadcrumb NavXT " . $bcn_version . " - http://mtekk.weblogs.us/code \n-->";
662
  echo $bcn_tag . $bcn_output;
663
  }
664
  }
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: mtekk, hakre
3
  Tags: breadcrumb, navigation
4
  Requires at least: 2.5.0
5
  Tested up to: 2.5.1
6
- Stable tag: 2.1.2
7
 
8
  Adds breadcrumb navigation showing the visitor's path to their current location.
9
 
3
  Tags: breadcrumb, navigation
4
  Requires at least: 2.5.0
5
  Tested up to: 2.5.1
6
+ Stable tag: 2.1.3
7
 
8
  Adds breadcrumb navigation showing the visitor's path to their current location.
9