Version Description
- New feature: Translations for Belorussian now included thanks to "Fat Cow".
- Bug fix: The
bcn_display()
andbcn_display_list()
wrapper functions obey the$return parameter
. - Bug fix: Anchors now will be valid html even when a page/category/post title has html tags in it.
- Bug fix: Revised
bcn_breadcrumb_trail::category_parents
to work around a bug inget_category
that causes a WP_Error to be thrown. - Bug fix: Importing settings XML files should no longer corrupt html entities.
- Bug fix: Can no longer import and reset options at the same time.
- Bug fix: WordPress 2.6 should be supported again.
Download this release
Release Info
Developer | mtekk |
Plugin | Breadcrumb NavXT |
Version | 3.2.1 |
Comparing to | |
See all releases |
Code changes from version 3.2.0 to 3.2.1
- breadcrumb_navxt-by_BY.mo +0 -0
- breadcrumb_navxt-by_BY.po +496 -0
- breadcrumb_navxt_admin.php +17 -30
- breadcrumb_navxt_class.php +30 -17
- readme.txt +56 -95
breadcrumb_navxt-by_BY.mo
ADDED
Binary file
|
breadcrumb_navxt-by_BY.po
ADDED
@@ -0,0 +1,496 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: Breadcrumb NavXT\n"
|
4 |
+
"Report-Msgid-Bugs-To: http://wordpress.org/tag/breadcrumb-navxt\n"
|
5 |
+
"POT-Creation-Date: 2009-04-24 03:05+0000\n"
|
6 |
+
"PO-Revision-Date: 2009-05-14 23:07+0300\n"
|
7 |
+
"Last-Translator: Илья <mrilyuha@gmail.com>\n"
|
8 |
+
"Language-Team: John Havlik <mtekkmonkey@gmail.com>\n"
|
9 |
+
"MIME-Version: 1.0\n"
|
10 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
+
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Poedit-Language: Belarusian\n"
|
13 |
+
"X-Poedit-KeywordsList: __;_e\n"
|
14 |
+
"X-Poedit-Basepath: .\n"
|
15 |
+
"X-Poedit-Country: BELARUS\n"
|
16 |
+
"X-Poedit-SourceCharset: utf-8\n"
|
17 |
+
"X-Poedit-SearchPath-0: C:\\Users\\John\\Documents\\Aptana Studio\\Breadcrumb NavXT\\trunk\n"
|
18 |
+
|
19 |
+
#: breadcrumb_navxt_admin.php:134
|
20 |
+
msgid "Insufficient privileges to proceed."
|
21 |
+
msgstr "Недастаткова прывілегій для працягвання."
|
22 |
+
|
23 |
+
#: breadcrumb_navxt_admin.php:190
|
24 |
+
#: breadcrumb_navxt_class.php:165
|
25 |
+
msgid "<a title=\"Go to the first page of search results for %title%.\" href=\"%link%\">"
|
26 |
+
msgstr "<a title=\"Перайсці да першай старонкі, каб убачыць рэзультат для %title%.\" href=\"%link%\">"
|
27 |
+
|
28 |
+
#: breadcrumb_navxt_admin.php:537
|
29 |
+
msgid "Settings"
|
30 |
+
msgstr "Налады"
|
31 |
+
|
32 |
+
#: breadcrumb_navxt_admin.php:632
|
33 |
+
msgid "All of your current Breadcrumb NavXT settings will be overwritten with the default values. Are you sure you want to continue?"
|
34 |
+
msgstr "Усе цякучыя налады Breadcrumb NavXT будуць перазапісаны звычайнымі наладымі. Вы хочаце працягнуць?"
|
35 |
+
|
36 |
+
#: breadcrumb_navxt_admin.php:636
|
37 |
+
msgid "All of your current Breadcrumb NavXT settings will be overwritten with the imported values. Are you sure you want to continue?"
|
38 |
+
msgstr "Усе цякучыя налады Breadcrumb NavXT будуць перазапісаны імпартаванымі наладымі. Вы хочаце працягнуць?"
|
39 |
+
|
40 |
+
#: breadcrumb_navxt_admin.php:699
|
41 |
+
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."
|
42 |
+
msgstr "Папярэджанне: ваша версія Breadcrumb NavXT не адпавядае версіі, якая падтрымліваецца адміністратыўным інтэрфейсам. У выніку, налады могуць не працаваць, як патрабуецца."
|
43 |
+
|
44 |
+
#: breadcrumb_navxt_admin.php:700
|
45 |
+
msgid "Your Breadcrumb NavXT Administration interface version is "
|
46 |
+
msgstr "Версія адміністратыўнага інтэрфэйсу Breadcrumb NavXT Administration - "
|
47 |
+
|
48 |
+
#: breadcrumb_navxt_admin.php:701
|
49 |
+
msgid "Your Breadcrumb NavXT version is "
|
50 |
+
msgstr "Версія Breadcrumb NavXT Administration - "
|
51 |
+
|
52 |
+
#: breadcrumb_navxt_admin.php:705
|
53 |
+
msgid "Breadcrumb NavXT Settings"
|
54 |
+
msgstr "Налады Breadcrumb NavXT"
|
55 |
+
|
56 |
+
#: breadcrumb_navxt_admin.php:707
|
57 |
+
#, php-format
|
58 |
+
msgid "Tips for the settings are located below select options. Please refer to the %sdocumentation%s for more information."
|
59 |
+
msgstr "Парады для налад знаходзяцца ніжэй. калі ласка, перайдзіце да %sdocumentation%s для інфармацыі."
|
60 |
+
|
61 |
+
#: breadcrumb_navxt_admin.php:708
|
62 |
+
msgid "Go to the Breadcrumb NavXT online documentation"
|
63 |
+
msgstr "Перайсці да Breadcrumb NavXT онлайн-дакументацыі"
|
64 |
+
|
65 |
+
#: breadcrumb_navxt_admin.php:718
|
66 |
+
msgid "General"
|
67 |
+
msgstr "Галоўныя"
|
68 |
+
|
69 |
+
#: breadcrumb_navxt_admin.php:722
|
70 |
+
msgid "Breadcrumb Separator"
|
71 |
+
msgstr "Раздзяляльнік Breadcrumb"
|
72 |
+
|
73 |
+
#: breadcrumb_navxt_admin.php:726
|
74 |
+
msgid "Placed in between each breadcrumb."
|
75 |
+
msgstr "Знаходзіцца паміж кожнай хлебнай дробкай."
|
76 |
+
|
77 |
+
#: breadcrumb_navxt_admin.php:731
|
78 |
+
msgid "Breadcrumb Max Title Length"
|
79 |
+
msgstr "Максімальная даўжыня загалоўка хлебнай дробкі"
|
80 |
+
|
81 |
+
#: breadcrumb_navxt_admin.php:739
|
82 |
+
msgid "Home Breadcrumb"
|
83 |
+
msgstr "Хлебныя дробкі галоўнай старонкі"
|
84 |
+
|
85 |
+
#: breadcrumb_navxt_admin.php:744
|
86 |
+
msgid "Place the home breadcrumb in the trail."
|
87 |
+
msgstr "Размяцціць хатнія хлебныя дробкі ў трэйле (trail)."
|
88 |
+
|
89 |
+
#: breadcrumb_navxt_admin.php:749
|
90 |
+
msgid "Home Title: "
|
91 |
+
msgstr "Загаловак галоўнай старонкі:"
|
92 |
+
|
93 |
+
#: breadcrumb_navxt_admin.php:758
|
94 |
+
msgid "Home Prefix"
|
95 |
+
msgstr "Home-прэфікс"
|
96 |
+
|
97 |
+
#: breadcrumb_navxt_admin.php:766
|
98 |
+
msgid "Home Suffix"
|
99 |
+
msgstr "Home-суфікс"
|
100 |
+
|
101 |
+
#: breadcrumb_navxt_admin.php:774
|
102 |
+
msgid "Home Anchor"
|
103 |
+
msgstr "Home-якар"
|
104 |
+
|
105 |
+
#: breadcrumb_navxt_admin.php:778
|
106 |
+
msgid "The anchor template for the home breadcrumb."
|
107 |
+
msgstr "Якарныя шаблон для хлебных дробак."
|
108 |
+
|
109 |
+
#: breadcrumb_navxt_admin.php:783
|
110 |
+
msgid "Blog Anchor"
|
111 |
+
msgstr "Blog-якар"
|
112 |
+
|
113 |
+
#: breadcrumb_navxt_admin.php:787
|
114 |
+
msgid "The anchor template for the blog breadcrumb, used only in static front page environments."
|
115 |
+
msgstr "Якарныя шаблон для хлебных дробак блогу. выкарыстоўваецца толькі на статычных пярэдніх старонках. "
|
116 |
+
|
117 |
+
#: breadcrumb_navxt_admin.php:793
|
118 |
+
msgid "Current Item"
|
119 |
+
msgstr "Дадзены элемент"
|
120 |
+
|
121 |
+
#: breadcrumb_navxt_admin.php:797
|
122 |
+
msgid "Link Current Item"
|
123 |
+
msgstr "Дадзеная спасылка элементу"
|
124 |
+
|
125 |
+
#: breadcrumb_navxt_admin.php:802
|
126 |
+
msgid "Yes"
|
127 |
+
msgstr "Так"
|
128 |
+
|
129 |
+
#: breadcrumb_navxt_admin.php:808
|
130 |
+
msgid "Current Item Prefix"
|
131 |
+
msgstr "Дадзены прэфікс элементу"
|
132 |
+
|
133 |
+
#: breadcrumb_navxt_admin.php:812
|
134 |
+
msgid "This is always placed in front of the last breadcrumb in the trail, before any other prefixes for that breadcrumb."
|
135 |
+
msgstr "Гэта заўсёды знаходзіцца ў пачатку хлебных дробак, перад усімі прэфіксамі для хлебных дробак."
|
136 |
+
|
137 |
+
#: breadcrumb_navxt_admin.php:817
|
138 |
+
msgid "Current Item Suffix"
|
139 |
+
msgstr "Дадзены суфікс элементу"
|
140 |
+
|
141 |
+
#: breadcrumb_navxt_admin.php:821
|
142 |
+
msgid "This is always placed after the last breadcrumb in the trail, and after any other prefixes for that breadcrumb."
|
143 |
+
msgstr "Гэта заўсёды знаходзіцца пасля хлебных дробак і пасля ўсіх прэфіксаў для хлебных дробак."
|
144 |
+
|
145 |
+
#: breadcrumb_navxt_admin.php:826
|
146 |
+
msgid "Current Item Anchor"
|
147 |
+
msgstr "Дадзены якар элементу"
|
148 |
+
|
149 |
+
#: breadcrumb_navxt_admin.php:830
|
150 |
+
msgid "The anchor template for current item breadcrumbs."
|
151 |
+
msgstr "Якарны шаблон для цякучага элементу хлебных драбніц."
|
152 |
+
|
153 |
+
#: breadcrumb_navxt_admin.php:835
|
154 |
+
msgid "Paged Breadcrumb"
|
155 |
+
msgstr "Старонкавыя хлебныя дробкі"
|
156 |
+
|
157 |
+
#: breadcrumb_navxt_admin.php:840
|
158 |
+
msgid "Include the paged breadcrumb in the breadcrumb trail."
|
159 |
+
msgstr "Уключыць старонкавыя хлебныя дробкі ў радок хлебных дробак."
|
160 |
+
|
161 |
+
#: breadcrumb_navxt_admin.php:842
|
162 |
+
msgid "Indicates that the user is on a page other than the first on paginated posts/pages."
|
163 |
+
msgstr "Указваць, што наведвальнік не на першай старонцы, ў пастах і старонках."
|
164 |
+
|
165 |
+
#: breadcrumb_navxt_admin.php:847
|
166 |
+
msgid "Paged Prefix"
|
167 |
+
msgstr "Старонкавы прэфікс"
|
168 |
+
|
169 |
+
#: breadcrumb_navxt_admin.php:855
|
170 |
+
msgid "Paged Suffix"
|
171 |
+
msgstr "Суфікс старонак"
|
172 |
+
|
173 |
+
#: breadcrumb_navxt_admin.php:864
|
174 |
+
msgid "Posts & Pages"
|
175 |
+
msgstr "Пасты & Старонкі"
|
176 |
+
|
177 |
+
#: breadcrumb_navxt_admin.php:868
|
178 |
+
msgid "Post Prefix"
|
179 |
+
msgstr "Прэфікс паста"
|
180 |
+
|
181 |
+
#: breadcrumb_navxt_admin.php:876
|
182 |
+
msgid "Post Suffix"
|
183 |
+
msgstr "Суфікс паста"
|
184 |
+
|
185 |
+
#: breadcrumb_navxt_admin.php:884
|
186 |
+
msgid "Post Anchor"
|
187 |
+
msgstr "Якар паста"
|
188 |
+
|
189 |
+
#: breadcrumb_navxt_admin.php:888
|
190 |
+
msgid "The anchor template for post breadcrumbs."
|
191 |
+
msgstr "Якарны шаблон для хлебных дробак паста."
|
192 |
+
|
193 |
+
#: breadcrumb_navxt_admin.php:893
|
194 |
+
msgid "Post Taxonomy Display"
|
195 |
+
msgstr "Паказваць таксанамію паста"
|
196 |
+
|
197 |
+
#: breadcrumb_navxt_admin.php:898
|
198 |
+
msgid "Show the taxonomy leading to a post in the breadcrumb trail."
|
199 |
+
msgstr "Паказваць таксанамію ў хлебных дробках."
|
200 |
+
|
201 |
+
#: breadcrumb_navxt_admin.php:904
|
202 |
+
msgid "Post Taxonomy"
|
203 |
+
msgstr "Таксанамія паста"
|
204 |
+
|
205 |
+
#: breadcrumb_navxt_admin.php:909
|
206 |
+
#: breadcrumb_navxt_admin.php:964
|
207 |
+
msgid "Categories"
|
208 |
+
msgstr "Катэгорыі"
|
209 |
+
|
210 |
+
#: breadcrumb_navxt_admin.php:914
|
211 |
+
#: breadcrumb_navxt_admin.php:1014
|
212 |
+
msgid "Tags"
|
213 |
+
msgstr "Тэгі"
|
214 |
+
|
215 |
+
#: breadcrumb_navxt_admin.php:917
|
216 |
+
msgid "The taxonomy which the breadcrumb trail will show."
|
217 |
+
msgstr "Паказваць таксанамію, калі ёсцьхлебныя дробкі."
|
218 |
+
|
219 |
+
#: breadcrumb_navxt_admin.php:922
|
220 |
+
msgid "Page Prefix"
|
221 |
+
msgstr "Прэфікс старонкі"
|
222 |
+
|
223 |
+
#: breadcrumb_navxt_admin.php:930
|
224 |
+
msgid "Page Suffix"
|
225 |
+
msgstr "Суфік старонкі"
|
226 |
+
|
227 |
+
#: breadcrumb_navxt_admin.php:938
|
228 |
+
msgid "Page Anchor"
|
229 |
+
msgstr "Якар старонкі"
|
230 |
+
|
231 |
+
#: breadcrumb_navxt_admin.php:942
|
232 |
+
msgid "The anchor template for page breadcrumbs."
|
233 |
+
msgstr "Паказваць якарны шаблон для хлебных дробак старонкі."
|
234 |
+
|
235 |
+
#: breadcrumb_navxt_admin.php:947
|
236 |
+
msgid "Attachment Prefix"
|
237 |
+
msgstr "Прэфікс дадатка"
|
238 |
+
|
239 |
+
#: breadcrumb_navxt_admin.php:955
|
240 |
+
msgid "Attachment Suffix"
|
241 |
+
msgstr "Суфікс дадатка"
|
242 |
+
|
243 |
+
#: breadcrumb_navxt_admin.php:968
|
244 |
+
msgid "Category Prefix"
|
245 |
+
msgstr "Прэфікс катэгорыі"
|
246 |
+
|
247 |
+
#: breadcrumb_navxt_admin.php:972
|
248 |
+
msgid "Applied before the anchor on all category breadcrumbs."
|
249 |
+
msgstr "Прызначаць перад якарам ўва ўсіх катэгорыях хлебных дробак."
|
250 |
+
|
251 |
+
#: breadcrumb_navxt_admin.php:977
|
252 |
+
msgid "Category Suffix"
|
253 |
+
msgstr "Суфікс катэгорый"
|
254 |
+
|
255 |
+
#: breadcrumb_navxt_admin.php:981
|
256 |
+
msgid "Applied after the anchor on all category breadcrumbs."
|
257 |
+
msgstr "Прызначаць пасля якара ўва ўсіх катэгорыях хлебных дробак."
|
258 |
+
|
259 |
+
#: breadcrumb_navxt_admin.php:986
|
260 |
+
msgid "Category Anchor"
|
261 |
+
msgstr "Якар катэгорыі"
|
262 |
+
|
263 |
+
#: breadcrumb_navxt_admin.php:990
|
264 |
+
msgid "The anchor template for category breadcrumbs."
|
265 |
+
msgstr "Якарны шаблон для катэгорыі хлебных дробак."
|
266 |
+
|
267 |
+
#: breadcrumb_navxt_admin.php:995
|
268 |
+
msgid "Archive by Category Prefix"
|
269 |
+
msgstr "Архіў па прэфіксам катэгорый"
|
270 |
+
|
271 |
+
#: breadcrumb_navxt_admin.php:999
|
272 |
+
msgid "Applied before the title of the current item breadcrumb on an archive by cateogry page."
|
273 |
+
msgstr "Прызначаць перад загалоўкам цякучых хлебных дробак у архіве па катэгорыям старонак."
|
274 |
+
|
275 |
+
#: breadcrumb_navxt_admin.php:1004
|
276 |
+
msgid "Archive by Category Suffix"
|
277 |
+
msgstr "Архіў па суфіксам катэгорый"
|
278 |
+
|
279 |
+
#: breadcrumb_navxt_admin.php:1008
|
280 |
+
msgid "Applied after the title of the current item breadcrumb on an archive by cateogry page."
|
281 |
+
msgstr "Прызначаць пасля загалоўка цякучых хлебных дробак у архіве па катэгорыям старонак."
|
282 |
+
|
283 |
+
#: breadcrumb_navxt_admin.php:1018
|
284 |
+
msgid "Tag Prefix"
|
285 |
+
msgstr "Прэфікс тэга"
|
286 |
+
|
287 |
+
#: breadcrumb_navxt_admin.php:1022
|
288 |
+
msgid "Applied before the anchor on all tag breadcrumbs."
|
289 |
+
msgstr "Прызначаць перад якарам ўва ўсіх катэгорыях хлебных дробак."
|
290 |
+
|
291 |
+
#: breadcrumb_navxt_admin.php:1027
|
292 |
+
msgid "Tag Suffix"
|
293 |
+
msgstr "Суфікс тэга"
|
294 |
+
|
295 |
+
#: breadcrumb_navxt_admin.php:1031
|
296 |
+
msgid "Applied after the anchor on all tag breadcrumbs."
|
297 |
+
msgstr "Прызначаць пасля якара ўва ўсіх тэгах хлебных дробак."
|
298 |
+
|
299 |
+
#: breadcrumb_navxt_admin.php:1036
|
300 |
+
msgid "Tag Anchor"
|
301 |
+
msgstr "Якар тэга"
|
302 |
+
|
303 |
+
#: breadcrumb_navxt_admin.php:1040
|
304 |
+
msgid "The anchor template for tag breadcrumbs."
|
305 |
+
msgstr "Якарны шаблон для тэга хлебных дробак."
|
306 |
+
|
307 |
+
#: breadcrumb_navxt_admin.php:1045
|
308 |
+
msgid "Archive by Tag Prefix"
|
309 |
+
msgstr "Архіў па тэгу прэфікса"
|
310 |
+
|
311 |
+
#: breadcrumb_navxt_admin.php:1049
|
312 |
+
msgid "Applied before the title of the current item breadcrumb on an archive by tag page."
|
313 |
+
msgstr "Прызначаць перад загалоўкам цякучых хлебных дробак у архіве па тэгам старонак."
|
314 |
+
|
315 |
+
#: breadcrumb_navxt_admin.php:1054
|
316 |
+
msgid "Archive by Tag Suffix"
|
317 |
+
msgstr "Архіў па суфіксам тэгаў"
|
318 |
+
|
319 |
+
#: breadcrumb_navxt_admin.php:1058
|
320 |
+
msgid "Applied after the title of the current item breadcrumb on an archive by tag page."
|
321 |
+
msgstr "Прызначаць пасля загалоўка цякучых хлебных дробак у архіве па тэгам старонак."
|
322 |
+
|
323 |
+
#: breadcrumb_navxt_admin.php:1064
|
324 |
+
msgid "Date Archives"
|
325 |
+
msgstr "Каляндарны архіў"
|
326 |
+
|
327 |
+
#: breadcrumb_navxt_admin.php:1068
|
328 |
+
msgid "Archive by Date Prefix"
|
329 |
+
msgstr "Архіў па прэфіксу даты"
|
330 |
+
|
331 |
+
#: breadcrumb_navxt_admin.php:1072
|
332 |
+
msgid "Applied before the anchor on all date breadcrumbs."
|
333 |
+
msgstr "Прызначаць перад якарам ўва ўсіх датах хлебных дробак."
|
334 |
+
|
335 |
+
#: breadcrumb_navxt_admin.php:1077
|
336 |
+
msgid "Archive by Date Suffix"
|
337 |
+
msgstr "Архіў па суфіксе даты"
|
338 |
+
|
339 |
+
#: breadcrumb_navxt_admin.php:1081
|
340 |
+
msgid "Applied after the anchor on all date breadcrumbs."
|
341 |
+
msgstr "Прызначаць пасля якара ўва ўсіх датах хлебных дробак."
|
342 |
+
|
343 |
+
#: breadcrumb_navxt_admin.php:1086
|
344 |
+
msgid "Date Anchor"
|
345 |
+
msgstr "Якар даты"
|
346 |
+
|
347 |
+
#: breadcrumb_navxt_admin.php:1090
|
348 |
+
msgid "The anchor template for date breadcrumbs."
|
349 |
+
msgstr "Якарны шаблон для даты хлебных дробак."
|
350 |
+
|
351 |
+
#: breadcrumb_navxt_admin.php:1096
|
352 |
+
msgid "Miscellaneous"
|
353 |
+
msgstr "Рознае"
|
354 |
+
|
355 |
+
#: breadcrumb_navxt_admin.php:1100
|
356 |
+
msgid "Author Prefix"
|
357 |
+
msgstr "Прэфікс аўтара"
|
358 |
+
|
359 |
+
#: breadcrumb_navxt_admin.php:1108
|
360 |
+
msgid "Author Suffix"
|
361 |
+
msgstr "Суфікс аўтара"
|
362 |
+
|
363 |
+
#: breadcrumb_navxt_admin.php:1116
|
364 |
+
msgid "Author Display Format"
|
365 |
+
msgstr "Фармат паказу аўтара"
|
366 |
+
|
367 |
+
#: breadcrumb_navxt_admin.php:1122
|
368 |
+
msgid "display_name uses the name specified in \"Display name publicly as\" under the user profile the others correspond to options in the user profile."
|
369 |
+
msgstr "display_name выкарыстоўвае імя, вызначанае ў \"Display name publicly as\"."
|
370 |
+
|
371 |
+
#: breadcrumb_navxt_admin.php:1127
|
372 |
+
msgid "Search Prefix"
|
373 |
+
msgstr "Прэфікс пошуку"
|
374 |
+
|
375 |
+
#: breadcrumb_navxt_admin.php:1135
|
376 |
+
msgid "Search Suffix"
|
377 |
+
msgstr "Суфікс пошуку"
|
378 |
+
|
379 |
+
#: breadcrumb_navxt_admin.php:1143
|
380 |
+
msgid "Search Anchor"
|
381 |
+
msgstr "Пошукавы якар"
|
382 |
+
|
383 |
+
#: breadcrumb_navxt_admin.php:1147
|
384 |
+
msgid "The anchor template for search breadcrumbs, used only when the search results span several pages."
|
385 |
+
msgstr "Якарны шаблон для хлебных дробак пошуку, толькі тады, каклі рэзультаты пошуку размяшчаюцца на некалькіх старонках."
|
386 |
+
|
387 |
+
#: breadcrumb_navxt_admin.php:1152
|
388 |
+
msgid "404 Title"
|
389 |
+
msgstr "404-загаловак"
|
390 |
+
|
391 |
+
#: breadcrumb_navxt_admin.php:1160
|
392 |
+
msgid "404 Prefix"
|
393 |
+
msgstr "404-суфікс"
|
394 |
+
|
395 |
+
#: breadcrumb_navxt_admin.php:1168
|
396 |
+
msgid "404 Suffix"
|
397 |
+
msgstr "404-суфікс"
|
398 |
+
|
399 |
+
#: breadcrumb_navxt_admin.php:1177
|
400 |
+
msgid "Save Changes"
|
401 |
+
msgstr "Налады захаваныя"
|
402 |
+
|
403 |
+
#: breadcrumb_navxt_admin.php:1182
|
404 |
+
msgid "Import/Export/Reset Settings"
|
405 |
+
msgstr "Налады імпарту/экспарту/збіцця налад"
|
406 |
+
|
407 |
+
#: breadcrumb_navxt_admin.php:1183
|
408 |
+
msgid "Import Breadcrumb NavXT settings from a XML file, export the current settings to a XML file, or reset to the default Breadcrumb NavXT settings."
|
409 |
+
msgstr "Імпартаваць налады Breadcrumb NavXT з XML-файла, экспартаваць цякучыя налады ў XML-файл або збіць звычайныя налады Breadcrumb NavXT."
|
410 |
+
|
411 |
+
#: breadcrumb_navxt_admin.php:1187
|
412 |
+
msgid "Settings File"
|
413 |
+
msgstr "Файл налад"
|
414 |
+
|
415 |
+
#: breadcrumb_navxt_admin.php:1191
|
416 |
+
msgid "Select a XML settings file to upload and import settings from."
|
417 |
+
msgstr "Выберыце XML-налады для імпарту налад."
|
418 |
+
|
419 |
+
#: breadcrumb_navxt_admin.php:1196
|
420 |
+
msgid "Import"
|
421 |
+
msgstr "Імпартаваць"
|
422 |
+
|
423 |
+
#: breadcrumb_navxt_admin.php:1197
|
424 |
+
msgid "Export"
|
425 |
+
msgstr "Экспартаваць"
|
426 |
+
|
427 |
+
#: breadcrumb_navxt_admin.php:1198
|
428 |
+
msgid "Reset"
|
429 |
+
msgstr "Збіць"
|
430 |
+
|
431 |
+
#: breadcrumb_navxt_admin.php:1327
|
432 |
+
msgid "Importing settings from file failed."
|
433 |
+
msgstr "Імпартаванне налад з файла пацярпела няўдачу."
|
434 |
+
|
435 |
+
#: breadcrumb_navxt_admin.php:1331
|
436 |
+
msgid "The Breadcrumb NavXT settings were successfully imported from file."
|
437 |
+
msgstr "Налады Breadcrumb NavXT поўнасцю імпартаваныя з файла."
|
438 |
+
|
439 |
+
#: breadcrumb_navxt_admin.php:1335
|
440 |
+
msgid "The Breadcrumb NavXT settings were reset to the default values."
|
441 |
+
msgstr "Налады Breadcrumb NavXT збітыя да звычайных."
|
442 |
+
|
443 |
+
#: breadcrumb_navxt_class.php:100
|
444 |
+
msgid "Blog"
|
445 |
+
msgstr "Блог"
|
446 |
+
|
447 |
+
#: breadcrumb_navxt_class.php:102
|
448 |
+
#: breadcrumb_navxt_class.php:104
|
449 |
+
#: breadcrumb_navxt_class.php:128
|
450 |
+
#: breadcrumb_navxt_class.php:142
|
451 |
+
msgid "<a title=\"Go to %title%.\" href=\"%link%\">"
|
452 |
+
msgstr "<a title=\"Перайсці да %title%.\" href=\"%link%\">"
|
453 |
+
|
454 |
+
#: breadcrumb_navxt_class.php:117
|
455 |
+
msgid "<a title=\"Reload the current page.\" href=\"%link%\">"
|
456 |
+
msgstr "<a title=\"Reload the current page.\" href=\"%link%\">"
|
457 |
+
|
458 |
+
#: breadcrumb_navxt_class.php:158
|
459 |
+
msgid "404"
|
460 |
+
msgstr "404 "
|
461 |
+
|
462 |
+
#: breadcrumb_navxt_class.php:161
|
463 |
+
msgid "Search results for '"
|
464 |
+
msgstr "Рэзультат пошуку для '"
|
465 |
+
|
466 |
+
#: breadcrumb_navxt_class.php:172
|
467 |
+
msgid "<a title=\"Go to the %title% tag archives.\" href=\"%link%\">"
|
468 |
+
msgstr "<a title=\"Перайсці да %title% тэгаў архіваў.\" href=\"%link%\">"
|
469 |
+
|
470 |
+
#: breadcrumb_navxt_class.php:175
|
471 |
+
msgid "Articles by: "
|
472 |
+
msgstr "Артыкулы па:"
|
473 |
+
|
474 |
+
#: breadcrumb_navxt_class.php:186
|
475 |
+
msgid "<a title=\"Go to the %title% category archives.\" href=\"%link%\">"
|
476 |
+
msgstr "<a title=\"Перайсці да %title% катэгорый архіваў.\" href=\"%link%\">"
|
477 |
+
|
478 |
+
#: breadcrumb_navxt_class.php:189
|
479 |
+
msgid "Archive by category '"
|
480 |
+
msgstr "Архіў па катэгорыям '"
|
481 |
+
|
482 |
+
#: breadcrumb_navxt_class.php:193
|
483 |
+
msgid "Archive by tag '"
|
484 |
+
msgstr "Архіў па тэгам '"
|
485 |
+
|
486 |
+
#: breadcrumb_navxt_class.php:196
|
487 |
+
msgid "<a title=\"Go to the %title% archives.\" href=\"%link%\">"
|
488 |
+
msgstr "<a title=\"Перайсці да %title% архіваў.\" href=\"%link%\">"
|
489 |
+
|
490 |
+
#: breadcrumb_navxt_class.php:464
|
491 |
+
msgid "Untagged"
|
492 |
+
msgstr "Без тэгаў"
|
493 |
+
|
494 |
+
#~ msgid "Leave the home breadcrumb out of the trail."
|
495 |
+
#~ msgstr "Soll nicht dargestellt werden."
|
496 |
+
|
breadcrumb_navxt_admin.php
CHANGED
@@ -3,7 +3,7 @@
|
|
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's path to their current location. This enables the administrative interface for specifying the output of the breadcrumb trail. For details on how to use this plugin visit <a href="http://mtekk.weblogs.us/code/breadcrumb-navxt/">Breadcrumb NavXT</a>.
|
6 |
-
Version: 3.2.
|
7 |
Author: John Havlik
|
8 |
Author URI: http://mtekk.weblogs.us/
|
9 |
*/
|
@@ -46,7 +46,7 @@ class bcn_admin
|
|
46 |
* @var string
|
47 |
* @since 3.1.0
|
48 |
*/
|
49 |
-
private $version = '3.2.
|
50 |
|
51 |
/**
|
52 |
* wether or not this administration page has contextual help
|
@@ -104,13 +104,13 @@ class bcn_admin
|
|
104 |
add_action('init', array($this, 'reset'));
|
105 |
}
|
106 |
//Admin Options export hook
|
107 |
-
if(isset($_POST['bcn_admin_export']))
|
108 |
{
|
109 |
//Temporarily add update function on init if form has been submitted
|
110 |
add_action('init', array($this, 'export'));
|
111 |
}
|
112 |
//Admin Options import hook
|
113 |
-
if(isset($_FILES['bcn_admin_import_file']) && !empty($_FILES['bcn_admin_import_file']['name']))
|
114 |
{
|
115 |
//Temporarily add update function on init if form has been submitted
|
116 |
add_action('init', array($this, 'import'));
|
@@ -130,7 +130,10 @@ class bcn_admin
|
|
130 |
public function admin_init()
|
131 |
{
|
132 |
// Register options.
|
133 |
-
|
|
|
|
|
|
|
134 |
//Add in the nice "settings" link to the plugins page
|
135 |
add_filter('plugin_action_links', array($this, 'filter_plugin_actions'), 10, 2);
|
136 |
//Add javascript enqeueing callback
|
@@ -349,8 +352,8 @@ class bcn_admin
|
|
349 |
//Loop around all of the options
|
350 |
foreach($options->getelementsByTagName('option') as $child)
|
351 |
{
|
352 |
-
//Place the option into the option array,
|
353 |
-
$this->breadcrumb_trail->opt[$child->getAttribute('name')] =
|
354 |
}
|
355 |
}
|
356 |
}
|
@@ -458,16 +461,8 @@ class bcn_admin
|
|
458 |
$this->breadcrumb_trail->opt = $this->get_option('bcn_options');
|
459 |
//Generate the breadcrumb trail
|
460 |
$this->breadcrumb_trail->fill();
|
461 |
-
if
|
462 |
-
|
463 |
-
//Return the breadcrumb trail
|
464 |
-
return $this->breadcrumb_trail->display($return, $linked, $reverse);
|
465 |
-
}
|
466 |
-
else
|
467 |
-
{
|
468 |
-
//Display the breadcrumb trail
|
469 |
-
$this->breadcrumb_trail->display($return, $linked, $reverse);
|
470 |
-
}
|
471 |
}
|
472 |
/**
|
473 |
* display_list
|
@@ -485,16 +480,8 @@ class bcn_admin
|
|
485 |
$this->breadcrumb_trail->opt = $this->get_option('bcn_options');
|
486 |
//Generate the breadcrumb trail
|
487 |
$this->breadcrumb_trail->fill();
|
488 |
-
if
|
489 |
-
|
490 |
-
//Return the breadcrumb trail
|
491 |
-
return $this->breadcrumb_trail->display_list($return, $linked, $reverse);
|
492 |
-
}
|
493 |
-
else
|
494 |
-
{
|
495 |
-
//Display the breadcrumb trail
|
496 |
-
$this->breadcrumb_trail->display_list($return, $linked, $reverse);
|
497 |
-
}
|
498 |
}
|
499 |
/**
|
500 |
* widget
|
@@ -1422,7 +1409,7 @@ class bcn_admin
|
|
1422 |
}
|
1423 |
else
|
1424 |
{
|
1425 |
-
$db_data = htmlentities($
|
1426 |
}
|
1427 |
}
|
1428 |
return $db_data;
|
@@ -1485,7 +1472,7 @@ $bcn_admin = new bcn_admin;
|
|
1485 |
function bcn_display($return = false, $linked = true, $reverse = false)
|
1486 |
{
|
1487 |
global $bcn_admin;
|
1488 |
-
$bcn_admin->display($return, $linked, $reverse);
|
1489 |
}
|
1490 |
/**
|
1491 |
* A wrapper for the internal function in the class
|
@@ -1497,5 +1484,5 @@ function bcn_display($return = false, $linked = true, $reverse = false)
|
|
1497 |
function bcn_display_list($return = false, $linked = true, $reverse = false)
|
1498 |
{
|
1499 |
global $bcn_admin;
|
1500 |
-
$bcn_admin->display_list($return, $linked, $reverse);
|
1501 |
}
|
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's path to their current location. This enables the administrative interface for specifying the output of the breadcrumb trail. For details on how to use this plugin visit <a href="http://mtekk.weblogs.us/code/breadcrumb-navxt/">Breadcrumb NavXT</a>.
|
6 |
+
Version: 3.2.1
|
7 |
Author: John Havlik
|
8 |
Author URI: http://mtekk.weblogs.us/
|
9 |
*/
|
46 |
* @var string
|
47 |
* @since 3.1.0
|
48 |
*/
|
49 |
+
private $version = '3.2.1';
|
50 |
|
51 |
/**
|
52 |
* wether or not this administration page has contextual help
|
104 |
add_action('init', array($this, 'reset'));
|
105 |
}
|
106 |
//Admin Options export hook
|
107 |
+
else if(isset($_POST['bcn_admin_export']))
|
108 |
{
|
109 |
//Temporarily add update function on init if form has been submitted
|
110 |
add_action('init', array($this, 'export'));
|
111 |
}
|
112 |
//Admin Options import hook
|
113 |
+
else if(isset($_FILES['bcn_admin_import_file']) && !empty($_FILES['bcn_admin_import_file']['name']))
|
114 |
{
|
115 |
//Temporarily add update function on init if form has been submitted
|
116 |
add_action('init', array($this, 'import'));
|
130 |
public function admin_init()
|
131 |
{
|
132 |
// Register options.
|
133 |
+
if(function_exists('register_setting'))
|
134 |
+
{
|
135 |
+
register_setting($option_group = 'bcn_admin', $option_name = 'bcn_options', $sanitize_callback = '');
|
136 |
+
}
|
137 |
//Add in the nice "settings" link to the plugins page
|
138 |
add_filter('plugin_action_links', array($this, 'filter_plugin_actions'), 10, 2);
|
139 |
//Add javascript enqeueing callback
|
352 |
//Loop around all of the options
|
353 |
foreach($options->getelementsByTagName('option') as $child)
|
354 |
{
|
355 |
+
//Place the option into the option array, DOMDocument decodes html entities for us
|
356 |
+
$this->breadcrumb_trail->opt[$child->getAttribute('name')] = $child->nodeValue;
|
357 |
}
|
358 |
}
|
359 |
}
|
461 |
$this->breadcrumb_trail->opt = $this->get_option('bcn_options');
|
462 |
//Generate the breadcrumb trail
|
463 |
$this->breadcrumb_trail->fill();
|
464 |
+
//Return if needed, otherwise PHP will return the null for us
|
465 |
+
return $this->breadcrumb_trail->display($return, $linked, $reverse);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
466 |
}
|
467 |
/**
|
468 |
* display_list
|
480 |
$this->breadcrumb_trail->opt = $this->get_option('bcn_options');
|
481 |
//Generate the breadcrumb trail
|
482 |
$this->breadcrumb_trail->fill();
|
483 |
+
//Return if needed, otherwise PHP will return the null for us
|
484 |
+
return $this->breadcrumb_trail->display_list($return, $linked, $reverse);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
485 |
}
|
486 |
/**
|
487 |
* widget
|
1409 |
}
|
1410 |
else
|
1411 |
{
|
1412 |
+
$db_data = htmlentities($db_data, ENT_COMPAT, "UTF-8");
|
1413 |
}
|
1414 |
}
|
1415 |
return $db_data;
|
1472 |
function bcn_display($return = false, $linked = true, $reverse = false)
|
1473 |
{
|
1474 |
global $bcn_admin;
|
1475 |
+
return $bcn_admin->display($return, $linked, $reverse);
|
1476 |
}
|
1477 |
/**
|
1478 |
* A wrapper for the internal function in the class
|
1484 |
function bcn_display_list($return = false, $linked = true, $reverse = false)
|
1485 |
{
|
1486 |
global $bcn_admin;
|
1487 |
+
return $bcn_admin->display_list($return, $linked, $reverse);
|
1488 |
}
|
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's path to their current location. This plug-in provides direct access to the bcn_breadcrumb_trail 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: 3.2.
|
7 |
Author: John Havlik
|
8 |
Author URI: http://mtekk.weblogs.us/
|
9 |
*/
|
@@ -45,6 +45,19 @@ class bcn_breadcrumb
|
|
45 |
//Always NULL if unlinked
|
46 |
$this->anchor = NULL;
|
47 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
48 |
/**
|
49 |
* title_trim
|
50 |
*
|
@@ -86,7 +99,7 @@ class bcn_breadcrumb_trail
|
|
86 |
//Default constructor
|
87 |
function bcn_breadcrumb_trail()
|
88 |
{
|
89 |
-
$this->version = "3.2.
|
90 |
//Initilize the trail as an array
|
91 |
$this->trail = array();
|
92 |
//Load the translation domain as the next part needs it
|
@@ -227,7 +240,7 @@ class bcn_breadcrumb_trail
|
|
227 |
//Figure out the hyperlink for the anchor
|
228 |
$url = get_settings('home'). "?s=" . str_replace(" ", "+", wp_specialchars($s, 1));
|
229 |
//Figure out the anchor for the search
|
230 |
-
$bcn_breadcrumb->
|
231 |
//We want this to be linked
|
232 |
$bcn_breadcrumb->linked = true;
|
233 |
}
|
@@ -279,7 +292,7 @@ class bcn_breadcrumb_trail
|
|
279 |
//Adding the title, throw it through the filters
|
280 |
$bcn_breadcrumb->title = apply_filters("the_title", $bcn_parent->post_title);
|
281 |
//Assign the anchor properties
|
282 |
-
$bcn_breadcrumb->
|
283 |
//We want this to be linked
|
284 |
$bcn_breadcrumb->linked = true;
|
285 |
//Handle the post's taxonomy
|
@@ -344,7 +357,7 @@ class bcn_breadcrumb_trail
|
|
344 |
//Assign the title
|
345 |
$bcn_breadcrumb->title = apply_filters('the_title', $bcn_parent->post_title);
|
346 |
//Assign the anchor properties
|
347 |
-
$bcn_breadcrumb->
|
348 |
//We want this to be linked
|
349 |
$bcn_breadcrumb->linked = true;
|
350 |
//Make sure the id is valid, and that we won't end up spinning in a loop
|
@@ -488,7 +501,7 @@ class bcn_breadcrumb_trail
|
|
488 |
//Setup the title
|
489 |
$bcn_breadcrumb->title = $bcn_category->cat_name;
|
490 |
//Figure out the anchor for the first category
|
491 |
-
$bcn_breadcrumb->
|
492 |
//We want this to be linked
|
493 |
$bcn_breadcrumb->linked = true;
|
494 |
//Make sure the id is valid, and that we won't end up spinning in a loop
|
@@ -524,7 +537,7 @@ class bcn_breadcrumb_trail
|
|
524 |
if(is_paged() && $this->opt['paged_display'])
|
525 |
{
|
526 |
//Figure out the anchor for current category
|
527 |
-
$bcn_breadcrumb->
|
528 |
//We want this to be linked
|
529 |
$bcn_breadcrumb->linked = true;
|
530 |
}
|
@@ -560,7 +573,7 @@ class bcn_breadcrumb_trail
|
|
560 |
//Simmilar to using $post, but for things $post doesn't cover
|
561 |
$bcn_tag = $wp_query->get_queried_object();
|
562 |
//Figure out the anchor for current category
|
563 |
-
$bcn_breadcrumb->
|
564 |
//We want this to be linked
|
565 |
$bcn_breadcrumb->linked = true;
|
566 |
}
|
@@ -592,7 +605,7 @@ class bcn_breadcrumb_trail
|
|
592 |
if(is_paged() && $this->opt['paged_display'])
|
593 |
{
|
594 |
//Deal with the anchor
|
595 |
-
$bcn_breadcrumb->
|
596 |
//Yes we want this linked
|
597 |
$bcn_breadcrumb->linked = true;
|
598 |
}
|
@@ -608,7 +621,7 @@ class bcn_breadcrumb_trail
|
|
608 |
//Assign the title
|
609 |
$bcn_breadcrumb->title = get_the_time('F');
|
610 |
//Deal with the anchor
|
611 |
-
$bcn_breadcrumb->
|
612 |
//Yes we want this linked
|
613 |
$bcn_breadcrumb->linked = true;
|
614 |
}
|
@@ -624,7 +637,7 @@ class bcn_breadcrumb_trail
|
|
624 |
if(is_paged() && $this->opt['paged_display'])
|
625 |
{
|
626 |
//Deal with the anchor
|
627 |
-
$bcn_breadcrumb->
|
628 |
//Yes we want this linked
|
629 |
$bcn_breadcrumb->linked = true;
|
630 |
}
|
@@ -642,7 +655,7 @@ class bcn_breadcrumb_trail
|
|
642 |
if(is_paged() && $this->opt['paged_display'])
|
643 |
{
|
644 |
//Deal with the anchor
|
645 |
-
$bcn_breadcrumb->
|
646 |
//Yes we want this linked
|
647 |
$bcn_breadcrumb->linked = true;
|
648 |
}
|
@@ -660,7 +673,7 @@ class bcn_breadcrumb_trail
|
|
660 |
//Assign the title
|
661 |
$bcn_breadcrumb->title = get_the_time('Y');
|
662 |
//Deal with the anchor
|
663 |
-
$bcn_breadcrumb->
|
664 |
//Yes we want this linked
|
665 |
$bcn_breadcrumb->linked = true;
|
666 |
}
|
@@ -717,7 +730,7 @@ class bcn_breadcrumb_trail
|
|
717 |
if(is_paged() && $this->opt['paged_display'])
|
718 |
{
|
719 |
//Figure out the anchor for home page
|
720 |
-
$bcn_breadcrumb->
|
721 |
//We want this to be linked
|
722 |
$bcn_breadcrumb->linked = true;
|
723 |
}
|
@@ -761,7 +774,7 @@ class bcn_breadcrumb_trail
|
|
761 |
//Assign the suffix
|
762 |
$bcn_breadcrumb->suffix = $this->opt['page_suffix'];
|
763 |
//Deal with the anchor
|
764 |
-
$bcn_breadcrumb->
|
765 |
//Yes link it
|
766 |
$bcn_breadcrumb->linked = true;
|
767 |
}
|
@@ -787,7 +800,7 @@ class bcn_breadcrumb_trail
|
|
787 |
//Assign the title
|
788 |
$bcn_breadcrumb->title = $this->opt['home_title'];
|
789 |
//Deal with the anchor
|
790 |
-
$bcn_breadcrumb->
|
791 |
//Yes link it
|
792 |
$bcn_breadcrumb->linked = true;
|
793 |
}
|
@@ -806,7 +819,7 @@ class bcn_breadcrumb_trail
|
|
806 |
//Assign the title
|
807 |
$bcn_breadcrumb->title = $this->opt['home_title'];
|
808 |
//Deal with the anchor
|
809 |
-
$bcn_breadcrumb->
|
810 |
//Yes link it
|
811 |
$bcn_breadcrumb->linked = true;
|
812 |
}
|
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's path to their current location. This plug-in provides direct access to the bcn_breadcrumb_trail 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: 3.2.1
|
7 |
Author: John Havlik
|
8 |
Author URI: http://mtekk.weblogs.us/
|
9 |
*/
|
45 |
//Always NULL if unlinked
|
46 |
$this->anchor = NULL;
|
47 |
}
|
48 |
+
/**
|
49 |
+
* set_anchor
|
50 |
+
*
|
51 |
+
* Sets the anchor attribute for the breadcrumb
|
52 |
+
*
|
53 |
+
* @param $template the anchor template to use
|
54 |
+
* @param $url String the url to replace the %link% tag in the anchor
|
55 |
+
*/
|
56 |
+
function set_anchor($template, $url)
|
57 |
+
{
|
58 |
+
//Set the anchor, we strip tangs from the title to prevent html validation problems
|
59 |
+
$this->anchor = str_replace("%title%", strip_tags($this->title), str_replace("%link%", $url, $template));
|
60 |
+
}
|
61 |
/**
|
62 |
* title_trim
|
63 |
*
|
99 |
//Default constructor
|
100 |
function bcn_breadcrumb_trail()
|
101 |
{
|
102 |
+
$this->version = "3.2.1";
|
103 |
//Initilize the trail as an array
|
104 |
$this->trail = array();
|
105 |
//Load the translation domain as the next part needs it
|
240 |
//Figure out the hyperlink for the anchor
|
241 |
$url = get_settings('home'). "?s=" . str_replace(" ", "+", wp_specialchars($s, 1));
|
242 |
//Figure out the anchor for the search
|
243 |
+
$bcn_breadcrumb->set_anchor($this->opt['search_anchor'], $url);
|
244 |
//We want this to be linked
|
245 |
$bcn_breadcrumb->linked = true;
|
246 |
}
|
292 |
//Adding the title, throw it through the filters
|
293 |
$bcn_breadcrumb->title = apply_filters("the_title", $bcn_parent->post_title);
|
294 |
//Assign the anchor properties
|
295 |
+
$bcn_breadcrumb->set_anchor($this->opt['post_anchor'], get_permalink($bcn_parent_id));
|
296 |
//We want this to be linked
|
297 |
$bcn_breadcrumb->linked = true;
|
298 |
//Handle the post's taxonomy
|
357 |
//Assign the title
|
358 |
$bcn_breadcrumb->title = apply_filters('the_title', $bcn_parent->post_title);
|
359 |
//Assign the anchor properties
|
360 |
+
$bcn_breadcrumb->set_anchor($this->opt['page_anchor'], get_permalink($id));
|
361 |
//We want this to be linked
|
362 |
$bcn_breadcrumb->linked = true;
|
363 |
//Make sure the id is valid, and that we won't end up spinning in a loop
|
501 |
//Setup the title
|
502 |
$bcn_breadcrumb->title = $bcn_category->cat_name;
|
503 |
//Figure out the anchor for the first category
|
504 |
+
$bcn_breadcrumb->set_anchor($this->opt['category_anchor'], get_category_link($id));
|
505 |
//We want this to be linked
|
506 |
$bcn_breadcrumb->linked = true;
|
507 |
//Make sure the id is valid, and that we won't end up spinning in a loop
|
537 |
if(is_paged() && $this->opt['paged_display'])
|
538 |
{
|
539 |
//Figure out the anchor for current category
|
540 |
+
$bcn_breadcrumb->set_anchor($this->opt['category_anchor'], get_category_link($bcn_category->cat_ID));
|
541 |
//We want this to be linked
|
542 |
$bcn_breadcrumb->linked = true;
|
543 |
}
|
573 |
//Simmilar to using $post, but for things $post doesn't cover
|
574 |
$bcn_tag = $wp_query->get_queried_object();
|
575 |
//Figure out the anchor for current category
|
576 |
+
$bcn_breadcrumb->set_anchor($this->opt['tag_anchor'], get_tag_link($bcn_tag->term_id));
|
577 |
//We want this to be linked
|
578 |
$bcn_breadcrumb->linked = true;
|
579 |
}
|
605 |
if(is_paged() && $this->opt['paged_display'])
|
606 |
{
|
607 |
//Deal with the anchor
|
608 |
+
$bcn_breadcrumb->set_anchor($this->opt['date_anchor'], get_day_link(get_the_time('Y'), get_the_time('m'), $bcn_breadcrumb->title));
|
609 |
//Yes we want this linked
|
610 |
$bcn_breadcrumb->linked = true;
|
611 |
}
|
621 |
//Assign the title
|
622 |
$bcn_breadcrumb->title = get_the_time('F');
|
623 |
//Deal with the anchor
|
624 |
+
$bcn_breadcrumb->set_anchor($this->opt['date_anchor'], get_month_link(get_the_time('Y'), get_the_time('m')));
|
625 |
//Yes we want this linked
|
626 |
$bcn_breadcrumb->linked = true;
|
627 |
}
|
637 |
if(is_paged() && $this->opt['paged_display'])
|
638 |
{
|
639 |
//Deal with the anchor
|
640 |
+
$bcn_breadcrumb->set_anchor($this->opt['date_anchor'], get_month_link(get_the_time('Y'), get_the_time('m')));
|
641 |
//Yes we want this linked
|
642 |
$bcn_breadcrumb->linked = true;
|
643 |
}
|
655 |
if(is_paged() && $this->opt['paged_display'])
|
656 |
{
|
657 |
//Deal with the anchor
|
658 |
+
$bcn_breadcrumb->set_anchor($this->opt['date_anchor'], get_year_link(get_the_time('Y')));
|
659 |
//Yes we want this linked
|
660 |
$bcn_breadcrumb->linked = true;
|
661 |
}
|
673 |
//Assign the title
|
674 |
$bcn_breadcrumb->title = get_the_time('Y');
|
675 |
//Deal with the anchor
|
676 |
+
$bcn_breadcrumb->set_anchor($this->opt['date_anchor'], get_year_link(get_the_time('Y')));
|
677 |
//Yes we want this linked
|
678 |
$bcn_breadcrumb->linked = true;
|
679 |
}
|
730 |
if(is_paged() && $this->opt['paged_display'])
|
731 |
{
|
732 |
//Figure out the anchor for home page
|
733 |
+
$bcn_breadcrumb->set_anchor($this->opt['home_anchor'], get_option('home'));
|
734 |
//We want this to be linked
|
735 |
$bcn_breadcrumb->linked = true;
|
736 |
}
|
774 |
//Assign the suffix
|
775 |
$bcn_breadcrumb->suffix = $this->opt['page_suffix'];
|
776 |
//Deal with the anchor
|
777 |
+
$bcn_breadcrumb->set_anchor($this->opt['blog_anchor'], get_permalink($post->ID));
|
778 |
//Yes link it
|
779 |
$bcn_breadcrumb->linked = true;
|
780 |
}
|
800 |
//Assign the title
|
801 |
$bcn_breadcrumb->title = $this->opt['home_title'];
|
802 |
//Deal with the anchor
|
803 |
+
$bcn_breadcrumb->set_anchor($this->opt['home_anchor'], get_option('home'));
|
804 |
//Yes link it
|
805 |
$bcn_breadcrumb->linked = true;
|
806 |
}
|
819 |
//Assign the title
|
820 |
$bcn_breadcrumb->title = $this->opt['home_title'];
|
821 |
//Deal with the anchor
|
822 |
+
$bcn_breadcrumb->set_anchor($this->opt['home_anchor'], get_option('home'));
|
823 |
//Yes link it
|
824 |
$bcn_breadcrumb->linked = true;
|
825 |
}
|
readme.txt
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
=== Breadcrumb NavXT ===
|
2 |
Contributors: mtekk, hakre
|
3 |
Tags: breadcrumb, navigation
|
4 |
-
Requires at least: 2.
|
5 |
Tested up to: 2.8
|
6 |
-
Stable tag: 3.2.
|
7 |
Adds breadcrumb navigation showing the visitor's path to their current location.
|
8 |
|
9 |
== Description ==
|
@@ -14,96 +14,57 @@ Breadcrumb NavXT, the successor to the popular WordPress plugin Breadcrumb Navig
|
|
14 |
|
15 |
Please visit [Breadcrumb NavXT's](http://mtekk.weblogs.us/code/breadcrumb-navxt/#installation "Go to Breadcrumb NavXT's project page's installation section.") project page for intallation and usage instructions.
|
16 |
|
17 |
-
==
|
18 |
-
|
19 |
-
|
20 |
-
*New feature: Translations for
|
21 |
-
*
|
22 |
-
|
23 |
-
*
|
24 |
-
*
|
25 |
-
*Bug fix:
|
26 |
-
*Bug fix:
|
27 |
-
*Bug fix:
|
28 |
-
3.
|
29 |
-
*New feature:
|
30 |
-
*New feature:
|
31 |
-
*New feature:
|
32 |
-
*
|
33 |
-
*
|
34 |
-
*
|
35 |
-
*Bug fix:
|
36 |
-
|
37 |
-
*Bug fix:
|
38 |
-
*Bug fix:
|
39 |
-
|
40 |
-
*
|
41 |
-
*
|
42 |
-
*
|
43 |
-
*
|
44 |
-
|
45 |
-
*Bug fix:
|
46 |
-
*Bug fix:
|
47 |
-
|
48 |
-
*Bug fix:
|
49 |
-
|
50 |
-
*
|
51 |
-
*
|
52 |
-
*
|
53 |
-
*
|
54 |
-
*New feature:
|
55 |
-
|
56 |
-
*Bug fix:
|
57 |
-
*Bug fix:
|
58 |
-
*Bug fix:
|
59 |
-
*Bug fix:
|
60 |
-
|
61 |
-
*
|
62 |
-
*
|
63 |
-
*
|
64 |
-
|
65 |
-
*New feature:
|
66 |
-
*Bug fix:
|
67 |
-
*Bug fix:
|
68 |
-
*Bug fix:
|
69 |
-
*Bug fix:
|
70 |
-
|
71 |
-
*Bug fix: Problems with /blog/ and // showing up in current item links should be resolved. =
|
72 |
-
*Bug fix: Static front page options should work as expected now.
|
73 |
-
*Bug fix: Paged items now work as they did in 2.0.x.
|
74 |
-
*Bug fix: Auto detection of static front pages has been fixed to be consistent across the board.
|
75 |
-
2.1.1 [4-25-2008]:
|
76 |
-
*Bug fix: Removed the array qualifier from the function header of `bcn_select_options()` this should fix compatibility issues with PHP4.
|
77 |
-
*Bug fix: Problems with linking the current item setting causing invalid XHTML output resolved.
|
78 |
-
*Bug fix: Behavior of linking current item works better in general.
|
79 |
-
2.1.0 [4-2-2008]:
|
80 |
-
*New feature: Administrative interface has been reworked to match the WordPress 2.5 administration panel.
|
81 |
-
*New feature: Breadcrumbs leading to posts can now be delimited by categories or tags (See new options: singleblogpost_taxonomy, singleblogpost_taxonomy_display).
|
82 |
-
*New feature: Attachments to pages will now show the full path to the attachment.
|
83 |
-
*New feature: When using the posttitle_maxlen option, the title will be trimmed to the nearest word, not exceeding the maximum length.
|
84 |
-
*Bug fix: Static front page support is back, supports the official WordPress static frontpage method.
|
85 |
-
2.0.4 [3-24-2008]:
|
86 |
-
*Bug fix: The warning generated by PHP on the use of strpos has been resolved.
|
87 |
-
2.0.3 [3-6-2008]:
|
88 |
-
*Bug fix: Administrative interface no longer interferes with WordPress global CSS styles.
|
89 |
-
*Bug fix: Usermeta errors will now also generate a usermeta variable dump (will aide in permanently solving the problem).
|
90 |
-
*Bug fix: The warning generated by some versions of PHP on the use of strpos has been resolved.
|
91 |
-
2.0.2 [2-15-2008]:
|
92 |
-
*Bug fix: Administrative interface default settings are now loaded when installing.
|
93 |
-
*Bug fix: Localization should work correctly now.
|
94 |
-
*Bug fix: Administrative interface now should handle html payloads in the form fields correctly.
|
95 |
-
*New feature: German localization files are now included thanks to Tom Klingenberg.
|
96 |
-
2.0.1 [1-25-2008]:
|
97 |
-
*Bug fix: Administrative interface errors now have more obvious meaning.
|
98 |
-
2.0.0 [1-19-2008]:
|
99 |
-
*New feature: Support for the standard WordPress localization methods.
|
100 |
-
*New feature: Support for the Polyglot plugin.
|
101 |
-
2.0.0 Beta 2 [11-30-2007]:
|
102 |
-
*Bug fix: Page hierarchy should work correctly now in hierarchies deeper than 3 pages.
|
103 |
-
*New feature: SVN repository at wp-plugins.org.
|
104 |
-
*New feature: Integration with the WordPress method of notification of new versions of the plugin.
|
105 |
-
2.0.0 Beta 1 [11-22-2007]:
|
106 |
-
*Initial Beta Release.
|
107 |
-
*New feature: Completely rewritten substructure
|
108 |
-
*New feature: Hierarchical categories.
|
109 |
-
*New feature: 100% WordPress API support, no more custom queries.
|
1 |
=== Breadcrumb NavXT ===
|
2 |
Contributors: mtekk, hakre
|
3 |
Tags: breadcrumb, navigation
|
4 |
+
Requires at least: 2.6
|
5 |
Tested up to: 2.8
|
6 |
+
Stable tag: 3.2.1
|
7 |
Adds breadcrumb navigation showing the visitor's path to their current location.
|
8 |
|
9 |
== Description ==
|
14 |
|
15 |
Please visit [Breadcrumb NavXT's](http://mtekk.weblogs.us/code/breadcrumb-navxt/#installation "Go to Breadcrumb NavXT's project page's installation section.") project page for intallation and usage instructions.
|
16 |
|
17 |
+
== Changelog ==
|
18 |
+
|
19 |
+
= 3.2.1 =
|
20 |
+
* New feature: Translations for Belorussian now included thanks to "Fat Cow".
|
21 |
+
* Bug fix: The `bcn_display()` and `bcn_display_list()` wrapper functions obey the
|
22 |
+
`$return parameter`.
|
23 |
+
* Bug fix: Anchors now will be valid html even when a page/category/post title has html tags in it.
|
24 |
+
* Bug fix: Revised `bcn_breadcrumb_trail::category_parents` to work around a bug in `get_category` that causes a WP_Error to be thrown.
|
25 |
+
* Bug fix: Importing settings XML files should no longer corrupt html entities.
|
26 |
+
* Bug fix: Can no longer import and reset options at the same time.
|
27 |
+
* Bug fix: WordPress 2.6 should be supported again.
|
28 |
+
= 3.2.0 =
|
29 |
+
* New feature: Now can output breadcrumbs in trail as list elements.
|
30 |
+
* New feature: Translations for Dutch now included thanks to Stan Lenssen.
|
31 |
+
* New feature: Now breadcrumb trails can be output in reverse order.
|
32 |
+
* New feature: Ability to reset to default option values in administrative interface.
|
33 |
+
* New feature: Ability to export settings to a XML file.
|
34 |
+
* New feature: Ability to import settings from a XML file.
|
35 |
+
* Bug fix: Anchor templates now protected against complete clearing.
|
36 |
+
* Bug fix: Administrative interface related styling and JavaScript no longer leaks to other admin pages.
|
37 |
+
* Bug fix: Calling `bcn_display()` works with the same inputs as `bcn_breadcrumb_trail::display()`.
|
38 |
+
* Bug fix: Calling `bcn_display()` multiple times will not place duplicate breadcrumbs into the trail.
|
39 |
+
= 3.1.0 =
|
40 |
+
* New feature: Tabular plugin integrated into the administrative interface/settings page plugin.
|
41 |
+
* New feature: Default options now are localized.
|
42 |
+
* New feature: Plugin uninstaller following the WordPress plugin uninstaller API.
|
43 |
+
* Bug fix: Administrative interface tweaked, hopefully more usable.
|
44 |
+
* Bug fix: Tabs work with WordPress 2.8-bleeding-edge.
|
45 |
+
* Bug fix: Translations for German, French, and Spanish are all updated.
|
46 |
+
* Bug fix: Paged archives, searches, and frontpage fixed.
|
47 |
+
= 3.0.2 =
|
48 |
+
* Bug fix: Default options are installed correctly now for most users.
|
49 |
+
* Bug fix: Now `bcn_breadcrumb_trail::fill()` is safe to call within the loop.
|
50 |
+
* Bug fix: In WPMU options now are properly separate/independent for each blog.
|
51 |
+
* Bug fix: WPMU settings page loads correctly after saving settings.
|
52 |
+
* Bug fix: Blog_anchor setting not lost on non-static frontpage blogs.
|
53 |
+
* Bug fix: Tabular add on no longer causes issues with WordPress 2.7.
|
54 |
+
* New feature: Spanish and French localization files are now included thanks to Karin Sequen and Laurent Grabielle.
|
55 |
+
= 3.0.1 =
|
56 |
+
* Bug fix: UTF-8 characters in the administrative interface now save/display correctly.
|
57 |
+
* Bug fix: Breadcrumb trails for attachments of pages no longer generate PHP errors.
|
58 |
+
* Bug fix: Administrative interface tweaks for installing default options.
|
59 |
+
* Bug fix: Changed handling of situation when Posts Page is not set and Front Page is set.
|
60 |
+
= 3.0.0 =
|
61 |
+
* New feature: Completely rewritten core and administrative interface.
|
62 |
+
* New feature: WordPress sidebar widget built in.
|
63 |
+
* New feature: Breadcrumb trail can output without links.
|
64 |
+
* New feature: Customizable anchor templates, allows things such as rel="nofollow".
|
65 |
+
* New feature: The home breadcrumb may now be excluded from the breadcrumb trail.
|
66 |
+
* Bug fix: 404 page breadcrumbs show up in static frontpage situations where the posts page is a child of the home page.
|
67 |
+
* Bug fix: Static frontpage situations involving the posts page being more than one level off of the home behave as expected.
|
68 |
+
* Bug fix: Compatible with all polyglot like plugins.
|
69 |
+
* Bug fix: Compatible with Viper007bond's Breadcrumb Titles for Pages plugin (but 3.0.0 can replace it as well)
|
70 |
+
* Bug fix: Author page support should be fixed on some setups where it did not work before.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|