Merge lp:~kvilhaugsvik/firefox-extensions/all-in-one-sidebar.ubuntu into lp:~ubuntu-dev/firefox-extensions/all-in-one-sidebar.ubuntu
- all-in-one-sidebar.ubuntu
- Merge into all-in-one-sidebar.ubuntu
Status: | Merged |
---|---|
Merged at revision: | not available |
Proposed branch: | lp:~kvilhaugsvik/firefox-extensions/all-in-one-sidebar.ubuntu |
Merge into: | lp:~ubuntu-dev/firefox-extensions/all-in-one-sidebar.ubuntu |
Diff against target: | None lines |
To merge this branch: | bzr merge lp:~kvilhaugsvik/firefox-extensions/all-in-one-sidebar.ubuntu |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Alexander Sack (community) | Approve | ||
Andrea Veri (community) | Approve | ||
Review via email: mp+8652@code.launchpad.net |
Commit message
Description of the change
Sveinung Kvilhaugsvik (kvilhaugsvik) wrote : | # |
- 22. By Sveinung Kvilhaugsvik
-
* list firefox-3.5 as alternate dependency
- 23. By Sveinung Kvilhaugsvik
-
* depend on ${misc:Depends} to fix lintian warning
- 24. By Sveinung Kvilhaugsvik
-
* changed maintainer field do to change in rules. Thanks to Andrea Veri for noticing
- 25. By Sveinung Kvilhaugsvik
-
* merged all-in-one-sidebar 0.7.4-0ubuntu2. Thanks to Andrea Veri for noticing it was missing
- 26. By Sveinung Kvilhaugsvik
-
* bump standards-version to 3.8.2. Thanks to Andrea Veri for noticing
- 27. By Sveinung Kvilhaugsvik
-
* RELEASE all-in-one-sidebar v0.7.10 to ubuntu karmic
Andrea Veri (av) wrote : | # |
Looks good to me. Added Alexander Sack as reviewer too, he was the original ubuntu-dev's branch maintainer.
Alexander Sack (asac) wrote : | # |
thanks. Also thanks for resurrecting the changes that were not committed here.
In future, please use topic branch names and base each upload on the ~ubuntu-dev one. By using distinct topic names (and not the same name as the ~ubuntu-dev brancH) you can keep them around "marked" as merged and don't need to trash them - which is a good thing in general in case there are merge errors. example for branch names would be the package version you prepared: e.g. all-in-
Preview Diff
1 | === added file '.project' | |||
2 | --- .project 1970-01-01 00:00:00 +0000 | |||
3 | +++ .project 2009-07-12 17:58:41 +0000 | |||
4 | @@ -0,0 +1,18 @@ | |||
5 | 1 | <?xml version="1.0" encoding="UTF-8"?> | ||
6 | 2 | <projectDescription> | ||
7 | 3 | <name>AiOS</name> | ||
8 | 4 | <comment></comment> | ||
9 | 5 | <projects> | ||
10 | 6 | </projects> | ||
11 | 7 | <buildSpec> | ||
12 | 8 | <buildCommand> | ||
13 | 9 | <name>org.xulbooster.eclipse.xb.xulBuilder</name> | ||
14 | 10 | <arguments> | ||
15 | 11 | </arguments> | ||
16 | 12 | </buildCommand> | ||
17 | 13 | </buildSpec> | ||
18 | 14 | <natures> | ||
19 | 15 | <nature>org.xulbooster.eclipse.xb.xulNature</nature> | ||
20 | 16 | <nature>org.xulbooster.eclipse.xb.xulNature</nature> | ||
21 | 17 | </natures> | ||
22 | 18 | </projectDescription> | ||
23 | 0 | 19 | ||
24 | === added directory '.settings' | |||
25 | === added file '.settings/org.eclipse.core.resources.prefs' | |||
26 | --- .settings/org.eclipse.core.resources.prefs 1970-01-01 00:00:00 +0000 | |||
27 | +++ .settings/org.eclipse.core.resources.prefs 2009-07-12 17:58:41 +0000 | |||
28 | @@ -0,0 +1,38 @@ | |||
29 | 1 | #Mon Feb 09 16:29:55 CET 2009 | ||
30 | 2 | eclipse.preferences.version=1 | ||
31 | 3 | encoding//content/multipanel.js=UTF-8 | ||
32 | 4 | encoding//locale/ar/lib.properties=UTF-8 | ||
33 | 5 | encoding//locale/be-BY/lib.properties=UTF-8 | ||
34 | 6 | encoding//locale/cs-CZ/lib.properties=UTF-8 | ||
35 | 7 | encoding//locale/da-DK/lib.properties=UTF-8 | ||
36 | 8 | encoding//locale/de-DE/lib.properties=UTF-8 | ||
37 | 9 | encoding//locale/el-GR/lib.properties=UTF-8 | ||
38 | 10 | encoding//locale/en-GB/lib.properties=UTF-8 | ||
39 | 11 | encoding//locale/en-US/lib.properties=UTF-8 | ||
40 | 12 | encoding//locale/es-AR/lib.properties=UTF-8 | ||
41 | 13 | encoding//locale/es-ES/lib.properties=UTF-8 | ||
42 | 14 | encoding//locale/et-EE/lib.properties=UTF-8 | ||
43 | 15 | encoding//locale/fi-FI/lib.properties=UTF-8 | ||
44 | 16 | encoding//locale/fr-FR/lib.properties=UTF-8 | ||
45 | 17 | encoding//locale/he-IL/lib.properties=UTF-8 | ||
46 | 18 | encoding//locale/hr-HR/lib.properties=UTF-8 | ||
47 | 19 | encoding//locale/hu-HU/lib.properties=UTF-8 | ||
48 | 20 | encoding//locale/hy-AM/lib.properties=UTF-8 | ||
49 | 21 | encoding//locale/it-IT/lib.properties=UTF-8 | ||
50 | 22 | encoding//locale/ja-JP/lib.properties=UTF-8 | ||
51 | 23 | encoding//locale/ko-KR/lib.properties=UTF-8 | ||
52 | 24 | encoding//locale/lt-LT/lib.properties=UTF-8 | ||
53 | 25 | encoding//locale/nb-NO/lib.properties=UTF-8 | ||
54 | 26 | encoding//locale/nl-NL/lib.properties=UTF-8 | ||
55 | 27 | encoding//locale/pl-PL/lib.properties=UTF-8 | ||
56 | 28 | encoding//locale/pt-BR/lib.properties=UTF-8 | ||
57 | 29 | encoding//locale/pt-PT/lib.properties=UTF-8 | ||
58 | 30 | encoding//locale/ro-RO/lib.properties=UTF-8 | ||
59 | 31 | encoding//locale/ru-RU/lib.properties=UTF-8 | ||
60 | 32 | encoding//locale/sk-SK/lib.properties=UTF-8 | ||
61 | 33 | encoding//locale/sr-RS/lib.properties=UTF-8 | ||
62 | 34 | encoding//locale/sv-SE/lib.properties=UTF-8 | ||
63 | 35 | encoding//locale/tr-TR/lib.properties=UTF-8 | ||
64 | 36 | encoding//locale/uk-UA/lib.properties=UTF-8 | ||
65 | 37 | encoding//locale/zh-CN/lib.properties=UTF-8 | ||
66 | 38 | encoding//locale/zh-TW/lib.properties=UTF-8 | ||
67 | 0 | 39 | ||
68 | === removed directory 'chrome' | |||
69 | === modified file 'chrome.manifest' | |||
70 | --- chrome.manifest 2008-11-14 11:44:00 +0000 | |||
71 | +++ chrome.manifest 2009-07-12 17:58:41 +0000 | |||
72 | @@ -1,62 +1,63 @@ | |||
73 | 1 | 1 | ||
111 | 2 | content aios jar:chrome/aios.jar!/content/ | 2 | content aios content/ contentaccessible=yes |
112 | 3 | skin aios classic/1.0 jar:chrome/aios.jar!/skin/ | 3 | skin aios global skin/ |
113 | 4 | 4 | ||
114 | 5 | 5 | locale aios en-US locale/en-US/ | |
115 | 6 | locale aios en-US jar:chrome/aios.jar!/locale/en-US/ | 6 | locale aios ar locale/ar/ |
116 | 7 | locale aios ar jar:chrome/aios.jar!/locale/ar/ | 7 | locale aios be-BY locale/be-BY/ |
117 | 8 | locale aios be-BY jar:chrome/aios.jar!/locale/be-BY/ | 8 | locale aios cs-CZ locale/cs-CZ/ |
118 | 9 | locale aios cs-CZ jar:chrome/aios.jar!/locale/cs-CZ/ | 9 | locale aios da-DK locale/da-DK/ |
119 | 10 | locale aios da-DK jar:chrome/aios.jar!/locale/da-DK/ | 10 | locale aios de-DE locale/de-DE/ |
120 | 11 | locale aios de-DE jar:chrome/aios.jar!/locale/de-DE/ | 11 | locale aios el-GR locale/el-GR/ |
121 | 12 | locale aios el-GR jar:chrome/aios.jar!/locale/el-GR/ | 12 | locale aios en-GB locale/en-GB/ |
122 | 13 | locale aios en-GB jar:chrome/aios.jar!/locale/en-GB/ | 13 | locale aios es-AR locale/es-AR/ |
123 | 14 | locale aios es-AR jar:chrome/aios.jar!/locale/es-AR/ | 14 | locale aios es-ES locale/es-ES/ |
124 | 15 | locale aios es-ES jar:chrome/aios.jar!/locale/es-ES/ | 15 | locale aios et-EE locale/et-EE/ |
125 | 16 | locale aios et-EE jar:chrome/aios.jar!/locale/et-EE/ | 16 | locale aios fi-FI locale/fi-FI/ |
126 | 17 | locale aios fi-FI jar:chrome/aios.jar!/locale/fi-FI/ | 17 | locale aios fr-FR locale/fr-FR/ |
127 | 18 | locale aios fr-FR jar:chrome/aios.jar!/locale/fr-FR/ | 18 | locale aios he-IL locale/he-IL/ |
128 | 19 | locale aios he-IL jar:chrome/aios.jar!/locale/he-IL/ | 19 | locale aios hr-HR locale/hr-HR/ |
129 | 20 | locale aios hr-HR jar:chrome/aios.jar!/locale/hr-HR/ | 20 | locale aios hu-HU locale/hu-HU/ |
130 | 21 | locale aios hu-HU jar:chrome/aios.jar!/locale/hu-HU/ | 21 | locale aios hy-AM locale/hy-AM/ |
131 | 22 | locale aios it-IT jar:chrome/aios.jar!/locale/it-IT/ | 22 | locale aios it-IT locale/it-IT/ |
132 | 23 | locale aios ja-JP jar:chrome/aios.jar!/locale/ja-JP/ | 23 | locale aios ja-JP locale/ja-JP/ |
133 | 24 | locale aios ko-KR jar:chrome/aios.jar!/locale/ko-KR/ | 24 | locale aios ko-KR locale/ko-KR/ |
134 | 25 | locale aios lt-LT jar:chrome/aios.jar!/locale/lt-LT/ | 25 | locale aios lt-LT locale/lt-LT/ |
135 | 26 | locale aios nb-NO jar:chrome/aios.jar!/locale/nb-NO/ | 26 | locale aios nb-NO locale/nb-NO/ |
136 | 27 | locale aios nl-NL jar:chrome/aios.jar!/locale/nl-NL/ | 27 | locale aios nl-NL locale/nl-NL/ |
137 | 28 | locale aios pl-PL jar:chrome/aios.jar!/locale/pl-PL/ | 28 | locale aios pl-PL locale/pl-PL/ |
138 | 29 | locale aios pt-BR jar:chrome/aios.jar!/locale/pt-BR/ | 29 | locale aios pt-BR locale/pt-BR/ |
139 | 30 | locale aios pt-PT jar:chrome/aios.jar!/locale/pt-PT/ | 30 | locale aios pt-PT locale/pt-PT/ |
140 | 31 | locale aios sk-SK jar:chrome/aios.jar!/locale/sk-SK/ | 31 | locale aios ro-RO locale/ro-RO/ |
141 | 32 | locale aios ru-RU jar:chrome/aios.jar!/locale/ru-RU/ | 32 | locale aios ru-RU locale/ru-RU/ |
142 | 33 | locale aios sv-SE jar:chrome/aios.jar!/locale/sv-SE/ | 33 | locale aios sk-SK locale/sk-SK/ |
143 | 34 | locale aios tr-TR jar:chrome/aios.jar!/locale/tr-TR/ | 34 | locale aios sr-RS locale/sr-RS/ |
144 | 35 | locale aios uk-UA jar:chrome/aios.jar!/locale/uk-UA/ | 35 | locale aios sv-SE locale/sv-SE/ |
145 | 36 | locale aios zh-CN jar:chrome/aios.jar!/locale/zh-CN/ | 36 | locale aios tr-TR locale/tr-TR/ |
146 | 37 | locale aios zh-TW jar:chrome/aios.jar!/locale/zh-TW/ | 37 | locale aios uk-UA locale/uk-UA/ |
147 | 38 | 38 | locale aios vi-VN locale/vi-VN/ | |
148 | 39 | locale aios zh-CN locale/zh-CN/ | ||
149 | 40 | locale aios zh-TW locale/zh-TW/ | ||
150 | 39 | 41 | ||
151 | 40 | overlay chrome://browser/content/browser.xul chrome://aios/content/aios.xul | 42 | overlay chrome://browser/content/browser.xul chrome://aios/content/aios.xul |
156 | 41 | overlay chrome://browser/content/browser.xul chrome://aios/content/tbx/tbx.xul | 43 | overlay chrome://global/content/customizeToolbar.xul chrome://aios/content/aios_customize.xul |
153 | 42 | |||
154 | 43 | style chrome://global/content/customizeToolbar.xul chrome://aios/skin/aios.css | ||
155 | 44 | overlay chrome://global/content/customizeToolbar.xul chrome://aios/content/tbx/tbx_customize.xul | ||
157 | 45 | 44 | ||
158 | 46 | overlay chrome://browser/content/bookmarks/bookmarksPanel.xul chrome://aios/content/bm_hi.xul | 45 | overlay chrome://browser/content/bookmarks/bookmarksPanel.xul chrome://aios/content/bm_hi.xul |
159 | 47 | overlay chrome://browser/content/history/history-panel.xul chrome://aios/content/bm_hi.xul | 46 | overlay chrome://browser/content/history/history-panel.xul chrome://aios/content/bm_hi.xul |
160 | 48 | 47 | ||
164 | 49 | overlay chrome://mozapps/content/extensions/extensions.xul chrome://aios/content/etd_addons.xul | 48 | overlay chrome://mozapps/content/extensions/extensions.xul chrome://aios/content/addons.xul |
165 | 50 | overlay chrome://mozapps/content/downloads/downloads.xul chrome://aios/content/etd_downloads.xul | 49 | overlay chrome://mozapps/content/xpinstall/xpinstallConfirm.xul chrome://aios/content/addons_xpinstall.xul |
166 | 51 | overlay chrome://mozapps/content/xpinstall/xpinstallConfirm.xul chrome://aios/content/xpinstallConfirm.xul | 50 | |
167 | 51 | overlay chrome://mozapps/content/downloads/downloads.xul chrome://aios/content/downloads.xul | ||
168 | 52 | overlay chrome://global/content/alerts/alert.xul chrome://aios/content/downloads_alert.xul | ||
169 | 52 | 53 | ||
170 | 53 | overlay chrome://browser/content/web-panels.xul chrome://aios/content/multipanel.xul | 54 | overlay chrome://browser/content/web-panels.xul chrome://aios/content/multipanel.xul |
174 | 54 | overlay chrome://global/content/viewSource.xul chrome://aios/content/viewSource.xul | 55 | overlay chrome://global/content/config.xul chrome://aios/content/aboutconfig.xul |
175 | 55 | overlay chrome://browser/content/pageInfo.xul chrome://aios/content/pageinfo/pageInfo.xul | 56 | |
176 | 56 | overlay chrome://pippki/content/PageInfoOverlay.xul chrome://aios/content/pageinfo/security.xul | 57 | overlay chrome://global/content/viewSource.xul chrome://aios/content/viewsource.xul |
177 | 58 | overlay chrome://browser/content/pageinfo/pageInfo.xul chrome://aios/content/pageinfo.xul | ||
178 | 59 | |||
179 | 57 | overlay chrome://global/content/console.xul chrome://aios/content/console.xul | 60 | overlay chrome://global/content/console.xul chrome://aios/content/console.xul |
180 | 58 | overlay chrome://inspector/content/sidebar.xul chrome://aios/content/dominspector.xul | ||
181 | 59 | |||
182 | 60 | overlay chrome://browser/content/pageinfo/pageInfo.xul chrome://aios/content/pageinfo/pageInfo_fx3.xul | ||
183 | 61 | |||
184 | 62 | style chrome://global/content/config.xul chrome://aios/skin/config.css | ||
185 | 63 | \ No newline at end of file | 61 | \ No newline at end of file |
186 | 62 | overlay chrome://console2/content/console2.xul chrome://aios/content/console.xul | ||
187 | 63 | |||
188 | 64 | overlay chrome://browser/content/preferences/main.xul chrome://aios/content/prefs/overlay_main.xul | ||
189 | 64 | \ No newline at end of file | 65 | \ No newline at end of file |
190 | 65 | 66 | ||
191 | === removed directory 'chrome/aios.jar!' | |||
192 | === removed file 'chrome/aios.jar!/content/_bindings.xml' | |||
193 | --- chrome/aios.jar!/content/_bindings.xml 2008-11-14 11:44:00 +0000 | |||
194 | +++ chrome/aios.jar!/content/_bindings.xml 1970-01-01 00:00:00 +0000 | |||
195 | @@ -1,30 +0,0 @@ | |||
196 | 1 | <?xml version="1.0"?> | ||
197 | 2 | |||
198 | 3 | <bindings xmlns="http://www.mozilla.org/xbl" | ||
199 | 4 | xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" | ||
200 | 5 | xmlns:xbl="http://www.mozilla.org/xbl"> | ||
201 | 6 | |||
202 | 7 | <binding id="aiosTooltips"> | ||
203 | 8 | <content> | ||
204 | 9 | <xul:hbox flex="1"> | ||
205 | 10 | <xul:vbox> | ||
206 | 11 | <xul:label xbl:inherits="value=r1c1" class="odd" /> | ||
207 | 12 | <xul:label xbl:inherits="value=r2c1" /> | ||
208 | 13 | <xul:label xbl:inherits="value=r3c1" class="odd" /> | ||
209 | 14 | </xul:vbox> | ||
210 | 15 | <xul:vbox flex="1"> | ||
211 | 16 | <xul:label flex="1" xbl:inherits="value=r1c2" class="odd" /> | ||
212 | 17 | <xul:label flex="1" xbl:inherits="value=r2c2" /> | ||
213 | 18 | <xul:label flex="1" xbl:inherits="value=r3c2" class="odd" /> | ||
214 | 19 | </xul:vbox> | ||
215 | 20 | </xul:hbox> | ||
216 | 21 | </content> | ||
217 | 22 | </binding> | ||
218 | 23 | |||
219 | 24 | <binding id="grippy"> | ||
220 | 25 | <resources> | ||
221 | 26 | <stylesheet src="chrome://aios/skin/grippies.css" /> | ||
222 | 27 | </resources> | ||
223 | 28 | </binding> | ||
224 | 29 | |||
225 | 30 | </bindings> | ||
226 | 31 | \ No newline at end of file | 0 | \ No newline at end of file |
227 | 32 | 1 | ||
228 | === removed file 'chrome/aios.jar!/content/aios_load.xul' | |||
229 | --- chrome/aios.jar!/content/aios_load.xul 2008-11-14 11:44:00 +0000 | |||
230 | +++ chrome/aios.jar!/content/aios_load.xul 1970-01-01 00:00:00 +0000 | |||
231 | @@ -1,7 +0,0 @@ | |||
232 | 1 | <?xml version="1.0" ?> | ||
233 | 2 | |||
234 | 3 | <overlay id="aiosLoadedOverlay" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> | ||
235 | 4 | |||
236 | 5 | <vbox id="sidebar-box" hidden="false" /> | ||
237 | 6 | |||
238 | 7 | </overlay> | ||
239 | 8 | \ No newline at end of file | 0 | \ No newline at end of file |
240 | 9 | 1 | ||
241 | === removed file 'chrome/aios.jar!/content/dominspector.xul' | |||
242 | --- chrome/aios.jar!/content/dominspector.xul 2008-11-14 11:44:00 +0000 | |||
243 | +++ chrome/aios.jar!/content/dominspector.xul 1970-01-01 00:00:00 +0000 | |||
244 | @@ -1,37 +0,0 @@ | |||
245 | 1 | <?xml version="1.0" ?> | ||
246 | 2 | |||
247 | 3 | <overlay id="aios_DOMInspectorOverlay" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> | ||
248 | 4 | |||
249 | 5 | <script type="application/x-javascript" src="chrome://aios/content/_common.js" /> | ||
250 | 6 | |||
251 | 7 | <script><![CDATA[ | ||
252 | 8 | |||
253 | 9 | /* | ||
254 | 10 | code from xSidebar by Philip Chee aka LastExile - many thanks :-) | ||
255 | 11 | */ | ||
256 | 12 | function xsbRefreshDomI() { | ||
257 | 13 | window.removeEventListener("load", xsbRefreshDomI, true); | ||
258 | 14 | setTimeout(xsbRefreshDomIAsync, 10); | ||
259 | 15 | } | ||
260 | 16 | |||
261 | 17 | function xsbRefreshDomIAsync() { | ||
262 | 18 | var mPanelSet = document.getElementById("bxPanelSet"); | ||
263 | 19 | if (mPanelSet) { | ||
264 | 20 | //mPanelSet.getPanel(0).subject = content.document; | ||
265 | 21 | |||
266 | 22 | var theContent = aios_WIN.document.getElementById('appcontent').childNodes[0]; | ||
267 | 23 | if(theContent.currentURI) { | ||
268 | 24 | var locHref = theContent.currentURI.spec; | ||
269 | 25 | mPanelSet.getPanel(0).subject = theContent.selectedBrowser.webNavigation.document; | ||
270 | 26 | } | ||
271 | 27 | } | ||
272 | 28 | } | ||
273 | 29 | |||
274 | 30 | var inSidebar = top.document.getElementById('sidebar-box'); | ||
275 | 31 | if (inSidebar) { | ||
276 | 32 | window.addEventListener("load", xsbRefreshDomI, true); | ||
277 | 33 | } | ||
278 | 34 | |||
279 | 35 | ]]></script> | ||
280 | 36 | |||
281 | 37 | </overlay> | ||
282 | 38 | \ No newline at end of file | 0 | \ No newline at end of file |
283 | 39 | 1 | ||
284 | === removed file 'chrome/aios.jar!/content/etd.js' | |||
285 | --- chrome/aios.jar!/content/etd.js 2008-11-14 11:44:00 +0000 | |||
286 | +++ chrome/aios.jar!/content/etd.js 1970-01-01 00:00:00 +0000 | |||
287 | @@ -1,495 +0,0 @@ | |||
288 | 1 | |||
289 | 2 | var aios_mode, aios_prefstring, aios_sidebarItem, aios_boxElem, aios_managerWindow, aios_posElem, aios_checkInterval; | ||
290 | 3 | |||
291 | 4 | var aios_inSidebar = (top.document.getElementById('sidebar-box')) ? true : false; | ||
292 | 5 | |||
293 | 6 | function aios_init() { | ||
294 | 7 | var loc = window.location.href; | ||
295 | 8 | var enable_sidebar, enable_slim, enable_colors, enable_count, enable_sort, enable_layout, enable_layoutall, enable_tools; | ||
296 | 9 | |||
297 | 10 | if(loc.indexOf('downloads.xul') > 0) { | ||
298 | 11 | aios_mode = "downloads"; | ||
299 | 12 | aios_prefstring = "dm"; | ||
300 | 13 | aios_sidebarItem = "viewDownloadsSidebar"; | ||
301 | 14 | |||
302 | 15 | aios_boxElem = document.getElementById("downloadView"); | ||
303 | 16 | aios_managerWindow = document.getElementById("downloadManager"); | ||
304 | 17 | aios_posElem = document.getElementById("downloadView"); | ||
305 | 18 | } | ||
306 | 19 | else if(loc.indexOf('extensions.xul') > 0) { | ||
307 | 20 | aios_mode = "addons"; | ||
308 | 21 | aios_prefstring = "em"; | ||
309 | 22 | aios_sidebarItem = "viewAddonsSidebar"; | ||
310 | 23 | |||
311 | 24 | aios_boxElem = document.getElementById("extensionsView"); | ||
312 | 25 | aios_managerWindow = document.getElementById("extensionsManager"); | ||
313 | 26 | aios_posElem = document.getElementById("addonsMsg"); | ||
314 | 27 | |||
315 | 28 | // Ansicht falls nötig zum Installationspanel wechseln | ||
316 | 29 | aios_checkInstall(); | ||
317 | 30 | aios_checkInterval = window.setInterval("aios_checkInstall()", 1000); | ||
318 | 31 | |||
319 | 32 | if(document.getElementById('restartAppButton')) document.getElementById('restartAppButton').hidden = true; | ||
320 | 33 | } | ||
321 | 34 | |||
322 | 35 | try { | ||
323 | 36 | enable_sidebar = aios_gPrefBranch.getBoolPref(aios_prefstring + ".sidebar"); | ||
324 | 37 | enable_slim = aios_gPrefBranch.getBoolPref(aios_prefstring + ".slim"); | ||
325 | 38 | enable_colors = aios_gPrefBranch.getBoolPref(aios_prefstring + ".colors"); | ||
326 | 39 | enable_count = aios_gPrefBranch.getBoolPref(aios_prefstring + ".count"); | ||
327 | 40 | if(aios_mode != "addons") enable_sort = aios_gPrefBranch.getBoolPref(aios_prefstring + ".sort"); | ||
328 | 41 | enable_layout = aios_gPrefBranch.getBoolPref(aios_prefstring + ".layout"); | ||
329 | 42 | enable_layoutall = aios_gPrefBranch.getBoolPref(aios_prefstring + ".layoutall"); | ||
330 | 43 | enable_tools = aios_gPrefBranch.getBoolPref(aios_prefstring + ".tools"); | ||
331 | 44 | } | ||
332 | 45 | catch(e) { return false; } | ||
333 | 46 | |||
334 | 47 | // Fenster schließen, wenn der Manager nur in der Sidebar geöffnet werden soll | ||
335 | 48 | // => !top.document.getElementById('sidebar') => ich bin keine Sidebar | ||
336 | 49 | // => top.toString() != "[object Window]" => ich bin kein Tab | ||
337 | 50 | if(!top.document.getElementById('sidebar') && top.toString() != "[object Window]") { | ||
338 | 51 | // enable_sidebar => Manager soll in der Sidebar geöffnet werden | ||
339 | 52 | // !opener (!aios_WIN.aiosIsWindow) => nicht explizit im Fenster (z.B. durch Shift+Linksklick auf Toolbarbutton) | ||
340 | 53 | // !aios_WIN.aiosIsWindow weil sonst das Fenster nicht geschlossen würde, | ||
341 | 54 | // wenn es durch Klick auf das "Downloads-Fertig-Popup" geöffnet wurde | ||
342 | 55 | |||
343 | 56 | //if(enable_sidebar && !opener) { | ||
344 | 57 | if(enable_sidebar && !aios_WIN.aiosIsWindow) { | ||
345 | 58 | // wenn die Sidebar nicht schon geöffnet ist (z.B. Aufruf durch MR Tech Local Install) | ||
346 | 59 | // ohne diese Abfrage werden Erweiterungen u.U. doppelt installiert | ||
347 | 60 | if(!aios_WIN.aios_getBoolean(aios_sidebarItem, 'checked')) aios_WIN.toggleSidebar(aios_sidebarItem, true); | ||
348 | 61 | window.close(); | ||
349 | 62 | } | ||
350 | 63 | } | ||
351 | 64 | |||
352 | 65 | // Sidebar-Layout | ||
353 | 66 | if((enable_layout && aios_inSidebar) || enable_layoutall) aios_sidebarLayout(); | ||
354 | 67 | |||
355 | 68 | // kompakte Ansicht | ||
356 | 69 | if(enable_slim) aios_addCSS("chrome://aios/skin/_slimlist.css"); | ||
357 | 70 | |||
358 | 71 | // Titel setzen | ||
359 | 72 | if(aios_mode == "addons") aios_setTitle(); | ||
360 | 73 | |||
361 | 74 | // Elemente zaehlen und anzeigen | ||
362 | 75 | if(enable_count) aios_countList(); | ||
363 | 76 | |||
364 | 77 | // sortieren | ||
365 | 78 | if(enable_sort && aios_mode != "addons") aios_sortExtensions(); | ||
366 | 79 | |||
367 | 80 | // farbige Einträge | ||
368 | 81 | if(enable_colors) aios_addCSS("chrome://aios/skin/_coloredlist.css"); | ||
369 | 82 | |||
370 | 83 | // Tools-Button anzeigen? | ||
371 | 84 | if(document.getElementById('aios-toolsButton')) document.getElementById('aios-toolsButton').hidden = !enable_tools; | ||
372 | 85 | if(document.getElementById('aios-toolsSpacer')) document.getElementById('aios-toolsSpacer').hidden = !enable_tools; | ||
373 | 86 | |||
374 | 87 | |||
375 | 88 | if(aios_mode == "addons") { | ||
376 | 89 | |||
377 | 90 | // Fix für MR Tech Local Install | ||
378 | 91 | if(typeof Local_Install == "object") { | ||
379 | 92 | // Install-Button tauschen | ||
380 | 93 | if(document.getElementById('installNewTheme')) { | ||
381 | 94 | var commandBar = document.getElementById('commandBar'); | ||
382 | 95 | var aiosInstall = document.getElementById('aios-installButton'); | ||
383 | 96 | var mrtechInstall = document.getElementById('installNewTheme'); | ||
384 | 97 | commandBar.replaceChild(mrtechInstall, aiosInstall); | ||
385 | 98 | } | ||
386 | 99 | // Padding des Managers abschalten | ||
387 | 100 | if((enable_layout && aios_inSidebar) || enable_layoutall) | ||
388 | 101 | try { aios_gPref.setCharPref("local_install.viewPadding", ""); } catch(e) { } | ||
389 | 102 | } | ||
390 | 103 | |||
391 | 104 | // Homepages in neuen Tabs statt in neuen Fenstern öffnen | ||
392 | 105 | var cmd = gExtensionsViewController.commands.cmd_homepage.toString(); | ||
393 | 106 | var newCmd = cmd.replace(/openURL\(uri\.spec\)/, 'aios_addTab(uri.spec)'); | ||
394 | 107 | eval('gExtensionsViewController.commands.cmd_homepage = ' + newCmd + ';'); | ||
395 | 108 | } | ||
396 | 109 | |||
397 | 110 | // Icons im Kontextmenü aktivieren | ||
398 | 111 | var cmenu; | ||
399 | 112 | if(aios_mode == "addons") cmenu = "addonContextMenu"; | ||
400 | 113 | else if(aios_mode == "downloads") cmenu = "downloadContextMenu"; | ||
401 | 114 | else cmenu = "extensionContextMenu"; | ||
402 | 115 | |||
403 | 116 | if(document.getElementById(cmenu)) { | ||
404 | 117 | document.getElementById(cmenu).addEventListener("popupshowing", function(e) { | ||
405 | 118 | |||
406 | 119 | var childs = document.getElementById(cmenu).childNodes; | ||
407 | 120 | for(var i = 0; i < childs.length; i++) { | ||
408 | 121 | if(childs[i].tagName == "menuitem") aios_appendClass(childs[i], 'menuitem-iconic'); | ||
409 | 122 | } | ||
410 | 123 | |||
411 | 124 | }, false); | ||
412 | 125 | } | ||
413 | 126 | |||
414 | 127 | if(aios_platform == "Darwin") { | ||
415 | 128 | document.getElementById('viewGroup').setAttribute("showLabel", true); | ||
416 | 129 | } | ||
417 | 130 | |||
418 | 131 | return true; | ||
419 | 132 | } | ||
420 | 133 | |||
421 | 134 | |||
422 | 135 | // Ansicht falls nötig zum Installationspanel wechseln | ||
423 | 136 | function aios_checkInstall() { | ||
424 | 137 | if(aios_WIN) { | ||
425 | 138 | if(aios_WIN.aiosSetAddOnsView) { | ||
426 | 139 | if(aios_WIN.aiosSetAddOnsView == "installs") { | ||
427 | 140 | window.clearInterval(aios_checkInterval); | ||
428 | 141 | aios_WIN.aiosSetAddOnsView = null; | ||
429 | 142 | showView('installs'); | ||
430 | 143 | } | ||
431 | 144 | } | ||
432 | 145 | else { | ||
433 | 146 | aios_WIN.aiosSetAddOnsView = null; | ||
434 | 147 | } | ||
435 | 148 | } | ||
436 | 149 | } | ||
437 | 150 | |||
438 | 151 | |||
439 | 152 | function aios_setTitle(which) { | ||
440 | 153 | if(typeof Local_Install == "object") return false; | ||
441 | 154 | |||
442 | 155 | if(document.getElementById("restartAppButton")) { | ||
443 | 156 | var restartButton = document.getElementById("restartAppButton"); | ||
444 | 157 | restartButton.hidden = true; | ||
445 | 158 | if(document.getElementById("installs-view").selected) restartButton.hidden = false; | ||
446 | 159 | } | ||
447 | 160 | |||
448 | 161 | if(!aios_WIN.document) return false; | ||
449 | 162 | |||
450 | 163 | var newTitle; | ||
451 | 164 | var origTitle = aios_WIN.document.getElementById(aios_sidebarItem).getAttribute('label'); | ||
452 | 165 | |||
453 | 166 | var viewTitle; | ||
454 | 167 | |||
455 | 168 | // Label des zukünftigen Panels (ausgelöst nur durch Klick auf Radio-Button) | ||
456 | 169 | if(typeof which == "object") viewTitle = which.getAttribute('label'); | ||
457 | 170 | // Label des selektierten Radio-Buttons | ||
458 | 171 | else if(document.getElementById("viewGroup")) viewTitle = document.getElementById("viewGroup").selectedItem.getAttribute('label'); | ||
459 | 172 | |||
460 | 173 | newTitle = origTitle + " - " + viewTitle; | ||
461 | 174 | |||
462 | 175 | // Titel und Label setzen | ||
463 | 176 | document.title = newTitle; | ||
464 | 177 | |||
465 | 178 | if(!top.document.getElementById('sidebar-title')) return false; | ||
466 | 179 | top.document.getElementById('sidebar-title').setAttribute("value", newTitle); | ||
467 | 180 | |||
468 | 181 | return true; | ||
469 | 182 | } | ||
470 | 183 | |||
471 | 184 | |||
472 | 185 | function aios_sidebarLayout() { | ||
473 | 186 | // CSS für Sidebar-Optimierungen aktivieren | ||
474 | 187 | if(aios_mode == "addons") aios_addCSS("chrome://aios/skin/addons_layout.css"); | ||
475 | 188 | else if(aios_mode == "downloads") aios_addCSS("chrome://aios/skin/downloads_layout.css"); | ||
476 | 189 | |||
477 | 190 | |||
478 | 191 | // Toolbar nach oben versetzen | ||
479 | 192 | if(aios_mode == "addons" || (aios_mode == "downloads" && aios_appVersion.indexOf('3.0') != 0)) { | ||
480 | 193 | var moveBar; | ||
481 | 194 | if(document.getElementById("commandBar")) moveBar = document.getElementById("commandBar"); | ||
482 | 195 | if(document.getElementById("commandBarBottom")) moveBar = document.getElementById("commandBarBottom"); | ||
483 | 196 | if(document.getElementById("search")) moveBar = document.getElementById("search"); | ||
484 | 197 | |||
485 | 198 | moveBar = moveBar.parentNode; | ||
486 | 199 | aios_managerWindow.insertBefore(moveBar, aios_posElem); | ||
487 | 200 | } | ||
488 | 201 | |||
489 | 202 | |||
490 | 203 | if(aios_mode == "addons") { | ||
491 | 204 | // Radio-Buttons mit Tooltip | ||
492 | 205 | if(document.getElementById("viewGroup")) { | ||
493 | 206 | var radioChilds = document.getElementById("viewGroup").childNodes; | ||
494 | 207 | for(var i = 0; i < radioChilds.length; i++) { | ||
495 | 208 | if(radioChilds[i].tagName == "radio") radioChilds[i].setAttribute('tooltiptext', radioChilds[i].getAttribute('label')); | ||
496 | 209 | } | ||
497 | 210 | } | ||
498 | 211 | |||
499 | 212 | // Spacer löschen | ||
500 | 213 | var cmdChilds = document.getElementById("commandBarBottom").childNodes; | ||
501 | 214 | for(var i = 0; i < cmdChilds.length; i++) { | ||
502 | 215 | if(cmdChilds[i].tagName == "spacer" && cmdChilds[i].id != "aios-toolsSpacer") { | ||
503 | 216 | cmdChilds[i].parentNode.removeChild(cmdChilds[i]); | ||
504 | 217 | } | ||
505 | 218 | } | ||
506 | 219 | |||
507 | 220 | // Themes in der Sidebar | ||
508 | 221 | if(parent.document.getElementById("sidebar-box")) { | ||
509 | 222 | // themePreviewArea scrollbar machen (FF <= 1.5) | ||
510 | 223 | //aios_boxElem.setAttribute('flex', '1'); | ||
511 | 224 | //document.getElementById("themePreviewArea").setAttribute('flex', '1'); | ||
512 | 225 | |||
513 | 226 | document.getElementById("themePreviewArea").setAttribute('class', 'sidebar'); | ||
514 | 227 | } | ||
515 | 228 | } | ||
516 | 229 | else if(aios_mode == "downloads") { | ||
517 | 230 | // Downloads in der Sidebar | ||
518 | 231 | if(parent.document.getElementById("sidebar-box")) { | ||
519 | 232 | if(document.getElementById("autodownloadInfo")) document.getElementById("autodownloadInfo").childNodes[1].hidden = true; | ||
520 | 233 | if(document.getElementById("downloadFolder")) document.getElementById("downloadFolder").hidden = false; | ||
521 | 234 | if(document.getElementById("saveToFolder")) document.getElementById("saveToFolder").removeAttribute('flex'); | ||
522 | 235 | } | ||
523 | 236 | } | ||
524 | 237 | } | ||
525 | 238 | |||
526 | 239 | |||
527 | 240 | /* | ||
528 | 241 | zählt und zeigt die aktivierten und deaktivierten Extensions im Sidebartitel an | ||
529 | 242 | => Aufruf durch aios_init() | ||
530 | 243 | */ | ||
531 | 244 | function aios_countList() { | ||
532 | 245 | |||
533 | 246 | if(!aios_WIN.document) return false; | ||
534 | 247 | |||
535 | 248 | // Fix fuer MR Tech Local Install | ||
536 | 249 | var li_count = false; | ||
537 | 250 | |||
538 | 251 | if(typeof Local_Install == "object") { | ||
539 | 252 | var li_gPrefBranch = aios_gPref.getBranch("local_install."); | ||
540 | 253 | li_count = li_gPrefBranch.getBoolPref("showManagerTotals"); | ||
541 | 254 | if(li_count) return false; | ||
542 | 255 | else Local_Install.setWindowTitle = function(){}; | ||
543 | 256 | } | ||
544 | 257 | |||
545 | 258 | // bisherigen Titel feststellen | ||
546 | 259 | var newTitle; | ||
547 | 260 | var origTitle = aios_WIN.document.getElementById(aios_sidebarItem).getAttribute('label'); | ||
548 | 261 | |||
549 | 262 | if(document.getElementById("viewGroup")) { | ||
550 | 263 | var viewTitle = document.getElementById("viewGroup").selectedItem.getAttribute('label'); | ||
551 | 264 | origTitle = origTitle + " - " + viewTitle; | ||
552 | 265 | } | ||
553 | 266 | |||
554 | 267 | // Elemente zaehlen | ||
555 | 268 | var whichNode; | ||
556 | 269 | if(aios_mode == "downloads") whichNode = "download"; | ||
557 | 270 | if(aios_mode == "addons" || aios_appVersion.indexOf('3.0') == 0) whichNode = "richlistitem"; | ||
558 | 271 | |||
559 | 272 | var exts = aios_filter(aios_boxElem.childNodes, function(c){ return c.nodeName == whichNode }); | ||
560 | 273 | |||
561 | 274 | var str_count = ""; | ||
562 | 275 | |||
563 | 276 | // DOWNLOADS | ||
564 | 277 | if(aios_mode == "downloads") { | ||
565 | 278 | var list_downloading = 0; | ||
566 | 279 | var list_done = 0; | ||
567 | 280 | var list_failed = 0; | ||
568 | 281 | |||
569 | 282 | for(var i = 0; i < exts.length; i++) { | ||
570 | 283 | var state = exts[i].getAttribute('state'); | ||
571 | 284 | |||
572 | 285 | // downloading => starting + downloading + paused + downloading | ||
573 | 286 | if(state == "-1" || state == "0" || state == "4" || state == "5") list_downloading++; | ||
574 | 287 | |||
575 | 288 | // done => done | ||
576 | 289 | if(state == "1") list_done++; | ||
577 | 290 | |||
578 | 291 | // failed => failed + canceled | ||
579 | 292 | if(state == "2" || state == "3") list_failed++; | ||
580 | 293 | } | ||
581 | 294 | |||
582 | 295 | str_count = list_done; | ||
583 | 296 | if(list_downloading > 0 || list_failed > 0) str_count = str_count + "/" + list_downloading; | ||
584 | 297 | if(list_failed > 0) str_count = str_count + "/" + list_failed; | ||
585 | 298 | } | ||
586 | 299 | // ADD-ONS | ||
587 | 300 | else { | ||
588 | 301 | var list_enabled = 0; | ||
589 | 302 | var list_disabled = 0; | ||
590 | 303 | |||
591 | 304 | for(i = 0; i < exts.length; i++) { | ||
592 | 305 | if(exts[i].getAttribute('hidden') != "true") { | ||
593 | 306 | if(exts[i].getAttribute('isDisabled') == "true") list_disabled++; | ||
594 | 307 | else list_enabled++; | ||
595 | 308 | } | ||
596 | 309 | } | ||
597 | 310 | |||
598 | 311 | str_count = list_enabled; | ||
599 | 312 | if(list_disabled > 0) str_count = str_count + "/" + list_disabled; | ||
600 | 313 | } | ||
601 | 314 | |||
602 | 315 | //return str_count; | ||
603 | 316 | |||
604 | 317 | newTitle = origTitle + " [" + str_count + "]"; | ||
605 | 318 | window.setTimeout("aios_countList()", 100); | ||
606 | 319 | |||
607 | 320 | // Titel und Label setzen | ||
608 | 321 | document.title = newTitle; | ||
609 | 322 | |||
610 | 323 | if(!top.document.getElementById('sidebar-title')) return false; | ||
611 | 324 | top.document.getElementById('sidebar-title').setAttribute("value", newTitle); | ||
612 | 325 | |||
613 | 326 | return true; | ||
614 | 327 | } | ||
615 | 328 | |||
616 | 329 | |||
617 | 330 | /* | ||
618 | 331 | Original-Code by Caio Chassot | ||
619 | 332 | Slim_Extension_List_0.1 | ||
620 | 333 | http://v2studio.com/k/moz/ | ||
621 | 334 | |||
622 | 335 | => Aufruf durch aios_initExtThemesDwnl()/ | ||
623 | 336 | */ | ||
624 | 337 | function aios_sortExtensions() { | ||
625 | 338 | var whichNode = "extension"; | ||
626 | 339 | var sortBy = "name"; | ||
627 | 340 | |||
628 | 341 | if(aios_mode == "downloads") { | ||
629 | 342 | whichNode = "download"; | ||
630 | 343 | sortBy = "target"; | ||
631 | 344 | } | ||
632 | 345 | |||
633 | 346 | var exts = aios_filter(aios_boxElem.childNodes, function(c){ return c.nodeName == whichNode }); | ||
634 | 347 | |||
635 | 348 | exts.sort(function(a, b){ | ||
636 | 349 | var an = a.getAttribute(sortBy).toLowerCase(); | ||
637 | 350 | var bn = b.getAttribute(sortBy).toLowerCase(); | ||
638 | 351 | return an < bn ? -1 : an > bn ? 1 : 0; | ||
639 | 352 | }); | ||
640 | 353 | |||
641 | 354 | aios_map(exts, function(e) { aios_boxElem.appendChild(e) }); | ||
642 | 355 | |||
643 | 356 | //window.setTimeout("aios_sortExtensions()", 500); | ||
644 | 357 | } | ||
645 | 358 | |||
646 | 359 | |||
647 | 360 | function aios_map(l,f) { | ||
648 | 361 | var r = []; | ||
649 | 362 | if(!f) f = function(v){return v}; | ||
650 | 363 | for(var i=0; i<l.length; i++) r.push(f(l[i])); | ||
651 | 364 | return r; | ||
652 | 365 | } | ||
653 | 366 | |||
654 | 367 | |||
655 | 368 | function aios_filter(l,f) { | ||
656 | 369 | var r = []; | ||
657 | 370 | if (!f) f = function(v){return v}; | ||
658 | 371 | for (var i=0; i<l.length; i++) if (f(l[i])) r.push(l[i]); | ||
659 | 372 | return r; | ||
660 | 373 | } | ||
661 | 374 | |||
662 | 375 | |||
663 | 376 | |||
664 | 377 | /* | ||
665 | 378 | zeigt/versteckt Links im Extras-Menü der Add-ons je nach Konfiguration | ||
666 | 379 | => Aufruf durch <menupopup> bei onpopupshowing | ||
667 | 380 | */ | ||
668 | 381 | var theLinks; // wird auch für <alle herunterladen> gebraucht | ||
669 | 382 | function aios_enableLinks(aPopup) { | ||
670 | 383 | if(document.getElementById("restartAppButton")) { | ||
671 | 384 | var mitem_restart = document.getElementById("menuitem_restart"); | ||
672 | 385 | mitem_restart.label = document.getElementById("restartAppButton").label; | ||
673 | 386 | mitem_restart.tooltiptext = document.getElementById("restartAppButton").tooltiptext; | ||
674 | 387 | } | ||
675 | 388 | |||
676 | 389 | // überhaupt Links anzeigen? | ||
677 | 390 | try { | ||
678 | 391 | var enable_links = aios_gPrefBranch.getBoolPref(aios_prefstring + ".link"); | ||
679 | 392 | var custom_links = aios_gPrefBranch.getCharPref(aios_prefstring + ".custom"); | ||
680 | 393 | } | ||
681 | 394 | catch(e) { return false; } | ||
682 | 395 | |||
683 | 396 | // vorkonfigurierte Links | ||
684 | 397 | var defLinks; | ||
685 | 398 | var strings = document.getElementById("aiosLibProp"); | ||
686 | 399 | defLinks = strings.getString("addons.def.links"); | ||
687 | 400 | |||
688 | 401 | // vorkonfigurierte oder benutzerdefinierte Links verwenden | ||
689 | 402 | var tmpLinks = (!custom_links || defLinks == custom_links) ? defLinks : custom_links; | ||
690 | 403 | theLinks = tmpLinks.split(","); | ||
691 | 404 | |||
692 | 405 | for(var x = 0; x < theLinks.length; x++) { | ||
693 | 406 | theLinks[x] = theLinks[x].replace(/\s*/, ""); | ||
694 | 407 | } | ||
695 | 408 | |||
696 | 409 | // Links anzeigen | ||
697 | 410 | //for(var i = 0; i < links.length; i++) { | ||
698 | 411 | for(var i = 0; i < aPopup.childNodes.length; i++) { | ||
699 | 412 | var mitemID = aPopup.childNodes[i].id; | ||
700 | 413 | |||
701 | 414 | if(mitemID) { | ||
702 | 415 | // Aktivieren/Deaktivieren je nach Status verstecken/zeigen | ||
703 | 416 | var act = gExtensionsViewController.isCommandEnabled("cmd_reallyEnable"); | ||
704 | 417 | if(mitemID == "menuitem_enable") aPopup.childNodes[i].setAttribute('hidden', !act); | ||
705 | 418 | if(mitemID == "menuitem_disable") aPopup.childNodes[i].setAttribute('hidden', act); | ||
706 | 419 | |||
707 | 420 | // Download-Links aktivieren | ||
708 | 421 | mitemID = mitemID.replace(/-mitem/, ""); | ||
709 | 422 | |||
710 | 423 | if(aios_getBoolean(aPopup.childNodes[i], 'link')) { | ||
711 | 424 | aPopup.childNodes[i].setAttribute('hidden', true); | ||
712 | 425 | if(theLinks.indexOf(mitemID) >= 0 && enable_links) aPopup.childNodes[i].setAttribute('hidden', false); | ||
713 | 426 | } | ||
714 | 427 | } | ||
715 | 428 | } | ||
716 | 429 | |||
717 | 430 | // wenn keine Links angezeigt werden, oberster Menüpunkt (öffnet alle Links) und Separator verstecken | ||
718 | 431 | document.getElementById("links-mitem").setAttribute('hidden', !enable_links); | ||
719 | 432 | document.getElementById("link-separator").setAttribute('hidden', !enable_links); | ||
720 | 433 | |||
721 | 434 | return true; | ||
722 | 435 | } | ||
723 | 436 | |||
724 | 437 | |||
725 | 438 | /* | ||
726 | 439 | öffnet alle Links im Extras-Menü der Add-ons | ||
727 | 440 | => Aufruf durch <menuitem> bei oncommand | ||
728 | 441 | => benötigt var theLinks => erzeugt in aios_enableLinks() | ||
729 | 442 | */ | ||
730 | 443 | function aios_openLinks(aMode) { | ||
731 | 444 | // command ausführen, wenn item nicht versteckt ist | ||
732 | 445 | for(var i = 0; i < theLinks.length; i++) { | ||
733 | 446 | var elem = document.getElementById(theLinks[i] + "-mitem"); | ||
734 | 447 | if(!elem.hidden) eval(elem.getAttribute('oncommand')); | ||
735 | 448 | } | ||
736 | 449 | } | ||
737 | 450 | |||
738 | 451 | |||
739 | 452 | /* | ||
740 | 453 | aktiviert/deaktiviert die Einträge im Tools-Menu des Download-Managers | ||
741 | 454 | => Aufruf durch das <menupopup> bei onpopupshowing | ||
742 | 455 | */ | ||
743 | 456 | function aios_checkToolsMenu(aPopup) { | ||
744 | 457 | |||
745 | 458 | var dis = (gDownloadsView.selectedItem == null || gDownloadsView.selectedItem.getAttribute("state") == "") ? true : false; | ||
746 | 459 | |||
747 | 460 | if(typeof gDownloadsView.selectedItem != "object") { | ||
748 | 461 | dis = (gDownloadsView.selected == null || gDownloadsView.selected.getAttribute("state") == "") ? true : false; | ||
749 | 462 | } | ||
750 | 463 | |||
751 | 464 | var folderLabel = document.getElementById('saveToFolder').getAttribute('label'); | ||
752 | 465 | var folderImage = document.getElementById('saveToFolder').image; | ||
753 | 466 | |||
754 | 467 | for(var i = 0; i < aPopup.childNodes.length; i++) { | ||
755 | 468 | var mitemID = aPopup.childNodes[i].id; | ||
756 | 469 | |||
757 | 470 | if(mitemID == 'menuitem_open') aPopup.childNodes[i].setAttribute('disabled', dis); | ||
758 | 471 | if(mitemID == 'menuitem_retry') aPopup.childNodes[i].setAttribute('disabled', dis); | ||
759 | 472 | if(mitemID == 'menuitem_show') aPopup.childNodes[i].setAttribute('disabled', dis); | ||
760 | 473 | if(mitemID == 'menuitem_remove') aPopup.childNodes[i].setAttribute('disabled', dis); | ||
761 | 474 | if(mitemID == 'menuitem_properties') aPopup.childNodes[i].setAttribute('disabled', dis); | ||
762 | 475 | |||
763 | 476 | if(mitemID == 'menuitem_Folder') { | ||
764 | 477 | aPopup.childNodes[i].setAttribute('label', folderLabel); | ||
765 | 478 | aPopup.childNodes[i].setAttribute('image', folderImage); | ||
766 | 479 | |||
767 | 480 | // Menuitem für "Default Download Folder" überhaupt sichtbar? | ||
768 | 481 | aPopup.childNodes[i].setAttribute('hidden', folderImage == ""); | ||
769 | 482 | } | ||
770 | 483 | } | ||
771 | 484 | } | ||
772 | 485 | |||
773 | 486 | |||
774 | 487 | /* | ||
775 | 488 | Fix für Clean-Button im Downloads-Panel von Fx 3 | ||
776 | 489 | */ | ||
777 | 490 | var loc = window.location.href; | ||
778 | 491 | if(loc.indexOf('downloads.xul') > 0 && aios_appVersion.indexOf('3.0') == 0) { | ||
779 | 492 | var cmd = Startup.toString(); | ||
780 | 493 | var newCmd = cmd.replace(/window\.arguments/, 'window.arguments && window.arguments'); | ||
781 | 494 | eval('Startup = ' + newCmd + ';'); | ||
782 | 495 | } | ||
783 | 496 | \ No newline at end of file | 0 | \ No newline at end of file |
784 | 497 | 1 | ||
785 | === removed file 'chrome/aios.jar!/content/etd_addons.xul' | |||
786 | --- chrome/aios.jar!/content/etd_addons.xul 2008-11-14 11:44:00 +0000 | |||
787 | +++ chrome/aios.jar!/content/etd_addons.xul 1970-01-01 00:00:00 +0000 | |||
788 | @@ -1,169 +0,0 @@ | |||
789 | 1 | <?xml version="1.0"?> | ||
790 | 2 | |||
791 | 3 | <!-- skin --> | ||
792 | 4 | <?xml-stylesheet href="chrome://aios/skin/addons.css"?> | ||
793 | 5 | |||
794 | 6 | <!-- locale --> | ||
795 | 7 | <!DOCTYPE overlay [ | ||
796 | 8 | <!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd"> %brandDTD; | ||
797 | 9 | <!ENTITY % extensionsDTD SYSTEM "chrome://mozapps/locale/extensions/extensions.dtd"> %extensionsDTD; | ||
798 | 10 | |||
799 | 11 | <!ENTITY % aiosExtrasDTD SYSTEM "chrome://aios/content/aios.dtd"> %aiosExtrasDTD; | ||
800 | 12 | <!ENTITY % libDTD SYSTEM "chrome://aios/locale/lib.dtd"> %libDTD; | ||
801 | 13 | ]> | ||
802 | 14 | |||
803 | 15 | <overlay id="aios_ExtensionsOverlay" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> | ||
804 | 16 | |||
805 | 17 | <script type="application/x-javascript" src="chrome://aios/content/_common.js" /> | ||
806 | 18 | |||
807 | 19 | <script><![CDATA[ | ||
808 | 20 | /* | ||
809 | 21 | if(!top.document.getElementById('sidebar') && top.toString() != "[object Window]") { | ||
810 | 22 | var enable_sidebar = aios_gPrefBranch.getBoolPref("em.sidebar"); | ||
811 | 23 | |||
812 | 24 | if(enable_sidebar && !aios_WIN.aiosIsWindow) { | ||
813 | 25 | aios_WIN.toggleSidebar('viewAddonsSidebar', true); | ||
814 | 26 | window.close(); | ||
815 | 27 | } | ||
816 | 28 | } | ||
817 | 29 | */ | ||
818 | 30 | ]]></script> | ||
819 | 31 | |||
820 | 32 | <script type="application/x-javascript" src="chrome://aios/content/etd.js" /> | ||
821 | 33 | |||
822 | 34 | |||
823 | 35 | <stringbundleset id="extensionsSet"> | ||
824 | 36 | <stringbundle id="aiosLibProp" src="chrome://aios/locale/lib.properties" /> | ||
825 | 37 | </stringbundleset> | ||
826 | 38 | |||
827 | 39 | |||
828 | 40 | <radiogroup id="viewGroup" | ||
829 | 41 | oncommand="if(!document.getElementById('installs-view').selected) { if(document.getElementById('restartAppButton')) document.getElementById('restartAppButton').hidden=true; }"> | ||
830 | 42 | |||
831 | 43 | <radio id="extensions-view" onclick="aios_setTitle(this);" /> | ||
832 | 44 | <radio id="themes-view" onclick="aios_setTitle(this);" /> | ||
833 | 45 | <radio id="locales-view" onclick="aios_setTitle(this);" /> | ||
834 | 46 | <radio id="plugins-view" onclick="aios_setTitle(this);" /> | ||
835 | 47 | <radio id="updates-view" onclick="aios_setTitle(this);" /> | ||
836 | 48 | <radio id="installs-view" onclick="aios_setTitle(this);" /> | ||
837 | 49 | </radiogroup> | ||
838 | 50 | |||
839 | 51 | |||
840 | 52 | <hbox id="commandBarBottom"> | ||
841 | 53 | |||
842 | 54 | <spacer id="aios-toolsSpacer" flex="1" /> | ||
843 | 55 | |||
844 | 56 | <button id="aios-toolsButton" type="menu" label="&menu.tools.label;" tooltiptext="&menu.tools.tooltip;"> | ||
845 | 57 | |||
846 | 58 | <menupopup id="aios-toolsPopup" onpopupshowing="aios_enableLinks(this);"> | ||
847 | 59 | |||
848 | 60 | <menuitem id="menuitem_install" label="&cmd.installLocalFile.label;" tooltiptext="&cmd.installFileAddon.tooltip;" | ||
849 | 61 | command="cmd_installFile" class="menuitem-iconic" /> | ||
850 | 62 | |||
851 | 63 | <menuitem id="menuitem_updateall" label="&cmd.checkUpdatesAll.label;" tooltiptext="&cmd.checkUpdatesAllAddon.tooltip;" | ||
852 | 64 | command="cmd_checkUpdatesAll" class="menuitem-iconic" /> | ||
853 | 65 | <!-- Firefox 2.x | ||
854 | 66 | |||
855 | 67 | <menuitem id="menuitem_restart" label="&cmd.restartApp.label;" tooltiptext="&cmd.restartApp.tooltip;" | ||
856 | 68 | oncommand="restartApp();" class="menuitem-iconic" /> | ||
857 | 69 | --> | ||
858 | 70 | <!-- Firefox 3.x | ||
859 | 71 | <menuitem id="menuitem_restart" label="&cmd.restartApp2.label;" tooltiptext="&cmd.restartApp2.tooltip;" | ||
860 | 72 | oncommand="restartApp();" class="menuitem-iconic" /> | ||
861 | 73 | --> | ||
862 | 74 | <menuitem id="menuitem_restart" label="Restart Firefox" tooltiptext="Restart Firefox to apply changes" | ||
863 | 75 | oncommand="restartApp();" class="menuitem-iconic" /> | ||
864 | 76 | |||
865 | 77 | <menuseparator /> | ||
866 | 78 | |||
867 | 79 | <menuitem id="menuitem_options" label="&cmd.options.label;" tooltiptext="&cmd.options.label;" default="true" | ||
868 | 80 | command="cmd_options" accesskey="&cmd.options.accesskey;" class="menuitem-iconic" /> | ||
869 | 81 | |||
870 | 82 | <menuitem id="menuitem_homepage" label="&cmd.homepage.label;" tooltiptext="&cmd.homepage.label;" | ||
871 | 83 | command="cmd_homepage" accesskey="&cmd.homepage.accesskey;" class="menuitem-iconic" /> | ||
872 | 84 | |||
873 | 85 | <menuitem id="menuitem_about" label="&cmd.about2.label;" tooltiptext="&cmd.about2.label;" | ||
874 | 86 | command="cmd_about" accesskey="&cmd.about.accesskey;" class="menuitem-iconic" /> | ||
875 | 87 | |||
876 | 88 | <menuseparator /> | ||
877 | 89 | |||
878 | 90 | <menuitem id="menuitem_enable" label="&cmd.enable.label;" tooltiptext="&cmd.enable.label;" | ||
879 | 91 | command="cmd_enable" accesskey="&cmd.enable.accesskey;" class="menuitem-iconic" /> | ||
880 | 92 | |||
881 | 93 | <menuitem id="menuitem_disable" label="&cmd.disable.label;" tooltiptext="&cmd.disable.label;" | ||
882 | 94 | command="cmd_disable" accesskey="&cmd.disable.accesskey;" class="menuitem-iconic" /> | ||
883 | 95 | |||
884 | 96 | <menuitem id="menuitem_update" label="&cmd.checkUpdate.label;" tooltiptext="&cmd.checkUpdate.label;" | ||
885 | 97 | command="cmd_checkUpdate" accesskey="&cmd.checkUpdate.accesskey;" class="menuitem-iconic" /> | ||
886 | 98 | |||
887 | 99 | <menuitem id="menuitem_uninstall" label="&cmd.uninstall.label;" tooltiptext="&cmd.uninstall.label;" | ||
888 | 100 | command="cmd_uninstall" accesskey="&cmd.uninstall2.accesskey;" class="menuitem-iconic" /> | ||
889 | 101 | |||
890 | 102 | <menuseparator id="link-separator" /> | ||
891 | 103 | |||
892 | 104 | <menuitem id="links-mitem" label="&addons.dwnl.label;" tooltiptext="&addons.dwnl.label;" | ||
893 | 105 | oncommand="aios_openLinks('em');" class="menuitem-iconic link" /> | ||
894 | 106 | |||
895 | 107 | <menuitem id="en-US1-mitem" label=" - &menu.ext.en-US1.label;" tooltiptext="&menu.ext.en-US1.label;" | ||
896 | 108 | oncommand="aios_addTab('&menu.ext.en-US1.link;');" class="menuitem-iconic link" hidden="true" link="true" /> | ||
897 | 109 | |||
898 | 110 | <menuitem id="en-US2-mitem" label=" - &menu.ext.en-US2.label;" tooltiptext="&menu.ext.en-US2.label;" | ||
899 | 111 | oncommand="aios_addTab('&menu.ext.en-US2.link;');" class="menuitem-iconic link" hidden="true" link="true" /> | ||
900 | 112 | |||
901 | 113 | <menuitem id="cs-CZ-mitem" label=" - &menu.ext.cs-CZ.label;" tooltiptext="&menu.ext.cs-CZ.label;" | ||
902 | 114 | oncommand="aios_addTab('&menu.ext.cs-CZ.link;');" class="menuitem-iconic link" hidden="true" link="true" /> | ||
903 | 115 | |||
904 | 116 | <menuitem id="de-DE-mitem" label=" - &menu.ext.de-DE.label;" tooltiptext="&menu.ext.de-DE.label;" | ||
905 | 117 | oncommand="aios_addTab('&menu.ext.de-DE.link;');" class="menuitem-iconic link" hidden="true" link="true" /> | ||
906 | 118 | |||
907 | 119 | <menuitem id="es-ES-mitem" label=" - &menu.ext.es-ES.label;" tooltiptext="&menu.ext.es-ES.label;" | ||
908 | 120 | oncommand="aios_addTab('&menu.ext.es-ES.link;');" class="menuitem-iconic link" hidden="true" link="true" /> | ||
909 | 121 | |||
910 | 122 | <menuitem id="fr-FR-mitem" label=" - &menu.ext.fr-FR.label;" tooltiptext="&menu.ext.fr-FR.label;" | ||
911 | 123 | oncommand="aios_addTab('&menu.ext.fr-FR.link;');" class="menuitem-iconic link" hidden="true" link="true" /> | ||
912 | 124 | |||
913 | 125 | <menuitem id="it-IT-mitem" label=" - &menu.ext.it-IT.label;" tooltiptext="&menu.ext.it-IT.label;" | ||
914 | 126 | oncommand="aios_addTab('&menu.ext.it-IT.link;');" class="menuitem-iconic link" hidden="true" link="true" /> | ||
915 | 127 | |||
916 | 128 | <menuitem id="ja-JP-mitem" label=" - &menu.ext.ja-JP.label;" tooltiptext="&menu.ext.ja-JP.label;" | ||
917 | 129 | oncommand="aios_addTab('&menu.ext.ja-JP.link;');" class="menuitem-iconic link" hidden="true" link="true" /> | ||
918 | 130 | |||
919 | 131 | <menuitem id="ko-KR-mitem" label=" - &menu.ext.ko-KR.label;" tooltiptext="&menu.ext.ko-KR.label;" | ||
920 | 132 | oncommand="aios_addTab('&menu.ext.ko-KR.link;');" class="menuitem-iconic link" hidden="true" link="true" /> | ||
921 | 133 | |||
922 | 134 | <menuitem id="nl-NL-mitem" label=" - &menu.ext.nl-NL.label;" tooltiptext="&menu.ext.nl-NL.label;" | ||
923 | 135 | oncommand="aios_addTab('&menu.ext.nl-NL.link;');" class="menuitem-iconic link" hidden="true" link="true" /> | ||
924 | 136 | |||
925 | 137 | <menuitem id="pl-PL-mitem" label=" - &menu.ext.pl-PL.label;" tooltiptext="&menu.ext.pl-PL.label;" | ||
926 | 138 | oncommand="aios_addTab('&menu.ext.pl-PL.link;');" class="menuitem-iconic link" hidden="true" link="true" /> | ||
927 | 139 | |||
928 | 140 | <menuitem id="ru-RU-mitem" label=" - &menu.ext.ru-RU.label;" tooltiptext="&menu.ext.ru-RU.label;" | ||
929 | 141 | oncommand="aios_addTab('&menu.ext.ru-RU.link;');" class="menuitem-iconic link" hidden="true" link="true" /> | ||
930 | 142 | |||
931 | 143 | <menuitem id="sk-SK-mitem" label=" - &menu.ext.sk-SK.label;" tooltiptext="&menu.ext.sk-SK.label;" | ||
932 | 144 | oncommand="aios_addTab('&menu.ext.sk-SK.link;');" class="menuitem-iconic link" hidden="true" link="true" /> | ||
933 | 145 | |||
934 | 146 | <menuitem id="zh-TW-mitem" label=" - &menu.ext.zh-TW.label;" tooltiptext="&menu.ext.zh-TW.label;" | ||
935 | 147 | oncommand="aios_addTab('&menu.ext.zh-TW.link;');" class="menuitem-iconic link" hidden="true" link="true" /> | ||
936 | 148 | |||
937 | 149 | </menupopup> | ||
938 | 150 | |||
939 | 151 | </button> | ||
940 | 152 | </hbox> | ||
941 | 153 | |||
942 | 154 | <script><![CDATA[ | ||
943 | 155 | |||
944 | 156 | try { | ||
945 | 157 | var enable_layout = aios_gPrefBranch.getBoolPref("em.layout"); | ||
946 | 158 | |||
947 | 159 | // Theme-Vorschau unter der Liste anzeigen | ||
948 | 160 | if(enable_layout && document.getElementById("extensionsView") && parent.document.getElementById("sidebar-box")) | ||
949 | 161 | document.getElementById("extensionsView").parentNode.orient = "vertical"; | ||
950 | 162 | } | ||
951 | 163 | catch(e) { } | ||
952 | 164 | |||
953 | 165 | window.addEventListener("load", function(e) { aios_init(); }, false); | ||
954 | 166 | |||
955 | 167 | ]]></script> | ||
956 | 168 | |||
957 | 169 | </overlay> | ||
958 | 170 | \ No newline at end of file | 0 | \ No newline at end of file |
959 | 171 | 1 | ||
960 | === removed file 'chrome/aios.jar!/content/etd_downloads.xul' | |||
961 | --- chrome/aios.jar!/content/etd_downloads.xul 2008-11-14 11:44:00 +0000 | |||
962 | +++ chrome/aios.jar!/content/etd_downloads.xul 1970-01-01 00:00:00 +0000 | |||
963 | @@ -1,125 +0,0 @@ | |||
964 | 1 | <?xml version="1.0"?> | ||
965 | 2 | |||
966 | 3 | <!-- skin --> | ||
967 | 4 | <?xml-stylesheet href="chrome://aios/skin/downloads.css"?> | ||
968 | 5 | |||
969 | 6 | <!-- locale --> | ||
970 | 7 | <!DOCTYPE overlay [ | ||
971 | 8 | <!ENTITY % downloadManagerDTD SYSTEM "chrome://mozapps/locale/downloads/downloads.dtd"> %downloadManagerDTD; | ||
972 | 9 | |||
973 | 10 | <!ENTITY % libDTD SYSTEM "chrome://aios/locale/lib.dtd"> %libDTD; | ||
974 | 11 | ]> | ||
975 | 12 | |||
976 | 13 | <overlay id="aios_DownloadsOverlay" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> | ||
977 | 14 | |||
978 | 15 | <script type="application/x-javascript" src="chrome://aios/content/_common.js" /> | ||
979 | 16 | |||
980 | 17 | <script><![CDATA[ | ||
981 | 18 | /* | ||
982 | 19 | // Download-Fenster hier schon schließen => sonst geht die Fortschrittsanzeige in der Sidebar nicht | ||
983 | 20 | // => !top.document.getElementById('sidebar') => ich bin keine Sidebar | ||
984 | 21 | // => top.toString() != "[object Window]" => ich bin kein Tab | ||
985 | 22 | if(!top.document.getElementById('sidebar') && top.toString() != "[object Window]") { | ||
986 | 23 | var enable_sidebar = aios_gPrefBranch.getBoolPref("dm.sidebar"); | ||
987 | 24 | |||
988 | 25 | // enable_sidebar => Manager soll in der Sidebar geöffnet werden | ||
989 | 26 | // !opener (!aios_WIN.aiosIsWindow) => nicht explizit im Fenster (z.B. durch Shift+Linksklick auf Toolbarbutton) | ||
990 | 27 | // !aios_WIN.aiosIsWindow weil sonst das Fenster nicht geschlossen würde, | ||
991 | 28 | // wenn es durch Klick auf das "Downloads-Fertig-Popup" geöffnet wurde | ||
992 | 29 | |||
993 | 30 | //if(enable_sidebar && !opener) { | ||
994 | 31 | if(enable_sidebar && !aios_WIN.aiosIsWindow) { | ||
995 | 32 | // wenn die Sidebar nicht schon geöffnet ist (z.B. Aufruf durch MR Tech Local Install) | ||
996 | 33 | if(!aios_WIN.aios_getBoolean('viewDownloadsSidebar', 'checked')) aios_WIN.toggleSidebar('viewDownloadsSidebar', true); | ||
997 | 34 | window.close(); | ||
998 | 35 | } | ||
999 | 36 | } | ||
1000 | 37 | */ | ||
1001 | 38 | //if(top.document.getElementById('sidebar')) window.setTimeout(aios_updateListener, 100); | ||
1002 | 39 | window.setInterval("aios_updateListener()", 1000); | ||
1003 | 40 | |||
1004 | 41 | /*function aios_updateListener() { | ||
1005 | 42 | //while(gDownloadManager.listener == null) { | ||
1006 | 43 | if(typeof gDownloadManager == "object") { | ||
1007 | 44 | if(gDownloadManager.listener == null) return false; | ||
1008 | 45 | // The DownloadProgressListener (DownloadProgressListener.js) handles progress | ||
1009 | 46 | // notifications. | ||
1010 | 47 | var downloadStrings = document.getElementById("downloadStrings"); | ||
1011 | 48 | gDownloadListener = new DownloadProgressListener(document, downloadStrings); | ||
1012 | 49 | gDownloadManager.listener = gDownloadListener; | ||
1013 | 50 | } | ||
1014 | 51 | //} | ||
1015 | 52 | return true; | ||
1016 | 53 | }*/ | ||
1017 | 54 | |||
1018 | 55 | |||
1019 | 56 | function aios_updateListener() { | ||
1020 | 57 | //while(gDownloadManager.listener == null) { | ||
1021 | 58 | if(gDownloadManager.listener == null && aios_appVersion.indexOf('3.0') != 0) { | ||
1022 | 59 | // The DownloadProgressListener (DownloadProgressListener.js) handles progress | ||
1023 | 60 | // notifications. | ||
1024 | 61 | var downloadStrings = document.getElementById("downloadStrings"); | ||
1025 | 62 | gDownloadListener = new DownloadProgressListener(document, downloadStrings); | ||
1026 | 63 | gDownloadManager.listener = gDownloadListener; | ||
1027 | 64 | } | ||
1028 | 65 | //} | ||
1029 | 66 | } | ||
1030 | 67 | |||
1031 | 68 | ]]></script> | ||
1032 | 69 | |||
1033 | 70 | <script type="application/x-javascript" src="chrome://aios/content/etd.js" /> | ||
1034 | 71 | |||
1035 | 72 | |||
1036 | 73 | <hbox id="autodownloadInfo"> | ||
1037 | 74 | <label id="downloadFolder" position="1" hidden="true">&dwnl.saved.label;</label> | ||
1038 | 75 | </hbox> | ||
1039 | 76 | |||
1040 | 77 | <hbox id="commandBar"> | ||
1041 | 78 | |||
1042 | 79 | <button id="aios-toolsButton" type="menu" label="&menu.tools.label;" tooltiptext="&menu.tools.tooltip;"> | ||
1043 | 80 | |||
1044 | 81 | <menupopup id="aios-toolsPopup" onpopupshowing="aios_checkToolsMenu(this);"> | ||
1045 | 82 | |||
1046 | 83 | <menuitem id="menuitem_open" oncommand="fireEventForElement(gDownloadsView.selectedItem, 'open');" | ||
1047 | 84 | label="&cmd.open.label;" tooltiptext="&cmd.open.label;" accesskey="&cmd.open.accesskey;" default="true" | ||
1048 | 85 | class="menuitem-iconic" /> | ||
1049 | 86 | |||
1050 | 87 | <menuitem id="menuitem_retry" oncommand="fireEventForElement(gDownloadsView.selectedItem, 'retry');" | ||
1051 | 88 | label="&cmd.retry.label;" tooltiptext="&cmd.retry.label;" accesskey="&cmd.retry.accesskey;" | ||
1052 | 89 | class="menuitem-iconic" /> | ||
1053 | 90 | |||
1054 | 91 | <menuitem id="menuitem_show" oncommand="fireEventForElement(gDownloadsView.selectedItem, 'show');" | ||
1055 | 92 | label="&cmd.show.label;" tooltiptext="&cmd.show.label;" accesskey="&cmd.show.accesskey;" | ||
1056 | 93 | class="menuitem-iconic" /> | ||
1057 | 94 | <!-- | ||
1058 | 95 | <menuitem id="menuitem_remove" oncommand="fireEventForElement(gDownloadsView.selectedItem, 'remove');" | ||
1059 | 96 | label="&cmd.remove.label;" tooltiptext="&cmd.remove.label;" accesskey="&cmd.remove.accesskey;" | ||
1060 | 97 | class="menuitem-iconic" /> | ||
1061 | 98 | |||
1062 | 99 | <menuitem id="menuitem_properties" oncommand="fireEventForElement(gDownloadsView.selectedItem, 'properties');" | ||
1063 | 100 | label="&cmd.properties.label;" tooltiptext="&cmd.properties.label;" accesskey="&cmd.properties.accesskey;" | ||
1064 | 101 | class="menuitem-iconic" /> | ||
1065 | 102 | --> | ||
1066 | 103 | <menuitem id="menuitem_properties" oncommand="fireEventForElement(gDownloadsView.selectedItem, 'properties');" | ||
1067 | 104 | label="&dwnl.props.label;" tooltiptext="&dwnl.props.label;" class="menuitem-iconic" /> | ||
1068 | 105 | |||
1069 | 106 | <menuseparator /> | ||
1070 | 107 | |||
1071 | 108 | <menuitem id="menuitem_Folder" oncommand="onDownloadShowFolder();" | ||
1072 | 109 | tooltiptext="&showFolder.label;" class="menuitem-iconic" /> | ||
1073 | 110 | <!-- | ||
1074 | 111 | <menuitem id="menuitem_cleanUp" command="cmd_cleanUp" accesskey="&cmd.cleanUp.accesskey;" | ||
1075 | 112 | label="&cmd.cleanUp.label;" tooltiptext="&cmd.cleanUp.tooltip;" class="menuitem-iconic" /> | ||
1076 | 113 | --> | ||
1077 | 114 | </menupopup> | ||
1078 | 115 | </button> | ||
1079 | 116 | |||
1080 | 117 | </hbox> | ||
1081 | 118 | |||
1082 | 119 | <script><![CDATA[ | ||
1083 | 120 | |||
1084 | 121 | if(typeof aios_init == "function") window.addEventListener("load", function(e) { aios_init(); }, false); | ||
1085 | 122 | |||
1086 | 123 | ]]></script> | ||
1087 | 124 | |||
1088 | 125 | </overlay> | ||
1089 | 126 | \ No newline at end of file | 0 | \ No newline at end of file |
1090 | 127 | 1 | ||
1091 | === removed directory 'chrome/aios.jar!/content/pageinfo' | |||
1092 | === removed file 'chrome/aios.jar!/content/pageinfo/pageInfo.xul' | |||
1093 | --- chrome/aios.jar!/content/pageinfo/pageInfo.xul 2008-11-14 11:44:00 +0000 | |||
1094 | +++ chrome/aios.jar!/content/pageinfo/pageInfo.xul 1970-01-01 00:00:00 +0000 | |||
1095 | @@ -1,53 +0,0 @@ | |||
1096 | 1 | <?xml version="1.0"?> | ||
1097 | 2 | |||
1098 | 3 | <!-- skin --> | ||
1099 | 4 | <?xml-stylesheet href="chrome://aios/skin/pageinfo.css"?> | ||
1100 | 5 | |||
1101 | 6 | <!-- locale --> | ||
1102 | 7 | <!DOCTYPE overlay [ | ||
1103 | 8 | <!ENTITY % aiosDTD SYSTEM "chrome://aios/locale/lib.dtd"> %aiosDTD; | ||
1104 | 9 | ]> | ||
1105 | 10 | |||
1106 | 11 | <overlay id="pageInfoOverlay" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> | ||
1107 | 12 | |||
1108 | 13 | <!-- scripts --> | ||
1109 | 14 | <script type="application/x-javascript" src="chrome://aios/content/_common.js" /> | ||
1110 | 15 | <script type="application/x-javascript" src="chrome://aios/content/pageinfo/pageinfo.js" /> | ||
1111 | 16 | |||
1112 | 17 | |||
1113 | 18 | <window id="main-window" persist="screenX screenY width height sizemode seltab"> | ||
1114 | 19 | |||
1115 | 20 | <popupset> | ||
1116 | 21 | <popup id="tabs-context" onpopupshowing="aios_getTabs(this);" /> | ||
1117 | 22 | </popupset> | ||
1118 | 23 | |||
1119 | 24 | <hbox id="commandBar" position="1" hidden="true"> | ||
1120 | 25 | |||
1121 | 26 | <toolbarbutton id="reload-button" class="toolbarbutton-1" type="menu-button" | ||
1122 | 27 | oncommand="location.reload();" | ||
1123 | 28 | label="&refresh.label;" tooltiptext="&refresh.tooltip;"> | ||
1124 | 29 | |||
1125 | 30 | <menupopup> | ||
1126 | 31 | <menuitem id="autoReload-mitem" type="checkbox" checked="true" autocheck="false" persist="checked" | ||
1127 | 32 | label="&refresh.auto.label;" tooltiptext="&refresh.auto.tooltip;" | ||
1128 | 33 | oncommand="aios_toggleElement(this); aios_onLocationChange(); event.stopPropagation();" /> | ||
1129 | 34 | </menupopup> | ||
1130 | 35 | |||
1131 | 36 | </toolbarbutton> | ||
1132 | 37 | |||
1133 | 38 | <toolbarseparator id="toolbar-sep" /> | ||
1134 | 39 | |||
1135 | 40 | <toolbarbutton id="tab-back" oncommand="aios_goTab('back');" context="tabs-context" /> | ||
1136 | 41 | |||
1137 | 42 | <toolbarbutton id="tab-forward" class="toolbarbutton-1" type="menu-button" context="tabs-context" | ||
1138 | 43 | oncommand="aios_goTab('forward');"> | ||
1139 | 44 | |||
1140 | 45 | <menupopup onpopupshowing="aios_getTabs(this);" /> | ||
1141 | 46 | |||
1142 | 47 | </toolbarbutton> | ||
1143 | 48 | |||
1144 | 49 | </hbox> | ||
1145 | 50 | |||
1146 | 51 | </window> | ||
1147 | 52 | |||
1148 | 53 | </overlay> | ||
1149 | 54 | \ No newline at end of file | 0 | \ No newline at end of file |
1150 | 55 | 1 | ||
1151 | === removed file 'chrome/aios.jar!/content/pageinfo/pageInfo_fx3.xul' | |||
1152 | --- chrome/aios.jar!/content/pageinfo/pageInfo_fx3.xul 2008-11-14 11:44:00 +0000 | |||
1153 | +++ chrome/aios.jar!/content/pageinfo/pageInfo_fx3.xul 1970-01-01 00:00:00 +0000 | |||
1154 | @@ -1,21 +0,0 @@ | |||
1155 | 1 | <?xml version="1.0"?> | ||
1156 | 2 | |||
1157 | 3 | <!-- skin --> | ||
1158 | 4 | <?xml-stylesheet href="chrome://aios/skin/pageinfo_fx3.css"?> | ||
1159 | 5 | |||
1160 | 6 | <!-- locale --> | ||
1161 | 7 | <!DOCTYPE overlay [ | ||
1162 | 8 | <!ENTITY % aiosDTD SYSTEM "chrome://aios/locale/lib.dtd"> %aiosDTD; | ||
1163 | 9 | ]> | ||
1164 | 10 | |||
1165 | 11 | <overlay id="pageInfoOverlay" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> | ||
1166 | 12 | |||
1167 | 13 | <!-- scripts --> | ||
1168 | 14 | <script type="application/x-javascript" src="chrome://aios/content/_common.js" /> | ||
1169 | 15 | <script type="application/x-javascript" src="chrome://aios/content/pageinfo/pageinfo_fx3.js" /> | ||
1170 | 16 | |||
1171 | 17 | <window id="main-window" persist="screenX screenY width height sizemode seltab" /> | ||
1172 | 18 | |||
1173 | 19 | <radiogroup id="viewGroup" onclick="aios_persistSelTab();" /> | ||
1174 | 20 | |||
1175 | 21 | </overlay> | ||
1176 | 22 | \ No newline at end of file | 0 | \ No newline at end of file |
1177 | 23 | 1 | ||
1178 | === removed file 'chrome/aios.jar!/content/pageinfo/pageinfo.js' | |||
1179 | --- chrome/aios.jar!/content/pageinfo/pageinfo.js 2008-11-14 11:44:00 +0000 | |||
1180 | +++ chrome/aios.jar!/content/pageinfo/pageinfo.js 1970-01-01 00:00:00 +0000 | |||
1181 | @@ -1,176 +0,0 @@ | |||
1182 | 1 | |||
1183 | 2 | window.addEventListener("unload", aios_persistSelTab, false); | ||
1184 | 3 | |||
1185 | 4 | // Listener für automatische Aktualisierung hinzufügen u. entfernen | ||
1186 | 5 | if(top.document.getElementById('sidebar-box')) { | ||
1187 | 6 | |||
1188 | 7 | window.addEventListener("load", function(e) { | ||
1189 | 8 | top.gBrowser.addProgressListener(aiosProgListener, Components.interfaces.nsIWebProgress.NOTIFY_STATE_DOCUMENT); | ||
1190 | 9 | }, false); | ||
1191 | 10 | |||
1192 | 11 | window.addEventListener("unload",function(e) { | ||
1193 | 12 | top.gBrowser.removeProgressListener(aiosProgListener); | ||
1194 | 13 | }, false); | ||
1195 | 14 | } | ||
1196 | 15 | |||
1197 | 16 | |||
1198 | 17 | // automatische Aktualisierung => Aufruf durch aiosProgListener (_common.js) | ||
1199 | 18 | function aios_onLocationChange() { | ||
1200 | 19 | if(aios_getBoolean('autoReload-mitem', 'checked')) { | ||
1201 | 20 | aios_persistSelTab(); | ||
1202 | 21 | location.reload(); | ||
1203 | 22 | } | ||
1204 | 23 | } | ||
1205 | 24 | |||
1206 | 25 | |||
1207 | 26 | function aios_onStateChange() { | ||
1208 | 27 | aios_onLocationChange(); | ||
1209 | 28 | } | ||
1210 | 29 | |||
1211 | 30 | |||
1212 | 31 | // letzten selektierten Tab merken | ||
1213 | 32 | function aios_persistSelTab() { | ||
1214 | 33 | document.getElementById('main-window').setAttribute("seltab", document.getElementById('tabbox').selectedIndex); | ||
1215 | 34 | } | ||
1216 | 35 | |||
1217 | 36 | |||
1218 | 37 | // Tab vor und zurück blättern | ||
1219 | 38 | function aios_goTab(mode) { | ||
1220 | 39 | var tabControl = document.getElementById("tabbox"); | ||
1221 | 40 | var tabCount = document.getElementById("tabs").childNodes.length; | ||
1222 | 41 | var tab = tabControl.selectedIndex; | ||
1223 | 42 | |||
1224 | 43 | switch(mode) { | ||
1225 | 44 | case "back": if(tab > 0) tabControl.selectedIndex = tab - 1; break; | ||
1226 | 45 | case "forward": if(tab < tabCount) tabControl.selectedIndex = tab + 1; break; | ||
1227 | 46 | } | ||
1228 | 47 | |||
1229 | 48 | tabControl.selectedTab.focus(); | ||
1230 | 49 | } | ||
1231 | 50 | |||
1232 | 51 | |||
1233 | 52 | // Tabs als menuitems in ein popup packen | ||
1234 | 53 | function aios_getTabs(aPopup) { | ||
1235 | 54 | if(aPopup.childNodes.length != 0) return false; | ||
1236 | 55 | |||
1237 | 56 | var tab, newItem; | ||
1238 | 57 | var tabControl = document.getElementById("tabbox"); | ||
1239 | 58 | var tabCount = document.getElementById("tabs").childNodes.length; | ||
1240 | 59 | |||
1241 | 60 | for(var i = 0; i < tabCount; i++) { | ||
1242 | 61 | tab = document.getElementById("tabs").childNodes[i]; | ||
1243 | 62 | |||
1244 | 63 | newItem = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", "menuitem"); | ||
1245 | 64 | newItem.setAttribute('type', 'radio'); | ||
1246 | 65 | newItem.setAttribute('label', tab.getAttribute('label')); | ||
1247 | 66 | newItem.setAttribute('oncommand', 'document.getElementById("tabbox").selectedIndex=' + i + '; event.stopPropagation();'); | ||
1248 | 67 | |||
1249 | 68 | if(tabControl.selectedIndex == i) newItem.setAttribute('checked', true); | ||
1250 | 69 | |||
1251 | 70 | aPopup.appendChild(newItem); | ||
1252 | 71 | } | ||
1253 | 72 | |||
1254 | 73 | return true; | ||
1255 | 74 | } | ||
1256 | 75 | |||
1257 | 76 | |||
1258 | 77 | function onLoadPageInfo() { | ||
1259 | 78 | theBundle = document.getElementById("pageinfobundle"); | ||
1260 | 79 | gStrings.unknown = theBundle.getString("unknown"); | ||
1261 | 80 | gStrings.notSet = theBundle.getString("notset"); | ||
1262 | 81 | gStrings.emptyString = theBundle.getString("emptystring"); | ||
1263 | 82 | gStrings.noExpiration = theBundle.getString("generalNoExpiration"); | ||
1264 | 83 | gStrings.linkAnchor = theBundle.getString("linkAnchor"); | ||
1265 | 84 | gStrings.linkArea = theBundle.getString("linkArea"); | ||
1266 | 85 | gStrings.linkSubmit = theBundle.getString("linkSubmit"); | ||
1267 | 86 | gStrings.linkSubmission = theBundle.getString("linkSubmission"); | ||
1268 | 87 | gStrings.linkRel = theBundle.getString("linkRel"); | ||
1269 | 88 | gStrings.linkStylesheet = theBundle.getString("linkStylesheet"); | ||
1270 | 89 | gStrings.linkRev = theBundle.getString("linkRev"); | ||
1271 | 90 | gStrings.linkX = theBundle.getString("linkX"); | ||
1272 | 91 | gStrings.mediaImg = theBundle.getString("mediaImg"); | ||
1273 | 92 | gStrings.mediaBGImg = theBundle.getString("mediaBGImg"); | ||
1274 | 93 | gStrings.mediaApplet = theBundle.getString("mediaApplet"); | ||
1275 | 94 | gStrings.mediaObject = theBundle.getString("mediaObject"); | ||
1276 | 95 | gStrings.mediaEmbed = theBundle.getString("mediaEmbed"); | ||
1277 | 96 | gStrings.mediaLink = theBundle.getString("mediaLink"); | ||
1278 | 97 | gStrings.mediaInput = theBundle.getString("mediaInput"); | ||
1279 | 98 | |||
1280 | 99 | var docTitle = ""; | ||
1281 | 100 | |||
1282 | 101 | // mod by eXXile | ||
1283 | 102 | if(top.document.getElementById('sidebar-box')){ | ||
1284 | 103 | var aios_sidebar = top.document.getElementById('sidebar-box'); | ||
1285 | 104 | var aios_window = document.getElementById('main-window'); | ||
1286 | 105 | |||
1287 | 106 | theDocument = aios_WIN.content.document; | ||
1288 | 107 | theWindow = aios_WIN.content.window; | ||
1289 | 108 | docTitle = theBundle.getString("pageInfo.title"); | ||
1290 | 109 | |||
1291 | 110 | aios_window.setAttribute('class', 'inSidebar'); | ||
1292 | 111 | document.getElementById('commandBar').hidden = false; | ||
1293 | 112 | } | ||
1294 | 113 | else { | ||
1295 | 114 | // Original-FF-Teil | ||
1296 | 115 | if("arguments" in window && window.arguments.length >= 1 && window.arguments[0] && window.arguments[0].doc) { | ||
1297 | 116 | theWindow = null; | ||
1298 | 117 | theDocument = window.arguments[0].doc; | ||
1299 | 118 | docTitle = theBundle.getString("frameInfo.title"); | ||
1300 | 119 | } | ||
1301 | 120 | else if(window.opener) { | ||
1302 | 121 | if("gBrowser" in window.opener) theWindow = window.opener.gBrowser.contentWindow; | ||
1303 | 122 | else theWindow = window.opener.frames[0]; | ||
1304 | 123 | |||
1305 | 124 | theDocument = theWindow.document; | ||
1306 | 125 | docTitle = theBundle.getString("pageInfo.title"); | ||
1307 | 126 | } | ||
1308 | 127 | // ENDE - Original-FF-Teil | ||
1309 | 128 | |||
1310 | 129 | // Page Info im Tab => content des zuletzt aktiven Tabs => gespeichert durch aios_addTab(aUrl) in _common.js | ||
1311 | 130 | else if(aios_WIN.aiosLastSelTab) { | ||
1312 | 131 | theDocument = aios_WIN.aiosLastSelTab.document; | ||
1313 | 132 | docTitle = theBundle.getString("pageInfo.title"); | ||
1314 | 133 | theWindow = aios_WIN.aiosLastSelTab.window; | ||
1315 | 134 | } | ||
1316 | 135 | } | ||
1317 | 136 | |||
1318 | 137 | if(!theDocument) return false; | ||
1319 | 138 | // endmod by eXXile | ||
1320 | 139 | |||
1321 | 140 | document.title = docTitle; | ||
1322 | 141 | |||
1323 | 142 | document.getElementById("main-window").setAttribute("relatedUrl", theDocument.location.toString()); | ||
1324 | 143 | |||
1325 | 144 | // do the easy stuff first | ||
1326 | 145 | makeGeneralTab(); | ||
1327 | 146 | |||
1328 | 147 | // and then the hard stuff | ||
1329 | 148 | makeTabs(theDocument, theWindow); | ||
1330 | 149 | |||
1331 | 150 | /* Call registered overlay init functions */ | ||
1332 | 151 | for (x in onLoadRegistry) | ||
1333 | 152 | { | ||
1334 | 153 | onLoadRegistry[x](); | ||
1335 | 154 | } | ||
1336 | 155 | |||
1337 | 156 | /* Select the requested tab, if the name is specified */ | ||
1338 | 157 | var tabControl = document.getElementById("tabbox"); | ||
1339 | 158 | if ("arguments" in window && window.arguments.length >= 1 && window.arguments[0] && window.arguments[0].initialTab) { | ||
1340 | 159 | var tab = document.getElementById(window.arguments[0].initialTab); | ||
1341 | 160 | |||
1342 | 161 | if (tab) { | ||
1343 | 162 | tabControl.selectedTab = tab; | ||
1344 | 163 | } | ||
1345 | 164 | } | ||
1346 | 165 | // zuletzt aktiven Tab selektieren - mod by eXXile | ||
1347 | 166 | else { | ||
1348 | 167 | if(document.getElementById('main-window').getAttribute("seltab")) { | ||
1349 | 168 | tabControl.selectedIndex = document.getElementById('main-window').getAttribute("seltab"); | ||
1350 | 169 | } | ||
1351 | 170 | } | ||
1352 | 171 | // endmod by eXXile | ||
1353 | 172 | |||
1354 | 173 | tabControl.selectedTab.focus(); | ||
1355 | 174 | |||
1356 | 175 | return true // added by eXXile | ||
1357 | 176 | } | ||
1358 | 177 | \ No newline at end of file | 0 | \ No newline at end of file |
1359 | 178 | 1 | ||
1360 | === removed file 'chrome/aios.jar!/content/pageinfo/pageinfo_fx3.js' | |||
1361 | --- chrome/aios.jar!/content/pageinfo/pageinfo_fx3.js 2008-11-14 11:44:00 +0000 | |||
1362 | +++ chrome/aios.jar!/content/pageinfo/pageinfo_fx3.js 1970-01-01 00:00:00 +0000 | |||
1363 | @@ -1,285 +0,0 @@ | |||
1364 | 1 | |||
1365 | 2 | window.addEventListener("load", aios_init, false); | ||
1366 | 3 | window.addEventListener("unload", aios_persistSelTab, false); | ||
1367 | 4 | |||
1368 | 5 | |||
1369 | 6 | var aios_inSidebar = (top.document.getElementById('sidebar-box')) ? true : false; | ||
1370 | 7 | var aios_inTab = (aios_WIN.aiosLastSelTab) ? true : false; | ||
1371 | 8 | |||
1372 | 9 | // Listener für automatische Aktualisierung hinzufügen u. entfernen | ||
1373 | 10 | if(aios_inSidebar) { | ||
1374 | 11 | window.addEventListener("load", function(e) { | ||
1375 | 12 | top.gBrowser.addProgressListener(aiosProgListener, Components.interfaces.nsIWebProgress.NOTIFY_STATE_DOCUMENT); | ||
1376 | 13 | }, false); | ||
1377 | 14 | |||
1378 | 15 | window.addEventListener("unload",function(e) { | ||
1379 | 16 | top.gBrowser.removeProgressListener(aiosProgListener); | ||
1380 | 17 | }, false); | ||
1381 | 18 | } | ||
1382 | 19 | |||
1383 | 20 | |||
1384 | 21 | function aios_init() { | ||
1385 | 22 | try { | ||
1386 | 23 | enable_layout = aios_gPrefBranch.getBoolPref("pi.layout"); | ||
1387 | 24 | enable_layoutall = aios_gPrefBranch.getBoolPref("pi.layoutall"); | ||
1388 | 25 | if((enable_layout && aios_inSidebar) || enable_layoutall) aios_sidebarLayout(); | ||
1389 | 26 | } | ||
1390 | 27 | catch(e) { } | ||
1391 | 28 | |||
1392 | 29 | if(aios_platform == "Darwin") { | ||
1393 | 30 | document.getElementById('viewGroup').setAttribute("showLabel", true); | ||
1394 | 31 | } | ||
1395 | 32 | } | ||
1396 | 33 | |||
1397 | 34 | |||
1398 | 35 | function aios_sidebarLayout() { | ||
1399 | 36 | document.getElementById('main-window').setAttribute('aiosLayout', true); | ||
1400 | 37 | |||
1401 | 38 | var radioChilds = document.getElementById('viewGroup').childNodes; | ||
1402 | 39 | for(var i = 0; i < radioChilds.length; i++) { | ||
1403 | 40 | if(radioChilds[i].tagName == "radio") radioChilds[i].setAttribute('tooltiptext', radioChilds[i].label); | ||
1404 | 41 | } | ||
1405 | 42 | } | ||
1406 | 43 | |||
1407 | 44 | |||
1408 | 45 | // automatische Aktualisierung => Aufruf durch aiosProgListener (_common.js) | ||
1409 | 46 | function aios_onLocationChange() { | ||
1410 | 47 | if(aios_inSidebar) { | ||
1411 | 48 | aios_persistSelTab(); | ||
1412 | 49 | location.reload(); | ||
1413 | 50 | } | ||
1414 | 51 | } | ||
1415 | 52 | |||
1416 | 53 | |||
1417 | 54 | function aios_onStateChange() { | ||
1418 | 55 | aios_onLocationChange(); | ||
1419 | 56 | } | ||
1420 | 57 | |||
1421 | 58 | |||
1422 | 59 | // letzten selektierten Tab merken | ||
1423 | 60 | function aios_persistSelTab() { | ||
1424 | 61 | document.getElementById('main-window').setAttribute("seltab", document.getElementById('viewGroup').selectedIndex); | ||
1425 | 62 | } | ||
1426 | 63 | |||
1427 | 64 | |||
1428 | 65 | |||
1429 | 66 | |||
1430 | 67 | /* Called when PageInfo window is loaded. Arguments are: | ||
1431 | 68 | * window.arguments[0] - (optional) an object consisting of | ||
1432 | 69 | * - doc: (optional) document to use for source. if not provided, | ||
1433 | 70 | * the calling window's document will be used | ||
1434 | 71 | * - initialTab: (optional) id of the inital tab to display | ||
1435 | 72 | */ | ||
1436 | 73 | function onLoadPageInfo() | ||
1437 | 74 | { | ||
1438 | 75 | gBundle = document.getElementById("pageinfobundle"); | ||
1439 | 76 | gStrings.unknown = gBundle.getString("unknown"); | ||
1440 | 77 | gStrings.notSet = gBundle.getString("notset"); | ||
1441 | 78 | gStrings.mediaImg = gBundle.getString("mediaImg"); | ||
1442 | 79 | gStrings.mediaBGImg = gBundle.getString("mediaBGImg"); | ||
1443 | 80 | gStrings.mediaObject = gBundle.getString("mediaObject"); | ||
1444 | 81 | gStrings.mediaEmbed = gBundle.getString("mediaEmbed"); | ||
1445 | 82 | gStrings.mediaLink = gBundle.getString("mediaLink"); | ||
1446 | 83 | gStrings.mediaInput = gBundle.getString("mediaInput"); | ||
1447 | 84 | |||
1448 | 85 | // mod by eXXile | ||
1449 | 86 | if(aios_inSidebar){ | ||
1450 | 87 | var aios_sidebar = top.document.getElementById('sidebar-box'); | ||
1451 | 88 | var aios_window = document.getElementById('main-window'); | ||
1452 | 89 | |||
1453 | 90 | gDocument = aios_WIN.content.document; | ||
1454 | 91 | gWindow = aios_WIN.content.window; | ||
1455 | 92 | } | ||
1456 | 93 | // Original-FF-Teil | ||
1457 | 94 | else { | ||
1458 | 95 | if ("arguments" in window && window.arguments.length >= 1 && window.arguments[0] && window.arguments[0].doc) { | ||
1459 | 96 | gDocument = window.arguments[0].doc; | ||
1460 | 97 | gWindow = gDocument.defaultView; | ||
1461 | 98 | } | ||
1462 | 99 | else if(window.opener) { //mod by eXXile | ||
1463 | 100 | if ("gBrowser" in window.opener) | ||
1464 | 101 | gWindow = window.opener.gBrowser.contentWindow; | ||
1465 | 102 | else | ||
1466 | 103 | gWindow = window.opener.frames[0]; | ||
1467 | 104 | |||
1468 | 105 | gDocument = gWindow.document; | ||
1469 | 106 | } | ||
1470 | 107 | |||
1471 | 108 | // Page Info im Tab => content des zuletzt aktiven Tabs => gespeichert durch aios_addTab(aUrl) in _common.js | ||
1472 | 109 | else if(aios_inTab) { | ||
1473 | 110 | gDocument = aios_WIN.aiosLastSelTab.document; | ||
1474 | 111 | gWindow = aios_WIN.aiosLastSelTab.window; | ||
1475 | 112 | document.title = gBundle.getString("pageInfo.page.title"); | ||
1476 | 113 | } | ||
1477 | 114 | } | ||
1478 | 115 | |||
1479 | 116 | |||
1480 | 117 | |||
1481 | 118 | // init media view | ||
1482 | 119 | var imageTree = document.getElementById("imagetree"); | ||
1483 | 120 | imageTree.view = gImageView; | ||
1484 | 121 | |||
1485 | 122 | // build the content | ||
1486 | 123 | loadPageInfo(); | ||
1487 | 124 | |||
1488 | 125 | /* Select the requested tab, if the name is specified */ | ||
1489 | 126 | var initialTab = "general"; | ||
1490 | 127 | if ("arguments" in window && window.arguments.length >= 1 && window.arguments[0] && window.arguments[0].initialTab) { | ||
1491 | 128 | initialTab = window.arguments[0].initialTab; | ||
1492 | 129 | } | ||
1493 | 130 | // zuletzt aktiven Tab selektieren - mod by eXXile | ||
1494 | 131 | else { | ||
1495 | 132 | if(document.getElementById('main-window').getAttribute("seltab")) { | ||
1496 | 133 | var initialTabNo = document.getElementById('main-window').getAttribute("seltab"); | ||
1497 | 134 | var initialTabId = document.getElementById('viewGroup').childNodes[initialTabNo].id; | ||
1498 | 135 | initialTab = initialTabId.substring(0, initialTabId.length - 3); | ||
1499 | 136 | |||
1500 | 137 | } | ||
1501 | 138 | } | ||
1502 | 139 | // endmod by eXXile | ||
1503 | 140 | |||
1504 | 141 | var radioGroup = document.getElementById("viewGroup"); | ||
1505 | 142 | initialTab = document.getElementById(initialTab + "Tab") || document.getElementById("generalTab"); | ||
1506 | 143 | radioGroup.selectedItem = initialTab; | ||
1507 | 144 | radioGroup.selectedItem.doCommand(); | ||
1508 | 145 | window.setTimeout("eval(document.getElementById('viewGroup').selectedItem.getAttribute('oncommand'));", 50); // mod by eXXile | ||
1509 | 146 | radioGroup.focus(); | ||
1510 | 147 | } | ||
1511 | 148 | |||
1512 | 149 | |||
1513 | 150 | |||
1514 | 151 | var security = { | ||
1515 | 152 | // Display the server certificate (static) | ||
1516 | 153 | viewCert : function () { | ||
1517 | 154 | var cert = security._cert; | ||
1518 | 155 | //viewCertHelper(window, cert); | ||
1519 | 156 | |||
1520 | 157 | // mod by eXXile | ||
1521 | 158 | if(aios_inSidebar) viewCertHelper(aios_WIN.content.window, cert); | ||
1522 | 159 | else if(aios_inTab) viewCertHelper(aios_WIN.aiosLastSelTab.window, cert); | ||
1523 | 160 | else viewCertHelper(window, cert); | ||
1524 | 161 | // endmod by eXXile | ||
1525 | 162 | }, | ||
1526 | 163 | |||
1527 | 164 | _getSecurityInfo : function() { | ||
1528 | 165 | const nsIX509Cert = Components.interfaces.nsIX509Cert; | ||
1529 | 166 | const nsIX509CertDB = Components.interfaces.nsIX509CertDB; | ||
1530 | 167 | const nsX509CertDB = "@mozilla.org/security/x509certdb;1"; | ||
1531 | 168 | const nsISSLStatusProvider = Components.interfaces.nsISSLStatusProvider; | ||
1532 | 169 | const nsISSLStatus = Components.interfaces.nsISSLStatus; | ||
1533 | 170 | |||
1534 | 171 | // We don't have separate info for a frame, return null until further notice | ||
1535 | 172 | // (see bug 138479) | ||
1536 | 173 | if (gWindow != gWindow.top) | ||
1537 | 174 | return null; | ||
1538 | 175 | |||
1539 | 176 | var hName = null; | ||
1540 | 177 | try { | ||
1541 | 178 | hName = gWindow.location.host; | ||
1542 | 179 | } | ||
1543 | 180 | catch (exception) { } | ||
1544 | 181 | |||
1545 | 182 | var ui = security._getSecurityUI(); | ||
1546 | 183 | var status = null; | ||
1547 | 184 | var sp = null; | ||
1548 | 185 | var isBroken = false; | ||
1549 | 186 | if (ui) { | ||
1550 | 187 | isBroken = (ui.state == Components.interfaces.nsIWebProgressListener.STATE_IS_BROKEN); | ||
1551 | 188 | sp = ui.QueryInterface(nsISSLStatusProvider); | ||
1552 | 189 | if (sp) | ||
1553 | 190 | status = sp.SSLStatus; | ||
1554 | 191 | } | ||
1555 | 192 | if (status) { | ||
1556 | 193 | status = status.QueryInterface(nsISSLStatus); | ||
1557 | 194 | } | ||
1558 | 195 | if (status) { | ||
1559 | 196 | var cert = status.serverCert; | ||
1560 | 197 | var issuerName; | ||
1561 | 198 | |||
1562 | 199 | issuerName = this.mapIssuerOrganization(cert.issuerOrganization); | ||
1563 | 200 | if (!issuerName) issuerName = cert.issuerName; | ||
1564 | 201 | |||
1565 | 202 | return { | ||
1566 | 203 | hostName : hName, | ||
1567 | 204 | cAName : issuerName, | ||
1568 | 205 | encryptionAlgorithm : status.cipherName, | ||
1569 | 206 | encryptionStrength : status.secretKeyLength, | ||
1570 | 207 | isBroken : isBroken, | ||
1571 | 208 | cert : cert, | ||
1572 | 209 | fullLocation : gWindow.location | ||
1573 | 210 | }; | ||
1574 | 211 | } else { | ||
1575 | 212 | return { | ||
1576 | 213 | hostName : hName, | ||
1577 | 214 | cAName : "", | ||
1578 | 215 | encryptionAlgorithm : "", | ||
1579 | 216 | encryptionStrength : 0, | ||
1580 | 217 | isBroken : isBroken, | ||
1581 | 218 | cert : null, | ||
1582 | 219 | fullLocation : gWindow.location | ||
1583 | 220 | }; | ||
1584 | 221 | } | ||
1585 | 222 | }, | ||
1586 | 223 | |||
1587 | 224 | // Find the secureBrowserUI object (if present) | ||
1588 | 225 | _getSecurityUI : function() { | ||
1589 | 226 | // mod by eXXile | ||
1590 | 227 | if(aios_inSidebar) { | ||
1591 | 228 | if ("gBrowser" in top) | ||
1592 | 229 | return top.gBrowser.securityUI; | ||
1593 | 230 | } | ||
1594 | 231 | else if(aios_inTab) { | ||
1595 | 232 | return aios_WIN.gBrowser.securityUI; | ||
1596 | 233 | } | ||
1597 | 234 | // Original-FF-Teil | ||
1598 | 235 | else { | ||
1599 | 236 | if ("gBrowser" in window.opener) | ||
1600 | 237 | return window.opener.gBrowser.securityUI; | ||
1601 | 238 | return null; | ||
1602 | 239 | } | ||
1603 | 240 | }, | ||
1604 | 241 | |||
1605 | 242 | // Interface for mapping a certificate issuer organization to | ||
1606 | 243 | // the value to be displayed. | ||
1607 | 244 | // Bug 82017 - this implementation should be moved to pipnss C++ code | ||
1608 | 245 | mapIssuerOrganization: function(name) { | ||
1609 | 246 | if (!name) return null; | ||
1610 | 247 | |||
1611 | 248 | if (name == "RSA Data Security, Inc.") return "Verisign, Inc."; | ||
1612 | 249 | |||
1613 | 250 | // No mapping required | ||
1614 | 251 | return name; | ||
1615 | 252 | }, | ||
1616 | 253 | |||
1617 | 254 | /** | ||
1618 | 255 | * Open the cookie manager window | ||
1619 | 256 | */ | ||
1620 | 257 | viewCookies : function() | ||
1621 | 258 | { | ||
1622 | 259 | var wm = Components.classes["@mozilla.org/appshell/window-mediator;1"] | ||
1623 | 260 | .getService(Components.interfaces.nsIWindowMediator); | ||
1624 | 261 | var win = wm.getMostRecentWindow("Browser:Cookies"); | ||
1625 | 262 | if (win) | ||
1626 | 263 | win.focus(); | ||
1627 | 264 | else | ||
1628 | 265 | window.openDialog("chrome://browser/content/preferences/cookies.xul", | ||
1629 | 266 | "Browser:Cookies", ""); | ||
1630 | 267 | }, | ||
1631 | 268 | |||
1632 | 269 | /** | ||
1633 | 270 | * Open the login manager window | ||
1634 | 271 | */ | ||
1635 | 272 | viewPasswords : function() | ||
1636 | 273 | { | ||
1637 | 274 | var wm = Components.classes["@mozilla.org/appshell/window-mediator;1"] | ||
1638 | 275 | .getService(Components.interfaces.nsIWindowMediator); | ||
1639 | 276 | var win = wm.getMostRecentWindow("Toolkit:PasswordManager"); | ||
1640 | 277 | if (win) | ||
1641 | 278 | win.focus(); | ||
1642 | 279 | else | ||
1643 | 280 | window.openDialog("chrome://passwordmgr/content/passwordManager.xul", | ||
1644 | 281 | "Toolkit:PasswordManager", ""); | ||
1645 | 282 | }, | ||
1646 | 283 | |||
1647 | 284 | _cert : null | ||
1648 | 285 | }; | ||
1649 | 286 | \ No newline at end of file | 0 | \ No newline at end of file |
1650 | 287 | 1 | ||
1651 | === removed file 'chrome/aios.jar!/content/pageinfo/security.xul' | |||
1652 | --- chrome/aios.jar!/content/pageinfo/security.xul 2008-11-14 11:44:00 +0000 | |||
1653 | +++ chrome/aios.jar!/content/pageinfo/security.xul 1970-01-01 00:00:00 +0000 | |||
1654 | @@ -1,152 +0,0 @@ | |||
1655 | 1 | <?xml version="1.0"?> | ||
1656 | 2 | |||
1657 | 3 | <!-- This file extends "chrome://navigator/content/pageInfo.xul" --> | ||
1658 | 4 | |||
1659 | 5 | <!DOCTYPE overlay SYSTEM "chrome://pippki/locale/PageInfoOverlay.dtd"> | ||
1660 | 6 | |||
1661 | 7 | <overlay id="aios_pipPageInfoOverlayID" | ||
1662 | 8 | xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> | ||
1663 | 9 | |||
1664 | 10 | <!-- scripts --> | ||
1665 | 11 | <script type="application/x-javascript" src="chrome://aios/content/_common.js" /> | ||
1666 | 12 | |||
1667 | 13 | <script type="application/x-javascript"> | ||
1668 | 14 | <![CDATA[ | ||
1669 | 15 | |||
1670 | 16 | var security = { | ||
1671 | 17 | // Display the server certificate (static) | ||
1672 | 18 | viewCert : function () { | ||
1673 | 19 | var cert = security._cert; | ||
1674 | 20 | |||
1675 | 21 | |||
1676 | 22 | // mod by eXXile | ||
1677 | 23 | if(top.document.getElementById('sidebar-box')) viewCertHelper(aios_WIN.content.window, cert); | ||
1678 | 24 | else viewCertHelper(window, cert); | ||
1679 | 25 | |||
1680 | 26 | if(aios_WIN.aiosLastSelTab) viewCertHelper(aios_WIN.aiosLastSelTab.window, cert); | ||
1681 | 27 | // endmod by eXXile | ||
1682 | 28 | |||
1683 | 29 | |||
1684 | 30 | }, | ||
1685 | 31 | |||
1686 | 32 | _getSecurityInfo : function() { | ||
1687 | 33 | const nsIX509Cert = Components.interfaces.nsIX509Cert; | ||
1688 | 34 | const nsIX509CertDB = Components.interfaces.nsIX509CertDB; | ||
1689 | 35 | const nsX509CertDB = "@mozilla.org/security/x509certdb;1"; | ||
1690 | 36 | const nsISSLStatusProvider = Components.interfaces.nsISSLStatusProvider; | ||
1691 | 37 | const nsISSLStatus = Components.interfaces.nsISSLStatus; | ||
1692 | 38 | |||
1693 | 39 | // Get the window for this information | ||
1694 | 40 | var w; | ||
1695 | 41 | |||
1696 | 42 | |||
1697 | 43 | // mod by eXXile | ||
1698 | 44 | if(top.document.getElementById('sidebar-box')){ | ||
1699 | 45 | w = aios_WIN.content.window; | ||
1700 | 46 | } | ||
1701 | 47 | else if(aios_WIN.aiosLastSelTab) { | ||
1702 | 48 | w = aios_WIN.aiosLastSelTab.window; | ||
1703 | 49 | } | ||
1704 | 50 | else { | ||
1705 | 51 | if ("arguments" in window && window.arguments.length > 0 && | ||
1706 | 52 | window.arguments[0] && window.arguments[0].doc) | ||
1707 | 53 | { | ||
1708 | 54 | // w = window.arguments[0].doc; | ||
1709 | 55 | // We don't have separate info for a frame, return null until further notice | ||
1710 | 56 | // (see bug 138479) | ||
1711 | 57 | return null; | ||
1712 | 58 | } | ||
1713 | 59 | else if ("gBrowser" in window.opener) | ||
1714 | 60 | w = window.opener.gBrowser.contentWindow; | ||
1715 | 61 | else | ||
1716 | 62 | w = window.opener.frames[0]; | ||
1717 | 63 | } | ||
1718 | 64 | // endmod by eXXile | ||
1719 | 65 | |||
1720 | 66 | |||
1721 | 67 | var hName = null; | ||
1722 | 68 | try | ||
1723 | 69 | { | ||
1724 | 70 | hName = w.location.host; | ||
1725 | 71 | } catch(exception){} | ||
1726 | 72 | |||
1727 | 73 | var ui = security._getSecurityUI(); | ||
1728 | 74 | var status = null; | ||
1729 | 75 | var sp = null; | ||
1730 | 76 | var isBroken = false; | ||
1731 | 77 | if (ui) { | ||
1732 | 78 | isBroken = (ui.state == Components.interfaces.nsIWebProgressListener.STATE_IS_BROKEN); | ||
1733 | 79 | sp = ui.QueryInterface(nsISSLStatusProvider); | ||
1734 | 80 | if (sp) | ||
1735 | 81 | status = sp.SSLStatus; | ||
1736 | 82 | } | ||
1737 | 83 | if (status) { | ||
1738 | 84 | status = status.QueryInterface(nsISSLStatus); | ||
1739 | 85 | } | ||
1740 | 86 | if (status) { | ||
1741 | 87 | var cert = status.serverCert; | ||
1742 | 88 | var issuerName; | ||
1743 | 89 | |||
1744 | 90 | issuerName = this.mapIssuerOrganization(cert.issuerOrganization); | ||
1745 | 91 | if (!issuerName) issuerName = cert.issuerName; | ||
1746 | 92 | |||
1747 | 93 | return { | ||
1748 | 94 | hostName : hName, | ||
1749 | 95 | cAName : issuerName, | ||
1750 | 96 | encryptionAlgorithm : status.cipherName, | ||
1751 | 97 | encryptionStrength : status.secretKeyLength, | ||
1752 | 98 | isBroken : isBroken, | ||
1753 | 99 | cert : cert | ||
1754 | 100 | }; | ||
1755 | 101 | } else { | ||
1756 | 102 | return { | ||
1757 | 103 | hostName : hName, | ||
1758 | 104 | cAName : "", | ||
1759 | 105 | encryptionAlgorithm : "", | ||
1760 | 106 | encryptionStrength : 0, | ||
1761 | 107 | isBroken : isBroken, | ||
1762 | 108 | cert : null | ||
1763 | 109 | }; | ||
1764 | 110 | } | ||
1765 | 111 | }, | ||
1766 | 112 | |||
1767 | 113 | // Find the secureBrowserUI object (if present) | ||
1768 | 114 | _getSecurityUI : function() { | ||
1769 | 115 | |||
1770 | 116 | |||
1771 | 117 | // mod by eXXile | ||
1772 | 118 | if(top.document.getElementById('sidebar-box')){ | ||
1773 | 119 | if ("gBrowser" in top) | ||
1774 | 120 | return top.gBrowser.securityUI; | ||
1775 | 121 | } | ||
1776 | 122 | else if(aios_WIN.aiosLastSelTab) { | ||
1777 | 123 | return aios_WIN.gBrowser.securityUI; | ||
1778 | 124 | } | ||
1779 | 125 | else { | ||
1780 | 126 | if ("gBrowser" in window.opener) | ||
1781 | 127 | return window.opener.gBrowser.securityUI; | ||
1782 | 128 | } | ||
1783 | 129 | // endmod by eXXile | ||
1784 | 130 | |||
1785 | 131 | |||
1786 | 132 | return null; | ||
1787 | 133 | }, | ||
1788 | 134 | |||
1789 | 135 | // Interface for mapping a certificate issuer organization to | ||
1790 | 136 | // the value to be displayed. | ||
1791 | 137 | // Bug 82017 - this implementation should be moved to pipnss C++ code | ||
1792 | 138 | mapIssuerOrganization: function(name) { | ||
1793 | 139 | if (!name) return null; | ||
1794 | 140 | |||
1795 | 141 | if (name == "RSA Data Security, Inc.") return "Verisign, Inc."; | ||
1796 | 142 | |||
1797 | 143 | // No mapping required | ||
1798 | 144 | return name; | ||
1799 | 145 | }, | ||
1800 | 146 | |||
1801 | 147 | _cert : null | ||
1802 | 148 | }; | ||
1803 | 149 | |||
1804 | 150 | ]]> | ||
1805 | 151 | </script> | ||
1806 | 152 | </overlay> | ||
1807 | 153 | \ No newline at end of file | 0 | \ No newline at end of file |
1808 | 154 | 1 | ||
1809 | === removed directory 'chrome/aios.jar!/content/tbx' | |||
1810 | === removed file 'chrome/aios.jar!/content/tbx/tbx.css' | |||
1811 | --- chrome/aios.jar!/content/tbx/tbx.css 2008-11-14 11:44:00 +0000 | |||
1812 | +++ chrome/aios.jar!/content/tbx/tbx.css 1970-01-01 00:00:00 +0000 | |||
1813 | @@ -1,50 +0,0 @@ | |||
1814 | 1 | |||
1815 | 2 | toolbox[palette] { | ||
1816 | 3 | -moz-binding: url(chrome://aios/content/tbx/tbx.xml#customisable-toolbox); | ||
1817 | 4 | } | ||
1818 | 5 | toolbox[palette] > toolbar { | ||
1819 | 6 | -moz-binding: url(chrome://aios/content/tbx/tbx.xml#toolbar); | ||
1820 | 7 | } | ||
1821 | 8 | |||
1822 | 9 | /* uses a vbox as a wrapper rather than an hbox. needed for separators */ | ||
1823 | 10 | toolbox[vertical="true"] > toolbar > toolbarpaletteitem[place="toolbar"] { | ||
1824 | 11 | -moz-binding: url(chrome://aios/content/tbx/tbx.xml#toolbarpaletteitem-vertical); | ||
1825 | 12 | } | ||
1826 | 13 | |||
1827 | 14 | /* | ||
1828 | 15 | Toolbar-Grippies-Fix | ||
1829 | 16 | |||
1830 | 17 | toolbox[vertical="true"] > toolbar { | ||
1831 | 18 | -moz-box-flex: 1; | ||
1832 | 19 | }*/ | ||
1833 | 20 | |||
1834 | 21 | /* | ||
1835 | 22 | binding to add a toolbar to the start and end of the tab strip | ||
1836 | 23 | alternativ kann man die Toolbox auch auf der Tabbar anstatt daneben 'anbinden' | ||
1837 | 24 | => Nachteil: bei mehrzeiligen Tabbars 'wandert' der Close-Button mit und bleibt nicht rechts | ||
1838 | 25 | => nötige Änderungen: 1: unten an 'tabs > hbox' binden | ||
1839 | 26 | 2: in 'skin/tbx.css' Formatierungen für Toolbox entfernen | ||
1840 | 27 | 3: in 'tbx.xml' spacer für rechte Toolbox entkommentieren | ||
1841 | 28 | */ | ||
1842 | 29 | /* tabs > hbox */ | ||
1843 | 30 | #appcontent .tabbrowser-strip { | ||
1844 | 31 | -moz-binding: url(chrome://aios/content/tbx/tbx.xml#tab-toolbars) !important; | ||
1845 | 32 | -moz-box-orient: horizontal !important; | ||
1846 | 33 | height: auto !important; /* Flock-Fix */ | ||
1847 | 34 | } | ||
1848 | 35 | /* | ||
1849 | 36 | tabs > hbox spacer:not([id="aiostbx-spacer"]) { | ||
1850 | 37 | display: none; | ||
1851 | 38 | } | ||
1852 | 39 | |||
1853 | 40 | tabbox { | ||
1854 | 41 | -moz-binding: url(chrome://aios/content/tbx/tbx.xml#tabbrowser-tabbox); | ||
1855 | 42 | }*/ | ||
1856 | 43 | |||
1857 | 44 | /* Sidebar unter die Tableiste verschieben - sehr experimentell */ | ||
1858 | 45 | #aioBrowser { | ||
1859 | 46 | direction: rtl; | ||
1860 | 47 | } | ||
1861 | 48 | #aioBrowser > * { | ||
1862 | 49 | direction: ltr; | ||
1863 | 50 | } | ||
1864 | 51 | \ No newline at end of file | 0 | \ No newline at end of file |
1865 | 52 | 1 | ||
1866 | === removed file 'chrome/aios.jar!/content/tbx/tbx.js' | |||
1867 | --- chrome/aios.jar!/content/tbx/tbx.js 2008-11-14 11:44:00 +0000 | |||
1868 | +++ chrome/aios.jar!/content/tbx/tbx.js 1970-01-01 00:00:00 +0000 | |||
1869 | @@ -1,409 +0,0 @@ | |||
1870 | 1 | |||
1871 | 2 | var aiosOS = Components.classes['@mozilla.org/xre/app-info;1'].getService(Components.interfaces.nsIXULRuntime).OS; | ||
1872 | 3 | |||
1873 | 4 | // Sidebarheader eine ID zuweisen, Schließen-Button entfernen | ||
1874 | 5 | var sidebarheader = document.getElementById('sidebar-throbber').parentNode; | ||
1875 | 6 | sidebarheader.setAttribute('id', 'sidebarheader'); | ||
1876 | 7 | sidebarheader.removeChild(sidebarheader.lastChild); | ||
1877 | 8 | var gPref = Components.classes["@mozilla.org/preferences-service;1"].getService(Components.interfaces.nsIPrefBranch); | ||
1878 | 9 | |||
1879 | 10 | |||
1880 | 11 | function aiostbx_init() { | ||
1881 | 12 | // Maximalbreite der vertikalen Toolboxen einstellen | ||
1882 | 13 | window.setTimeout('aiostbx_adjustToolboxWidth(true)', 50); | ||
1883 | 14 | |||
1884 | 15 | //window.setTimeout('aiostbx_checkGoogleToolbar()', 200); | ||
1885 | 16 | |||
1886 | 17 | // BrowserFullScreen erweitern (Toolboxen sichtbar/unsichtbar machen) | ||
1887 | 18 | //if(aiosOS != "Darwin") { | ||
1888 | 19 | var fx_BrowserFullScreen = BrowserFullScreen; | ||
1889 | 20 | BrowserFullScreen = function BrowserFullScreen() { | ||
1890 | 21 | fx_BrowserFullScreen(); | ||
1891 | 22 | aiostbx_BrowserFullScreen(); | ||
1892 | 23 | } | ||
1893 | 24 | //} | ||
1894 | 25 | |||
1895 | 26 | // Ueberwachung der Toolbars auf der Tabbar und der Statusbar | ||
1896 | 27 | aiostbx_checkSpecialToolbars(); | ||
1897 | 28 | |||
1898 | 29 | // Sidebar unter die Tableiste verschieben | ||
1899 | 30 | //aiostbx_setSidebarUnderTabs(); | ||
1900 | 31 | |||
1901 | 32 | // Label der Toolbareinstellungen tauschen, wenn der Browser im RTL-Modus ist (Sidebar rechts) | ||
1902 | 33 | var str_left = document.getElementById("aiostbx-left").getAttribute('label'); | ||
1903 | 34 | var str_sidebarleft = document.getElementById("aiostbx-sidebarleft").getAttribute('label'); | ||
1904 | 35 | var str_right = document.getElementById("aiostbx-right").getAttribute('label'); | ||
1905 | 36 | |||
1906 | 37 | try { | ||
1907 | 38 | var wStyle = document.defaultView.getComputedStyle(document.getElementById("browser"), ''); | ||
1908 | 39 | if(wStyle.direction == "rtl") { | ||
1909 | 40 | document.getElementById("aiostbx-left").setAttribute('label', str_right); | ||
1910 | 41 | document.getElementById("aiostbx-sidebarright").setAttribute('label', str_sidebarleft); | ||
1911 | 42 | document.getElementById("aiostbx-right").setAttribute('label', str_left); | ||
1912 | 43 | } | ||
1913 | 44 | } | ||
1914 | 45 | catch(e) { } | ||
1915 | 46 | |||
1916 | 47 | // dem Kontextmenü der Toolbars die Einstellungsmöglichkiten hinzufügen | ||
1917 | 48 | aiostbx_getCustomizeMenu(); | ||
1918 | 49 | |||
1919 | 50 | // Bookmark-Buttons-Bugfix für rechte Statusleisten-Toolbar => Button hinzufügen | ||
1920 | 51 | //window.setTimeout("aiostbx_bmBugFix(true);", 1000); | ||
1921 | 52 | //aiostbx_bmBugFix(true); | ||
1922 | 53 | } | ||
1923 | 54 | |||
1924 | 55 | |||
1925 | 56 | function aiostbx_checkGoogleToolbar() { | ||
1926 | 57 | //alert(GTB_GoogleToolbar.prototype._addButton); | ||
1927 | 58 | } | ||
1928 | 59 | |||
1929 | 60 | |||
1930 | 61 | /* | ||
1931 | 62 | Ueberwachung der Toolbars auf der Tabbar und der Statusbar | ||
1932 | 63 | => Aufruf durch aiostbx_init() und durch aios_savePrefs() in prefs.js | ||
1933 | 64 | */ | ||
1934 | 65 | function aiostbx_checkSpecialToolbars() { | ||
1935 | 66 | try { | ||
1936 | 67 | var enable_tabbar = gPref.getBoolPref('extensions.aios.tbx.tabbar'); | ||
1937 | 68 | var enable_statusbar = gPref.getBoolPref('extensions.aios.tbx.statusbar'); | ||
1938 | 69 | |||
1939 | 70 | document.getElementById('aiostbx-tableft-toolbox').setAttribute('hidden', !enable_tabbar); | ||
1940 | 71 | document.getElementById('aiostbx-tabright-toolbox').setAttribute('hidden', !enable_tabbar); | ||
1941 | 72 | |||
1942 | 73 | document.getElementById('aiostbx-toolbox-statusbar-left').setAttribute('hidden', !enable_statusbar); | ||
1943 | 74 | document.getElementById('aiostbx-toolbox-statusbar-right').setAttribute('hidden', !enable_statusbar); | ||
1944 | 75 | } | ||
1945 | 76 | catch(e) { } | ||
1946 | 77 | } | ||
1947 | 78 | |||
1948 | 79 | |||
1949 | 80 | /* | ||
1950 | 81 | Kontextmenü der Toolbars erstellen | ||
1951 | 82 | => nötig weil sonst wie beim Sidebars-Button das Menü beim 2. Aufruf nicht funktionieren würde (fehlendes hide-Event) | ||
1952 | 83 | => Aufruf durch aiostbx_init() und oncommand der Kontextmenüs | ||
1953 | 84 | */ | ||
1954 | 85 | function aiostbx_getCustomizeMenu() { | ||
1955 | 86 | var contextMenuID = "aiostbx-toolbar-context-menu"; | ||
1956 | 87 | var contextMenuSepID = "aiostbx-toolbar-context-menu-sep"; | ||
1957 | 88 | |||
1958 | 89 | // altes Menü entfernen | ||
1959 | 90 | if(document.getElementById(contextMenuID)) | ||
1960 | 91 | document.getElementById(contextMenuID).parentNode.removeChild(document.getElementById(contextMenuID)); | ||
1961 | 92 | |||
1962 | 93 | // alten Separator entfernen | ||
1963 | 94 | if(document.getElementById(contextMenuSepID)) | ||
1964 | 95 | document.getElementById(contextMenuSepID).parentNode.removeChild(document.getElementById(contextMenuSepID)); | ||
1965 | 96 | |||
1966 | 97 | // neues Menü einfügen | ||
1967 | 98 | var tmp_customiseMenu = document.getElementById('aiostbx-toolbar-context-tmpMenu'); | ||
1968 | 99 | var customiseMenu = tmp_customiseMenu.cloneNode(true); | ||
1969 | 100 | customiseMenu.setAttribute('hidden', false); | ||
1970 | 101 | customiseMenu.setAttribute('id', contextMenuID); | ||
1971 | 102 | |||
1972 | 103 | // Menüeinträge aus dem Konfigurations-Kontextmenü einfügen | ||
1973 | 104 | var customiseContext = document.getElementById('toolbar-customise-context-menu'); | ||
1974 | 105 | var newItem; | ||
1975 | 106 | |||
1976 | 107 | for(var j = 0; j < customiseContext.childNodes.length; j++) { | ||
1977 | 108 | newItem = customiseContext.childNodes[j].cloneNode(true); | ||
1978 | 109 | customiseMenu.firstChild.appendChild(newItem); | ||
1979 | 110 | } | ||
1980 | 111 | |||
1981 | 112 | tmp_customiseMenu.parentNode.appendChild(customiseMenu); | ||
1982 | 113 | |||
1983 | 114 | var newSep = document.createElement("menuseparator"); | ||
1984 | 115 | newSep.setAttribute('id', contextMenuSepID); | ||
1985 | 116 | tmp_customiseMenu.parentNode.insertBefore(newSep, customiseMenu); | ||
1986 | 117 | |||
1987 | 118 | document.getElementById('toolbar-context-menu').hidePopup(); | ||
1988 | 119 | } | ||
1989 | 120 | |||
1990 | 121 | |||
1991 | 122 | /* | ||
1992 | 123 | blendet Toolboxen bei Fullscreen ein oder aus | ||
1993 | 124 | => benötigt, weil | ||
1994 | 125 | => 1. die Breite der vertikalen Boxen eingestellt wurde und so die Boxen nicht automatisch unsichtbar werden | ||
1995 | 126 | => 2. die Boxen per Binding-Einbindung (auf und unter der Tableiste) nicht ein-/ausgeblendet werden | ||
1996 | 127 | => erweitert die FF-Funktion BrowserFullScreen() | ||
1997 | 128 | => Aufruf bzw. Erweiterung durch aiostbx_init() | ||
1998 | 129 | */ | ||
1999 | 130 | function aiostbx_BrowserFullScreen() { | ||
2000 | 131 | |||
2001 | 132 | var toolboxes = []; | ||
2002 | 133 | |||
2003 | 134 | // vertikale Toolboxen in Array überführen | ||
2004 | 135 | var vToolboxes = document.getElementsByAttribute('vertical', 'true'); | ||
2005 | 136 | for(var i = 0; i < vToolboxes.length; i++) { | ||
2006 | 137 | if(vToolboxes[i].tagName == "toolbox") toolboxes.push(vToolboxes[i]); | ||
2007 | 138 | } | ||
2008 | 139 | |||
2009 | 140 | // Extra-Toolboxen dazupacken, die je nach Fullscreen-Modus ein- oder ausgeschaltet werden sollen | ||
2010 | 141 | for(var j = 0; j < aiostbx_bindingBoxes.length; j++) { | ||
2011 | 142 | if(document.getElementById(aiostbx_bindingBoxes[j])) | ||
2012 | 143 | toolboxes.push(document.getElementById(aiostbx_bindingBoxes[j])); | ||
2013 | 144 | } | ||
2014 | 145 | |||
2015 | 146 | // Toolboxen durchlaufen | ||
2016 | 147 | for(i = 0; i < toolboxes.length; i++) { | ||
2017 | 148 | var boxChilds = toolboxes[i].childNodes; | ||
2018 | 149 | var fsChilds = 0; | ||
2019 | 150 | |||
2020 | 151 | // Child-Elemente durchlaufen (Toolbars) | ||
2021 | 152 | for(j = 0; j < boxChilds.length; j++) { | ||
2022 | 153 | if(boxChilds[j].getAttribute("fullscreentoolbar") == "true") fsChilds++; | ||
2023 | 154 | else { | ||
2024 | 155 | // Toolbars unterhalb der Tableiste je nach Einstellung ein- bzw. ausblenden | ||
2025 | 156 | // geht nicht durch FF ??? | ||
2026 | 157 | if(toolboxes[i].getAttribute('id') == "aiostbx-belowtabs-toolbox") | ||
2027 | 158 | boxChilds[j].setAttribute('collapsed', window.fullScreen); | ||
2028 | 159 | } | ||
2029 | 160 | } | ||
2030 | 161 | |||
2031 | 162 | // wenn alle Childs der Toolbar im Fullscreen-Modus unsichtbar sind, mache auch die Box unsichtbar | ||
2032 | 163 | if(toolboxes[i].getAttribute('id') != "aios-toggle-toolbox") { | ||
2033 | 164 | if(window.fullScreen) toolboxes[i].setAttribute('hidden', !(fsChilds > 0)); | ||
2034 | 165 | else toolboxes[i].setAttribute('hidden', false); | ||
2035 | 166 | } | ||
2036 | 167 | |||
2037 | 168 | } | ||
2038 | 169 | } | ||
2039 | 170 | |||
2040 | 171 | |||
2041 | 172 | // onshowing + oncommand handlers for the context menu for toolbars while customising | ||
2042 | 173 | // by Stephen Clavering with mods by eXXile | ||
2043 | 174 | function aiostbx_initCustomiseContext(evt, popup) { | ||
2044 | 175 | |||
2045 | 176 | var toolbar = document.popupNode; | ||
2046 | 177 | while(toolbar.localName != "toolbar") toolbar = toolbar.parentNode; | ||
2047 | 178 | var toolbox = toolbar.parentNode; | ||
2048 | 179 | var isPlainToolbox = toolbox.getAttribute('class').indexOf('aiostbx-toolbox-plain') >= 0; | ||
2049 | 180 | var isDefaultToolbar = toolbar.getAttribute('defaultset') != ""; | ||
2050 | 181 | var isAIOSToolbar = toolbar.getAttribute('id') == "aios-toolbar"; | ||
2051 | 182 | var isCustomizableToolbar = toolbar.getAttribute('customizable') == "true"; | ||
2052 | 183 | var isStatusbarToolbar = toolbar.parentNode.parentNode.localName == "statusbar"; | ||
2053 | 184 | var isAutoHideEnabled = typeof autoHIDE == "object"; | ||
2054 | 185 | var child; | ||
2055 | 186 | |||
2056 | 187 | // Einstellungen | ||
2057 | 188 | var mode = toolbar.getAttribute("mode"); | ||
2058 | 189 | var small = toolbar.getAttribute("iconsize") == "small"; | ||
2059 | 190 | var flexbuttons = toolbar.getAttribute("flexbuttons") == "true"; | ||
2060 | 191 | var fullscreentoolbar = toolbar.getAttribute("fullscreentoolbar") == "true"; | ||
2061 | 192 | var position = toolbox.getAttribute("id"); | ||
2062 | 193 | |||
2063 | 194 | for(var i = 0; i < popup.childNodes.length; i++) { | ||
2064 | 195 | child = popup.childNodes[i]; | ||
2065 | 196 | |||
2066 | 197 | // M O D E | ||
2067 | 198 | if(child.getAttribute('name') == "mode") { | ||
2068 | 199 | child.setAttribute('checked', child.getAttribute('value') == mode); | ||
2069 | 200 | |||
2070 | 201 | // keinen "Icon + Text"-Modus in der Tabbar und der Statusleiste | ||
2071 | 202 | child.hidden = child.value == "full" && isPlainToolbox; | ||
2072 | 203 | } | ||
2073 | 204 | |||
2074 | 205 | // S M A L L I C O N S | ||
2075 | 206 | if(child.getAttribute('value') == "smallicons") { | ||
2076 | 207 | child.setAttribute('checked', small); | ||
2077 | 208 | child.setAttribute('disabled', mode == "text"); | ||
2078 | 209 | } | ||
2079 | 210 | |||
2080 | 211 | // F L E X I B L E B U T T O N S | ||
2081 | 212 | if(child.getAttribute('value') == "flexbuttons") { | ||
2082 | 213 | child.setAttribute('checked', flexbuttons); | ||
2083 | 214 | |||
2084 | 215 | // keine flexiblen Buttons in der Tabbar und der Statusleiste | ||
2085 | 216 | child.hidden = isPlainToolbox; | ||
2086 | 217 | popup.childNodes[i-1].hidden = isPlainToolbox; | ||
2087 | 218 | } | ||
2088 | 219 | |||
2089 | 220 | // F U L L S C R E E N | ||
2090 | 221 | if(child.getAttribute('value') == "fullscreentoolbar") { | ||
2091 | 222 | child.setAttribute('checked', fullscreentoolbar); | ||
2092 | 223 | |||
2093 | 224 | // Fullscreen-Option für AIOS-Toolbar entfernen | ||
2094 | 225 | // => sonst kann die Toolbar z.B. mit dem Switch nicht wieder sichtbar gemacht werden | ||
2095 | 226 | // Fullscreen-Option für Statusbar-Toolbars entfernen, wenn "autohide" nicht installiert/aktiviert ist | ||
2096 | 227 | child.hidden = isAIOSToolbar || (isStatusbarToolbar && !isAutoHideEnabled); | ||
2097 | 228 | popup.childNodes[i-1].hidden = isAIOSToolbar || (isStatusbarToolbar && !isAutoHideEnabled); | ||
2098 | 229 | } | ||
2099 | 230 | |||
2100 | 231 | // P O S I T I O N | ||
2101 | 232 | if(child.getAttribute('name') == "position") { | ||
2102 | 233 | child.setAttribute('checked', child.getAttribute('value') == position); | ||
2103 | 234 | |||
2104 | 235 | // nicht verschiebbar in der Tabbar, der Statusleiste, Standard-Toolbars oder unkonfigurierbare Toolbars | ||
2105 | 236 | child.hidden = isPlainToolbox || isDefaultToolbar || !isCustomizableToolbar; | ||
2106 | 237 | // Separator ausblenden | ||
2107 | 238 | if(child.id == "position1") popup.childNodes[i-1].hidden = isPlainToolbox || isDefaultToolbar || !isCustomizableToolbar; | ||
2108 | 239 | } | ||
2109 | 240 | |||
2110 | 241 | // Toolbar-Enhancement-Fix | ||
2111 | 242 | // => alle Elemente ausblenden, die nicht von AIOS in dieses Menü eingefügt wurden | ||
2112 | 243 | // => verhindert doppelte Einträge | ||
2113 | 244 | if(child.getAttribute('aios') != "true" && child.getAttribute('id').indexOf('aiostbx') < 0 && child.getAttribute('value').indexOf('aiostbx') < 0) { | ||
2114 | 245 | child.setAttribute('hidden', true); | ||
2115 | 246 | } | ||
2116 | 247 | } | ||
2117 | 248 | } | ||
2118 | 249 | |||
2119 | 250 | |||
2120 | 251 | // Toolbar-Eigenschaften ändern (Position, Modus, Icongröße, ...) | ||
2121 | 252 | // by Stephen Clavering with mods by eXXile | ||
2122 | 253 | function aiostbx_setToolbarMode(evt, aPopup) { | ||
2123 | 254 | var toolbar = document.popupNode; | ||
2124 | 255 | while(toolbar.localName!="toolbar") toolbar = toolbar.parentNode; | ||
2125 | 256 | |||
2126 | 257 | var value = evt.originalTarget.value; | ||
2127 | 258 | var group = evt.originalTarget.getAttribute("name"); // radio group | ||
2128 | 259 | |||
2129 | 260 | if(value == "smallicons") { | ||
2130 | 261 | var small = evt.originalTarget.getAttribute("checked") == "true"; | ||
2131 | 262 | var size = small ? "small" : "large"; | ||
2132 | 263 | toolbar.parentNode.setToolbarIconSize(toolbar, size); | ||
2133 | 264 | } | ||
2134 | 265 | else if(value == "fullscreentoolbar") { | ||
2135 | 266 | var showInFullScreen = evt.originalTarget.getAttribute("checked") == "true"; | ||
2136 | 267 | toolbar.parentNode.showToolbarInFullscreen(toolbar, showInFullScreen); | ||
2137 | 268 | } | ||
2138 | 269 | // mod by eXXile | ||
2139 | 270 | else if(value == "flexbuttons") { | ||
2140 | 271 | var flexbuttons = evt.originalTarget.getAttribute("checked") == "true"; | ||
2141 | 272 | toolbar.parentNode.setToolbarFlexButtons(toolbar, flexbuttons); | ||
2142 | 273 | } | ||
2143 | 274 | // endmod | ||
2144 | 275 | else if(group == "mode") { | ||
2145 | 276 | toolbar.parentNode.setToolbarMode(toolbar, value); | ||
2146 | 277 | } | ||
2147 | 278 | else if(group == "position") { | ||
2148 | 279 | // We could just remove the <toolbar/> from its current location and append to the | ||
2149 | 280 | // desired toolbox, but that would mean we wouldn't respect the rule that custom | ||
2150 | 281 | // toolbars appear wherever the <toolbarset/> is. Also it caused an interesting | ||
2151 | 282 | // bug where all the items on the toolbar would be duplicated sometimes after the | ||
2152 | 283 | // toolbar was moved. Finally, we can't just get the currentSet of the existing | ||
2153 | 284 | // toolbar and pass it to appendCustomToolbar because currentSet always returns | ||
2154 | 285 | // "__empty" during customisation, because all the items are wrapped in extra elements. | ||
2155 | 286 | var items = []; | ||
2156 | 287 | while(toolbar.hasChildNodes()) items.push(toolbar.removeChild(toolbar.lastChild)); | ||
2157 | 288 | toolbar.parentNode.removeChild(toolbar); | ||
2158 | 289 | |||
2159 | 290 | var newToolbox = document.getElementById(value); | ||
2160 | 291 | var newToolbar = newToolbox.appendCustomToolbar(toolbar.toolbarName, "__empty", true); | ||
2161 | 292 | while(items.length) newToolbar.appendChild(items.pop()); | ||
2162 | 293 | } | ||
2163 | 294 | |||
2164 | 295 | // Breiten der vert. Toolboxen löschen (Anpassung der Größe), um sie kurze Zeit später wieder festzusetzen | ||
2165 | 296 | aiostbx_adjustToolboxWidth(aPopup); | ||
2166 | 297 | } | ||
2167 | 298 | |||
2168 | 299 | |||
2169 | 300 | if(aiosOS != "Darwin") { | ||
2170 | 301 | |||
2171 | 302 | // replacement start-customisation function that passes all our toolboxes as args to the window | ||
2172 | 303 | // by Stephen Clavering with mods by eXXile | ||
2173 | 304 | BrowserCustomizeToolbar = function() { | ||
2174 | 305 | // Disable the toolbar context menu items | ||
2175 | 306 | var menubar = document.getElementById("main-menubar"); | ||
2176 | 307 | for(var i = 0; i < menubar.childNodes.length; ++i) | ||
2177 | 308 | menubar.childNodes[i].setAttribute("disabled", true); | ||
2178 | 309 | |||
2179 | 310 | document.getElementById("cmd_CustomizeToolbars").setAttribute("disabled", "true"); | ||
2180 | 311 | |||
2181 | 312 | if(!aiostbx_toolboxes) aiostbx_getToolboxes(); | ||
2182 | 313 | |||
2183 | 314 | openDialog("chrome://global/content/customizeToolbar.xul", "CustomizeToolbar", | ||
2184 | 315 | "chrome,all,dependent", aiostbx_navToolbox, aiostbx_toolboxes); | ||
2185 | 316 | } | ||
2186 | 317 | |||
2187 | 318 | } | ||
2188 | 319 | |||
2189 | 320 | |||
2190 | 321 | // override to make it look at all 4 toolboxes | ||
2191 | 322 | // by Stephen Clavering with mods by eXXile | ||
2192 | 323 | // erzeugt das Menü für Ansicht => Toolbars (Tabbar & Statusbar auslassen | ||
2193 | 324 | // Aufruf durch onpopupshowing() des Toolbar-Kontextmenüs (browser.xul) | ||
2194 | 325 | onViewToolbarsPopupShowing = function (aEvent) { | ||
2195 | 326 | |||
2196 | 327 | var popup = aEvent.target; | ||
2197 | 328 | var i; | ||
2198 | 329 | |||
2199 | 330 | // keine Toolbars im "Toolbar Properties"-Menü anzeigen | ||
2200 | 331 | if(popup.parentNode.id == "aiostbx-toolbar-context-menu") return; | ||
2201 | 332 | |||
2202 | 333 | // Empty the menu | ||
2203 | 334 | for(i = popup.childNodes.length-1; i >= 0; --i) { | ||
2204 | 335 | var deadItem = popup.childNodes[i]; | ||
2205 | 336 | if(deadItem.hasAttribute("toolbarid")) | ||
2206 | 337 | popup.removeChild(deadItem); | ||
2207 | 338 | } | ||
2208 | 339 | |||
2209 | 340 | var firstMenuItem = popup.firstChild; | ||
2210 | 341 | |||
2211 | 342 | var toolboxIds = []; | ||
2212 | 343 | var toolboxes = document.getElementsByTagName('toolbox'); | ||
2213 | 344 | for(var z = 0; z < toolboxes.length; z++) { | ||
2214 | 345 | toolboxIds.push(toolboxes[z].getAttribute('id')); | ||
2215 | 346 | } | ||
2216 | 347 | |||
2217 | 348 | toolboxIds.push("aiostbx-belowtabs-toolbox"); | ||
2218 | 349 | |||
2219 | 350 | for(var j = 0; j < toolboxIds.length; j++) { | ||
2220 | 351 | var toolbox = document.getElementById(toolboxIds[j]); | ||
2221 | 352 | |||
2222 | 353 | if(toolbox) { | ||
2223 | 354 | for (i = 0; i < toolbox.childNodes.length; ++i) { | ||
2224 | 355 | var toolbar = toolbox.childNodes[i]; | ||
2225 | 356 | var toolbarName = toolbar.getAttribute("toolbarname"); | ||
2226 | 357 | |||
2227 | 358 | var type = toolbar.getAttribute("type"); | ||
2228 | 359 | // inkl. Fix für PersonalMenu (CompactMenu) | ||
2229 | 360 | // => ansonsten kann die Menüleiste nicht über das Kontextmenü deaktiviert werden | ||
2230 | 361 | if(toolbarName && (type != "menubar" || typeof CompactMenuCE == "object")) { | ||
2231 | 362 | var menuItem = document.createElement("menuitem"); | ||
2232 | 363 | menuItem.setAttribute("toolbarid", toolbar.id); | ||
2233 | 364 | menuItem.setAttribute("type", "checkbox"); | ||
2234 | 365 | menuItem.setAttribute("label", toolbarName); | ||
2235 | 366 | menuItem.setAttribute("accesskey", toolbar.getAttribute("accesskey")); | ||
2236 | 367 | // Fix für z.B. Google-Toolbar | ||
2237 | 368 | menuItem.setAttribute("checked", toolbar.getAttribute("collapsed") != "true" && toolbar.getAttribute("hidden") != "true"); | ||
2238 | 369 | popup.insertBefore(menuItem, firstMenuItem); | ||
2239 | 370 | |||
2240 | 371 | menuItem.addEventListener("command", onViewToolbarCommand, false); | ||
2241 | 372 | } | ||
2242 | 373 | toolbar = toolbar.nextSibling; | ||
2243 | 374 | } | ||
2244 | 375 | } | ||
2245 | 376 | } | ||
2246 | 377 | |||
2247 | 378 | return; | ||
2248 | 379 | } | ||
2249 | 380 | |||
2250 | 381 | |||
2251 | 382 | // rewritten to be based on toolbar ids rather than the toolbarindex | ||
2252 | 383 | // (which was a stupid thing to use anyway :p ) | ||
2253 | 384 | // by Stephen Clavering with mods by eXXile | ||
2254 | 385 | onViewToolbarCommand = function (aEvent) { | ||
2255 | 386 | var toolbar; | ||
2256 | 387 | |||
2257 | 388 | if(typeof aEvent == "object") { | ||
2258 | 389 | var id = aEvent.originalTarget.getAttribute("toolbarid"); | ||
2259 | 390 | toolbar = document.getElementById(id); | ||
2260 | 391 | |||
2261 | 392 | var hide = aEvent.originalTarget.getAttribute("checked") != "true"; | ||
2262 | 393 | toolbar.parentNode.hideToolbar(toolbar,hide); | ||
2263 | 394 | |||
2264 | 395 | // gewünschten AIOS-Toolbar-Zustand im broadcaster in aios.xul speichern | ||
2265 | 396 | if(id == "aios-toolbar" && document.getElementById('aios-viewToolbar')) | ||
2266 | 397 | document.getElementById('aios-viewToolbar').setAttribute('checked', !hide); | ||
2267 | 398 | |||
2268 | 399 | // Fix für Google-Toolbar (gewünschten Zustand speichern) | ||
2269 | 400 | if(id == "gtbToolbar" && document.getElementById('aios-viewToolbar')) { | ||
2270 | 401 | document.getElementById('aios-viewToolbar').setAttribute('gtbToolbar', !hide); | ||
2271 | 402 | document.persist('aios-viewToolbar', 'gtbToolbar'); | ||
2272 | 403 | } | ||
2273 | 404 | } | ||
2274 | 405 | else { | ||
2275 | 406 | toolbar = document.getElementById('aios-toolbar'); | ||
2276 | 407 | if(toolbar.parentNode.hideToolbar) toolbar.parentNode.hideToolbar(toolbar, aEvent); | ||
2277 | 408 | } | ||
2278 | 409 | } | ||
2279 | 410 | \ No newline at end of file | 0 | \ No newline at end of file |
2280 | 411 | 1 | ||
2281 | === removed file 'chrome/aios.jar!/content/tbx/tbx.xml' | |||
2282 | --- chrome/aios.jar!/content/tbx/tbx.xml 2008-11-14 11:44:00 +0000 | |||
2283 | +++ chrome/aios.jar!/content/tbx/tbx.xml 1970-01-01 00:00:00 +0000 | |||
2284 | @@ -1,585 +0,0 @@ | |||
2285 | 1 | <?xml version="1.0"?> | ||
2286 | 2 | |||
2287 | 3 | <bindings id="aiostbx-bindings" | ||
2288 | 4 | xmlns="http://www.mozilla.org/xbl" | ||
2289 | 5 | xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" | ||
2290 | 6 | xmlns:xbl="http://www.mozilla.org/xbl"> | ||
2291 | 7 | |||
2292 | 8 | <binding id="toolbar" extends="chrome://global/content/bindings/toolbar.xml#toolbar-base"> | ||
2293 | 9 | <implementation> | ||
2294 | 10 | <field name="firstPermanentChild">null</field> | ||
2295 | 11 | <field name="lastPermanentChild">null</field> | ||
2296 | 12 | |||
2297 | 13 | <property name="toolbarName" | ||
2298 | 14 | onget="return this.getAttribute('toolbarname');" | ||
2299 | 15 | onset="this.setAttribute('toolbarname', val); return val;"/> | ||
2300 | 16 | |||
2301 | 17 | <property name="currentSet"> | ||
2302 | 18 | <getter> | ||
2303 | 19 | <![CDATA[ | ||
2304 | 20 | var node = this.firstChild; | ||
2305 | 21 | var currentSet = ""; | ||
2306 | 22 | while (node) { | ||
2307 | 23 | if (node.id && | ||
2308 | 24 | node.localName == "toolbaritem" || | ||
2309 | 25 | node.localName == "toolbarbutton" || | ||
2310 | 26 | node.localName == "toolbarseparator" || | ||
2311 | 27 | node.localName == "toolbarspring" || | ||
2312 | 28 | node.localName == "toolbarspacer") | ||
2313 | 29 | { | ||
2314 | 30 | if (currentSet) | ||
2315 | 31 | currentSet += ","; | ||
2316 | 32 | |||
2317 | 33 | if (node.localName == "toolbarseparator") | ||
2318 | 34 | currentSet += "separator"; | ||
2319 | 35 | else if (node.localName == "toolbarspring") | ||
2320 | 36 | currentSet += "spring"; | ||
2321 | 37 | else if (node.localName == "toolbarspacer") | ||
2322 | 38 | currentSet += "spacer"; | ||
2323 | 39 | else | ||
2324 | 40 | currentSet += node.id; | ||
2325 | 41 | } | ||
2326 | 42 | node = node.nextSibling; | ||
2327 | 43 | } | ||
2328 | 44 | |||
2329 | 45 | return currentSet ? currentSet : "__empty"; | ||
2330 | 46 | ]]> | ||
2331 | 47 | </getter> | ||
2332 | 48 | |||
2333 | 49 | <setter> | ||
2334 | 50 | <![CDATA[ | ||
2335 | 51 | // Remove all items before the first permanent child and after the last permanent child. | ||
2336 | 52 | while (this.lastChild) { | ||
2337 | 53 | if (this.lastChild == this.lastPermanentChild || | ||
2338 | 54 | (this.lastChild.localName == "toolbarpaletteitem" && | ||
2339 | 55 | this.lastChild.firstChild == this.lastPermanentChild)) | ||
2340 | 56 | break; | ||
2341 | 57 | this.removeChild(this.lastChild); | ||
2342 | 58 | } | ||
2343 | 59 | |||
2344 | 60 | while (this.firstChild) { | ||
2345 | 61 | if (this.firstChild == this.firstPermanentChild || | ||
2346 | 62 | (this.firstChild.localName == "toolbarpaletteitem" && | ||
2347 | 63 | this.firstChild.firstChild == this.firstPermanentChild)) | ||
2348 | 64 | break; | ||
2349 | 65 | this.removeChild(this.firstChild); | ||
2350 | 66 | } | ||
2351 | 67 | |||
2352 | 68 | var firstChildID = this.firstPermanentChild ? this.firstPermanentChild.id : ""; | ||
2353 | 69 | var lastChildID = this.lastPermanentChild ? this.lastPermanentChild.id : ""; | ||
2354 | 70 | |||
2355 | 71 | if (val == "__empty") | ||
2356 | 72 | return; | ||
2357 | 73 | |||
2358 | 74 | if (val) { | ||
2359 | 75 | var itemIds = val.split(","); | ||
2360 | 76 | var before = true; | ||
2361 | 77 | for (var i = 0; i < itemIds.length; i++) { | ||
2362 | 78 | if (itemIds[i] == firstChildID || itemIds[i] == lastChildID) | ||
2363 | 79 | before = false; | ||
2364 | 80 | else | ||
2365 | 81 | this.insertItem(itemIds[i], null, null, before); | ||
2366 | 82 | } | ||
2367 | 83 | } | ||
2368 | 84 | ]]> | ||
2369 | 85 | </setter> | ||
2370 | 86 | </property> | ||
2371 | 87 | |||
2372 | 88 | |||
2373 | 89 | <method name="insertItem"> | ||
2374 | 90 | <parameter name="aId"/> | ||
2375 | 91 | <parameter name="aBeforeElt"/> | ||
2376 | 92 | <parameter name="aWrapper"/> | ||
2377 | 93 | <parameter name="aBeforePermanent"/> | ||
2378 | 94 | <body> | ||
2379 | 95 | <![CDATA[ | ||
2380 | 96 | var newItem = null; | ||
2381 | 97 | |||
2382 | 98 | // Create special cases of palette items. | ||
2383 | 99 | var uniqueId; | ||
2384 | 100 | if (aId == "separator") { | ||
2385 | 101 | newItem = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", | ||
2386 | 102 | "toolbarseparator"); | ||
2387 | 103 | uniqueId = (new Date()).getTime()+this.childNodes.length; | ||
2388 | 104 | newItem.id = "separator" + uniqueId; | ||
2389 | 105 | } else if (aId == "spring") { | ||
2390 | 106 | newItem = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", | ||
2391 | 107 | "toolbarspring"); | ||
2392 | 108 | uniqueId = (new Date()).getTime()+this.childNodes.length; | ||
2393 | 109 | newItem.flex = 1; | ||
2394 | 110 | newItem.id = "spring" + uniqueId; | ||
2395 | 111 | } else if (aId == "spacer") { | ||
2396 | 112 | newItem = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", | ||
2397 | 113 | "toolbarspacer"); | ||
2398 | 114 | uniqueId = (new Date()).getTime()+this.childNodes.length; | ||
2399 | 115 | newItem.id = "spacer" + uniqueId; | ||
2400 | 116 | } else { | ||
2401 | 117 | // Attempt to locate an item with a matching id within palette. | ||
2402 | 118 | if(this.parentNode.palette) var paletteItem = this.parentNode.palette.firstChild; | ||
2403 | 119 | while (paletteItem) { | ||
2404 | 120 | var paletteId = paletteItem.id; | ||
2405 | 121 | if (paletteId == aId) { | ||
2406 | 122 | newItem = paletteItem.cloneNode(true); | ||
2407 | 123 | break; | ||
2408 | 124 | } | ||
2409 | 125 | paletteItem = paletteItem.nextSibling; | ||
2410 | 126 | } | ||
2411 | 127 | } | ||
2412 | 128 | |||
2413 | 129 | if (!newItem) | ||
2414 | 130 | return false; | ||
2415 | 131 | |||
2416 | 132 | var insertItem = newItem; | ||
2417 | 133 | |||
2418 | 134 | // Wrap the item in another node if so inclined. | ||
2419 | 135 | if (aWrapper) { | ||
2420 | 136 | aWrapper.appendChild(newItem); | ||
2421 | 137 | insertItem = aWrapper; | ||
2422 | 138 | } | ||
2423 | 139 | |||
2424 | 140 | // Insert the palette item into the toolbar. | ||
2425 | 141 | if (aBeforeElt) | ||
2426 | 142 | this.insertBefore(insertItem, aBeforeElt); | ||
2427 | 143 | else if (aBeforePermanent && this.firstPermanentChild) | ||
2428 | 144 | this.insertBefore(insertItem, this.firstPermanentChild); | ||
2429 | 145 | else | ||
2430 | 146 | this.appendChild(insertItem); | ||
2431 | 147 | |||
2432 | 148 | return newItem; | ||
2433 | 149 | ]]> | ||
2434 | 150 | </body> | ||
2435 | 151 | </method> | ||
2436 | 152 | |||
2437 | 153 | <constructor> | ||
2438 | 154 | <![CDATA[ | ||
2439 | 155 | this.firstPermanentChild = this.firstChild; | ||
2440 | 156 | this.lastPermanentChild = this.lastChild; | ||
2441 | 157 | |||
2442 | 158 | // Build up our contents from the palette | ||
2443 | 159 | var currentSet = this.getAttribute("currentset"); | ||
2444 | 160 | if(!currentSet && this.getAttribute("anonymous")=="true") { | ||
2445 | 161 | // for the tab-strip toolbars, which are in XBL, so can't have their | ||
2446 | 162 | // attributes persisted. use an attr on the document instead | ||
2447 | 163 | var attr = "_toolbar_currentset_"+this.getAttribute('anonid'); | ||
2448 | 164 | currentSet = document.documentElement.getAttribute(attr); | ||
2449 | 165 | } | ||
2450 | 166 | if(!currentSet) currentSet = this.getAttribute("defaultset"); | ||
2451 | 167 | if(currentSet) this.currentSet = currentSet; | ||
2452 | 168 | ]]> | ||
2453 | 169 | </constructor> | ||
2454 | 170 | </implementation> | ||
2455 | 171 | </binding> | ||
2456 | 172 | |||
2457 | 173 | |||
2458 | 174 | <binding id="customisable-toolbox" extends="chrome://global/content/bindings/toolbar.xml#toolbar-base"> | ||
2459 | 175 | <implementation> | ||
2460 | 176 | <field name="anonymous">false</field> | ||
2461 | 177 | |||
2462 | 178 | <field name="palette">null</field> | ||
2463 | 179 | |||
2464 | 180 | <field name="toolbarset">null</field> | ||
2465 | 181 | |||
2466 | 182 | <field name="customToolbarCount">0</field> | ||
2467 | 183 | |||
2468 | 184 | <constructor> | ||
2469 | 185 | <![CDATA[ | ||
2470 | 186 | // is this toolbox anonymous (in a xbl binding) | ||
2471 | 187 | // (if so it can't have attrs persisted on it, so state | ||
2472 | 188 | // will be stored in attrs of the documentElement) | ||
2473 | 189 | if(this.getAttribute('anonymous')=='true') this.anonymous = true; | ||
2474 | 190 | |||
2475 | 191 | // initialise palette. we leave it in a hash on the document | ||
2476 | 192 | // for other toolboxes to use too. | ||
2477 | 193 | var paletteId = this.getAttribute("palette"); | ||
2478 | 194 | if(!("toolbarpalettes" in document)) | ||
2479 | 195 | document.toolbarpalettes = new Array(); | ||
2480 | 196 | if(paletteId in document.toolbarpalettes) { | ||
2481 | 197 | this.palette = document.toolbarpalettes[paletteId]; | ||
2482 | 198 | } else if(document.getElementById(paletteId)) { | ||
2483 | 199 | var palette = document.getElementById(paletteId); | ||
2484 | 200 | palette.parentNode.removeChild(palette); | ||
2485 | 201 | document.toolbarpalettes[paletteId] = palette; | ||
2486 | 202 | this.palette = palette; | ||
2487 | 203 | } | ||
2488 | 204 | |||
2489 | 205 | // Look to see if there is a toolbarset. | ||
2490 | 206 | var toolbarset = this.firstChild; | ||
2491 | 207 | while (toolbarset && toolbarset.localName != "toolbarset") | ||
2492 | 208 | toolbarset = toolbarset.nextSibling; | ||
2493 | 209 | this.toolbarset = toolbarset; | ||
2494 | 210 | |||
2495 | 211 | var elt, attr; | ||
2496 | 212 | |||
2497 | 213 | if(toolbarset) { | ||
2498 | 214 | // attr indicated that the toolbox below the tab bar is in xbl, so can't | ||
2499 | 215 | // have attrs persisted. they're persisted on the document instead. | ||
2500 | 216 | elt = this.anonymous ? document.documentElement : toolbarset; | ||
2501 | 217 | attr = this.anonymous ? '_toolbarset_' + toolbarset.getAttribute('anonid') + '_toolbar' : 'toolbar'; | ||
2502 | 218 | |||
2503 | 219 | var index = 0; | ||
2504 | 220 | while(elt.hasAttribute(attr+(++index))) { | ||
2505 | 221 | var toolbarInfo = elt.getAttribute(attr+index); | ||
2506 | 222 | var infoSplit = toolbarInfo.split(":"); | ||
2507 | 223 | this.appendCustomToolbar(infoSplit[0], infoSplit[1], false); | ||
2508 | 224 | } | ||
2509 | 225 | } | ||
2510 | 226 | |||
2511 | 227 | // restore toolbar modes, collapsed-ness, and icon size | ||
2512 | 228 | elt = document.documentElement; | ||
2513 | 229 | for(var node = this.firstChild; node; node = node.nextSibling) { | ||
2514 | 230 | if(node.localName!="toolbar") continue; | ||
2515 | 231 | |||
2516 | 232 | attr = '_toolbox_' + this.id + '_toolbar_' + node.id; | ||
2517 | 233 | |||
2518 | 234 | if(this.id.indexOf('belowtabs') > 0) { | ||
2519 | 235 | var collapsed = elt.getAttribute(attr+"-collapsed") == "true"; | ||
2520 | 236 | node.collapsed = collapsed; | ||
2521 | 237 | } | ||
2522 | 238 | |||
2523 | 239 | var mode = elt.getAttribute(attr+"-mode"); | ||
2524 | 240 | if(mode) node.setAttribute("mode",mode); | ||
2525 | 241 | |||
2526 | 242 | var iconsize = elt.getAttribute(attr+"-iconsize"); | ||
2527 | 243 | if(iconsize) node.setAttribute("iconsize",iconsize); | ||
2528 | 244 | |||
2529 | 245 | var fullscreentoolbar = elt.getAttribute(attr+"-fullscreentoolbar"); | ||
2530 | 246 | if(fullscreentoolbar) node.setAttribute("fullscreentoolbar",fullscreentoolbar); | ||
2531 | 247 | |||
2532 | 248 | var flexbuttons = elt.getAttribute(attr+"-flexbuttons"); | ||
2533 | 249 | if(flexbuttons) node.setAttribute("flexbuttons",flexbuttons); | ||
2534 | 250 | } | ||
2535 | 251 | ]]> | ||
2536 | 252 | </constructor> | ||
2537 | 253 | |||
2538 | 254 | <method name="appendCustomToolbar"> | ||
2539 | 255 | <parameter name="aName"/> | ||
2540 | 256 | <parameter name="aCurrentSet"/> | ||
2541 | 257 | <parameter name="inCustomisationMode"/> | ||
2542 | 258 | <body> | ||
2543 | 259 | <![CDATA[ | ||
2544 | 260 | var toolbar = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", | ||
2545 | 261 | "toolbar"); | ||
2546 | 262 | toolbar.id = "__customToolbar_" + aName.replace(" ", ""); | ||
2547 | 263 | toolbar.setAttribute("customizable", "true"); | ||
2548 | 264 | toolbar.setAttribute("customindex", ++this.customToolbarCount); | ||
2549 | 265 | toolbar.setAttribute("toolbarname", aName); | ||
2550 | 266 | toolbar.setAttribute("currentset", aCurrentSet); | ||
2551 | 267 | toolbar.setAttribute("mode", this.getAttribute("mode")); | ||
2552 | 268 | toolbar.setAttribute("iconsize", this.getAttribute("iconsize")); | ||
2553 | 269 | toolbar.setAttribute("flexbuttons", this.getAttribute("flexbuttons")); | ||
2554 | 270 | toolbar.setAttribute("fullscreentoolbar", this.getAttribute("fullscreentoolbar")); | ||
2555 | 271 | // while in customisation mode we use different context menus, | ||
2556 | 272 | // and store the normal-mode context menu in an |oldcontext| attr | ||
2557 | 273 | var context = inCustomisationMode ? "oldcontext" : "context"; | ||
2558 | 274 | toolbar.setAttribute(context, this.toolbarset.getAttribute("context")); | ||
2559 | 275 | toolbar.setAttribute("class", "chromeclass-toolbar"); | ||
2560 | 276 | |||
2561 | 277 | this.insertBefore(toolbar, this.toolbarset); | ||
2562 | 278 | return toolbar; | ||
2563 | 279 | ]]> | ||
2564 | 280 | </body> | ||
2565 | 281 | </method> | ||
2566 | 282 | |||
2567 | 283 | |||
2568 | 284 | <!-- the following methods are used because we can't just persist() the state of the | ||
2569 | 285 | various attributes they set on toolbars, because the toolbars haven't been created | ||
2570 | 286 | at the point where persisted attributes are restored. | ||
2571 | 287 | |||
2572 | 288 | also for the toolbars below the tabbar, the entire toolbox is in xbl, so can't have | ||
2573 | 289 | attributes persisted, so we have to store the state on the documentElement! | ||
2574 | 290 | --> | ||
2575 | 291 | <method name="hideToolbar"> | ||
2576 | 292 | <parameter name="aToolbar"/> | ||
2577 | 293 | <parameter name="aHide"/> | ||
2578 | 294 | <body><![CDATA[ | ||
2579 | 295 | aToolbar.setAttribute('collapsed', aHide); | ||
2580 | 296 | document.persist(aToolbar.id, 'collapsed'); | ||
2581 | 297 | |||
2582 | 298 | if(aToolbar.parentNode.id.indexOf('belowtabs') > 0) { | ||
2583 | 299 | var elt = document.documentElement; | ||
2584 | 300 | var attr = '_toolbox_' + this.id + '_toolbar_' + aToolbar.id + "-collapsed"; | ||
2585 | 301 | if(aHide) elt.setAttribute(attr, aHide); | ||
2586 | 302 | else elt.removeAttribute(attr); | ||
2587 | 303 | if (elt.id != "toolbar-menubar") document.persist(elt.id, attr); | ||
2588 | 304 | } | ||
2589 | 305 | ]]></body> | ||
2590 | 306 | </method> | ||
2591 | 307 | |||
2592 | 308 | <method name="setToolbarMode"> | ||
2593 | 309 | <parameter name="aToolbar"/> | ||
2594 | 310 | <parameter name="aMode"/> | ||
2595 | 311 | <body><![CDATA[ | ||
2596 | 312 | aToolbar.setAttribute("mode",aMode); | ||
2597 | 313 | |||
2598 | 314 | var elt = document.documentElement; | ||
2599 | 315 | var attr = '_toolbox_' + this.id + '_toolbar_' + aToolbar.id + "-mode"; | ||
2600 | 316 | elt.setAttribute(attr,aMode); | ||
2601 | 317 | document.persist(elt.id,attr); | ||
2602 | 318 | ]]></body> | ||
2603 | 319 | </method> | ||
2604 | 320 | |||
2605 | 321 | <method name="setToolbarIconSize"> | ||
2606 | 322 | <parameter name="aToolbar"/> | ||
2607 | 323 | <parameter name="aSize"/> | ||
2608 | 324 | <body><![CDATA[ | ||
2609 | 325 | aToolbar.setAttribute("iconsize",aSize); | ||
2610 | 326 | |||
2611 | 327 | var elt = document.documentElement; | ||
2612 | 328 | var attr = '_toolbox_' + this.id + '_toolbar_' + aToolbar.id + "-iconsize"; | ||
2613 | 329 | elt.setAttribute(attr,aSize); | ||
2614 | 330 | document.persist(elt.id,attr); | ||
2615 | 331 | ]]></body> | ||
2616 | 332 | </method> | ||
2617 | 333 | |||
2618 | 334 | <method name="showToolbarInFullscreen"> | ||
2619 | 335 | <parameter name="aToolbar"/> | ||
2620 | 336 | <parameter name="aShow"/> | ||
2621 | 337 | <body><![CDATA[ | ||
2622 | 338 | aToolbar.setAttribute("fullscreentoolbar",aShow); | ||
2623 | 339 | |||
2624 | 340 | var elt = document.documentElement; | ||
2625 | 341 | var attr = '_toolbox_' + this.id + '_toolbar_' + aToolbar.id + "-fullscreentoolbar"; | ||
2626 | 342 | elt.setAttribute(attr,aShow); | ||
2627 | 343 | document.persist(elt.id,attr); | ||
2628 | 344 | ]]></body> | ||
2629 | 345 | </method> | ||
2630 | 346 | |||
2631 | 347 | <method name="setToolbarFlexButtons"> | ||
2632 | 348 | <parameter name="aToolbar"/> | ||
2633 | 349 | <parameter name="aFlex"/> | ||
2634 | 350 | <body><![CDATA[ | ||
2635 | 351 | aToolbar.setAttribute("flexbuttons",aFlex); | ||
2636 | 352 | |||
2637 | 353 | var elt = document.documentElement; | ||
2638 | 354 | var attr = '_toolbox_' + this.id + '_toolbar_' + aToolbar.id + "-flexbuttons"; | ||
2639 | 355 | elt.setAttribute(attr,aFlex); | ||
2640 | 356 | document.persist(elt.id,attr); | ||
2641 | 357 | ]]></body> | ||
2642 | 358 | </method> | ||
2643 | 359 | |||
2644 | 360 | |||
2645 | 361 | <!-- | ||
2646 | 362 | B E G I N N => Methoden für Toolbar Grippies | ||
2647 | 363 | --> | ||
2648 | 364 | <method name="collapseToolbar"> | ||
2649 | 365 | <parameter name="toolbar"/> | ||
2650 | 366 | <body> | ||
2651 | 367 | <![CDATA[ | ||
2652 | 368 | try { | ||
2653 | 369 | this.createCollapsedGrippy(toolbar); | ||
2654 | 370 | toolbar.setAttribute("moz-collapsed", "true"); | ||
2655 | 371 | document.persist(toolbar.id, "moz-collapsed"); | ||
2656 | 372 | } | ||
2657 | 373 | catch(e) { | ||
2658 | 374 | } | ||
2659 | 375 | this.toolbarOrderChanged(); | ||
2660 | 376 | ]]> | ||
2661 | 377 | </body> | ||
2662 | 378 | </method> | ||
2663 | 379 | |||
2664 | 380 | <method name="expandToolbar"> | ||
2665 | 381 | <parameter name="aGrippyID"/> | ||
2666 | 382 | <body> | ||
2667 | 383 | <![CDATA[ | ||
2668 | 384 | var idString = aGrippyID.substring("moz_tb_collapsed_".length, aGrippyID.length); | ||
2669 | 385 | var toolbar = document.getElementById(idString); | ||
2670 | 386 | toolbar.setAttribute("moz-collapsed", "false"); | ||
2671 | 387 | var collapsedTray = document.getAnonymousElementByAttribute(this, "tbattr", "collapsed-tray"); | ||
2672 | 388 | var collapsedToolbar = document.getElementById("moz_tb_collapsed_" + toolbar.id); | ||
2673 | 389 | collapsedTray.removeChild(collapsedToolbar); | ||
2674 | 390 | if (!collapsedTray.hasChildNodes()) | ||
2675 | 391 | document.getAnonymousElementByAttribute(this, "tbattr", "collapsed-tray-holder").setAttribute("moz-collapsed", "true"); | ||
2676 | 392 | document.persist(toolbar.id, "moz-collapsed"); | ||
2677 | 393 | this.toolbarOrderChanged(); | ||
2678 | 394 | ]]> | ||
2679 | 395 | </body> | ||
2680 | 396 | </method> | ||
2681 | 397 | |||
2682 | 398 | <method name="createCollapsedGrippy"> | ||
2683 | 399 | <parameter name="aToolbar"/> | ||
2684 | 400 | <body> | ||
2685 | 401 | <![CDATA[ | ||
2686 | 402 | const XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"; | ||
2687 | 403 | try { | ||
2688 | 404 | var grippy = document.getAnonymousElementByAttribute(aToolbar, "tbattr", "toolbar-grippy"); | ||
2689 | 405 | var boxObject = grippy.boxObject.QueryInterface(Components.interfaces.nsIBoxObject); | ||
2690 | 406 | var collapsedGrippy = document.createElementNS(XUL_NS, "toolbargrippy"); | ||
2691 | 407 | if (collapsedGrippy) { | ||
2692 | 408 | var width = boxObject.height > 20 ? boxObject.height : 23; | ||
2693 | 409 | var height = boxObject.width > 10 ? boxObject.width : 12; | ||
2694 | 410 | var styleString = "width: " + width + "px; height: " + height + "px;"; | ||
2695 | 411 | collapsedGrippy.setAttribute("style", styleString); | ||
2696 | 412 | collapsedGrippy.setAttribute("tooltiptext", aToolbar.getAttribute("grippytooltiptext")); | ||
2697 | 413 | collapsedGrippy.setAttribute("id", "moz_tb_collapsed_" + aToolbar.id); | ||
2698 | 414 | collapsedGrippy.setAttribute("moz_grippy_collapsed", "true"); | ||
2699 | 415 | collapsedGrippy.setAttribute("tbgrippy-collapsed", "true"); | ||
2700 | 416 | var collapsedTrayHolder = document.getAnonymousElementByAttribute(this, "tbattr", "collapsed-tray-holder"); | ||
2701 | 417 | if (collapsedTrayHolder.getAttribute("moz-collapsed") == "true") | ||
2702 | 418 | collapsedTrayHolder.removeAttribute("moz-collapsed"); | ||
2703 | 419 | document.getAnonymousElementByAttribute(this, "tbattr", "collapsed-tray").appendChild(collapsedGrippy); | ||
2704 | 420 | collapsedGrippy = document.getElementById("moz_tb_collapsed_" + aToolbar.id); | ||
2705 | 421 | } | ||
2706 | 422 | } | ||
2707 | 423 | catch (e) { | ||
2708 | 424 | throw e; | ||
2709 | 425 | } | ||
2710 | 426 | ]]> | ||
2711 | 427 | </body> | ||
2712 | 428 | </method> | ||
2713 | 429 | |||
2714 | 430 | <method name="toolbarOrderChanged"> | ||
2715 | 431 | <body> | ||
2716 | 432 | <![CDATA[ | ||
2717 | 433 | try { | ||
2718 | 434 | const XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"; | ||
2719 | 435 | var resolver = { | ||
2720 | 436 | lookupNamespaceURI: function(prefix) { | ||
2721 | 437 | return XUL_NS; | ||
2722 | 438 | } | ||
2723 | 439 | }; | ||
2724 | 440 | var result = document.evaluate( | ||
2725 | 441 | 'descendant::xul:toolbar', | ||
2726 | 442 | this, | ||
2727 | 443 | resolver, | ||
2728 | 444 | XPathResult.ORDERED_NODE_SNAPSHOT_TYPE, | ||
2729 | 445 | null | ||
2730 | 446 | ); | ||
2731 | 447 | var marked = false; | ||
2732 | 448 | for (var i = 0; i < result.snapshotLength; i++) | ||
2733 | 449 | { | ||
2734 | 450 | var node = result.snapshotItem(i); | ||
2735 | 451 | if (node.getAttribute('moz-collapsed') == 'true') | ||
2736 | 452 | { | ||
2737 | 453 | node.removeAttribute('nocollapsed-top'); | ||
2738 | 454 | } | ||
2739 | 455 | else if (!marked && node.getAttribute('collapsed') != 'true') | ||
2740 | 456 | { | ||
2741 | 457 | node.setAttribute('nocollapsed-top', true); | ||
2742 | 458 | marked = true; | ||
2743 | 459 | } | ||
2744 | 460 | else | ||
2745 | 461 | { | ||
2746 | 462 | node.setAttribute('nocollapsed-top', false); | ||
2747 | 463 | } | ||
2748 | 464 | document.persist(node.id, 'nocollapsed-top'); | ||
2749 | 465 | } | ||
2750 | 466 | var collapsedTray = document.getAnonymousElementByAttribute(this, 'tbattr', 'collapsed-tray-holder'); | ||
2751 | 467 | collapsedTray.setAttribute('contains-all', !marked); | ||
2752 | 468 | document.persist(collapsedTray.id, 'contains-all'); | ||
2753 | 469 | } | ||
2754 | 470 | catch(e) | ||
2755 | 471 | { | ||
2756 | 472 | alert(e); | ||
2757 | 473 | Components.utils.reportError(e); | ||
2758 | 474 | } | ||
2759 | 475 | ]]> | ||
2760 | 476 | </body> | ||
2761 | 477 | </method> | ||
2762 | 478 | <!-- | ||
2763 | 479 | E N D E => Methoden für Toolbar Grippies | ||
2764 | 480 | --> | ||
2765 | 481 | |||
2766 | 482 | |||
2767 | 483 | </implementation> | ||
2768 | 484 | |||
2769 | 485 | |||
2770 | 486 | <!-- | ||
2771 | 487 | B E G I N N => Binding für Toolbar Grippies | ||
2772 | 488 | |||
2773 | 489 | <content orient="vertical"> | ||
2774 | 490 | <xul:vbox flex="1" class="toolbar-internal-box"> | ||
2775 | 491 | <children/> | ||
2776 | 492 | </xul:vbox> | ||
2777 | 493 | --> | ||
2778 | 494 | <content> | ||
2779 | 495 | <children/> | ||
2780 | 496 | <xul:toolbar tbattr="collapsed-tray-holder" class="collapsed-tray-holder" id="collapsed-tray-holder" moz-collapsed="true" persist="contains-all" contains-all="false"> | ||
2781 | 497 | <xul:hbox tbattr="collapsed-tray" class="collapsed-tray"/> | ||
2782 | 498 | <xul:spacer flex="1" class="collapsed-tray-spacer"/> | ||
2783 | 499 | </xul:toolbar> | ||
2784 | 500 | </content> | ||
2785 | 501 | <!-- | ||
2786 | 502 | E N D E => Binding für Toolbar Grippies | ||
2787 | 503 | --> | ||
2788 | 504 | |||
2789 | 505 | |||
2790 | 506 | </binding> | ||
2791 | 507 | |||
2792 | 508 | |||
2793 | 509 | <!-- like chrome://global/content/bindings/toolbar.xml#toolbarpaletteitem, but with a vbox rather than hbox --> | ||
2794 | 510 | <binding id="toolbarpaletteitem-vertical" extends="chrome://global/content/bindings/toolbar.xml#toolbar-base" display="xul:button"> | ||
2795 | 511 | <content> | ||
2796 | 512 | <xul:vbox class="toolbarpaletteitem-box" flex="1" xbl:inherits="type,place"> | ||
2797 | 513 | <children/> | ||
2798 | 514 | </xul:vbox> | ||
2799 | 515 | </content> | ||
2800 | 516 | </binding> | ||
2801 | 517 | |||
2802 | 518 | |||
2803 | 519 | <!-- Binding attached to the <hbox class="tabbrowser-strip"/> inside the | ||
2804 | 520 | <tabbrowser/> so that we can have a toolbar at each end of it. | ||
2805 | 521 | The anonid's are used when persisting the toolbar's attributes. --> | ||
2806 | 522 | <binding id="tab-toolbars"> | ||
2807 | 523 | <content> | ||
2808 | 524 | |||
2809 | 525 | <xul:vbox flex="1"> | ||
2810 | 526 | <xul:hbox flex="1"> | ||
2811 | 527 | |||
2812 | 528 | <children/> | ||
2813 | 529 | |||
2814 | 530 | <xul:toolbox id="aiostbx-tableft-toolbox" anonid="aiostbx-toolbox-tableft" hidden="true" | ||
2815 | 531 | class="aiostbx-toolbox-plain aiostbx-tabbar-toolbox" palette="BrowserToolbarPalette" | ||
2816 | 532 | context="toolbar-context-menu" customiseContext="toolbar-customise-context-menu"> | ||
2817 | 533 | |||
2818 | 534 | <xul:toolbar anonid="aiostbx-toolbar-tableft" anonymous="true" fullscreentoolbar="true" | ||
2819 | 535 | context="toolbar-context-menu" customizable="true" mode="icons" iconsize="small" /> | ||
2820 | 536 | </xul:toolbox> | ||
2821 | 537 | |||
2822 | 538 | <!-- nur noetig, wenn Toolbox-Binding an .tabbrowser-strip gekoppelt ist --> | ||
2823 | 539 | <!--<xul:spacer flex="1" id="aiostbx-spacer" />--> | ||
2824 | 540 | |||
2825 | 541 | <xul:toolbox id="aiostbx-tabright-toolbox" anonid="aiostbx-toolbox-tabright" hidden="true" | ||
2826 | 542 | class="aiostbx-toolbox-plain aiostbx-tabbar-toolbox" palette="BrowserToolbarPalette" | ||
2827 | 543 | context="toolbar-context-menu" customiseContext="toolbar-customise-context-menu"> | ||
2828 | 544 | |||
2829 | 545 | <xul:toolbar anonid="aiostbx-toolbar-tabright" anonymous="true" fullscreentoolbar="true" | ||
2830 | 546 | context="toolbar-context-menu" customizable="true" mode="icons" iconsize="small" defaultset="tab-close-button" /> | ||
2831 | 547 | </xul:toolbox> | ||
2832 | 548 | |||
2833 | 549 | </xul:hbox> | ||
2834 | 550 | |||
2835 | 551 | <xul:toolbox id="aiostbx-belowtabs-toolbox" anonid="aiostbx-toolbox-belowtabs" anonymous="true" | ||
2836 | 552 | class="aiostbx-toolbox-belowtabs" palette="BrowserToolbarPalette" mode="icons" iconsize="small" | ||
2837 | 553 | horizontal="true" context="toolbar-context-menu" customiseContext="toolbar-customise-context-menu"> | ||
2838 | 554 | |||
2839 | 555 | <xul:toolbarset anonymous="true" anonid="aiostbx-toolbarset-belowtabs" | ||
2840 | 556 | context="toolbar-context-menu" customiseContext="toolbar-customise-context-menu"/> | ||
2841 | 557 | </xul:toolbox> | ||
2842 | 558 | |||
2843 | 559 | </xul:vbox> | ||
2844 | 560 | |||
2845 | 561 | </content> | ||
2846 | 562 | </binding> | ||
2847 | 563 | |||
2848 | 564 | |||
2849 | 565 | <!-- binding attached to the <tabbox/> immediately inside <tabbrowser/> to insert a toolbox | ||
2850 | 566 | between it and the deck of <browser/>s | ||
2851 | 567 | <binding id="tabbrowser-tabbox" display="xul:box" extends="chrome://global/content/bindings/tabbox.xml#tabbox"> | ||
2852 | 568 | <content> | ||
2853 | 569 | |||
2854 | 570 | <children includes="hbox"/> | ||
2855 | 571 | |||
2856 | 572 | <xul:toolbox id="aiostbx-belowtabs-toolbox" anonid="aiostbx-toolbox-belowtabs" anonymous="true" | ||
2857 | 573 | class="aiostbx-toolbox-belowtabs" palette="BrowserToolbarPalette" mode="icons" iconsize="small" | ||
2858 | 574 | horizontal="true" context="toolbar-context-menu" customiseContext="toolbar-customise-context-menu"> | ||
2859 | 575 | |||
2860 | 576 | <xul:toolbarset anonymous="true" anonid="aiostbx-toolbarset-belowtabs" | ||
2861 | 577 | context="toolbar-context-menu" customiseContext="toolbar-customise-context-menu"/> | ||
2862 | 578 | </xul:toolbox> | ||
2863 | 579 | |||
2864 | 580 | <children includes="tabpanels"/> | ||
2865 | 581 | |||
2866 | 582 | </content> | ||
2867 | 583 | </binding>--> | ||
2868 | 584 | |||
2869 | 585 | </bindings> | ||
2870 | 586 | \ No newline at end of file | 0 | \ No newline at end of file |
2871 | 587 | 1 | ||
2872 | === removed file 'chrome/aios.jar!/content/tbx/tbx.xul' | |||
2873 | --- chrome/aios.jar!/content/tbx/tbx.xul 2008-11-14 11:44:00 +0000 | |||
2874 | +++ chrome/aios.jar!/content/tbx/tbx.xul 1970-01-01 00:00:00 +0000 | |||
2875 | @@ -1,268 +0,0 @@ | |||
2876 | 1 | <?xml version="1.0"?> | ||
2877 | 2 | |||
2878 | 3 | <?xml-stylesheet href="chrome://aios/content/tbx/tbx.css" type="text/css"?> | ||
2879 | 4 | <?xml-stylesheet href="chrome://aios/skin/tbx.css" type="text/css"?> | ||
2880 | 5 | |||
2881 | 6 | <!-- locale --> | ||
2882 | 7 | <!DOCTYPE overlay [ | ||
2883 | 8 | <!ENTITY % tbxDTD SYSTEM "chrome://aios/locale/tbx.dtd"> %tbxDTD; | ||
2884 | 9 | <!ENTITY % aiosDTD SYSTEM "chrome://aios/locale/aios.dtd"> %aiosDTD; | ||
2885 | 10 | <!ENTITY % aiosLibDTD SYSTEM "chrome://aios/locale/lib.dtd"> %aiosLibDTD; | ||
2886 | 11 | ]> | ||
2887 | 12 | |||
2888 | 13 | <overlay id="aiostbxBrowserOverlay" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> | ||
2889 | 14 | |||
2890 | 15 | <script type="application/x-javascript" src="chrome://aios/content/tbx/tbx_shared.js" /> | ||
2891 | 16 | <script type="application/x-javascript" src="chrome://aios/content/tbx/tbx.js" /> | ||
2892 | 17 | |||
2893 | 18 | |||
2894 | 19 | <!-- neue Buttons --> | ||
2895 | 20 | <toolbarpalette id="BrowserToolbarPalette"> | ||
2896 | 21 | |||
2897 | 22 | <toolbarbutton id="sidebar-close-button" class="tabs-closebutton" | ||
2898 | 23 | oncommand="aios_toggleSidebar(this);" ondblclick="event.stopPropagation();" | ||
2899 | 24 | label="&button.sidebar.close.label;" tooltiptext="&button.sidebar.close.tooltip;" /> | ||
2900 | 25 | |||
2901 | 26 | </toolbarpalette> | ||
2902 | 27 | |||
2903 | 28 | |||
2904 | 29 | <!-- Toolboxes need a |palette| attribute so they use the new xbl widget... --> | ||
2905 | 30 | <toolbox id="navigator-toolbox" context="toolbar-context-menu" customiseContext="toolbar-customise-context-menu" | ||
2906 | 31 | palette="BrowserToolbarPalette" aiosTBG="true" /> | ||
2907 | 32 | |||
2908 | 33 | |||
2909 | 34 | <!-- TOOLBOXES LINKS, RECHTS, NEBEN UND IN DER SIDEBAR --> | ||
2910 | 35 | <hbox id="browser"> | ||
2911 | 36 | |||
2912 | 37 | <!-- Sidbar-Switch --> | ||
2913 | 38 | <toolbox id="aios-toggle-toolbox" orient="vertical" insertbefore="sidebar-box" class="chromeclass-toolbar" | ||
2914 | 39 | persist="hidden fsToolbar fsSidebar fsSwitch" vertical="true"> | ||
2915 | 40 | |||
2916 | 41 | <!-- Fenstermodus fuer schmalen Umschalter ueberwachen (maximized, normal, minimized) --> | ||
2917 | 42 | <observes element="main-window" attribute="sizemode" onbroadcast="aios_checkThinSwitch();" /> | ||
2918 | 43 | |||
2919 | 44 | <!-- AIOS-Sidebar-Switch --> | ||
2920 | 45 | <toolbar id="aios-toggle-toolbar" fullscreentoolbar="true" class="chromeclass-toolbar" flex="1" | ||
2921 | 46 | style="min-width: 6px; max-width: 6px;" persist="style"> | ||
2922 | 47 | |||
2923 | 48 | <!-- ueber tooltip oder tooltiptext wird in aios_setTargets() [_lib.js] entschieden --> | ||
2924 | 49 | <grippy flex="1" id="aios-toggle-button" tooltip="switch-tooltip" tooltiptext="&button.toggle.tooltip;" | ||
2925 | 50 | onclick="aios_controlSwitch(event, this);" | ||
2926 | 51 | onmouseover="aios_autoShowHide('switch'); event.stopPropagation();" | ||
2927 | 52 | ondragenter="aios_toggleSidebar('switch', true); event.stopPropagation();" /> | ||
2928 | 53 | |||
2929 | 54 | </toolbar> | ||
2930 | 55 | </toolbox> | ||
2931 | 56 | |||
2932 | 57 | |||
2933 | 58 | <!-- LINKS --> | ||
2934 | 59 | <toolbox id="aiostbx-left-toolbox" insertbefore="sidebar-box" palette="BrowserToolbarPalette" | ||
2935 | 60 | context="toolbar-context-menu" customiseContext="toolbar-customise-context-menu" | ||
2936 | 61 | vertical="true" mode="icons" iconsize="large"> | ||
2937 | 62 | |||
2938 | 63 | <toolbarset id="aiostbx-left-toolbars" context="toolbar-context-menu"/> | ||
2939 | 64 | |||
2940 | 65 | <toolbar id="aios-toolbar" class="chromeclass-toolbar" iconsize="large" mode="icons" customizable="true" | ||
2941 | 66 | toolbarname="&toolbar.name;" context="toolbar-context-menu" fullscreentoolbar="true" persist="collapsed" | ||
2942 | 67 | defaultset="autohide-button,separator,bookmarks-button,history-button,separator,downloads-button,addons-button,separator,multipanel-button,pageinfo-button" /> | ||
2943 | 68 | </toolbox> | ||
2944 | 69 | |||
2945 | 70 | <!-- RECHTS NEBEN DER SIDEBAR --> | ||
2946 | 71 | <toolbox id="aiostbx-sidebarright-toolbox" insertafter="sidebar-splitter" palette="BrowserToolbarPalette" | ||
2947 | 72 | context="toolbar-context-menu" customiseContext="toolbar-customise-context-menu" | ||
2948 | 73 | vertical="true" mode="icons" iconsize="large"> | ||
2949 | 74 | |||
2950 | 75 | <toolbarset id="aiostbx-sidebarright-toolbars" context="toolbar-context-menu"/> | ||
2951 | 76 | </toolbox> | ||
2952 | 77 | |||
2953 | 78 | <!-- RECHTS --> | ||
2954 | 79 | <toolbox id="aiostbx-right-toolbox" insertafter="appcontent" palette="BrowserToolbarPalette" | ||
2955 | 80 | context="toolbar-context-menu" customiseContext="toolbar-customise-context-menu" | ||
2956 | 81 | vertical="true" mode="icons" iconsize="large"> | ||
2957 | 82 | |||
2958 | 83 | <toolbarset id="aiostbx-right-toolbars" context="toolbar-context-menu"/> | ||
2959 | 84 | </toolbox> | ||
2960 | 85 | |||
2961 | 86 | |||
2962 | 87 | <vbox id="sidebar-box"> | ||
2963 | 88 | |||
2964 | 89 | <!-- SIDEBARHEADER --> | ||
2965 | 90 | <sidebarheader id="sidebarheader"> | ||
2966 | 91 | |||
2967 | 92 | <hbox id="sidebarheader-hbox" tooltip="sidebarheader-tooltip" insertbefore="sidebar-title" flex="1"> | ||
2968 | 93 | <toolbarbutton id="sidebars-titlebutton" type="menu" align="left" flex="1" | ||
2969 | 94 | ondblclick="this.childNodes[1].hidePopup();"> | ||
2970 | 95 | <label flex="1" crop="right"> | ||
2971 | 96 | <observes element="sidebar-title" attribute="value" /> | ||
2972 | 97 | </label> | ||
2973 | 98 | |||
2974 | 99 | <menupopup onpopupshowing="aios_getSidebarMenu(this);" /> | ||
2975 | 100 | </toolbarbutton> | ||
2976 | 101 | |||
2977 | 102 | <spacer id="sidebarheader-spacer" flex="5000" /> | ||
2978 | 103 | </hbox> | ||
2979 | 104 | |||
2980 | 105 | <toolbox id="aiostbx-sidebarheader-toolbox" position="100" palette="BrowserToolbarPalette" | ||
2981 | 106 | context="toolbar-context-menu" customiseContext="toolbar-customise-context-menu" class="aiostbx-toolbox-plain" | ||
2982 | 107 | horizontal="true" mode="icons" iconsize="small" fullscreentoolbar="true" ondblclick="event.stopPropagation();"> | ||
2983 | 108 | |||
2984 | 109 | <toolbar id="aiostbx-toolbar-sidebarheader" class="aiostbx-toolbar-plain" context="toolbar-context-menu" | ||
2985 | 110 | customizable="true" mode="icons" iconsize="small" fullscreentoolbar="true" | ||
2986 | 111 | defaultset="paneltab-button,sidebar-close-button" /> | ||
2987 | 112 | |||
2988 | 113 | </toolbox> | ||
2989 | 114 | </sidebarheader> | ||
2990 | 115 | |||
2991 | 116 | |||
2992 | 117 | <!-- UEBER DER SIDEBAR --> | ||
2993 | 118 | <toolbox id="aiostbx-sidebartop-toolbox" insertbefore="sidebarheader" palette="BrowserToolbarPalette" | ||
2994 | 119 | context="toolbar-context-menu" customiseContext="toolbar-customise-context-menu" | ||
2995 | 120 | horizontal="true" mode="icons" iconsize="small" flexbuttons="true" fullscreentoolbar="true"> | ||
2996 | 121 | |||
2997 | 122 | <toolbarset id="aiostbx-sidebartop-toolbars" context="toolbar-context-menu" /> | ||
2998 | 123 | </toolbox> | ||
2999 | 124 | |||
3000 | 125 | <!-- UNTER DEM SIDEBARHEADER --> | ||
3001 | 126 | <toolbox id="aiostbx-headerbottom-toolbox" insertbefore="sidebar" palette="BrowserToolbarPalette" | ||
3002 | 127 | context="toolbar-context-menu" customiseContext="toolbar-customise-context-menu" | ||
3003 | 128 | horizontal="true" mode="icons" iconsize="small" flexbuttons="true" fullscreentoolbar="true"> | ||
3004 | 129 | |||
3005 | 130 | <toolbarset id="aiostbx-headerbottom-toolbars" context="toolbar-context-menu" /> | ||
3006 | 131 | </toolbox> | ||
3007 | 132 | |||
3008 | 133 | <!-- UNTER DER SIDEBAR --> | ||
3009 | 134 | <toolbox id="aiostbx-sidebarbottom-toolbox" insertafter="sidebar" palette="BrowserToolbarPalette" | ||
3010 | 135 | context="toolbar-context-menu" customiseContext="toolbar-customise-context-menu" | ||
3011 | 136 | horizontal="true" mode="icons" iconsize="small" flexbuttons="true" fullscreentoolbar="true"> | ||
3012 | 137 | |||
3013 | 138 | <toolbarset id="aiostbx-sidebarbottom-toolbars" context="toolbar-context-menu" /> | ||
3014 | 139 | </toolbox> | ||
3015 | 140 | |||
3016 | 141 | </vbox> | ||
3017 | 142 | |||
3018 | 143 | </hbox> | ||
3019 | 144 | |||
3020 | 145 | |||
3021 | 146 | <!-- UNTEN --> | ||
3022 | 147 | <window id="main-window"> | ||
3023 | 148 | |||
3024 | 149 | <popupset id="aiosTooltips"> | ||
3025 | 150 | <tooltip id="switch-tooltip"> | ||
3026 | 151 | <label value="&button.toggle.tooltip;" /> | ||
3027 | 152 | |||
3028 | 153 | <box r1c1="&button.switch.tooltip1;: " r1c2="&leftclick;" | ||
3029 | 154 | r2c1="&button.switch.tooltip2;: " r2c2="&key.ctrl;+&leftclick; / &middleclick;" | ||
3030 | 155 | r3c1="&button.switch.tooltip3;: " r3c2="&key.shift;+&leftclick; / &rightclick;" /> | ||
3031 | 156 | </tooltip> | ||
3032 | 157 | </popupset> | ||
3033 | 158 | |||
3034 | 159 | <toolbox id="aiostbx-bottom-toolbox" insertbefore="status-bar" palette="BrowserToolbarPalette" | ||
3035 | 160 | context="toolbar-context-menu" customiseContext="toolbar-customise-context-menu" | ||
3036 | 161 | horizontal="true" mode="icons" iconsize="large"> | ||
3037 | 162 | |||
3038 | 163 | <toolbarset id="aiostbx-bottom-toolbars" context="toolbar-context-menu"/> | ||
3039 | 164 | </toolbox> | ||
3040 | 165 | </window> | ||
3041 | 166 | |||
3042 | 167 | |||
3043 | 168 | <!-- toolbars at each end of the status bar. position attr used to try and ensure they always end up at the ends, | ||
3044 | 169 | regardless of what other extensions the user has installed. --> | ||
3045 | 170 | <statusbar id="status-bar"> | ||
3046 | 171 | <toolbox id="aiostbx-toolbox-statusbar-left" class="aiostbx-toolbox-plain aiostbx-statusbar-toolbox" | ||
3047 | 172 | palette="BrowserToolbarPalette" context="toolbar-context-menu" hidden="true" | ||
3048 | 173 | customiseContext="toolbar-customise-context-menu" position="1"> | ||
3049 | 174 | |||
3050 | 175 | <toolbar id="aiostbx-toolbar-statusbar-left" class="aiostbx-toolbar-plain" context="toolbar-context-menu" | ||
3051 | 176 | customizable="true" mode="icons" iconsize="small" fullscreentoolbar="true" defaultset="" /> | ||
3052 | 177 | </toolbox> | ||
3053 | 178 | |||
3054 | 179 | <toolbox id="aiostbx-toolbox-statusbar-right" class="aiostbx-toolbox-plain aiostbx-statusbar-toolbox" | ||
3055 | 180 | palette="BrowserToolbarPalette" context="toolbar-context-menu" hidden="true" | ||
3056 | 181 | customiseContext="toolbar-customise-context-menu" position="1000"> | ||
3057 | 182 | |||
3058 | 183 | <toolbar id="aiostbx-toolbar-statusbar-right" class="aiostbx-toolbar-plain" context="toolbar-context-menu" | ||
3059 | 184 | customizable="true" mode="icons" iconsize="small" fullscreentoolbar="true" defaultset=""> | ||
3060 | 185 | |||
3061 | 186 | </toolbar> | ||
3062 | 187 | </toolbox> | ||
3063 | 188 | </statusbar> | ||
3064 | 189 | |||
3065 | 190 | |||
3066 | 191 | <!-- a new context menu to use for toolbars while customising them --> | ||
3067 | 192 | <popupset id="mainPopupSet"> | ||
3068 | 193 | |||
3069 | 194 | <popup id="toolbar-context-menu" oncommand="aiostbx_adjustToolboxWidth(this);"> | ||
3070 | 195 | <menu id="aiostbx-toolbar-context-tmpMenu" label="&toolbar.customize.label;" hidden="true"> | ||
3071 | 196 | <menupopup onpopupshowing="aiostbx_initCustomiseContext(event, this);" | ||
3072 | 197 | oncommand="aiostbx_setToolbarMode(event, this); persistCurrentSets(); aiostbx_getCustomizeMenu();" /> | ||
3073 | 198 | </menu> | ||
3074 | 199 | </popup> | ||
3075 | 200 | |||
3076 | 201 | |||
3077 | 202 | <popup id="toolbar-customise-context-menu" onpopupshowing="aiostbx_initCustomiseContext(event, this);" | ||
3078 | 203 | oncommand="aiostbx_setToolbarMode(event, this);"> | ||
3079 | 204 | |||
3080 | 205 | <menuitem type="radio" name="mode" value="full" label="&toolbar.mode.iconstext.label;" aios="true" /> | ||
3081 | 206 | <menuitem type="radio" name="mode" value="icons" label="&toolbar.mode.icons.label;" aios="true" /> | ||
3082 | 207 | <menuitem type="radio" name="mode" value="text" label="&toolbar.mode.text.label;" aios="true" /> | ||
3083 | 208 | |||
3084 | 209 | <menuseparator id="aiostbx-smallicons-separator" /> | ||
3085 | 210 | |||
3086 | 211 | <menuitem type="checkbox" id="aiostbx-smallicons-mitem" value="smallicons" label="&toolbar.mode.smallicons.label;" /> | ||
3087 | 212 | |||
3088 | 213 | <menuseparator id="aiostbx-flexbuttons-separator" /> | ||
3089 | 214 | |||
3090 | 215 | <menuitem type="checkbox" id="aiostbx-flexbuttons-mitem" value="flexbuttons" label="&toolbar.mode.flexbuttons.label;" /> | ||
3091 | 216 | |||
3092 | 217 | <menuseparator id="aiostbx-fullscreen-separator" /> | ||
3093 | 218 | |||
3094 | 219 | <menuitem type="checkbox" id="aiostbx-fullscreen-mitem" value="fullscreentoolbar" | ||
3095 | 220 | label="&toolbar.mode.fullscreen.label;" /> | ||
3096 | 221 | |||
3097 | 222 | <menuseparator aios="true" /> | ||
3098 | 223 | |||
3099 | 224 | <menuitem type="radio" id="position1" name="position" value="navigator-toolbox" | ||
3100 | 225 | label="&toolbar.pos.top.label;" aios="true" /> | ||
3101 | 226 | |||
3102 | 227 | <menuitem type="radio" name="position" value="aiostbx-belowtabs-toolbox" | ||
3103 | 228 | label="&toolbar.pos.belowtabs.label;" /> | ||
3104 | 229 | |||
3105 | 230 | <menuitem type="radio" name="position" value="aiostbx-sidebartop-toolbox" | ||
3106 | 231 | label="&toolbar.pos.sidebartop.label;" /> | ||
3107 | 232 | |||
3108 | 233 | <menuitem type="radio" name="position" value="aiostbx-headerbottom-toolbox" | ||
3109 | 234 | label="&toolbar.pos.headerbottom.label;" /> | ||
3110 | 235 | |||
3111 | 236 | <menuitem type="radio" name="position" value="aiostbx-sidebarbottom-toolbox" | ||
3112 | 237 | label="&toolbar.pos.sidebarbottom.label;" /> | ||
3113 | 238 | |||
3114 | 239 | <menuitem type="radio" name="position" value="aiostbx-bottom-toolbox" | ||
3115 | 240 | label="&toolbar.pos.bottom.label;" /> | ||
3116 | 241 | |||
3117 | 242 | <menuitem type="radio" id="aiostbx-left" name="position" value="aiostbx-left-toolbox" | ||
3118 | 243 | label="&toolbar.pos.left.label;" /> | ||
3119 | 244 | |||
3120 | 245 | <!-- only for LTR-Window-Mode, read label via JavaScript, no need for an extra file "tbx.properties" --> | ||
3121 | 246 | <menuitem id="aiostbx-sidebarleft" label="&toolbar.pos.sidebarleft.label;" hidden="true" /> | ||
3122 | 247 | |||
3123 | 248 | <menuitem type="radio" id="aiostbx-sidebarright" name="position" value="aiostbx-sidebarright-toolbox" | ||
3124 | 249 | label="&toolbar.pos.sidebarright.label;" /> | ||
3125 | 250 | |||
3126 | 251 | <menuitem type="radio" id="aiostbx-right" name="position" value="aiostbx-right-toolbox" | ||
3127 | 252 | label="&toolbar.pos.right.label;" /> | ||
3128 | 253 | |||
3129 | 254 | </popup> | ||
3130 | 255 | </popupset> | ||
3131 | 256 | |||
3132 | 257 | <script><![CDATA[ | ||
3133 | 258 | |||
3134 | 259 | top.document.getElementById("sidebar-throbber").parentNode.setAttribute('id', 'sidebarheader'); | ||
3135 | 260 | |||
3136 | 261 | var aiosOS = Components.classes['@mozilla.org/xre/app-info;1'].getService(Components.interfaces.nsIXULRuntime).OS; | ||
3137 | 262 | window.addEventListener("load", aiostbx_init, false); | ||
3138 | 263 | |||
3139 | 264 | //sidebarheader-tooltip | ||
3140 | 265 | |||
3141 | 266 | ]]></script> | ||
3142 | 267 | |||
3143 | 268 | </overlay> | ||
3144 | 269 | \ No newline at end of file | 0 | \ No newline at end of file |
3145 | 270 | 1 | ||
3146 | === removed file 'chrome/aios.jar!/content/tbx/tbx_customize.js' | |||
3147 | --- chrome/aios.jar!/content/tbx/tbx_customize.js 2008-11-14 11:44:00 +0000 | |||
3148 | +++ chrome/aios.jar!/content/tbx/tbx_customize.js 1970-01-01 00:00:00 +0000 | |||
3149 | @@ -1,387 +0,0 @@ | |||
3150 | 1 | |||
3151 | 2 | var aiosOS = Components.classes['@mozilla.org/xre/app-info;1'].getService(Components.interfaces.nsIXULRuntime).OS; | ||
3152 | 3 | |||
3153 | 4 | // mostly we're just redefining functions that already exist to cope with multiple toolboxes | ||
3154 | 5 | // (i.e the function body gets wrapped in a for(){} loop, and references to |gToolbox| get changed) | ||
3155 | 6 | |||
3156 | 7 | if(aiosOS != "Darwin") { | ||
3157 | 8 | |||
3158 | 9 | var gToolboxes = null; | ||
3159 | 10 | var wOpener = null; | ||
3160 | 11 | if(window.opener && window.opener.top && typeof window.opener.top.aiostbx_adjustToolboxWidth == "function") wOpener = window.opener.top; | ||
3161 | 12 | var gPref = Components.classes["@mozilla.org/preferences-service;1"].getService(Components.interfaces.nsIPrefBranch); | ||
3162 | 13 | |||
3163 | 14 | |||
3164 | 15 | onload = function () { | ||
3165 | 16 | aios_moveGlobal(); | ||
3166 | 17 | |||
3167 | 18 | InitWithToolbox(window.arguments[0]); | ||
3168 | 19 | repositionDialog(); | ||
3169 | 20 | } | ||
3170 | 21 | |||
3171 | 22 | |||
3172 | 23 | // globale Einstellungen in die Groupbox verschieben | ||
3173 | 24 | var aios_moveGlobal; | ||
3174 | 25 | aios_moveGlobal = function () { | ||
3175 | 26 | try { | ||
3176 | 27 | var globalBox = document.getElementById('smallicons').parentNode; | ||
3177 | 28 | document.getElementById('aios-globalGroup').appendChild(globalBox); | ||
3178 | 29 | document.getElementById('smallicons').setAttribute('flex', 1); | ||
3179 | 30 | |||
3180 | 31 | // DOM Inspector-Button entfernen, wenn DOMI nicht installiert ist | ||
3181 | 32 | if(aios_checkDOMi) { | ||
3182 | 33 | aios_checkDOMi(); | ||
3183 | 34 | window.setTimeout("aios_checkDOMi()", 200); | ||
3184 | 35 | } | ||
3185 | 36 | |||
3186 | 37 | // Anpassungen für FF 1.5 <=> FF 2.0 | ||
3187 | 38 | if(aios_modBonEcho) { | ||
3188 | 39 | aios_modBonEcho(); | ||
3189 | 40 | window.setTimeout("aios_modBonEcho()", 200); | ||
3190 | 41 | } | ||
3191 | 42 | |||
3192 | 43 | // Anpassungen für Console2 | ||
3193 | 44 | if(aios_modConsole2) { | ||
3194 | 45 | aios_modConsole2(); | ||
3195 | 46 | window.setTimeout("aios_modConsole2()", 200); | ||
3196 | 47 | } | ||
3197 | 48 | } | ||
3198 | 49 | catch(e) { } | ||
3199 | 50 | } | ||
3200 | 51 | |||
3201 | 52 | |||
3202 | 53 | InitWithToolbox = function (aToolbox) { | ||
3203 | 54 | // mod by eXXile | ||
3204 | 55 | var aiosCNT = 0; | ||
3205 | 56 | |||
3206 | 57 | try { | ||
3207 | 58 | var enable_tabbar = gPref.getBoolPref('extensions.aios.tbx.tabbar'); | ||
3208 | 59 | document.getElementById('palette-box').setAttribute('aiosTabToolbar', enable_tabbar); | ||
3209 | 60 | } | ||
3210 | 61 | catch(e) { } | ||
3211 | 62 | // end mod | ||
3212 | 63 | |||
3213 | 64 | gToolbox = aToolbox; | ||
3214 | 65 | gToolboxDocument = gToolbox.ownerDocument; | ||
3215 | 66 | |||
3216 | 67 | // we pass the full array of toolboxes as the 2nd arg so as not to break | ||
3217 | 68 | // any other xul apps (extensions) which are using customisable toolbars | ||
3218 | 69 | gToolboxes = (window.arguments && window.arguments.length > 1) ? window.arguments[1] : [gToolbox]; | ||
3219 | 70 | |||
3220 | 71 | for(var i = 0; i < gToolboxes.length; i++) { | ||
3221 | 72 | // mod by eXXile | ||
3222 | 73 | // Events für Toolbaranpassungen | ||
3223 | 74 | if(wOpener != null) { | ||
3224 | 75 | gToolboxes[i].addEventListener("draggesture", wOpener.aiostbx_adjustToolboxWidth, false); | ||
3225 | 76 | gToolboxes[i].addEventListener("dragdrop", wOpener.aiostbx_adjustToolboxWidth, false); | ||
3226 | 77 | } | ||
3227 | 78 | |||
3228 | 79 | if(gToolboxes[i].getAttribute('id').indexOf('aios') >= 0) aiosCNT++; | ||
3229 | 80 | //endmod | ||
3230 | 81 | |||
3231 | 82 | gToolboxes[i].addEventListener("draggesture", onToolbarDragGesture, false); | ||
3232 | 83 | gToolboxes[i].addEventListener("dragover", onToolbarDragOver, false); | ||
3233 | 84 | gToolboxes[i].addEventListener("dragexit", onToolbarDragExit, false); | ||
3234 | 85 | gToolboxes[i].addEventListener("dragdrop", onToolbarDragDrop, false); | ||
3235 | 86 | // useful for min-width styles and suchlike | ||
3236 | 87 | gToolboxes[i].setAttribute("incustomisemode","true"); | ||
3237 | 88 | } | ||
3238 | 89 | |||
3239 | 90 | // mod by eXXile | ||
3240 | 91 | // Hinweis auf weitere Optionen ausblenden wenn nicht die Haupttoolbars konfiguriert werden | ||
3241 | 92 | // Kompatibilität mit anderen Erweiterungen, die konfigurierbare Toolbars anbieten (z.B. Console2) | ||
3242 | 93 | if(aiosCNT == 0) { | ||
3243 | 94 | document.getElementById("aios-globalDesc").hidden = true; | ||
3244 | 95 | } | ||
3245 | 96 | //endmod | ||
3246 | 97 | |||
3247 | 98 | /*gToolbox.addEventListener("draggesture", onToolbarDragGesture, false); | ||
3248 | 99 | gToolbox.addEventListener("dragover", onToolbarDragOver, false); | ||
3249 | 100 | gToolbox.addEventListener("dragexit", onToolbarDragExit, false); | ||
3250 | 101 | gToolbox.addEventListener("dragdrop", onToolbarDragDrop, false);*/ | ||
3251 | 102 | |||
3252 | 103 | initDialog(); | ||
3253 | 104 | } | ||
3254 | 105 | |||
3255 | 106 | |||
3256 | 107 | |||
3257 | 108 | repositionDialog = function () { | ||
3258 | 109 | // mod by eXXile | ||
3259 | 110 | if(typeof kWindowWidth == "undefined") return false; | ||
3260 | 111 | if(document.getElementById('CustomizeToolbarWindow').getAttribute('width')) return false; | ||
3261 | 112 | // endmod | ||
3262 | 113 | |||
3263 | 114 | // Position the dialog touching the bottom of the toolbox and centered with | ||
3264 | 115 | // it. We must resize the window smaller first so that it is positioned | ||
3265 | 116 | // properly. | ||
3266 | 117 | var screenX = gToolbox.boxObject.screenX + ((gToolbox.boxObject.width - kWindowWidth) / 2); | ||
3267 | 118 | var screenY = gToolbox.boxObject.screenY + gToolbox.boxObject.height; | ||
3268 | 119 | |||
3269 | 120 | var newHeight = kWindowHeight; | ||
3270 | 121 | if (newHeight >= screen.availHeight - screenY - kVSizeSlop) { | ||
3271 | 122 | newHeight = screen.availHeight - screenY - kVSizeSlop; | ||
3272 | 123 | } | ||
3273 | 124 | |||
3274 | 125 | window.resizeTo(kWindowWidth, newHeight); | ||
3275 | 126 | window.moveTo(screenX, screenY); | ||
3276 | 127 | return true; | ||
3277 | 128 | } | ||
3278 | 129 | |||
3279 | 130 | |||
3280 | 131 | removeToolboxListeners = function () { | ||
3281 | 132 | for(var i = 0; i < gToolboxes.length; i++) { | ||
3282 | 133 | gToolboxes[i].removeEventListener("draggesture", onToolbarDragGesture, false); | ||
3283 | 134 | gToolboxes[i].removeEventListener("dragover", onToolbarDragOver, false); | ||
3284 | 135 | gToolboxes[i].removeEventListener("dragexit", onToolbarDragExit, false); | ||
3285 | 136 | gToolboxes[i].removeEventListener("dragdrop", onToolbarDragDrop, false); | ||
3286 | 137 | gToolboxes[i].removeAttribute("incustomisemode"); | ||
3287 | 138 | } | ||
3288 | 139 | } | ||
3289 | 140 | |||
3290 | 141 | |||
3291 | 142 | // overriding so that we can tag changing of context menus on to the end | ||
3292 | 143 | initDialog = function () { | ||
3293 | 144 | |||
3294 | 145 | document.getElementById("main-box").collapsed = false; | ||
3295 | 146 | |||
3296 | 147 | var mode = gToolbox.getAttribute("mode"); | ||
3297 | 148 | document.getElementById("modelist").value = mode; | ||
3298 | 149 | var iconSize = gToolbox.getAttribute("iconsize"); | ||
3299 | 150 | var smallIconsCheckbox = document.getElementById("smallicons"); | ||
3300 | 151 | if (mode == "text") | ||
3301 | 152 | smallIconsCheckbox.disabled = true; | ||
3302 | 153 | else | ||
3303 | 154 | smallIconsCheckbox.checked = iconSize == "small"; | ||
3304 | 155 | |||
3305 | 156 | // Build up the palette of other items. | ||
3306 | 157 | buildPalette(); | ||
3307 | 158 | |||
3308 | 159 | // Wrap all the items on the toolbar in toolbarpaletteitems. | ||
3309 | 160 | wrapToolbarItems(); | ||
3310 | 161 | |||
3311 | 162 | // Bookmark-Buttons-Bugfix für rechte Statusleisten-Toolbar | ||
3312 | 163 | // => Button entfernen um Irritationen bei der Konfiguration zu vermeiden | ||
3313 | 164 | //aiostbx_bmBugFix(false); | ||
3314 | 165 | } | ||
3315 | 166 | |||
3316 | 167 | |||
3317 | 168 | wrapToolbarItems = function () { | ||
3318 | 169 | for(var j = 0; j < gToolboxes.length; j++) { | ||
3319 | 170 | var toolbox = gToolboxes[j]; | ||
3320 | 171 | |||
3321 | 172 | for(var i = 0; i < toolbox.childNodes.length; ++i) { | ||
3322 | 173 | var toolbar = toolbox.childNodes[i]; | ||
3323 | 174 | if(!isCustomizableToolbar(toolbar)) continue; | ||
3324 | 175 | |||
3325 | 176 | for(var k = 0; k < toolbar.childNodes.length; ++k) { | ||
3326 | 177 | var item = toolbar.childNodes[k]; | ||
3327 | 178 | |||
3328 | 179 | if(!isToolbarItem(item)) continue; | ||
3329 | 180 | |||
3330 | 181 | var nextSibling = item.nextSibling; | ||
3331 | 182 | |||
3332 | 183 | var wrapper = wrapToolbarItem(item); | ||
3333 | 184 | |||
3334 | 185 | if(nextSibling) | ||
3335 | 186 | toolbar.insertBefore(wrapper, nextSibling); | ||
3336 | 187 | else | ||
3337 | 188 | toolbar.appendChild(wrapper); | ||
3338 | 189 | } | ||
3339 | 190 | } | ||
3340 | 191 | } | ||
3341 | 192 | } | ||
3342 | 193 | |||
3343 | 194 | |||
3344 | 195 | unwrapToolbarItems = function () { | ||
3345 | 196 | for(var j = 0; j < this.gToolboxes.length; j++) { | ||
3346 | 197 | var toolbox = gToolboxes[j]; | ||
3347 | 198 | |||
3348 | 199 | var paletteItems = toolbox.getElementsByTagName("toolbarpaletteitem"); | ||
3349 | 200 | var paletteItem; | ||
3350 | 201 | while ((paletteItem = paletteItems.item(0)) != null) { | ||
3351 | 202 | var toolbarItem = paletteItem.firstChild; | ||
3352 | 203 | |||
3353 | 204 | if (paletteItem.hasAttribute("itemdisabled")) | ||
3354 | 205 | toolbarItem.disabled = true; | ||
3355 | 206 | |||
3356 | 207 | if (paletteItem.hasAttribute("itemcommand")) | ||
3357 | 208 | toolbarItem.setAttribute("command", paletteItem.getAttribute("itemcommand")); | ||
3358 | 209 | |||
3359 | 210 | // We need the removeChild here because replaceChild and XBL no workee | ||
3360 | 211 | // together. See bug 193298. | ||
3361 | 212 | paletteItem.removeChild(toolbarItem); | ||
3362 | 213 | paletteItem.parentNode.replaceChild(toolbarItem, paletteItem); | ||
3363 | 214 | } | ||
3364 | 215 | } | ||
3365 | 216 | } | ||
3366 | 217 | |||
3367 | 218 | |||
3368 | 219 | // Get the list of ids for the current set of items on each toolbar. *in each toolbox* | ||
3369 | 220 | getCurrentItemIds = function () { | ||
3370 | 221 | var currentItems = {}; | ||
3371 | 222 | for(var j = 0; j < gToolboxes.length; j++) { | ||
3372 | 223 | var toolbox = gToolboxes[j]; | ||
3373 | 224 | |||
3374 | 225 | for (var i = 0; i < toolbox.childNodes.length; ++i) { | ||
3375 | 226 | var toolbar = toolbox.childNodes[i]; | ||
3376 | 227 | if (isCustomizableToolbar(toolbar)) { | ||
3377 | 228 | var child = toolbar.firstChild; | ||
3378 | 229 | while (child) { | ||
3379 | 230 | if (isToolbarItem(child)) | ||
3380 | 231 | currentItems[child.id] = 1; | ||
3381 | 232 | child = child.nextSibling; | ||
3382 | 233 | } | ||
3383 | 234 | } | ||
3384 | 235 | } | ||
3385 | 236 | } | ||
3386 | 237 | return currentItems; | ||
3387 | 238 | } | ||
3388 | 239 | |||
3389 | 240 | |||
3390 | 241 | addNewToolbar = function () { | ||
3391 | 242 | var promptService = Components.classes["@mozilla.org/embedcomp/prompt-service;1"] | ||
3392 | 243 | .getService(Components.interfaces.nsIPromptService); | ||
3393 | 244 | |||
3394 | 245 | var stringBundle = document.getElementById("stringBundle"); | ||
3395 | 246 | var message = stringBundle.getString("enterToolbarName"); | ||
3396 | 247 | var title = stringBundle.getString("enterToolbarTitle"); | ||
3397 | 248 | |||
3398 | 249 | var name = {}; | ||
3399 | 250 | while(true) { | ||
3400 | 251 | if(!promptService.prompt(window, title, message, name, null, {})) return; | ||
3401 | 252 | |||
3402 | 253 | // Check for an existing toolbar with the same name and prompt again | ||
3403 | 254 | // if a conflict is found | ||
3404 | 255 | var nameToId = "__customToolbar_" + name.value.replace(" ", ""); | ||
3405 | 256 | var existingToolbar = gToolboxDocument.getElementById(nameToId); | ||
3406 | 257 | if(existingToolbar) { | ||
3407 | 258 | message = stringBundle.getFormattedString("enterToolbarDup", [name.value]); | ||
3408 | 259 | } else { | ||
3409 | 260 | break; | ||
3410 | 261 | } | ||
3411 | 262 | } | ||
3412 | 263 | |||
3413 | 264 | gToolbox.appendCustomToolbar(name.value, "", true); | ||
3414 | 265 | |||
3415 | 266 | repositionDialog(); | ||
3416 | 267 | gToolboxChanged = true; | ||
3417 | 268 | } | ||
3418 | 269 | |||
3419 | 270 | |||
3420 | 271 | /** | ||
3421 | 272 | * Restore the default set of buttons to fixed toolbars, | ||
3422 | 273 | * remove all custom toolbars, and rebuild the palette. | ||
3423 | 274 | */ | ||
3424 | 275 | restoreDefaultSet = function () { | ||
3425 | 276 | for(var i = 0; i < gToolboxes.length; i++) { | ||
3426 | 277 | var toolbox = gToolboxes[i]; | ||
3427 | 278 | |||
3428 | 279 | // Restore the defaultset for fixed toolbars. | ||
3429 | 280 | var toolbar = toolbox.firstChild; | ||
3430 | 281 | while (toolbar) { | ||
3431 | 282 | if(isCustomizableToolbar(toolbar)) { | ||
3432 | 283 | if(!toolbar.hasAttribute("customindex")) { | ||
3433 | 284 | var defaultSet = toolbar.getAttribute("defaultset"); | ||
3434 | 285 | if(defaultSet) | ||
3435 | 286 | toolbar.currentSet = defaultSet; | ||
3436 | 287 | } | ||
3437 | 288 | } | ||
3438 | 289 | toolbar = toolbar.nextSibling; | ||
3439 | 290 | } | ||
3440 | 291 | |||
3441 | 292 | // Remove all of the customized toolbars. | ||
3442 | 293 | var child = toolbox.lastChild; | ||
3443 | 294 | while(child) { | ||
3444 | 295 | if(child.hasAttribute("customindex")) { | ||
3445 | 296 | var thisChild = child; | ||
3446 | 297 | child = child.previousSibling; | ||
3447 | 298 | toolbox.removeChild(thisChild); | ||
3448 | 299 | } else { | ||
3449 | 300 | child = child.previousSibling; | ||
3450 | 301 | } | ||
3451 | 302 | } | ||
3452 | 303 | } | ||
3453 | 304 | |||
3454 | 305 | // Now rebuild the palette. | ||
3455 | 306 | buildPalette(); | ||
3456 | 307 | |||
3457 | 308 | // Now re-wrap the items on the toolbar. | ||
3458 | 309 | wrapToolbarItems(); | ||
3459 | 310 | |||
3460 | 311 | repositionDialog(); | ||
3461 | 312 | gToolboxChanged = true; | ||
3462 | 313 | } | ||
3463 | 314 | |||
3464 | 315 | |||
3465 | 316 | updateIconSize = function (aUseSmallIcons) { | ||
3466 | 317 | var val = aUseSmallIcons ? "small" : null; | ||
3467 | 318 | |||
3468 | 319 | for(var j = 0; j < gToolboxes.length; j++) { | ||
3469 | 320 | var toolbox = gToolboxes[j]; | ||
3470 | 321 | |||
3471 | 322 | // the default theme doens't use these, but other themes might be | ||
3472 | 323 | // (since they were in the original code) | ||
3473 | 324 | setAttribute(toolbox, "iconsize", val); | ||
3474 | 325 | gToolboxDocument.persist(toolbox.id, "iconsize"); | ||
3475 | 326 | |||
3476 | 327 | for(var i = 0; i < toolbox.childNodes.length; ++i) { | ||
3477 | 328 | var toolbar = toolbox.childNodes[i]; | ||
3478 | 329 | if(isCustomizableToolbar(toolbar)) { | ||
3479 | 330 | setAttribute(toolbar, "iconsize", val); | ||
3480 | 331 | gToolboxDocument.persist(toolbar.id, "iconsize"); | ||
3481 | 332 | } | ||
3482 | 333 | } | ||
3483 | 334 | } | ||
3484 | 335 | |||
3485 | 336 | repositionDialog(); | ||
3486 | 337 | |||
3487 | 338 | // Breiten der vert. Toolboxen löschen (Anpassung der Größe), um sie kurze Zeit später wieder festzusetzen | ||
3488 | 339 | if(wOpener != null) wOpener.aiostbx_adjustToolboxWidth(toolbox); | ||
3489 | 340 | } | ||
3490 | 341 | |||
3491 | 342 | |||
3492 | 343 | updateToolbarMode = function (aModeValue) { | ||
3493 | 344 | |||
3494 | 345 | for(var j = 0; j < gToolboxes.length; j++) { | ||
3495 | 346 | var toolbox = gToolboxes[j]; | ||
3496 | 347 | |||
3497 | 348 | setAttribute(toolbox, "mode", aModeValue); | ||
3498 | 349 | gToolboxDocument.persist(toolbox.id, "mode"); | ||
3499 | 350 | |||
3500 | 351 | for (var i = 0; i < toolbox.childNodes.length; ++i) { | ||
3501 | 352 | var toolbar = toolbox.childNodes[i]; | ||
3502 | 353 | if (isCustomizableToolbar(toolbar)) { | ||
3503 | 354 | setAttribute(toolbar, "mode", aModeValue); | ||
3504 | 355 | gToolboxDocument.persist(toolbar.id, "mode"); | ||
3505 | 356 | } | ||
3506 | 357 | } | ||
3507 | 358 | } | ||
3508 | 359 | |||
3509 | 360 | var iconSizeCheckbox = document.getElementById("smallicons"); | ||
3510 | 361 | if(aModeValue == "text") { | ||
3511 | 362 | iconSizeCheckbox.disabled = true; | ||
3512 | 363 | iconSizeCheckbox.checked = false; | ||
3513 | 364 | updateIconSize(false); | ||
3514 | 365 | } else { | ||
3515 | 366 | iconSizeCheckbox.disabled = false; | ||
3516 | 367 | } | ||
3517 | 368 | |||
3518 | 369 | repositionDialog(); | ||
3519 | 370 | |||
3520 | 371 | // Breiten der vert. Toolboxen löschen (Anpassung der Größe), um sie kurze Zeit später wieder festzusetzen | ||
3521 | 372 | if(wOpener != null) wOpener.aiostbx_adjustToolboxWidth(toolbox); | ||
3522 | 373 | } | ||
3523 | 374 | |||
3524 | 375 | |||
3525 | 376 | // called as window closes. inform toolboxes that customisation is complete. | ||
3526 | 377 | // xxx: fire DOM events as well | ||
3527 | 378 | notifyParentComplete = function () { | ||
3528 | 379 | for(var i = 0; i < gToolboxes.length; i++) { | ||
3529 | 380 | if("customizeDone" in gToolboxes[i]) gToolboxes[i].customizeDone(gToolboxChanged); | ||
3530 | 381 | } | ||
3531 | 382 | |||
3532 | 383 | // Bookmark-Buttons-Bugfix für rechte Statusleisten-Toolbar => Button hinzufügen | ||
3533 | 384 | //aiostbx_bmBugFix(true); | ||
3534 | 385 | } | ||
3535 | 386 | |||
3536 | 387 | } | ||
3537 | 388 | \ No newline at end of file | 0 | \ No newline at end of file |
3538 | 389 | 1 | ||
3539 | === removed file 'chrome/aios.jar!/content/tbx/tbx_customize.xul' | |||
3540 | --- chrome/aios.jar!/content/tbx/tbx_customize.xul 2008-11-14 11:44:00 +0000 | |||
3541 | +++ chrome/aios.jar!/content/tbx/tbx_customize.xul 1970-01-01 00:00:00 +0000 | |||
3542 | @@ -1,69 +0,0 @@ | |||
3543 | 1 | <?xml version="1.0"?> | ||
3544 | 2 | |||
3545 | 3 | <!-- overlayed onto chrome://global/content/customizeToolbar.xul --> | ||
3546 | 4 | |||
3547 | 5 | <?xml-stylesheet href="chrome://mozapps/skin/pref/pref.css"?> | ||
3548 | 6 | <?xml-stylesheet href="chrome://aios/skin/tbx.css" type="text/css"?> | ||
3549 | 7 | |||
3550 | 8 | <!-- locale --> | ||
3551 | 9 | <!DOCTYPE overlay [ | ||
3552 | 10 | <!ENTITY % customizeToolbarDTD SYSTEM "chrome://global/locale/customizeToolbar.dtd"> %customizeToolbarDTD; | ||
3553 | 11 | <!ENTITY % aiostbxDTD SYSTEM "chrome://aios/locale/tbx.dtd"> %aiostbxDTD; | ||
3554 | 12 | ]> | ||
3555 | 13 | |||
3556 | 14 | <overlay id="aiostbxCustomiseOverlay" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> | ||
3557 | 15 | |||
3558 | 16 | <script type="application/x-javascript" src="chrome://aios/content/_common.js" /> | ||
3559 | 17 | <script type="application/x-javascript" src="chrome://aios/content/_compatibility.js" /> | ||
3560 | 18 | |||
3561 | 19 | <script type="application/x-javascript" src="chrome://aios/content/tbx/tbx_shared.js" /> | ||
3562 | 20 | <script type="application/x-javascript" src="chrome://aios/content/tbx/tbx_customize.js" /> | ||
3563 | 21 | |||
3564 | 22 | <window id="CustomizeToolbarWindow" persist="screenX screenY width height" /> | ||
3565 | 23 | |||
3566 | 24 | <vbox id="main-box"> | ||
3567 | 25 | |||
3568 | 26 | <groupbox id="aios-globalGroup" insertafter="palette-box"> | ||
3569 | 27 | <caption label="&config.global.caption;" /> | ||
3570 | 28 | |||
3571 | 29 | <description id="aios-globalDesc" style="margin-bottom: 10px;">&config.instructions.description;</description> | ||
3572 | 30 | </groupbox> | ||
3573 | 31 | </vbox> | ||
3574 | 32 | |||
3575 | 33 | <script><![CDATA[ | ||
3576 | 34 | /* | ||
3577 | 35 | if(typeof InitWithToolbox == "function") { | ||
3578 | 36 | alert('FF 1.5'); | ||
3579 | 37 | InitWithToolbox(window.arguments[0]); | ||
3580 | 38 | |||
3581 | 39 | } | ||
3582 | 40 | else { | ||
3583 | 41 | alert('FF 2'); | ||
3584 | 42 | } | ||
3585 | 43 | |||
3586 | 44 | |||
3587 | 45 | window.addEventListener("load", function() { | ||
3588 | 46 | |||
3589 | 47 | aios_debug("aiostbx_getToolboxes => " + typeof aios_WIN.aiostbx_getToolboxes); | ||
3590 | 48 | |||
3591 | 49 | if(aios_WIN.aiostbx_getToolboxes) aios_WIN.aiostbx_getToolboxes(); | ||
3592 | 50 | if(InitWithToolbox) InitWithToolbox(window.arguments[0]); | ||
3593 | 51 | |||
3594 | 52 | aios_moveGlobal(); | ||
3595 | 53 | |||
3596 | 54 | }, false); | ||
3597 | 55 | */ | ||
3598 | 56 | |||
3599 | 57 | var aiosOS = Components.classes['@mozilla.org/xre/app-info;1'].getService(Components.interfaces.nsIXULRuntime).OS; | ||
3600 | 58 | |||
3601 | 59 | window.addEventListener("unload", function() { | ||
3602 | 60 | |||
3603 | 61 | if(aios_WIN.aios_improveCompatibility) aios_improveCompatibility(); | ||
3604 | 62 | |||
3605 | 63 | if(opener && opener.BrowserToolboxCustomizeDone) opener.BrowserToolboxCustomizeDone(); // FF | ||
3606 | 64 | if(opener && opener.customizeToolbarDone) opener.customizeToolbarDone(); // Console2 | ||
3607 | 65 | }, false); | ||
3608 | 66 | |||
3609 | 67 | ]]></script> | ||
3610 | 68 | |||
3611 | 69 | </overlay> | ||
3612 | 70 | \ No newline at end of file | 0 | \ No newline at end of file |
3613 | 71 | 1 | ||
3614 | === removed file 'chrome/aios.jar!/content/tbx/tbx_shared.js' | |||
3615 | --- chrome/aios.jar!/content/tbx/tbx_shared.js 2008-11-14 11:44:00 +0000 | |||
3616 | +++ chrome/aios.jar!/content/tbx/tbx_shared.js 1970-01-01 00:00:00 +0000 | |||
3617 | @@ -1,265 +0,0 @@ | |||
3618 | 1 | |||
3619 | 2 | var aiosOS = Components.classes['@mozilla.org/xre/app-info;1'].getService(Components.interfaces.nsIXULRuntime).OS; | ||
3620 | 3 | |||
3621 | 4 | if(aiosOS != "Darwin") { | ||
3622 | 5 | var aiostbx_toolboxes = null; | ||
3623 | 6 | var aiostbx_navToolbox = null; | ||
3624 | 7 | var aiostbx_bindingBoxes = new Array("aiostbx-tableft-toolbox", "aiostbx-tabright-toolbox", "aiostbx-belowtabs-toolbox"); | ||
3625 | 8 | var gToolbox, gToolboxes, gToolboxDocument; | ||
3626 | 9 | } | ||
3627 | 10 | |||
3628 | 11 | |||
3629 | 12 | /* | ||
3630 | 13 | Mindest- und Maximalbreite der vertikalen Toolbar einstellen | ||
3631 | 14 | => Aufruf durch | ||
3632 | 15 | => tbx.js | ||
3633 | 16 | aiostbx_init() => erstmalige Festlegung | ||
3634 | 17 | aiostbx_setToolbarMode() => Anpassung wegen mgl. Änderungen (Mode, Icongröße, Position usw.) | ||
3635 | 18 | |||
3636 | 19 | => tbx.xul | ||
3637 | 20 | oncommand() des Toolbar-Kontextmenüs => Anpassung wegen mgl. Änderungen (Mode, Icongröße, Position usw.) | ||
3638 | 21 | |||
3639 | 22 | => tbx_customize.js | ||
3640 | 23 | ondraggesture() & ondragdrop() der Toolboxen => Anpassung wegen mgl. neuer oder entfernter Buttons | ||
3641 | 24 | |||
3642 | 25 | => aios.js | ||
3643 | 26 | aios_toggleSidebar() => Anpassung nach Toolbarein-/ausblendung über Shortcut, Togglebutton, Switch, Close-Button | ||
3644 | 27 | |||
3645 | 28 | => festsetzen nötig, weil sonst die Toolboxen bei Größenänderung der Sidebar mit verändert werden | ||
3646 | 29 | => per JS statt CSS, weil es wegen Themes dynamisch sein muß | ||
3647 | 30 | */ | ||
3648 | 31 | function aiostbx_adjustToolboxWidth(fix) { | ||
3649 | 32 | |||
3650 | 33 | // Aufruf durch Drag-Event der Toolbox | ||
3651 | 34 | if(typeof fix == "object") { | ||
3652 | 35 | fix = false; | ||
3653 | 36 | window.setTimeout('aiostbx_adjustToolboxWidth(true)', 200); | ||
3654 | 37 | } | ||
3655 | 38 | |||
3656 | 39 | var computedStyle, myWidth; | ||
3657 | 40 | var vToolboxes = document.getElementsByAttribute('vertical', 'true'); | ||
3658 | 41 | |||
3659 | 42 | for(var i = 0; i < vToolboxes.length; i++) { | ||
3660 | 43 | if(vToolboxes[i].tagName == "toolbox") { | ||
3661 | 44 | |||
3662 | 45 | myWidth = 0; | ||
3663 | 46 | |||
3664 | 47 | // Breite festsetzen (Toolbox hat feste Breite) | ||
3665 | 48 | if(fix) { | ||
3666 | 49 | |||
3667 | 50 | var boxChilds = vToolboxes[i].childNodes; | ||
3668 | 51 | |||
3669 | 52 | // Breite aller enthaltenen Toolbars zusammenrechnen | ||
3670 | 53 | for(var j = 0; j < boxChilds.length; j++) { | ||
3671 | 54 | if(boxChilds[j].tagName == "toolbar") { | ||
3672 | 55 | computedStyle = document.defaultView.getComputedStyle(boxChilds[j], null); | ||
3673 | 56 | |||
3674 | 57 | myWidth = myWidth + parseInt(computedStyle.width); | ||
3675 | 58 | myWidth = myWidth + parseInt(computedStyle.paddingLeft); | ||
3676 | 59 | myWidth = myWidth + parseInt(computedStyle.paddingRight); | ||
3677 | 60 | myWidth = myWidth + parseInt(computedStyle.marginLeft); | ||
3678 | 61 | myWidth = myWidth + parseInt(computedStyle.marginRight); | ||
3679 | 62 | myWidth = myWidth + parseInt(computedStyle.borderLeftWidth); | ||
3680 | 63 | myWidth = myWidth + parseInt(computedStyle.borderRightWidth); | ||
3681 | 64 | } | ||
3682 | 65 | } | ||
3683 | 66 | |||
3684 | 67 | vToolboxes[i].style.maxWidth = myWidth + "px"; | ||
3685 | 68 | } | ||
3686 | 69 | |||
3687 | 70 | // Breite wieder löschen (Toolbox flexibel) | ||
3688 | 71 | else { | ||
3689 | 72 | vToolboxes[i].removeAttribute('width'); | ||
3690 | 73 | vToolboxes[i].removeAttribute('style'); | ||
3691 | 74 | } | ||
3692 | 75 | }//end if(vToolboxes[i].tagName == "toolbox") | ||
3693 | 76 | } | ||
3694 | 77 | |||
3695 | 78 | return true; | ||
3696 | 79 | } | ||
3697 | 80 | |||
3698 | 81 | /* | ||
3699 | 82 | function aiostbx_closeTab() { | ||
3700 | 83 | var node = document.getElementById('aiostbx-tabright-toolbox'); | ||
3701 | 84 | while(node.localName != 'tabbrowser') node = node.parentNode; | ||
3702 | 85 | node.removeCurrentTab(); | ||
3703 | 86 | }*/ | ||
3704 | 87 | |||
3705 | 88 | |||
3706 | 89 | /* | ||
3707 | 90 | Sidebar unter die Tableiste verschieben - sehr experimentell | ||
3708 | 91 | => in binding.xml muß dann "aioBrowser" entkommentiert werden | ||
3709 | 92 | */ | ||
3710 | 93 | function aiostbx_setSidebarUnderTabs() { | ||
3711 | 94 | |||
3712 | 95 | var aioBrowser = document.getElementById("aioBrowser"); | ||
3713 | 96 | var sidebar = document.getElementById("sidebar-box"); | ||
3714 | 97 | var splitter = document.getElementById("sidebar-splitter"); | ||
3715 | 98 | |||
3716 | 99 | aioBrowser.appendChild(splitter); | ||
3717 | 100 | aioBrowser.appendChild(sidebar); | ||
3718 | 101 | |||
3719 | 102 | return true; | ||
3720 | 103 | } | ||
3721 | 104 | |||
3722 | 105 | |||
3723 | 106 | // by Stephen Clavering with mods by eXXile | ||
3724 | 107 | function aiostbx_getToolboxes() { | ||
3725 | 108 | |||
3726 | 109 | aiostbx_toolboxes = []; | ||
3727 | 110 | aiostbx_navToolbox = document.getElementById("navigator-toolbox"); | ||
3728 | 111 | |||
3729 | 112 | var aiostbx_tmpBoxes = document.getElementsByTagName('toolbox'); | ||
3730 | 113 | |||
3731 | 114 | for(var z = 0; z < aiostbx_tmpBoxes.length; z++) { | ||
3732 | 115 | aiostbx_toolboxes.push(aiostbx_tmpBoxes[z]); | ||
3733 | 116 | } | ||
3734 | 117 | |||
3735 | 118 | for(var i = 0; i < aiostbx_bindingBoxes.length; i++) { | ||
3736 | 119 | if(document.getElementById(aiostbx_bindingBoxes[i])) | ||
3737 | 120 | aiostbx_toolboxes.push(document.getElementById(aiostbx_bindingBoxes[i])); | ||
3738 | 121 | } | ||
3739 | 122 | |||
3740 | 123 | return aiostbx_toolboxes; | ||
3741 | 124 | } | ||
3742 | 125 | |||
3743 | 126 | |||
3744 | 127 | /* | ||
3745 | 128 | Workaround fuer Bookmark-Buttons-Bug: Bookmarks werden sonst bei maximiertem Fenster nach rechts verschoben | ||
3746 | 129 | => funzt nur, wenn der Button immer ganz rechts bleibt | ||
3747 | 130 | => Aufruf durch aiostbx_init() in 'tbx.js' und initDialog(), notifyParentComplete() in 'tbx_customize.js' | ||
3748 | 131 | */ | ||
3749 | 132 | function aiostbx_bmBugFix(append) { | ||
3750 | 133 | |||
3751 | 134 | var doc = aios_WIN.top.document; | ||
3752 | 135 | if(window.opener) doc = window.opener.top.document; | ||
3753 | 136 | if(!doc.getElementById('aiostbx-toolbar-statusbar-right')) return false; | ||
3754 | 137 | |||
3755 | 138 | var aiostbx_bmbugfixElemParent = doc.getElementById('aiostbx-toolbar-statusbar-right'); | ||
3756 | 139 | |||
3757 | 140 | if(doc.getElementById('aiostbx-bmbugfix')) | ||
3758 | 141 | aiostbx_bmbugfixElemParent.removeChild(aiostbx_bmbugfixElemParent.lastChild); | ||
3759 | 142 | |||
3760 | 143 | if(append) { | ||
3761 | 144 | var newButton = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", "toolbarbutton"); | ||
3762 | 145 | newButton.setAttribute('id', 'aiostbx-bmbugfix'); | ||
3763 | 146 | newButton.setAttribute('class', 'toolbarbutton-1'); | ||
3764 | 147 | |||
3765 | 148 | aiostbx_bmbugfixElemParent.appendChild(newButton); | ||
3766 | 149 | } | ||
3767 | 150 | |||
3768 | 151 | return true; | ||
3769 | 152 | } | ||
3770 | 153 | |||
3771 | 154 | |||
3772 | 155 | if(aiosOS != "Darwin") { | ||
3773 | 156 | |||
3774 | 157 | var persistCurrentSets; | ||
3775 | 158 | persistCurrentSets = function () { | ||
3776 | 159 | // it would be nice to test for each individual toolbox, but that requires | ||
3777 | 160 | // replicating all the drag+drop code just to change one or two lines | ||
3778 | 161 | |||
3779 | 162 | //alert(document.getElementById("navigator-toolbox").getAttribute("incustomisemode")); | ||
3780 | 163 | |||
3781 | 164 | /* | ||
3782 | 165 | mod by eXXile | ||
3783 | 166 | => sonst wird ein Pos.-Wechsel einer Toolbar nur gespeichert, | ||
3784 | 167 | wenn auch ein Button auf die Toolbar oder von der toolbar gezogen wurde) | ||
3785 | 168 | |||
3786 | 169 | if(!gToolboxChanged) return; | ||
3787 | 170 | */ | ||
3788 | 171 | |||
3789 | 172 | // wenn die Position nicht über das Konfigurationsfenster geändert wurde | ||
3790 | 173 | if(document.getElementById("CustomizeToolbarWindow") == null) { | ||
3791 | 174 | if(window.opener) gToolbox = window.opener.top.document.getElementById("navigator-toolbox"); | ||
3792 | 175 | else gToolbox = document.getElementById("navigator-toolbox"); | ||
3793 | 176 | |||
3794 | 177 | gToolboxes = aiostbx_getToolboxes(); | ||
3795 | 178 | gToolboxDocument = gToolbox.ownerDocument; | ||
3796 | 179 | |||
3797 | 180 | //alert(persistCurrentSets.caller); | ||
3798 | 181 | if(document.getElementById("navigator-toolbox").getAttribute("incustomisemode") == "true") return; | ||
3799 | 182 | } | ||
3800 | 183 | |||
3801 | 184 | |||
3802 | 185 | var docElt = gToolboxDocument.documentElement; | ||
3803 | 186 | |||
3804 | 187 | for(var j = 0; j < gToolboxes.length; j++) { | ||
3805 | 188 | |||
3806 | 189 | var toolbox = gToolboxes[j]; | ||
3807 | 190 | |||
3808 | 191 | var customCount = 0; | ||
3809 | 192 | for(var i = 0; i < toolbox.childNodes.length; ++i) { | ||
3810 | 193 | // Look for customizable toolbars that need to be persisted. | ||
3811 | 194 | var toolbar = toolbox.childNodes[i]; | ||
3812 | 195 | |||
3813 | 196 | // modby eXXile | ||
3814 | 197 | // if(isCustomizableToolbar(toolbar)) { | ||
3815 | 198 | if(toolbar.localName == "toolbar" && toolbar.getAttribute("customizable") == "true") { | ||
3816 | 199 | // endmod | ||
3817 | 200 | |||
3818 | 201 | // Calculate currentset and store it in the attribute. | ||
3819 | 202 | var currentSet = toolbar.currentSet; | ||
3820 | 203 | toolbar.setAttribute("currentset", currentSet); | ||
3821 | 204 | |||
3822 | 205 | var customIndex = toolbar.hasAttribute("customindex"); | ||
3823 | 206 | if(customIndex) { | ||
3824 | 207 | if(!toolbar.firstChild) { | ||
3825 | 208 | // Remove custom toolbars whose contents have been removed. | ||
3826 | 209 | toolbox.removeChild(toolbar); | ||
3827 | 210 | --i; | ||
3828 | 211 | } else if(toolbox.toolbarset.getAttribute('anonymous')=='true') { | ||
3829 | 212 | // for the toolbox below the tab bar. in xbl, so attributes can't | ||
3830 | 213 | // be persisted. so we store the info on the document root instead | ||
3831 | 214 | //var docElt = gToolboxDocument.documentElement; | ||
3832 | 215 | var attrPrefix = '_toolbarset_' + toolbox.toolbarset.getAttribute('anonid') + '_toolbar'; | ||
3833 | 216 | |||
3834 | 217 | // Persist custom toolbar info on the <toolbarset/> | ||
3835 | 218 | docElt.setAttribute(attrPrefix+(++customCount), toolbar.toolbarName + ":" + currentSet); | ||
3836 | 219 | gToolboxDocument.persist(docElt.id, attrPrefix+customCount); | ||
3837 | 220 | } else { | ||
3838 | 221 | // Persist custom toolbar info on the <toolbarset/> | ||
3839 | 222 | toolbox.toolbarset.setAttribute("toolbar"+(++customCount), | ||
3840 | 223 | toolbar.toolbarName + ":" + currentSet); | ||
3841 | 224 | gToolboxDocument.persist(toolbox.toolbarset.id, "toolbar"+customCount); | ||
3842 | 225 | } | ||
3843 | 226 | |||
3844 | 227 | } else if(toolbar.getAttribute('anonymous')=='true') { | ||
3845 | 228 | // for the tab-strip toolbars. they're in XBL, so persistence doesn't work | ||
3846 | 229 | // instead we persist a custom attribute on the document. | ||
3847 | 230 | var attr = "_toolbar_currentset_"+toolbar.getAttribute('anonid'); | ||
3848 | 231 | // gToolboxDocument.documentElement | ||
3849 | 232 | docElt.setAttribute(attr,currentSet); | ||
3850 | 233 | gToolboxDocument.persist(gToolboxDocument.documentElement.id,attr); | ||
3851 | 234 | |||
3852 | 235 | } else { | ||
3853 | 236 | // Persist the currentset attribute directly on hardcoded toolbars. | ||
3854 | 237 | gToolboxDocument.persist(toolbar.id, "currentset"); | ||
3855 | 238 | } | ||
3856 | 239 | } | ||
3857 | 240 | } | ||
3858 | 241 | |||
3859 | 242 | // Remove toolbarX attributes for removed toolbars. | ||
3860 | 243 | // (we need the |if| because the toolboxes on the tabbar do not have a toolbarset) | ||
3861 | 244 | var toolbarset = toolbox.toolbarset; | ||
3862 | 245 | if(!toolbarset) continue; | ||
3863 | 246 | |||
3864 | 247 | if(toolbarset.getAttribute('anonymous')=='true') { | ||
3865 | 248 | // for the toolbarbox below the tab bar | ||
3866 | 249 | // var docElt = gToolboxDocument.documentElement; | ||
3867 | 250 | //var | ||
3868 | 251 | attrPrefix = '_toolbarset_' + toolbarset.getAttribute('anonid') + '_toolbar'; | ||
3869 | 252 | while(docElt.hasAttribute(attrPrefix+(++customCount))) { | ||
3870 | 253 | docElt.removeAttribute(attrPrefix+customCount); | ||
3871 | 254 | gToolboxDocument.persist(docElt.id, attrPrefix+customCount); | ||
3872 | 255 | } | ||
3873 | 256 | } else { | ||
3874 | 257 | while(toolbox.toolbarset.hasAttribute("toolbar"+(++customCount))) { | ||
3875 | 258 | toolbox.toolbarset.removeAttribute("toolbar"+customCount); | ||
3876 | 259 | gToolboxDocument.persist(toolbox.toolbarset.id, "toolbar"+customCount); | ||
3877 | 260 | } | ||
3878 | 261 | } | ||
3879 | 262 | } | ||
3880 | 263 | } | ||
3881 | 264 | |||
3882 | 265 | } | ||
3883 | 266 | \ No newline at end of file | 0 | \ No newline at end of file |
3884 | 267 | 1 | ||
3885 | === removed file 'chrome/aios.jar!/content/viewSource.xul' | |||
3886 | --- chrome/aios.jar!/content/viewSource.xul 2008-11-14 11:44:00 +0000 | |||
3887 | +++ chrome/aios.jar!/content/viewSource.xul 1970-01-01 00:00:00 +0000 | |||
3888 | @@ -1,147 +0,0 @@ | |||
3889 | 1 | <?xml version="1.0"?> | ||
3890 | 2 | |||
3891 | 3 | <!-- skin --> | ||
3892 | 4 | <?xml-stylesheet href="chrome://aios/skin/viewsource.css"?> | ||
3893 | 5 | |||
3894 | 6 | <!-- locale --> | ||
3895 | 7 | <!DOCTYPE overlay [ | ||
3896 | 8 | <!ENTITY % aiosDTD SYSTEM "chrome://aios/locale/lib.dtd"> %aiosDTD; | ||
3897 | 9 | ]> | ||
3898 | 10 | |||
3899 | 11 | <overlay id="viewSourceOverlay" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> | ||
3900 | 12 | |||
3901 | 13 | <!-- scripts --> | ||
3902 | 14 | <script type="application/x-javascript" src="chrome://aios/content/_common.js" /> | ||
3903 | 15 | |||
3904 | 16 | <script><![CDATA[ | ||
3905 | 17 | |||
3906 | 18 | //var aios_CONTENT = aios_APPCONTENT.childNodes[0]; | ||
3907 | 19 | var aios_CONTENT = aios_WIN.document.getElementById('content'); | ||
3908 | 20 | |||
3909 | 21 | if(top.document.getElementById('sidebar') || top.toString() == "[object Window]") { | ||
3910 | 22 | |||
3911 | 23 | window.addEventListener("load", aios_init, false); | ||
3912 | 24 | |||
3913 | 25 | var tab = (top.toString() == "[object Window]") ? true : false; | ||
3914 | 26 | |||
3915 | 27 | // im Tab vorlauefig nur den Quelltext anzeigen | ||
3916 | 28 | if(tab) { | ||
3917 | 29 | var loc = "view-source:" + aios_WIN.aiosLastSelTab.document.location.href; | ||
3918 | 30 | aios_CONTENT.webNavigation.loadURI(loc, null, null, null, null); | ||
3919 | 31 | } | ||
3920 | 32 | |||
3921 | 33 | // aus dem <browser> ein normales Element ohne 'content-primary' machen | ||
3922 | 34 | document.getElementById('content').setAttribute('type', 'content'); | ||
3923 | 35 | |||
3924 | 36 | // Status-Leiste unsichtbar | ||
3925 | 37 | if(document.getElementById('status-bar')) document.getElementById('status-bar').hidden = true; | ||
3926 | 38 | |||
3927 | 39 | // Funktionen modifizieren, um die URL aus dem Browser anstatt einem übergebenem Argument zu entnehmen, ... | ||
3928 | 40 | onLoadViewSource = function() { | ||
3929 | 41 | // viewSource(window.arguments[0]); // Firefox-Variante f. Fenster | ||
3930 | 42 | aios_viewSource(); | ||
3931 | 43 | document.commandDispatcher.focusedWindow = content; | ||
3932 | 44 | if(typeof initFindBar != "undefined") initFindBar(); | ||
3933 | 45 | } | ||
3934 | 46 | |||
3935 | 47 | // ... und um den 'content' korrekt aus der Sidebar heraus anzusprechen, ... | ||
3936 | 48 | eval(aios_replaceString(viewSource)); | ||
3937 | 49 | eval(aios_replaceString(onLoadContent)); | ||
3938 | 50 | eval(aios_replaceString(goToLine)); | ||
3939 | 51 | eval(aios_replaceString(updateStatusBar)); | ||
3940 | 52 | eval(aios_replaceString(findLocation)); | ||
3941 | 53 | eval(aios_replaceString(wrapLongLines)); | ||
3942 | 54 | |||
3943 | 55 | // ... und um die richtigen URLs zum Editieren und Speichern zu verwenden | ||
3944 | 56 | ViewSourceEditPage = function() { | ||
3945 | 57 | // editPage(window.content.location.href.substring(12), window, false); // Firefox-Variante f. Fenster | ||
3946 | 58 | if(tab && aios_WIN.aiosLastSelTab) editPage(aios_WIN.aiosLastSelTab.location.href, window, false); | ||
3947 | 59 | else editPage(window.content.location.href, window, false); | ||
3948 | 60 | } | ||
3949 | 61 | ViewSourceSavePage = function() { | ||
3950 | 62 | // saveURL(window.content.location.href.substring(12), null, "SaveLinkTitle"); // Firefox-Variante f. Fenster | ||
3951 | 63 | if(tab && aios_WIN.aiosLastSelTab) saveURL(window.content.location.href, null, "SaveLinkTitle"); | ||
3952 | 64 | else saveURL(aios_WIN.aiosLastSelTab.location.href, null, "SaveLinkTitle"); | ||
3953 | 65 | } | ||
3954 | 66 | |||
3955 | 67 | // Listener für automatische Aktualisierung hinzufügen u. entfernen | ||
3956 | 68 | if(!tab) { | ||
3957 | 69 | window.addEventListener("load", function(e) { | ||
3958 | 70 | if(top.gBrowser.addProgressListener) top.gBrowser.addProgressListener(aiosProgListener, Components.interfaces.nsIWebProgress.NOTIFY_STATE_DOCUMENT); | ||
3959 | 71 | }, false); | ||
3960 | 72 | |||
3961 | 73 | window.addEventListener("unload",function(e) { | ||
3962 | 74 | if(top.gBrowser.removeProgressListener) top.gBrowser.removeProgressListener(aiosProgListener); | ||
3963 | 75 | }, false); | ||
3964 | 76 | } | ||
3965 | 77 | } | ||
3966 | 78 | |||
3967 | 79 | |||
3968 | 80 | /* | ||
3969 | 81 | Helfer-Funktionen | ||
3970 | 82 | */ | ||
3971 | 83 | function aios_init() { | ||
3972 | 84 | if(aios_getBoolean('viewSource-main-menubar', 'aiosInit')) return false; | ||
3973 | 85 | |||
3974 | 86 | // im 'File'-Menü die letzten beiden Elemente löschen (Separator und 'Close') | ||
3975 | 87 | var filePopUp = document.getElementById('filemenu-popup'); | ||
3976 | 88 | filePopUp.removeChild(filePopUp.lastChild); | ||
3977 | 89 | filePopUp.removeChild(filePopUp.lastChild); | ||
3978 | 90 | |||
3979 | 91 | // CSS-Formatierungen antriggern | ||
3980 | 92 | document.getElementById('viewSource-main-menubar').setAttribute('aiosLayout', true); | ||
3981 | 93 | |||
3982 | 94 | document.getElementById('viewSource-main-menubar').setAttribute('aiosInit', true); | ||
3983 | 95 | return true; | ||
3984 | 96 | } | ||
3985 | 97 | |||
3986 | 98 | function aios_replaceString(aFunc) { | ||
3987 | 99 | var func = aFunc.toString(); | ||
3988 | 100 | var newFunc; | ||
3989 | 101 | |||
3990 | 102 | if(tab && aios_WIN.aiosLastSelTab) newFunc = func.replace(/window.content/, "aios_WIN.aiosLastSelTab"); | ||
3991 | 103 | else newFunc = func.replace(/window.content/, "document.getElementById('content').contentWindow"); | ||
3992 | 104 | |||
3993 | 105 | return newFunc; | ||
3994 | 106 | } | ||
3995 | 107 | |||
3996 | 108 | function aios_viewSource() { | ||
3997 | 109 | var locHref; | ||
3998 | 110 | |||
3999 | 111 | if(tab && aios_WIN.aiosLastSelTab) locHref = aios_WIN.aiosLastSelTab.document.location.href | ||
4000 | 112 | else locHref = (aios_CONTENT.currentURI) ? aios_CONTENT.currentURI.spec : "about:blank"; | ||
4001 | 113 | |||
4002 | 114 | viewSource(locHref); | ||
4003 | 115 | } | ||
4004 | 116 | |||
4005 | 117 | // automatische Aktualisierung => Aufruf durch aiosProgListener (_common.js) | ||
4006 | 118 | function aios_onLocationChange() { | ||
4007 | 119 | if(aios_getBoolean('autoReload-mitem', 'checked')) { | ||
4008 | 120 | if(!tab) aios_viewSource(); | ||
4009 | 121 | } | ||
4010 | 122 | } | ||
4011 | 123 | |||
4012 | 124 | ]]></script> | ||
4013 | 125 | |||
4014 | 126 | |||
4015 | 127 | |||
4016 | 128 | <menubar id="viewSource-main-menubar" aiosLayout="false"> | ||
4017 | 129 | |||
4018 | 130 | <toolbarbutton id="reload-button" class="toolbarbutton-1" type="menu-button" oncommand="aios_viewSource();" | ||
4019 | 131 | label="&refresh.label;" tooltiptext="&refresh.tooltip;" position="1"> | ||
4020 | 132 | |||
4021 | 133 | <menupopup> | ||
4022 | 134 | <menuitem id="autoReload-mitem" type="checkbox" checked="true" autocheck="false" persist="checked" | ||
4023 | 135 | label="&refresh.auto.label;" tooltiptext="&refresh.auto.tooltip;" | ||
4024 | 136 | oncommand="aios_toggleElement(this); aios_onLocationChange(); event.stopPropagation();" /> | ||
4025 | 137 | </menupopup> | ||
4026 | 138 | |||
4027 | 139 | </toolbarbutton> | ||
4028 | 140 | |||
4029 | 141 | <toolbarseparator id="toolbar-sep" position="2" /> | ||
4030 | 142 | |||
4031 | 143 | </menubar> | ||
4032 | 144 | |||
4033 | 145 | <menuitem id="menu_highlightSyntax" onmouseup="aios_viewSource();" /> | ||
4034 | 146 | |||
4035 | 147 | </overlay> | ||
4036 | 148 | \ No newline at end of file | 0 | \ No newline at end of file |
4037 | 149 | 1 | ||
4038 | === removed file 'chrome/aios.jar!/content/xpinstallConfirm.xul' | |||
4039 | --- chrome/aios.jar!/content/xpinstallConfirm.xul 2008-11-14 11:44:00 +0000 | |||
4040 | +++ chrome/aios.jar!/content/xpinstallConfirm.xul 1970-01-01 00:00:00 +0000 | |||
4041 | @@ -1,41 +0,0 @@ | |||
4042 | 1 | <?xml version="1.0"?> | ||
4043 | 2 | |||
4044 | 3 | <overlay id="aios_installOverlay" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> | ||
4045 | 4 | |||
4046 | 5 | <script type="application/x-javascript" src="chrome://aios/content/_common.js" /> | ||
4047 | 6 | |||
4048 | 7 | <script><![CDATA[ | ||
4049 | 8 | |||
4050 | 9 | function aiosXPInstallConfirm() { | ||
4051 | 10 | |||
4052 | 11 | // !top.document.getElementById('sidebar') => ich bin keine Sidebar | ||
4053 | 12 | // top.toString() != "[object Window]" => ich bin kein Tab | ||
4054 | 13 | if(!top.document.getElementById('sidebar') && top.toString() != "[object Window]") { | ||
4055 | 14 | var enable_sidebar = aios_gPrefBranch.getBoolPref("em.sidebar"); | ||
4056 | 15 | var sidebar = aios_WIN.document.getElementById('sidebar-box'); | ||
4057 | 16 | var isAddons = aios_WIN.document.getElementById('Tools:Addons'); | ||
4058 | 17 | |||
4059 | 18 | //if(enable_sidebar && !aios_WIN.aiosIsWindow && (!sidebar || sidebar.getAttribute('sidebarcommand') != "viewExtensionsSidebar")) { | ||
4060 | 19 | if(enable_sidebar && !aios_WIN.aiosIsWindow) { | ||
4061 | 20 | |||
4062 | 21 | if(isAddons) { | ||
4063 | 22 | aios_WIN.aiosSetAddOnsView = "installs"; // in etd.js zum Installationspanel wechseln | ||
4064 | 23 | aios_WIN.toggleSidebar("viewAddonsSidebar", true); | ||
4065 | 24 | } | ||
4066 | 25 | else aios_WIN.toggleSidebar("viewExtensionsSidebar", true); | ||
4067 | 26 | } | ||
4068 | 27 | } | ||
4069 | 28 | |||
4070 | 29 | document.documentElement.getButton("cancel").focus(); | ||
4071 | 30 | window.setTimeout("aios_setFocus()", 500); | ||
4072 | 31 | } | ||
4073 | 32 | |||
4074 | 33 | function aios_setFocus() { | ||
4075 | 34 | document.documentElement.getButton("cancel").focus(); | ||
4076 | 35 | } | ||
4077 | 36 | |||
4078 | 37 | window.addEventListener("load", function(e) { aiosXPInstallConfirm(); }, false); | ||
4079 | 38 | |||
4080 | 39 | ]]></script> | ||
4081 | 40 | |||
4082 | 41 | </overlay> | ||
4083 | 42 | \ No newline at end of file | 0 | \ No newline at end of file |
4084 | 43 | 1 | ||
4085 | === removed file 'chrome/aios.jar!/locale/ar/tbx.dtd' | |||
4086 | --- chrome/aios.jar!/locale/ar/tbx.dtd 2008-11-14 11:44:00 +0000 | |||
4087 | +++ chrome/aios.jar!/locale/ar/tbx.dtd 1970-01-01 00:00:00 +0000 | |||
4088 | @@ -1,23 +0,0 @@ | |||
4089 | 1 | <!ENTITY config.instructions.description "لديك المزيد من الخيارات Ù…Ù�صلة لكل شريط أدوات بالضغط بزر الÙ�أرة الأيمن على شريط الأدوات Ùˆ اختر الخيار الذي تريده من ال“قائمة خصائص شريط الأدوات&#8221."> | ||
4090 | 2 | <!ENTITY config.global.caption "الخيارات العامة"> | ||
4091 | 3 | <!ENTITY toolbar.customize.label "خيارات شريط الأدوات"> | ||
4092 | 4 | <!ENTITY toolbar.pos.top.label "أعلى"> | ||
4093 | 5 | <!ENTITY toolbar.pos.belowtabs.label "أس�ل الألسنة"> | ||
4094 | 6 | <!ENTITY toolbar.pos.bottom.label "أس�ل"> | ||
4095 | 7 | <!ENTITY toolbar.pos.left.label "يسار"> | ||
4096 | 8 | <!ENTITY toolbar.pos.sidebarleft.label "يساراً بمØاذاة شريط الأدوات"> | ||
4097 | 9 | <!ENTITY toolbar.pos.sidebarright.label "يميناً بمØازاة الشريط الجانبي"> | ||
4098 | 10 | <!ENTITY toolbar.pos.right.label "يمين"> | ||
4099 | 11 | <!ENTITY toolbar.pos.sidebartop.label "أعلى الشريط الجانبي"> | ||
4100 | 12 | <!ENTITY toolbar.pos.headerbottom.label "أس�ل هامش الشريط الجانبي"> | ||
4101 | 13 | <!ENTITY toolbar.pos.sidebarbottom.label "أس�ل الشريط الجانبي"> | ||
4102 | 14 | <!ENTITY toolbar.mode.iconstext.label "أيقونات و نصوص"> | ||
4103 | 15 | <!ENTITY toolbar.mode.icons.label "أيقونات �قط"> | ||
4104 | 16 | <!ENTITY toolbar.mode.text.label "نصوص �قط"> | ||
4105 | 17 | <!ENTITY toolbar.mode.smallicons.label "أيقونات صغيرة"> | ||
4106 | 18 | <!ENTITY toolbar.mode.fullscreen.label "اظهر بعرض كامل الشاشة"> | ||
4107 | 19 | <!ENTITY toolbar.mode.flexbuttons.label "أزرار مرنة"> | ||
4108 | 20 | <!ENTITY button.sidebar.close.label "اغلق الشريط الجانبي"> | ||
4109 | 21 | <!ENTITY button.sidebar.close.tooltip "يغلق الشريط الجانبي"> | ||
4110 | 22 | <!ENTITY button.tab.close.label "اغلق اللسان"> | ||
4111 | 23 | <!ENTITY button.tab.close.tooltip "يغلق اللسان"> | ||
4112 | 24 | 0 | ||
4113 | === removed file 'chrome/aios.jar!/locale/be-BY/tbx.dtd' | |||
4114 | --- chrome/aios.jar!/locale/be-BY/tbx.dtd 2008-11-14 11:44:00 +0000 | |||
4115 | +++ chrome/aios.jar!/locale/be-BY/tbx.dtd 1970-01-01 00:00:00 +0000 | |||
4116 | @@ -1,23 +0,0 @@ | |||
4117 | 1 | <!ENTITY config.instructions.description "Ð’Ñ‹ можаце наладзіць кожную панÑ�ль прылад аÑ�обна. ДлÑ� гÑ�тага націÑ�ніце правай кнопкай мышы на панÑ�лі прылад Ñ– вылучыце патрÑ�бныÑ� налады Ñž меню “Параметры панÑ�лі прылад”."> | ||
4118 | 2 | <!ENTITY config.global.caption "Глабальны� параметры"> | ||
4119 | 3 | <!ENTITY toolbar.customize.label "Параметры пан�лі прылад"> | ||
4120 | 4 | <!ENTITY toolbar.pos.top.label "Разм��ціць зверху"> | ||
4121 | 5 | <!ENTITY toolbar.pos.belowtabs.label "Разм��ціць пад пан�ллю ўкладак"> | ||
4122 | 6 | <!ENTITY toolbar.pos.bottom.label "Разм��ціць над радком �тану"> | ||
4123 | 7 | <!ENTITY toolbar.pos.left.label "Разм��ціць злева"> | ||
4124 | 8 | <!ENTITY toolbar.pos.sidebarleft.label "Разм��ціць злева ад бакавой пан�лі"> | ||
4125 | 9 | <!ENTITY toolbar.pos.sidebarright.label "Разм��ціць �права ад бакавой пан�лі"> | ||
4126 | 10 | <!ENTITY toolbar.pos.right.label "Разм��ціць �права"> | ||
4127 | 11 | <!ENTITY toolbar.pos.sidebartop.label "Разм��ціць над бакавой пан�ллю"> | ||
4128 | 12 | <!ENTITY toolbar.pos.headerbottom.label "Разм��ціць пад загалоўкам бакавой пан�лі"> | ||
4129 | 13 | <!ENTITY toolbar.pos.sidebarbottom.label "Разм��ціць пад бакавой пан�ллю"> | ||
4130 | 14 | <!ENTITY toolbar.mode.iconstext.label "Значкі і т�к�т"> | ||
4131 | 15 | <!ENTITY toolbar.mode.icons.label "Толькі значкі"> | ||
4132 | 16 | <!ENTITY toolbar.mode.text.label "Толькі т�к�т"> | ||
4133 | 17 | <!ENTITY toolbar.mode.smallicons.label "Маленькі� значкі"> | ||
4134 | 18 | <!ENTITY toolbar.mode.fullscreen.label "Паказваць у поўна�кранным р�жыме"> | ||
4135 | 19 | <!ENTITY toolbar.mode.flexbuttons.label "Пла�тычны� кнопкі"> | ||
4136 | 20 | <!ENTITY button.sidebar.close.label "Зачыніць бакавую пан�ль"> | ||
4137 | 21 | <!ENTITY button.sidebar.close.tooltip "Зачыніць бакавую пан�ль"> | ||
4138 | 22 | <!ENTITY button.tab.close.label "Зачыніць укладку"> | ||
4139 | 23 | <!ENTITY button.tab.close.tooltip "Зачыніць укладку"> | ||
4140 | 24 | 0 | ||
4141 | === removed file 'chrome/aios.jar!/locale/cs-CZ/tbx.dtd' | |||
4142 | --- chrome/aios.jar!/locale/cs-CZ/tbx.dtd 2008-11-14 11:44:00 +0000 | |||
4143 | +++ chrome/aios.jar!/locale/cs-CZ/tbx.dtd 1970-01-01 00:00:00 +0000 | |||
4144 | @@ -1,23 +0,0 @@ | |||
4145 | 1 | <!ENTITY config.instructions.description "DalÅ¡Ã možnosti zobrazenà jednotlivých nástrojových liÅ¡t jsou k dispozici v jejich mÃstnÃch nabÃdkách. StaÄ�à nad danou liÅ¡tou použÃt pravé tlaÄ�Ãtko myÅ¡i a zvolit pÅ™ÃsluÅ¡nou volbu v nabÃdce „Možnosti zobrazenà této liÅ¡ty“"> | ||
4146 | 2 | <!ENTITY config.global.caption "Obecná nastavenÃ"> | ||
4147 | 3 | <!ENTITY toolbar.customize.label "Možnosti zobrazenà této lišty"> | ||
4148 | 4 | <!ENTITY toolbar.pos.top.label "Nahoře"> | ||
4149 | 5 | <!ENTITY toolbar.pos.belowtabs.label "Pod panely"> | ||
4150 | 6 | <!ENTITY toolbar.pos.bottom.label "Dole"> | ||
4151 | 7 | <!ENTITY toolbar.pos.left.label "Vlevo"> | ||
4152 | 8 | <!ENTITY toolbar.pos.sidebarleft.label "Vlevo při postrannà liště"> | ||
4153 | 9 | <!ENTITY toolbar.pos.sidebarright.label "Vpravo při postrannà liště"> | ||
4154 | 10 | <!ENTITY toolbar.pos.right.label "Vpravo"> | ||
4155 | 11 | <!ENTITY toolbar.pos.sidebartop.label "Nad postrannà lištou"> | ||
4156 | 12 | <!ENTITY toolbar.pos.headerbottom.label "Pod návÄ›stÃm postrannà liÅ¡ty"> | ||
4157 | 13 | <!ENTITY toolbar.pos.sidebarbottom.label "Pod postrannà lištou"> | ||
4158 | 14 | <!ENTITY toolbar.mode.iconstext.label "Ikony a textový popis"> | ||
4159 | 15 | <!ENTITY toolbar.mode.icons.label "Pouze ikony"> | ||
4160 | 16 | <!ENTITY toolbar.mode.text.label "Pouze textový popis"> | ||
4161 | 17 | <!ENTITY toolbar.mode.smallicons.label "Malé ikony"> | ||
4162 | 18 | <!ENTITY toolbar.mode.fullscreen.label "Zobrazovat i v celoobrazovkovém režimu"> | ||
4163 | 19 | <!ENTITY toolbar.mode.flexbuttons.label "Vyplnit tlaÄ�Ãtky volný prostor"> | ||
4164 | 20 | <!ENTITY button.sidebar.close.label "ZavÅ™Ãt postrannà liÅ¡tu"> | ||
4165 | 21 | <!ENTITY button.sidebar.close.tooltip "Zavře postrannà lištu"> | ||
4166 | 22 | <!ENTITY button.tab.close.label "ZavÅ™Ãt panel"> | ||
4167 | 23 | <!ENTITY button.tab.close.tooltip "Zavře panel"> | ||
4168 | 24 | 0 | ||
4169 | === removed file 'chrome/aios.jar!/locale/da-DK/tbx.dtd' | |||
4170 | --- chrome/aios.jar!/locale/da-DK/tbx.dtd 2008-11-14 11:44:00 +0000 | |||
4171 | +++ chrome/aios.jar!/locale/da-DK/tbx.dtd 1970-01-01 00:00:00 +0000 | |||
4172 | @@ -1,23 +0,0 @@ | |||
4173 | 1 | <!ENTITY config.instructions.description "Du har flere indstillinger separat for hver værktøjslinje ved at højreklikke på værktøjslinjen og vælge de ønskede indstillinger i “Værktøjslinje-egenskaber� menuen."> | ||
4174 | 2 | <!ENTITY config.global.caption "Globale indstillinger"> | ||
4175 | 3 | <!ENTITY toolbar.customize.label "Værktøjslinje-egenskaber"> | ||
4176 | 4 | <!ENTITY toolbar.pos.top.label "Top"> | ||
4177 | 5 | <!ENTITY toolbar.pos.belowtabs.label "Under faneblade"> | ||
4178 | 6 | <!ENTITY toolbar.pos.bottom.label "Bund"> | ||
4179 | 7 | <!ENTITY toolbar.pos.left.label "Venstre"> | ||
4180 | 8 | <!ENTITY toolbar.pos.sidebarleft.label "Venstre ved siden af sidebjælke"> | ||
4181 | 9 | <!ENTITY toolbar.pos.sidebarright.label "Højre ved siden af sidebjælke"> | ||
4182 | 10 | <!ENTITY toolbar.pos.right.label "Højre"> | ||
4183 | 11 | <!ENTITY toolbar.pos.sidebartop.label "Over sidebjælke"> | ||
4184 | 12 | <!ENTITY toolbar.pos.headerbottom.label "Under sidebjælke sidehoved"> | ||
4185 | 13 | <!ENTITY toolbar.pos.sidebarbottom.label "Under sidebjælke"> | ||
4186 | 14 | <!ENTITY toolbar.mode.iconstext.label "Ikoner og tekst"> | ||
4187 | 15 | <!ENTITY toolbar.mode.icons.label "Kun ikoner"> | ||
4188 | 16 | <!ENTITY toolbar.mode.text.label "Kun tekst"> | ||
4189 | 17 | <!ENTITY toolbar.mode.smallicons.label "Små ikoner"> | ||
4190 | 18 | <!ENTITY toolbar.mode.fullscreen.label "Vis i fuldskærms-modus"> | ||
4191 | 19 | <!ENTITY toolbar.mode.flexbuttons.label "Fleksible knapper"> | ||
4192 | 20 | <!ENTITY button.sidebar.close.label "Luk sidebjælke"> | ||
4193 | 21 | <!ENTITY button.sidebar.close.tooltip "Lukker sidebjælke"> | ||
4194 | 22 | <!ENTITY button.tab.close.label "Luk fane"> | ||
4195 | 23 | <!ENTITY button.tab.close.tooltip "Luk faneblad"> | ||
4196 | 24 | 0 | ||
4197 | === removed file 'chrome/aios.jar!/locale/de-DE/tbx.dtd' | |||
4198 | --- chrome/aios.jar!/locale/de-DE/tbx.dtd 2008-11-14 11:44:00 +0000 | |||
4199 | +++ chrome/aios.jar!/locale/de-DE/tbx.dtd 1970-01-01 00:00:00 +0000 | |||
4200 | @@ -1,23 +0,0 @@ | |||
4201 | 1 | <!ENTITY config.instructions.description "Sie können mehr Einstellungen für jede Symbolleiste vornehmen, wenn Sie mit der rechten Maustaste darauf klicken und die gewünschten Optionen im Untermenü „Eigenschaften dieser Symbolleiste“ wählen."> | ||
4202 | 2 | <!ENTITY config.global.caption "Globale Einstellungen"> | ||
4203 | 3 | <!ENTITY toolbar.customize.label "Eigenschaften dieser Symbolleiste"> | ||
4204 | 4 | <!ENTITY toolbar.pos.top.label "oben"> | ||
4205 | 5 | <!ENTITY toolbar.pos.belowtabs.label "unter der Tab-Leiste"> | ||
4206 | 6 | <!ENTITY toolbar.pos.bottom.label "unten"> | ||
4207 | 7 | <!ENTITY toolbar.pos.left.label "links"> | ||
4208 | 8 | <!ENTITY toolbar.pos.sidebarleft.label "links neben der Sidebar"> | ||
4209 | 9 | <!ENTITY toolbar.pos.sidebarright.label "rechts neben der Sidebar"> | ||
4210 | 10 | <!ENTITY toolbar.pos.right.label "rechts"> | ||
4211 | 11 | <!ENTITY toolbar.pos.sidebartop.label "über der Sidebar"> | ||
4212 | 12 | <!ENTITY toolbar.pos.headerbottom.label "unter der Sidebar-Kopfleiste"> | ||
4213 | 13 | <!ENTITY toolbar.pos.sidebarbottom.label "unter der Sidebar"> | ||
4214 | 14 | <!ENTITY toolbar.mode.iconstext.label "Symbole und Text"> | ||
4215 | 15 | <!ENTITY toolbar.mode.icons.label "Symbole"> | ||
4216 | 16 | <!ENTITY toolbar.mode.text.label "Text"> | ||
4217 | 17 | <!ENTITY toolbar.mode.smallicons.label "kleine Symbole"> | ||
4218 | 18 | <!ENTITY toolbar.mode.fullscreen.label "im Vollbild-Modus anzeigen"> | ||
4219 | 19 | <!ENTITY toolbar.mode.flexbuttons.label "flexible Schaltflächen"> | ||
4220 | 20 | <!ENTITY button.sidebar.close.label "Sidebar schließen"> | ||
4221 | 21 | <!ENTITY button.sidebar.close.tooltip "Sidebar schließen"> | ||
4222 | 22 | <!ENTITY button.tab.close.label "Tab schließen"> | ||
4223 | 23 | <!ENTITY button.tab.close.tooltip "Tab schließen"> | ||
4224 | 24 | 0 | ||
4225 | === removed file 'chrome/aios.jar!/locale/el-GR/tbx.dtd' | |||
4226 | --- chrome/aios.jar!/locale/el-GR/tbx.dtd 2008-11-14 11:44:00 +0000 | |||
4227 | +++ chrome/aios.jar!/locale/el-GR/tbx.dtd 1970-01-01 00:00:00 +0000 | |||
4228 | @@ -1,23 +0,0 @@ | |||
4229 | 1 | <!ENTITY config.instructions.description "ΜποÏ�είτε να Ï�υθμίσετε πεÏ�ισσότεÏ�ες επιλογÎÏ‚ για κάθε εÏ�γαλειοθήκη ξεχωÏ�ιστά, κάνοντας δεξί κλικ και επιλÎγοντας από το μενοÏ� «ιδιότητες εÏ�γαλειοθηκών»"> | ||
4230 | 2 | <!ENTITY config.global.caption "ΓενικÎÏ‚ επιλογÎÏ‚"> | ||
4231 | 3 | <!ENTITY toolbar.customize.label "Ιδιότητες ε�γαλειοθηκών"> | ||
4232 | 4 | <!ENTITY toolbar.pos.top.label "Κο�υφή"> | ||
4233 | 5 | <!ENTITY toolbar.pos.belowtabs.label "Κάτω από τις καÏ�Ï„Îλες"> | ||
4234 | 6 | <!ENTITY toolbar.pos.bottom.label "Βάση"> | ||
4235 | 7 | <!ENTITY toolbar.pos.left.label "Α�ιστε�ά"> | ||
4236 | 8 | <!ENTITY toolbar.pos.sidebarleft.label "Α�ιστε�ά από την πλευ�ική στήλη"> | ||
4237 | 9 | <!ENTITY toolbar.pos.sidebarright.label "Δεξιά από την πλευ�ική στήλη"> | ||
4238 | 10 | <!ENTITY toolbar.pos.right.label "Δεξιά"> | ||
4239 | 11 | <!ENTITY toolbar.pos.sidebartop.label "Πάνω από την πλευ�ική στήλη"> | ||
4240 | 12 | <!ENTITY toolbar.pos.headerbottom.label "Κάτω από την κεφαλίδα πλευ�ικής στήλης"> | ||
4241 | 13 | <!ENTITY toolbar.pos.sidebarbottom.label "Κάτω από την πλευ�ική στήλη"> | ||
4242 | 14 | <!ENTITY toolbar.mode.iconstext.label "Εικόνες και κείμενο"> | ||
4243 | 15 | <!ENTITY toolbar.mode.icons.label "Μόνο εικόνες"> | ||
4244 | 16 | <!ENTITY toolbar.mode.text.label "Μόνο κείμενο"> | ||
4245 | 17 | <!ENTITY toolbar.mode.smallicons.label "ΜικÏ�ÎÏ‚ εικόνες"> | ||
4246 | 18 | <!ENTITY toolbar.mode.fullscreen.label "Π�οβολή σε κατάσταση πλή�ους οθόνης"> | ||
4247 | 19 | <!ENTITY toolbar.mode.flexbuttons.label "ΕυÎλικτα κουμπιά"> | ||
4248 | 20 | <!ENTITY button.sidebar.close.label "Κλείσιμο πλευ�ικής στήλης"> | ||
4249 | 21 | <!ENTITY button.sidebar.close.tooltip "Κλείσιμο πλευ�ικής στήλης"> | ||
4250 | 22 | <!ENTITY button.tab.close.label "Κλείσιμο καÏ�Ï„Îλας"> | ||
4251 | 23 | <!ENTITY button.tab.close.tooltip "Κλείσιμο καÏ�Ï„Îλας"> | ||
4252 | 24 | 0 | ||
4253 | === removed file 'chrome/aios.jar!/locale/en-GB/tbx.dtd' | |||
4254 | --- chrome/aios.jar!/locale/en-GB/tbx.dtd 2008-11-14 11:44:00 +0000 | |||
4255 | +++ chrome/aios.jar!/locale/en-GB/tbx.dtd 1970-01-01 00:00:00 +0000 | |||
4256 | @@ -1,23 +0,0 @@ | |||
4257 | 1 | <!ENTITY config.instructions.description "You have more options separately for every toolbar by right-clicking on the toolbar and choosing the desired options in the “Toolbar Properties” menu."> | ||
4258 | 2 | <!ENTITY config.global.caption "Global Options"> | ||
4259 | 3 | <!ENTITY toolbar.customize.label "Toolbar Properties"> | ||
4260 | 4 | <!ENTITY toolbar.pos.top.label "Top"> | ||
4261 | 5 | <!ENTITY toolbar.pos.belowtabs.label "Below Tabs"> | ||
4262 | 6 | <!ENTITY toolbar.pos.bottom.label "Bottom"> | ||
4263 | 7 | <!ENTITY toolbar.pos.left.label "Left"> | ||
4264 | 8 | <!ENTITY toolbar.pos.sidebarleft.label "Left Beside Sidebar"> | ||
4265 | 9 | <!ENTITY toolbar.pos.sidebarright.label "Right Beside Sidebar"> | ||
4266 | 10 | <!ENTITY toolbar.pos.right.label "Right"> | ||
4267 | 11 | <!ENTITY toolbar.pos.sidebartop.label "Above Sidebar"> | ||
4268 | 12 | <!ENTITY toolbar.pos.headerbottom.label "Below Sidebar Header"> | ||
4269 | 13 | <!ENTITY toolbar.pos.sidebarbottom.label "Below Sidebar"> | ||
4270 | 14 | <!ENTITY toolbar.mode.iconstext.label "Icons and Text"> | ||
4271 | 15 | <!ENTITY toolbar.mode.icons.label "Icons Only"> | ||
4272 | 16 | <!ENTITY toolbar.mode.text.label "Text Only"> | ||
4273 | 17 | <!ENTITY toolbar.mode.smallicons.label "Small Icons"> | ||
4274 | 18 | <!ENTITY toolbar.mode.fullscreen.label "Show in Full-Screen-Mode"> | ||
4275 | 19 | <!ENTITY toolbar.mode.flexbuttons.label "Flexible Buttons"> | ||
4276 | 20 | <!ENTITY button.sidebar.close.label "Close Sidebar"> | ||
4277 | 21 | <!ENTITY button.sidebar.close.tooltip "Close sidebar"> | ||
4278 | 22 | <!ENTITY button.tab.close.label "Close Tab"> | ||
4279 | 23 | <!ENTITY button.tab.close.tooltip "Close tab"> | ||
4280 | 24 | 0 | ||
4281 | === removed file 'chrome/aios.jar!/locale/en-US/tbx.dtd' | |||
4282 | --- chrome/aios.jar!/locale/en-US/tbx.dtd 2008-11-14 11:44:00 +0000 | |||
4283 | +++ chrome/aios.jar!/locale/en-US/tbx.dtd 1970-01-01 00:00:00 +0000 | |||
4284 | @@ -1,23 +0,0 @@ | |||
4285 | 1 | <!ENTITY config.instructions.description "You have more options separately for every toolbar by right-clicking on the toolbar and choosing the desired options in the “Toolbar Properties” menu."> | ||
4286 | 2 | <!ENTITY config.global.caption "Global Options"> | ||
4287 | 3 | <!ENTITY toolbar.customize.label "Toolbar Properties"> | ||
4288 | 4 | <!ENTITY toolbar.pos.top.label "Top"> | ||
4289 | 5 | <!ENTITY toolbar.pos.belowtabs.label "Below Tabs"> | ||
4290 | 6 | <!ENTITY toolbar.pos.bottom.label "Bottom"> | ||
4291 | 7 | <!ENTITY toolbar.pos.left.label "Left"> | ||
4292 | 8 | <!ENTITY toolbar.pos.sidebarleft.label "Left Beside Sidebar"> | ||
4293 | 9 | <!ENTITY toolbar.pos.sidebarright.label "Right Beside Sidebar"> | ||
4294 | 10 | <!ENTITY toolbar.pos.right.label "Right"> | ||
4295 | 11 | <!ENTITY toolbar.pos.sidebartop.label "Above Sidebar"> | ||
4296 | 12 | <!ENTITY toolbar.pos.headerbottom.label "Below Sidebar Header"> | ||
4297 | 13 | <!ENTITY toolbar.pos.sidebarbottom.label "Below Sidebar"> | ||
4298 | 14 | <!ENTITY toolbar.mode.iconstext.label "Icons and Text"> | ||
4299 | 15 | <!ENTITY toolbar.mode.icons.label "Icons Only"> | ||
4300 | 16 | <!ENTITY toolbar.mode.text.label "Text Only"> | ||
4301 | 17 | <!ENTITY toolbar.mode.smallicons.label "Small Icons"> | ||
4302 | 18 | <!ENTITY toolbar.mode.fullscreen.label "Show in Full-Screen-Mode"> | ||
4303 | 19 | <!ENTITY toolbar.mode.flexbuttons.label "Flexible Buttons"> | ||
4304 | 20 | <!ENTITY button.sidebar.close.label "Close Sidebar"> | ||
4305 | 21 | <!ENTITY button.sidebar.close.tooltip "Close sidebar"> | ||
4306 | 22 | <!ENTITY button.tab.close.label "Close Tab"> | ||
4307 | 23 | <!ENTITY button.tab.close.tooltip "Close tab"> | ||
4308 | 24 | 0 | ||
4309 | === removed file 'chrome/aios.jar!/locale/es-AR/tbx.dtd' | |||
4310 | --- chrome/aios.jar!/locale/es-AR/tbx.dtd 2008-11-14 11:44:00 +0000 | |||
4311 | +++ chrome/aios.jar!/locale/es-AR/tbx.dtd 1970-01-01 00:00:00 +0000 | |||
4312 | @@ -1,23 +0,0 @@ | |||
4313 | 1 | <!ENTITY config.instructions.description "Usted tiene más opciones para cada barra de herramientas por separado haciendo click con el botón derecho en la barra de herramientas y eligiendo las opciones deseadas en el menú "Propiedades de la Barra de Herramientas"."> | ||
4314 | 2 | <!ENTITY config.global.caption "Opciones Globales"> | ||
4315 | 3 | <!ENTITY toolbar.customize.label "Propiedades de la Barra de Herramientas"> | ||
4316 | 4 | <!ENTITY toolbar.pos.top.label "Arriba"> | ||
4317 | 5 | <!ENTITY toolbar.pos.belowtabs.label "Debajo de las Pestañas"> | ||
4318 | 6 | <!ENTITY toolbar.pos.bottom.label "Abajo"> | ||
4319 | 7 | <!ENTITY toolbar.pos.left.label "Izquierda"> | ||
4320 | 8 | <!ENTITY toolbar.pos.sidebarleft.label "A la izquerda del Barra Lateral"> | ||
4321 | 9 | <!ENTITY toolbar.pos.sidebarright.label "A la derecha del Barra Lateral"> | ||
4322 | 10 | <!ENTITY toolbar.pos.right.label "Derecha"> | ||
4323 | 11 | <!ENTITY toolbar.pos.sidebartop.label "Encima del Barra Lateral"> | ||
4324 | 12 | <!ENTITY toolbar.pos.headerbottom.label "Debajo del encabezado del Barra Lateral"> | ||
4325 | 13 | <!ENTITY toolbar.pos.sidebarbottom.label "Debajo del Barra Lateral"> | ||
4326 | 14 | <!ENTITY toolbar.mode.iconstext.label "�conos y Texto"> | ||
4327 | 15 | <!ENTITY toolbar.mode.icons.label "�conos Solamente"> | ||
4328 | 16 | <!ENTITY toolbar.mode.text.label "texto Solamente"> | ||
4329 | 17 | <!ENTITY toolbar.mode.smallicons.label "�conos Pequeños"> | ||
4330 | 18 | <!ENTITY toolbar.mode.fullscreen.label "Mostrar en el Modo Pantalla Completa"> | ||
4331 | 19 | <!ENTITY toolbar.mode.flexbuttons.label "Botones Flexibles"> | ||
4332 | 20 | <!ENTITY button.sidebar.close.label "Cerrar Barra Lateral"> | ||
4333 | 21 | <!ENTITY button.sidebar.close.tooltip "Cerrar barra lateral"> | ||
4334 | 22 | <!ENTITY button.tab.close.label "Cerrar Pestaña"> | ||
4335 | 23 | <!ENTITY button.tab.close.tooltip "Cerrar pestaña"> | ||
4336 | 24 | 0 | ||
4337 | === removed file 'chrome/aios.jar!/locale/es-ES/tbx.dtd' | |||
4338 | --- chrome/aios.jar!/locale/es-ES/tbx.dtd 2008-11-14 11:44:00 +0000 | |||
4339 | +++ chrome/aios.jar!/locale/es-ES/tbx.dtd 1970-01-01 00:00:00 +0000 | |||
4340 | @@ -1,23 +0,0 @@ | |||
4341 | 1 | <!ENTITY config.instructions.description "Tiene más opciones separadas para cada barra de herramientas pulsando con el botón derecho sobre la barra y eligiendo la opción deseada en el menú “Propiedades�."> | ||
4342 | 2 | <!ENTITY config.global.caption "Opciones globales"> | ||
4343 | 3 | <!ENTITY toolbar.customize.label "Propiedades de la barra de herramientas"> | ||
4344 | 4 | <!ENTITY toolbar.pos.top.label "Arriba"> | ||
4345 | 5 | <!ENTITY toolbar.pos.belowtabs.label "Bajo las pestañas"> | ||
4346 | 6 | <!ENTITY toolbar.pos.bottom.label "Abajo"> | ||
4347 | 7 | <!ENTITY toolbar.pos.left.label "Izquierda"> | ||
4348 | 8 | <!ENTITY toolbar.pos.sidebarleft.label "Izquiera del panel lateral"> | ||
4349 | 9 | <!ENTITY toolbar.pos.sidebarright.label "Derecha del panel lateral"> | ||
4350 | 10 | <!ENTITY toolbar.pos.right.label "Derecha"> | ||
4351 | 11 | <!ENTITY toolbar.pos.sidebartop.label "Sobre el panel lateral"> | ||
4352 | 12 | <!ENTITY toolbar.pos.headerbottom.label "Bajo la cabecera del panel"> | ||
4353 | 13 | <!ENTITY toolbar.pos.sidebarbottom.label "Bajo el panel lateral"> | ||
4354 | 14 | <!ENTITY toolbar.mode.iconstext.label "Iconos y texto"> | ||
4355 | 15 | <!ENTITY toolbar.mode.icons.label "Sólo iconos"> | ||
4356 | 16 | <!ENTITY toolbar.mode.text.label "Sólo texto"> | ||
4357 | 17 | <!ENTITY toolbar.mode.smallicons.label "Iconos pequeños"> | ||
4358 | 18 | <!ENTITY toolbar.mode.fullscreen.label "Mostrar en el modo de pantalla completa"> | ||
4359 | 19 | <!ENTITY toolbar.mode.flexbuttons.label "Botones flexibles"> | ||
4360 | 20 | <!ENTITY button.sidebar.close.label "Cerrar panel lateral"> | ||
4361 | 21 | <!ENTITY button.sidebar.close.tooltip "Cerrar panel lateral"> | ||
4362 | 22 | <!ENTITY button.tab.close.label "Cerrar pestaña"> | ||
4363 | 23 | <!ENTITY button.tab.close.tooltip "Cerrar pestaña"> | ||
4364 | 24 | 0 | ||
4365 | === removed file 'chrome/aios.jar!/locale/et-EE/tbx.dtd' | |||
4366 | --- chrome/aios.jar!/locale/et-EE/tbx.dtd 2008-11-14 11:44:00 +0000 | |||
4367 | +++ chrome/aios.jar!/locale/et-EE/tbx.dtd 1970-01-01 00:00:00 +0000 | |||
4368 | @@ -1,23 +0,0 @@ | |||
4369 | 1 | <!ENTITY config.instructions.description "Iga tööriistariba jaoks saab valikuid muuta ka paremklikkides ja “Tööriistariba valikud” menüüst sobivat valikut tehes"> | ||
4370 | 2 | <!ENTITY config.global.caption "Ãœldised valikud"> | ||
4371 | 3 | <!ENTITY toolbar.customize.label "Tööriistariba valikud"> | ||
4372 | 4 | <!ENTITY toolbar.pos.top.label "Ãœleval"> | ||
4373 | 5 | <!ENTITY toolbar.pos.belowtabs.label "Sakkide all"> | ||
4374 | 6 | <!ENTITY toolbar.pos.bottom.label "All"> | ||
4375 | 7 | <!ENTITY toolbar.pos.left.label "Vasakul"> | ||
4376 | 8 | <!ENTITY toolbar.pos.sidebarleft.label "Vasakul Sidebar'i kõrval"> | ||
4377 | 9 | <!ENTITY toolbar.pos.sidebarright.label "Paremal Sidebar'i kürval"> | ||
4378 | 10 | <!ENTITY toolbar.pos.right.label "Paremal"> | ||
4379 | 11 | <!ENTITY toolbar.pos.sidebartop.label "Sidebar'i kohal"> | ||
4380 | 12 | <!ENTITY toolbar.pos.headerbottom.label "Sidebar'i pealkirja all"> | ||
4381 | 13 | <!ENTITY toolbar.pos.sidebarbottom.label "Sidebar'i all"> | ||
4382 | 14 | <!ENTITY toolbar.mode.iconstext.label "Ikoonid ja tekst"> | ||
4383 | 15 | <!ENTITY toolbar.mode.icons.label "Ainult ikoonid"> | ||
4384 | 16 | <!ENTITY toolbar.mode.text.label "Ainult tekst"> | ||
4385 | 17 | <!ENTITY toolbar.mode.smallicons.label "Väikesed ikoonid"> | ||
4386 | 18 | <!ENTITY toolbar.mode.fullscreen.label "Näita täisekraanil"> | ||
4387 | 19 | <!ENTITY toolbar.mode.flexbuttons.label "Paindlikud nupud"> | ||
4388 | 20 | <!ENTITY button.sidebar.close.label "Sule Sidebar"> | ||
4389 | 21 | <!ENTITY button.sidebar.close.tooltip "Sule külgaken"> | ||
4390 | 22 | <!ENTITY button.tab.close.label "Sule sakk"> | ||
4391 | 23 | <!ENTITY button.tab.close.tooltip "Sule sakk"> | ||
4392 | 24 | 0 | ||
4393 | === removed file 'chrome/aios.jar!/locale/fi-FI/tbx.dtd' | |||
4394 | --- chrome/aios.jar!/locale/fi-FI/tbx.dtd 2008-11-14 11:44:00 +0000 | |||
4395 | +++ chrome/aios.jar!/locale/fi-FI/tbx.dtd 1970-01-01 00:00:00 +0000 | |||
4396 | @@ -1,23 +0,0 @@ | |||
4397 | 1 | <!ENTITY config.instructions.description "Saat lisää vaihtoehtoja erikseen jokaiselle työkalupalkille napsauttamalla hiiren oikeanpuoleisella painikkeella työkalupalkista ja valitsemalla halutut vaihtoehdot “Työkalupalkin asetukset� valikosta."> | ||
4398 | 2 | <!ENTITY config.global.caption "Yleiset asetukset"> | ||
4399 | 3 | <!ENTITY toolbar.customize.label "Työkalupalkin asetukset"> | ||
4400 | 4 | <!ENTITY toolbar.pos.top.label "Huippu"> | ||
4401 | 5 | <!ENTITY toolbar.pos.belowtabs.label "Välilehtien alapuolella"> | ||
4402 | 6 | <!ENTITY toolbar.pos.bottom.label "Pohja"> | ||
4403 | 7 | <!ENTITY toolbar.pos.left.label "Vasen"> | ||
4404 | 8 | <!ENTITY toolbar.pos.sidebarleft.label "Vasemman puoleinen sivupaneeli"> | ||
4405 | 9 | <!ENTITY toolbar.pos.sidebarright.label "Oikean puoleinen sivupaneeli"> | ||
4406 | 10 | <!ENTITY toolbar.pos.right.label "Oikea"> | ||
4407 | 11 | <!ENTITY toolbar.pos.sidebartop.label "Sivupaneelin yläpuolella"> | ||
4408 | 12 | <!ENTITY toolbar.pos.headerbottom.label "Sivupaneelin tunnisteen alapuolella"> | ||
4409 | 13 | <!ENTITY toolbar.pos.sidebarbottom.label "Sivupaneelin alapuolella"> | ||
4410 | 14 | <!ENTITY toolbar.mode.iconstext.label "Kuvakkeet ja teksti"> | ||
4411 | 15 | <!ENTITY toolbar.mode.icons.label "Vain kuvakkeet"> | ||
4412 | 16 | <!ENTITY toolbar.mode.text.label "Vain teksti"> | ||
4413 | 17 | <!ENTITY toolbar.mode.smallicons.label "Pienet kuvakkeet"> | ||
4414 | 18 | <!ENTITY toolbar.mode.fullscreen.label "Näytä kokoruutu tilassa"> | ||
4415 | 19 | <!ENTITY toolbar.mode.flexbuttons.label "Joustavat painikkeet"> | ||
4416 | 20 | <!ENTITY button.sidebar.close.label "Sulje sivupalkki"> | ||
4417 | 21 | <!ENTITY button.sidebar.close.tooltip "Sulje sivupalkki"> | ||
4418 | 22 | <!ENTITY button.tab.close.label "Sulje välilehti"> | ||
4419 | 23 | <!ENTITY button.tab.close.tooltip "Sulje välilehti"> | ||
4420 | 24 | 0 | ||
4421 | === removed file 'chrome/aios.jar!/locale/fr-FR/tbx.dtd' | |||
4422 | --- chrome/aios.jar!/locale/fr-FR/tbx.dtd 2008-11-14 11:44:00 +0000 | |||
4423 | +++ chrome/aios.jar!/locale/fr-FR/tbx.dtd 1970-01-01 00:00:00 +0000 | |||
4424 | @@ -1,23 +0,0 @@ | |||
4425 | 1 | <!ENTITY config.instructions.description "Vous disposerez de davantage d'options pour chaque barre d'outils en cliquant-droit dans la barre d'outil et en choisissant l'option voulue dans le menu des 'Propriétés de la barre d'outils'"> | ||
4426 | 2 | <!ENTITY config.global.caption "Options générales"> | ||
4427 | 3 | <!ENTITY toolbar.customize.label "Propriétés de la barre d'outils"> | ||
4428 | 4 | <!ENTITY toolbar.pos.top.label "En Haut"> | ||
4429 | 5 | <!ENTITY toolbar.pos.belowtabs.label "Sous les onglets"> | ||
4430 | 6 | <!ENTITY toolbar.pos.bottom.label "En bas"> | ||
4431 | 7 | <!ENTITY toolbar.pos.left.label "À gauche"> | ||
4432 | 8 | <!ENTITY toolbar.pos.sidebarleft.label "À gauche près du panneau latéral"> | ||
4433 | 9 | <!ENTITY toolbar.pos.sidebarright.label "À droite près du panneau latéral"> | ||
4434 | 10 | <!ENTITY toolbar.pos.right.label "À droite"> | ||
4435 | 11 | <!ENTITY toolbar.pos.sidebartop.label "Au-dessus du panneau latéral"> | ||
4436 | 12 | <!ENTITY toolbar.pos.headerbottom.label "En-dessous du titre du panneau latéral"> | ||
4437 | 13 | <!ENTITY toolbar.pos.sidebarbottom.label "En-dessous du panneau latéral"> | ||
4438 | 14 | <!ENTITY toolbar.mode.iconstext.label "Icônes et texte"> | ||
4439 | 15 | <!ENTITY toolbar.mode.icons.label "Seulement les icônes"> | ||
4440 | 16 | <!ENTITY toolbar.mode.text.label "Seulement le texte"> | ||
4441 | 17 | <!ENTITY toolbar.mode.smallicons.label "Petites icônes"> | ||
4442 | 18 | <!ENTITY toolbar.mode.fullscreen.label "Afficher en mode plein écran"> | ||
4443 | 19 | <!ENTITY toolbar.mode.flexbuttons.label "Boutons paramétrables"> | ||
4444 | 20 | <!ENTITY button.sidebar.close.label "Fermer le panneau latéral"> | ||
4445 | 21 | <!ENTITY button.sidebar.close.tooltip "Fermeture du panneau latéral"> | ||
4446 | 22 | <!ENTITY button.tab.close.label "Fermer l'onglet"> | ||
4447 | 23 | <!ENTITY button.tab.close.tooltip "Fermeture de l'onglet"> | ||
4448 | 24 | 0 | ||
4449 | === removed file 'chrome/aios.jar!/locale/he-IL/tbx.dtd' | |||
4450 | --- chrome/aios.jar!/locale/he-IL/tbx.dtd 2008-11-14 11:44:00 +0000 | |||
4451 | +++ chrome/aios.jar!/locale/he-IL/tbx.dtd 1970-01-01 00:00:00 +0000 | |||
4452 | @@ -1,23 +0,0 @@ | |||
4453 | 1 | <!ENTITY config.instructions.description "יש לך עוד ×�פשרויות × ×¤×¨×“×•×ª לכל סרגל כלי×� על ידי לחיצה ×™×ž× ×™×ª על הסרגל ובחירה של ×”×�פשרות הרצוייה ב“ בתפריט סרגל ×”×�פשרויות â€� ."> | ||
4454 | 2 | <!ENTITY config.global.caption "�פשרויות גלוב�ליות"> | ||
4455 | 3 | <!ENTITY toolbar.customize.label "הגדרות סרגל הכלי�"> | ||
4456 | 4 | <!ENTITY toolbar.pos.top.label "למעלה"> | ||
4457 | 5 | <!ENTITY toolbar.pos.belowtabs.label "מתחת ×œ×œ×©×•× ×™×•×ª"> | ||
4458 | 6 | <!ENTITY toolbar.pos.bottom.label "למטה"> | ||
4459 | 7 | <!ENTITY toolbar.pos.left.label "שמ�ל"> | ||
4460 | 8 | <!ENTITY toolbar.pos.sidebarleft.label "שמ�ל ליד סרגל הצד"> | ||
4461 | 9 | <!ENTITY toolbar.pos.sidebarright.label "ימין ליד סרגל הצד"> | ||
4462 | 10 | <!ENTITY toolbar.pos.right.label "ימין"> | ||
4463 | 11 | <!ENTITY toolbar.pos.sidebartop.label "מעל סרגל הצד"> | ||
4464 | 12 | <!ENTITY toolbar.pos.headerbottom.label "מתחת לכותרת סרגל הצד"> | ||
4465 | 13 | <!ENTITY toolbar.pos.sidebarbottom.label "מתחת לסרגל הצד"> | ||
4466 | 14 | <!ENTITY toolbar.mode.iconstext.label "�ייקון וטקסט"> | ||
4467 | 15 | <!ENTITY toolbar.mode.icons.label "×�×™×™×§×•× ×™×� בלבד"> | ||
4468 | 16 | <!ENTITY toolbar.mode.text.label "טקסט בלבד"> | ||
4469 | 17 | <!ENTITY toolbar.mode.smallicons.label "×�×™×™×§×•× ×™×� ×§×˜× ×™×�"> | ||
4470 | 18 | <!ENTITY toolbar.mode.fullscreen.label "הצג במצב מסך מל�"> | ||
4471 | 19 | <!ENTITY toolbar.mode.flexbuttons.label "כפתורי� גמישי�"> | ||
4472 | 20 | <!ENTITY button.sidebar.close.label "סגור סרגל-צד"> | ||
4473 | 21 | <!ENTITY button.sidebar.close.tooltip "סגור סרגל-צד"> | ||
4474 | 22 | <!ENTITY button.tab.close.label "סגור ×œ×©×•× ×™×ª"> | ||
4475 | 23 | <!ENTITY button.tab.close.tooltip "סגור ×œ×©×•× ×™×ª"> | ||
4476 | 24 | 0 | ||
4477 | === removed file 'chrome/aios.jar!/locale/hr-HR/tbx.dtd' | |||
4478 | --- chrome/aios.jar!/locale/hr-HR/tbx.dtd 2008-11-14 11:44:00 +0000 | |||
4479 | +++ chrome/aios.jar!/locale/hr-HR/tbx.dtd 1970-01-01 00:00:00 +0000 | |||
4480 | @@ -1,23 +0,0 @@ | |||
4481 | 1 | <!ENTITY config.instructions.description "Možete imati viÅ¡e opcija odvojeno za svaku alatnu traku tako da kliknete desnom tipkom miÅ¡a na alatnu traku i odaberete željene opcije u izborniku “Svojstva alatne trake” ."> | ||
4482 | 2 | <!ENTITY config.global.caption "Opća svojstva"> | ||
4483 | 3 | <!ENTITY toolbar.customize.label "Svojstva alatne trake"> | ||
4484 | 4 | <!ENTITY toolbar.pos.top.label "Vrh"> | ||
4485 | 5 | <!ENTITY toolbar.pos.belowtabs.label "Ispod kartica"> | ||
4486 | 6 | <!ENTITY toolbar.pos.bottom.label "Dno"> | ||
4487 | 7 | <!ENTITY toolbar.pos.left.label "Lijevo"> | ||
4488 | 8 | <!ENTITY toolbar.pos.sidebarleft.label "Lijevo pored rubnog stupca"> | ||
4489 | 9 | <!ENTITY toolbar.pos.sidebarright.label "Desno pored rubnog stupca"> | ||
4490 | 10 | <!ENTITY toolbar.pos.right.label "Desno"> | ||
4491 | 11 | <!ENTITY toolbar.pos.sidebartop.label "Iznad rubnog stupca"> | ||
4492 | 12 | <!ENTITY toolbar.pos.headerbottom.label "Ispod zaglavlja rubnog stupca"> | ||
4493 | 13 | <!ENTITY toolbar.pos.sidebarbottom.label "Ispod rubnog stupca"> | ||
4494 | 14 | <!ENTITY toolbar.mode.iconstext.label "Ikone i tekst"> | ||
4495 | 15 | <!ENTITY toolbar.mode.icons.label "Samo ikone"> | ||
4496 | 16 | <!ENTITY toolbar.mode.text.label "Samo tekst"> | ||
4497 | 17 | <!ENTITY toolbar.mode.smallicons.label "Male ikone"> | ||
4498 | 18 | <!ENTITY toolbar.mode.fullscreen.label "Prikaži u modu cijelog ekrana"> | ||
4499 | 19 | <!ENTITY toolbar.mode.flexbuttons.label "Fleksibilni gumbi"> | ||
4500 | 20 | <!ENTITY button.sidebar.close.label "Zatvori rubni stupac"> | ||
4501 | 21 | <!ENTITY button.sidebar.close.tooltip "Zatvori rubni stupac"> | ||
4502 | 22 | <!ENTITY button.tab.close.label "Zatvori karticu"> | ||
4503 | 23 | <!ENTITY button.tab.close.tooltip "Zatvori karticu"> | ||
4504 | 24 | 0 | ||
4505 | === removed file 'chrome/aios.jar!/locale/hu-HU/tbx.dtd' | |||
4506 | --- chrome/aios.jar!/locale/hu-HU/tbx.dtd 2008-11-14 11:44:00 +0000 | |||
4507 | +++ chrome/aios.jar!/locale/hu-HU/tbx.dtd 1970-01-01 00:00:00 +0000 | |||
4508 | @@ -1,23 +0,0 @@ | |||
4509 | 1 | <!ENTITY config.instructions.description "Minden eszköztár egyedileg is beállÃtható úgy, hogy jobb gombbal kattint az eszköztáron és kiválasztja a megfelelÅ‘ opciót a “Eszköztár beállÃtások” menübÅ‘l."> | ||
4510 | 2 | <!ENTITY config.global.caption "Ã�ltalános beállÃtások"> | ||
4511 | 3 | <!ENTITY toolbar.customize.label "Eszköztár beállÃtások"> | ||
4512 | 4 | <!ENTITY toolbar.pos.top.label "Felülre"> | ||
4513 | 5 | <!ENTITY toolbar.pos.belowtabs.label "Lapok eszköztár alá"> | ||
4514 | 6 | <!ENTITY toolbar.pos.bottom.label "Alulra"> | ||
4515 | 7 | <!ENTITY toolbar.pos.left.label "Balra"> | ||
4516 | 8 | <!ENTITY toolbar.pos.sidebarleft.label "Balra az Oldalsáv mellett"> | ||
4517 | 9 | <!ENTITY toolbar.pos.sidebarright.label "Jobbra az Oldalsáv mellett"> | ||
4518 | 10 | <!ENTITY toolbar.pos.right.label "Jobbra"> | ||
4519 | 11 | <!ENTITY toolbar.pos.sidebartop.label "Oldalsáv fölé"> | ||
4520 | 12 | <!ENTITY toolbar.pos.headerbottom.label "Oldalsáv cÃmsora alá"> | ||
4521 | 13 | <!ENTITY toolbar.pos.sidebarbottom.label "Oldalsáv alá"> | ||
4522 | 14 | <!ENTITY toolbar.mode.iconstext.label "Ikonok és szöveg"> | ||
4523 | 15 | <!ENTITY toolbar.mode.icons.label "Csak ikonok"> | ||
4524 | 16 | <!ENTITY toolbar.mode.text.label "Szöveg"> | ||
4525 | 17 | <!ENTITY toolbar.mode.smallicons.label "Kis ikonok használata"> | ||
4526 | 18 | <!ENTITY toolbar.mode.fullscreen.label "MegjelenÃtés teljesképernyÅ‘s módban"> | ||
4527 | 19 | <!ENTITY toolbar.mode.flexbuttons.label "Rugalmas gombok"> | ||
4528 | 20 | <!ENTITY button.sidebar.close.label "Oldalsáv bezárása"> | ||
4529 | 21 | <!ENTITY button.sidebar.close.tooltip "Bezárja az oldalsávot"> | ||
4530 | 22 | <!ENTITY button.tab.close.label "Lap bezárása"> | ||
4531 | 23 | <!ENTITY button.tab.close.tooltip "Bezárja a lapot"> | ||
4532 | 24 | 0 | ||
4533 | === removed file 'chrome/aios.jar!/locale/it-IT/tbx.dtd' | |||
4534 | --- chrome/aios.jar!/locale/it-IT/tbx.dtd 2008-11-14 11:44:00 +0000 | |||
4535 | +++ chrome/aios.jar!/locale/it-IT/tbx.dtd 1970-01-01 00:00:00 +0000 | |||
4536 | @@ -1,23 +0,0 @@ | |||
4537 | 1 | <!ENTITY config.instructions.description "Si possono avere più opzioni separatamente per ogni barra degli strumenti facendo clic con il tasto destro del mouse sulla barra degli strumenti e scegliendo l'opzione desiderata nel menu “Proprietà della barra degli strumenti”"> | ||
4538 | 2 | <!ENTITY config.global.caption "Opzioni globali"> | ||
4539 | 3 | <!ENTITY toolbar.customize.label "Proprietà della barra degli strumenti"> | ||
4540 | 4 | <!ENTITY toolbar.pos.top.label "In cima"> | ||
4541 | 5 | <!ENTITY toolbar.pos.belowtabs.label "Sotto le schede"> | ||
4542 | 6 | <!ENTITY toolbar.pos.bottom.label "In fondo"> | ||
4543 | 7 | <!ENTITY toolbar.pos.left.label "A sinistra"> | ||
4544 | 8 | <!ENTITY toolbar.pos.sidebarleft.label "A sinistra accanto alla barra laterale"> | ||
4545 | 9 | <!ENTITY toolbar.pos.sidebarright.label "A destra accanto alla barra laterale"> | ||
4546 | 10 | <!ENTITY toolbar.pos.right.label "A destra"> | ||
4547 | 11 | <!ENTITY toolbar.pos.sidebartop.label "Sopra la barra laterale"> | ||
4548 | 12 | <!ENTITY toolbar.pos.headerbottom.label "Sotto l'intestazione della barra laterale"> | ||
4549 | 13 | <!ENTITY toolbar.pos.sidebarbottom.label "Sotto la barra laterale"> | ||
4550 | 14 | <!ENTITY toolbar.mode.iconstext.label "Icone e testo"> | ||
4551 | 15 | <!ENTITY toolbar.mode.icons.label "Solo icone"> | ||
4552 | 16 | <!ENTITY toolbar.mode.text.label "Solo testo"> | ||
4553 | 17 | <!ENTITY toolbar.mode.smallicons.label "Icone piccole"> | ||
4554 | 18 | <!ENTITY toolbar.mode.fullscreen.label "Mostra in modalità a tutto schermo"> | ||
4555 | 19 | <!ENTITY toolbar.mode.flexbuttons.label "Pulsanti flessibili"> | ||
4556 | 20 | <!ENTITY button.sidebar.close.label "Chiudi barra laterale"> | ||
4557 | 21 | <!ENTITY button.sidebar.close.tooltip "Chiude la barra laterale"> | ||
4558 | 22 | <!ENTITY button.tab.close.label "Chiudi scheda"> | ||
4559 | 23 | <!ENTITY button.tab.close.tooltip "Chiude la scheda"> | ||
4560 | 24 | 0 | ||
4561 | === removed file 'chrome/aios.jar!/locale/ja-JP/tbx.dtd' | |||
4562 | --- chrome/aios.jar!/locale/ja-JP/tbx.dtd 2008-11-14 11:44:00 +0000 | |||
4563 | +++ chrome/aios.jar!/locale/ja-JP/tbx.dtd 1970-01-01 00:00:00 +0000 | |||
4564 | @@ -1,23 +0,0 @@ | |||
4565 | 1 | <!ENTITY config.instructions.description "å�³ã‚¯ãƒªãƒƒã‚¯ã�™ã‚‹ã�“ã�¨ã�§ã�‚らゆるツールãƒ�ーã�®å€‹åˆ¥ã‚ªãƒ—ションã�¨ “ ツールãƒ�ープãƒãƒ‘ティ â€� メニューã�«ã�‚ã‚‹å¿…è¦�ã�ªã‚ªãƒ—ションをé�¸ã�¶ã�“ã�¨ã�Œã�§ã��ã�¾ã�™ã€‚"> | ||
4566 | 2 | <!ENTITY config.global.caption "ã‚°ãƒãƒ¼ãƒ�ル オプション"> | ||
4567 | 3 | <!ENTITY toolbar.customize.label "ツールãƒ�ー プãƒãƒ‘ティ"> | ||
4568 | 4 | <!ENTITY toolbar.pos.top.label "å…ˆé ã�¸"> | ||
4569 | 5 | <!ENTITY toolbar.pos.belowtabs.label "タブ�下�"> | ||
4570 | 6 | <!ENTITY toolbar.pos.bottom.label "最後�"> | ||
4571 | 7 | <!ENTITY toolbar.pos.left.label "左�"> | ||
4572 | 8 | <!ENTITY toolbar.pos.sidebarleft.label "サイド�ー�左��"> | ||
4573 | 9 | <!ENTITY toolbar.pos.sidebarright.label "サイド�ー����"> | ||
4574 | 10 | <!ENTITY toolbar.pos.right.label "��"> | ||
4575 | 11 | <!ENTITY toolbar.pos.sidebartop.label "サイド�ー�上�"> | ||
4576 | 12 | <!ENTITY toolbar.pos.headerbottom.label "サイド�ーヘッダー�下�"> | ||
4577 | 13 | <!ENTITY toolbar.pos.sidebarbottom.label "サイド�ー�下�"> | ||
4578 | 14 | <!ENTITY toolbar.mode.iconstext.label "アイコンã�¨æ–‡å—"> | ||
4579 | 15 | <!ENTITY toolbar.mode.icons.label "アイコン��"> | ||
4580 | 16 | <!ENTITY toolbar.mode.text.label "æ–‡å—ã�®ã�¿"> | ||
4581 | 17 | <!ENTITY toolbar.mode.smallicons.label "���アイコン"> | ||
4582 | 18 | <!ENTITY toolbar.mode.fullscreen.label "フルスクリーンモード�表示"> | ||
4583 | 19 | <!ENTITY toolbar.mode.flexbuttons.label "フレã‚シブルボタン"> | ||
4584 | 20 | <!ENTITY button.sidebar.close.label "サイド�ーを閉�る"> | ||
4585 | 21 | <!ENTITY button.sidebar.close.tooltip "サイド�ーを閉���"> | ||
4586 | 22 | <!ENTITY button.tab.close.label "タブを閉�る"> | ||
4587 | 23 | <!ENTITY button.tab.close.tooltip "タブを閉���"> | ||
4588 | 24 | 0 | ||
4589 | === removed file 'chrome/aios.jar!/locale/ko-KR/tbx.dtd' | |||
4590 | --- chrome/aios.jar!/locale/ko-KR/tbx.dtd 2008-11-14 11:44:00 +0000 | |||
4591 | +++ chrome/aios.jar!/locale/ko-KR/tbx.dtd 1970-01-01 00:00:00 +0000 | |||
4592 | @@ -1,23 +0,0 @@ | |||
4593 | 1 | <!ENTITY config.instructions.description "ê°� ë�„구 막대 위ì—�ì„œ 오른쪽 버튼ì�„ í�´ë¦í•œ ë’¤ 'ë�„구 막대 ì„¤ì •' 메뉴를 사용하여 ê°� ë�„구 막대마다 서로 다른 ì„¤ì •ì�„ ì �ìš©í• ìˆ˜ 있습니다."> | ||
4594 | 2 | <!ENTITY config.global.caption "ì „ì²´ì � ì„¤ì •"> | ||
4595 | 3 | <!ENTITY toolbar.customize.label "ë�„구 막대 ì„¤ì •"> | ||
4596 | 4 | <!ENTITY toolbar.pos.top.label "맨 위"> | ||
4597 | 5 | <!ENTITY toolbar.pos.belowtabs.label "íƒ ì•„ëž˜"> | ||
4598 | 6 | <!ENTITY toolbar.pos.bottom.label "맨 밑"> | ||
4599 | 7 | <!ENTITY toolbar.pos.left.label "왼쪽"> | ||
4600 | 8 | <!ENTITY toolbar.pos.sidebarleft.label "�색 창 왼쪽"> | ||
4601 | 9 | <!ENTITY toolbar.pos.sidebarright.label "�색 창 오른쪽"> | ||
4602 | 10 | <!ENTITY toolbar.pos.right.label "오른쪽"> | ||
4603 | 11 | <!ENTITY toolbar.pos.sidebartop.label "�색 창 위"> | ||
4604 | 12 | <!ENTITY toolbar.pos.headerbottom.label "�색 창 헤� 아래"> | ||
4605 | 13 | <!ENTITY toolbar.pos.sidebarbottom.label "�색 창 아래"> | ||
4606 | 14 | <!ENTITY toolbar.mode.iconstext.label "아�콘과 �스트"> | ||
4607 | 15 | <!ENTITY toolbar.mode.icons.label "아�콘만"> | ||
4608 | 16 | <!ENTITY toolbar.mode.text.label "�스트만"> | ||
4609 | 17 | <!ENTITY toolbar.mode.smallicons.label "작� 아�콘"> | ||
4610 | 18 | <!ENTITY toolbar.mode.fullscreen.label "최대 화면 �태� 때 보�기"> | ||
4611 | 19 | <!ENTITY toolbar.mode.flexbuttons.label "íƒ„ë ¥ì �ì�¸ 버튼"> | ||
4612 | 20 | <!ENTITY button.sidebar.close.label "�색 창 닫기"> | ||
4613 | 21 | <!ENTITY button.sidebar.close.tooltip "�색 창� 닫습니다."> | ||
4614 | 22 | <!ENTITY button.tab.close.label "íƒ ë‹«ê¸°"> | ||
4615 | 23 | <!ENTITY button.tab.close.tooltip "íƒì�„ 닫습니다."> | ||
4616 | 24 | 0 | ||
4617 | === removed file 'chrome/aios.jar!/locale/lt-LT/tbx.dtd' | |||
4618 | --- chrome/aios.jar!/locale/lt-LT/tbx.dtd 2008-11-14 11:44:00 +0000 | |||
4619 | +++ chrome/aios.jar!/locale/lt-LT/tbx.dtd 1970-01-01 00:00:00 +0000 | |||
4620 | @@ -1,23 +0,0 @@ | |||
4621 | 1 | <!ENTITY config.instructions.description "Galite pakeisti nuostatas individualiai kiekvienai priemonių juostai: dešiniuoju pelės mygtuku spragtelkite ant norimos priemonių juostos ir pasirinkite „Įrankių juostos savybių“ meniu."> | ||
4622 | 2 | <!ENTITY config.global.caption "Bendrieji nustatymai"> | ||
4623 | 3 | <!ENTITY toolbar.customize.label "Priemonių juostos savybės"> | ||
4624 | 4 | <!ENTITY toolbar.pos.top.label "Viršuje"> | ||
4625 | 5 | <!ENTITY toolbar.pos.belowtabs.label "Po kortelÄ—mis"> | ||
4626 | 6 | <!ENTITY toolbar.pos.bottom.label "Apa�ioje"> | ||
4627 | 7 | <!ENTITY toolbar.pos.left.label "KairÄ—je"> | ||
4628 | 8 | <!ENTITY toolbar.pos.sidebarleft.label "ParankinÄ—s kairÄ—je"> | ||
4629 | 9 | <!ENTITY toolbar.pos.sidebarright.label "Parankinės dešinėje"> | ||
4630 | 10 | <!ENTITY toolbar.pos.right.label "Dešinėje"> | ||
4631 | 11 | <!ENTITY toolbar.pos.sidebartop.label "Virš parankinės"> | ||
4632 | 12 | <!ENTITY toolbar.pos.headerbottom.label "Po parankinės antrašte"> | ||
4633 | 13 | <!ENTITY toolbar.pos.sidebarbottom.label "Po parankine"> | ||
4634 | 14 | <!ENTITY toolbar.mode.iconstext.label "Piktogramos ir tekstas"> | ||
4635 | 15 | <!ENTITY toolbar.mode.icons.label "Tik piktogramos"> | ||
4636 | 16 | <!ENTITY toolbar.mode.text.label "Tik tekstas"> | ||
4637 | 17 | <!ENTITY toolbar.mode.smallicons.label "Mažos piktogramos"> | ||
4638 | 18 | <!ENTITY toolbar.mode.fullscreen.label "Rodyti viso ekrano režimu"> | ||
4639 | 19 | <!ENTITY toolbar.mode.flexbuttons.label "Prisitaikantys mygtukai"> | ||
4640 | 20 | <!ENTITY button.sidebar.close.label "Užverti parankinę"> | ||
4641 | 21 | <!ENTITY button.sidebar.close.tooltip "Užverti parankinę"> | ||
4642 | 22 | <!ENTITY button.tab.close.label "Užverti kortelę"> | ||
4643 | 23 | <!ENTITY button.tab.close.tooltip "Užverti kortelę"> | ||
4644 | 24 | 0 | ||
4645 | === removed file 'chrome/aios.jar!/locale/nb-NO/tbx.dtd' | |||
4646 | --- chrome/aios.jar!/locale/nb-NO/tbx.dtd 2008-11-14 11:44:00 +0000 | |||
4647 | +++ chrome/aios.jar!/locale/nb-NO/tbx.dtd 1970-01-01 00:00:00 +0000 | |||
4648 | @@ -1,23 +0,0 @@ | |||
4649 | 1 | <!ENTITY config.instructions.description "Du har flere valg for hver verktøylinje. Høyreklikk pÃ¥ verktøylinjen og velg pÃ¥ “Toolbar Properties” menyen."> | ||
4650 | 2 | <!ENTITY config.global.caption "Globale valg"> | ||
4651 | 3 | <!ENTITY toolbar.customize.label "Valg for sidestolpe"> | ||
4652 | 4 | <!ENTITY toolbar.pos.top.label "Topp"> | ||
4653 | 5 | <!ENTITY toolbar.pos.belowtabs.label "Under faner"> | ||
4654 | 6 | <!ENTITY toolbar.pos.bottom.label "Bunn"> | ||
4655 | 7 | <!ENTITY toolbar.pos.left.label "Venstre"> | ||
4656 | 8 | <!ENTITY toolbar.pos.sidebarleft.label "Venstre side av sidestolpe"> | ||
4657 | 9 | <!ENTITY toolbar.pos.sidebarright.label "Høyre side av sidestolpe"> | ||
4658 | 10 | <!ENTITY toolbar.pos.right.label "Høyre"> | ||
4659 | 11 | <!ENTITY toolbar.pos.sidebartop.label "Over sidestolpe"> | ||
4660 | 12 | <!ENTITY toolbar.pos.headerbottom.label "Under sidestolpens tittel"> | ||
4661 | 13 | <!ENTITY toolbar.pos.sidebarbottom.label "Under sidestolpe"> | ||
4662 | 14 | <!ENTITY toolbar.mode.iconstext.label "Ikoner og tekst"> | ||
4663 | 15 | <!ENTITY toolbar.mode.icons.label "Kun ikoner"> | ||
4664 | 16 | <!ENTITY toolbar.mode.text.label "Kun tekst"> | ||
4665 | 17 | <!ENTITY toolbar.mode.smallicons.label "Små ikoner"> | ||
4666 | 18 | <!ENTITY toolbar.mode.fullscreen.label "Vis i fullskjerm modus"> | ||
4667 | 19 | <!ENTITY toolbar.mode.flexbuttons.label "Fleksible knapper"> | ||
4668 | 20 | <!ENTITY button.sidebar.close.label "Lukk sidestolpe"> | ||
4669 | 21 | <!ENTITY button.sidebar.close.tooltip "Lukk sidestolpe"> | ||
4670 | 22 | <!ENTITY button.tab.close.label "Lukk fane"> | ||
4671 | 23 | <!ENTITY button.tab.close.tooltip "Lukk fane"> | ||
4672 | 24 | 0 | ||
4673 | === removed file 'chrome/aios.jar!/locale/nl-NL/tbx.dtd' | |||
4674 | --- chrome/aios.jar!/locale/nl-NL/tbx.dtd 2008-11-14 11:44:00 +0000 | |||
4675 | +++ chrome/aios.jar!/locale/nl-NL/tbx.dtd 1970-01-01 00:00:00 +0000 | |||
4676 | @@ -1,23 +0,0 @@ | |||
4677 | 1 | <!ENTITY config.instructions.description "U kunt meer afzonderderlijke opties hebben voor iedere werkbalk door rechts te klikken op de werkbalk en de gewenste opties in het menu “Werkbalkeigenschappen� te kiezen."> | ||
4678 | 2 | <!ENTITY config.global.caption "Globale opties"> | ||
4679 | 3 | <!ENTITY toolbar.customize.label "Werkbalkeigenschappen"> | ||
4680 | 4 | <!ENTITY toolbar.pos.top.label "Bovenkant"> | ||
4681 | 5 | <!ENTITY toolbar.pos.belowtabs.label "Onder tabbladen"> | ||
4682 | 6 | <!ENTITY toolbar.pos.bottom.label "Onderkant"> | ||
4683 | 7 | <!ENTITY toolbar.pos.left.label "Links"> | ||
4684 | 8 | <!ENTITY toolbar.pos.sidebarleft.label "Links naast zijbalk"> | ||
4685 | 9 | <!ENTITY toolbar.pos.sidebarright.label "Rechts naast zijbalk"> | ||
4686 | 10 | <!ENTITY toolbar.pos.right.label "Rechts"> | ||
4687 | 11 | <!ENTITY toolbar.pos.sidebartop.label "Boven zijbalk"> | ||
4688 | 12 | <!ENTITY toolbar.pos.headerbottom.label "Boven zijbalkkop"> | ||
4689 | 13 | <!ENTITY toolbar.pos.sidebarbottom.label "Onder zijbalk"> | ||
4690 | 14 | <!ENTITY toolbar.mode.iconstext.label "Pictogrammen en tekst"> | ||
4691 | 15 | <!ENTITY toolbar.mode.icons.label "Alleen pictogrammen"> | ||
4692 | 16 | <!ENTITY toolbar.mode.text.label "Alleen tekst"> | ||
4693 | 17 | <!ENTITY toolbar.mode.smallicons.label "Kleine pictogrammen"> | ||
4694 | 18 | <!ENTITY toolbar.mode.fullscreen.label "In volledig-schermmodus tonen"> | ||
4695 | 19 | <!ENTITY toolbar.mode.flexbuttons.label "Flexibele knoppen"> | ||
4696 | 20 | <!ENTITY button.sidebar.close.label "Zijbalk sluiten"> | ||
4697 | 21 | <!ENTITY button.sidebar.close.tooltip "Zijbalk sluiten"> | ||
4698 | 22 | <!ENTITY button.tab.close.label "Tabblad sluiten"> | ||
4699 | 23 | <!ENTITY button.tab.close.tooltip "Tabblad sluiten"> | ||
4700 | 24 | 0 | ||
4701 | === removed file 'chrome/aios.jar!/locale/pl-PL/tbx.dtd' | |||
4702 | --- chrome/aios.jar!/locale/pl-PL/tbx.dtd 2008-11-14 11:44:00 +0000 | |||
4703 | +++ chrome/aios.jar!/locale/pl-PL/tbx.dtd 1970-01-01 00:00:00 +0000 | |||
4704 | @@ -1,23 +0,0 @@ | |||
4705 | 1 | <!ENTITY config.instructions.description "Można skonfigurować więcej opcji indywidualnie dla każdego paska narzędziowego klikając na nim prawym przyciskiem myszki."> | ||
4706 | 2 | <!ENTITY config.global.caption "Opcje ogólne"> | ||
4707 | 3 | <!ENTITY toolbar.customize.label "Ustawienia pasków narzędziowych"> | ||
4708 | 4 | <!ENTITY toolbar.pos.top.label "Na górze okna"> | ||
4709 | 5 | <!ENTITY toolbar.pos.belowtabs.label "Poniżej paska kart"> | ||
4710 | 6 | <!ENTITY toolbar.pos.bottom.label "Na dole okna"> | ||
4711 | 7 | <!ENTITY toolbar.pos.left.label "Po lewej stronie okna"> | ||
4712 | 8 | <!ENTITY toolbar.pos.sidebarleft.label "Po lewej stronie panelu"> | ||
4713 | 9 | <!ENTITY toolbar.pos.sidebarright.label "Po prawej stronie panelu"> | ||
4714 | 10 | <!ENTITY toolbar.pos.right.label "Po prawej stronie okna"> | ||
4715 | 11 | <!ENTITY toolbar.pos.sidebartop.label "Na górze panelu bocznego"> | ||
4716 | 12 | <!ENTITY toolbar.pos.headerbottom.label "Pod nagłówkiem panelu bocznego"> | ||
4717 | 13 | <!ENTITY toolbar.pos.sidebarbottom.label "Na dole panelu bocznego"> | ||
4718 | 14 | <!ENTITY toolbar.mode.iconstext.label "Ikony i tekst"> | ||
4719 | 15 | <!ENTITY toolbar.mode.icons.label "Tylko ikony"> | ||
4720 | 16 | <!ENTITY toolbar.mode.text.label "Tylko tekst"> | ||
4721 | 17 | <!ENTITY toolbar.mode.smallicons.label "Małe ikony"> | ||
4722 | 18 | <!ENTITY toolbar.mode.fullscreen.label "Pokaż w trybie pełnoekranowym"> | ||
4723 | 19 | <!ENTITY toolbar.mode.flexbuttons.label "Wyjustuj przyciski na pasku"> | ||
4724 | 20 | <!ENTITY button.sidebar.close.label "Zamknij panel"> | ||
4725 | 21 | <!ENTITY button.sidebar.close.tooltip "Zamyka panel boczny"> | ||
4726 | 22 | <!ENTITY button.tab.close.label "Zamknij kartÄ™"> | ||
4727 | 23 | <!ENTITY button.tab.close.tooltip "Zamyka aktywnÄ… kartÄ™ panelu bocznego"> | ||
4728 | 24 | 0 | ||
4729 | === removed file 'chrome/aios.jar!/locale/pt-BR/tbx.dtd' | |||
4730 | --- chrome/aios.jar!/locale/pt-BR/tbx.dtd 2008-11-14 11:44:00 +0000 | |||
4731 | +++ chrome/aios.jar!/locale/pt-BR/tbx.dtd 1970-01-01 00:00:00 +0000 | |||
4732 | @@ -1,23 +0,0 @@ | |||
4733 | 1 | <!ENTITY config.instructions.description "Existem mais opções separadas para cada barra de ferramentas clicando-se com o botão direito do mouse na barra e escolhendo as opções desejadas no menu Propriedades."> | ||
4734 | 2 | <!ENTITY config.global.caption "Opções Globais"> | ||
4735 | 3 | <!ENTITY toolbar.customize.label "Propriedades"> | ||
4736 | 4 | <!ENTITY toolbar.pos.top.label "Topo"> | ||
4737 | 5 | <!ENTITY toolbar.pos.belowtabs.label "Abaixo das abas"> | ||
4738 | 6 | <!ENTITY toolbar.pos.bottom.label "Base"> | ||
4739 | 7 | <!ENTITY toolbar.pos.left.label "À esquerda"> | ||
4740 | 8 | <!ENTITY toolbar.pos.sidebarleft.label "À esquerda do painel"> | ||
4741 | 9 | <!ENTITY toolbar.pos.sidebarright.label "À direita do painel"> | ||
4742 | 10 | <!ENTITY toolbar.pos.right.label "À direita"> | ||
4743 | 11 | <!ENTITY toolbar.pos.sidebartop.label "Acima do painel"> | ||
4744 | 12 | <!ENTITY toolbar.pos.headerbottom.label "Abaixo do tÃtulo do painel"> | ||
4745 | 13 | <!ENTITY toolbar.pos.sidebarbottom.label "Abaixo do painel"> | ||
4746 | 14 | <!ENTITY toolbar.mode.iconstext.label "�cones e texto"> | ||
4747 | 15 | <!ENTITY toolbar.mode.icons.label "Somente Ãcones"> | ||
4748 | 16 | <!ENTITY toolbar.mode.text.label "Somente texto"> | ||
4749 | 17 | <!ENTITY toolbar.mode.smallicons.label "�cones pequenos"> | ||
4750 | 18 | <!ENTITY toolbar.mode.fullscreen.label "Mostrar em modo tela inteira"> | ||
4751 | 19 | <!ENTITY toolbar.mode.flexbuttons.label "Botões flexÃveis"> | ||
4752 | 20 | <!ENTITY button.sidebar.close.label "Fechar painel"> | ||
4753 | 21 | <!ENTITY button.sidebar.close.tooltip "Fecha painel"> | ||
4754 | 22 | <!ENTITY button.tab.close.label "Fechar aba"> | ||
4755 | 23 | <!ENTITY button.tab.close.tooltip "Fecha aba"> | ||
4756 | 24 | 0 | ||
4757 | === removed file 'chrome/aios.jar!/locale/pt-PT/tbx.dtd' | |||
4758 | --- chrome/aios.jar!/locale/pt-PT/tbx.dtd 2008-11-14 11:44:00 +0000 | |||
4759 | +++ chrome/aios.jar!/locale/pt-PT/tbx.dtd 1970-01-01 00:00:00 +0000 | |||
4760 | @@ -1,23 +0,0 @@ | |||
4761 | 1 | <!ENTITY config.instructions.description "Existem mais opções separadas para cada barra de ferramentas clicando-se com o botão direito do rato na barra e escolhendo as opções desejadas no menu Propriedades."> | ||
4762 | 2 | <!ENTITY config.global.caption "Opções Globais"> | ||
4763 | 3 | <!ENTITY toolbar.customize.label "Propriedades"> | ||
4764 | 4 | <!ENTITY toolbar.pos.top.label "Topo"> | ||
4765 | 5 | <!ENTITY toolbar.pos.belowtabs.label "Abaixo dos Separadores"> | ||
4766 | 6 | <!ENTITY toolbar.pos.bottom.label "Base"> | ||
4767 | 7 | <!ENTITY toolbar.pos.left.label "À esquerda"> | ||
4768 | 8 | <!ENTITY toolbar.pos.sidebarleft.label "À esquerda da barra lateral"> | ||
4769 | 9 | <!ENTITY toolbar.pos.sidebarright.label "À direita da barra lateral"> | ||
4770 | 10 | <!ENTITY toolbar.pos.right.label "À direita"> | ||
4771 | 11 | <!ENTITY toolbar.pos.sidebartop.label "Acima da barra lateral"> | ||
4772 | 12 | <!ENTITY toolbar.pos.headerbottom.label "Abaixo do tÃtulo da barra lateral"> | ||
4773 | 13 | <!ENTITY toolbar.pos.sidebarbottom.label "Abaixo da barra lateral"> | ||
4774 | 14 | <!ENTITY toolbar.mode.iconstext.label "�cones e Texto"> | ||
4775 | 15 | <!ENTITY toolbar.mode.icons.label "Apenas Ãcones"> | ||
4776 | 16 | <!ENTITY toolbar.mode.text.label "Apenas texto"> | ||
4777 | 17 | <!ENTITY toolbar.mode.smallicons.label "�cones pequenos"> | ||
4778 | 18 | <!ENTITY toolbar.mode.fullscreen.label "Mostrar em modo ecrã completo"> | ||
4779 | 19 | <!ENTITY toolbar.mode.flexbuttons.label "Botões flexÃveis"> | ||
4780 | 20 | <!ENTITY button.sidebar.close.label "Fechar barra lateral"> | ||
4781 | 21 | <!ENTITY button.sidebar.close.tooltip "Fecha barra lateral"> | ||
4782 | 22 | <!ENTITY button.tab.close.label "Fechar separador"> | ||
4783 | 23 | <!ENTITY button.tab.close.tooltip "Fecha separador"> | ||
4784 | 24 | 0 | ||
4785 | === removed file 'chrome/aios.jar!/locale/ro-RO/tbx.dtd' | |||
4786 | --- chrome/aios.jar!/locale/ro-RO/tbx.dtd 2008-11-14 11:44:00 +0000 | |||
4787 | +++ chrome/aios.jar!/locale/ro-RO/tbx.dtd 1970-01-01 00:00:00 +0000 | |||
4788 | @@ -1,23 +0,0 @@ | |||
4789 | 1 | <!ENTITY config.instructions.description "Puteti accesa mai multe opriuni diferite pentru fiecare bara facand clic dreapta pe bara si alegand optiunea aferenta in meniul “Proprietati Bara”"> | ||
4790 | 2 | <!ENTITY config.global.caption "Optiuni Generale"> | ||
4791 | 3 | <!ENTITY toolbar.customize.label "Proprietati Bara"> | ||
4792 | 4 | <!ENTITY toolbar.pos.top.label "Sus"> | ||
4793 | 5 | <!ENTITY toolbar.pos.belowtabs.label "Sub Tab-uri"> | ||
4794 | 6 | <!ENTITY toolbar.pos.bottom.label "Jos"> | ||
4795 | 7 | <!ENTITY toolbar.pos.left.label "Stanga"> | ||
4796 | 8 | <!ENTITY toolbar.pos.sidebarleft.label "In stanga sidebar-ului"> | ||
4797 | 9 | <!ENTITY toolbar.pos.sidebarright.label "In dreapta sidebar-ului"> | ||
4798 | 10 | <!ENTITY toolbar.pos.right.label "Dreapta"> | ||
4799 | 11 | <!ENTITY toolbar.pos.sidebartop.label "Deasupra sidebar-ului"> | ||
4800 | 12 | <!ENTITY toolbar.pos.headerbottom.label "Sub antetul sidebar-ului"> | ||
4801 | 13 | <!ENTITY toolbar.pos.sidebarbottom.label "Sub sidebar"> | ||
4802 | 14 | <!ENTITY toolbar.mode.iconstext.label "Icoane si text"> | ||
4803 | 15 | <!ENTITY toolbar.mode.icons.label "Doar icoane"> | ||
4804 | 16 | <!ENTITY toolbar.mode.text.label "Doar text"> | ||
4805 | 17 | <!ENTITY toolbar.mode.smallicons.label "Icoane mici"> | ||
4806 | 18 | <!ENTITY toolbar.mode.fullscreen.label "Afiseaza pe tot ecranul"> | ||
4807 | 19 | <!ENTITY toolbar.mode.flexbuttons.label "Butoane flexibile"> | ||
4808 | 20 | <!ENTITY button.sidebar.close.label "Inchide sidebar-ul"> | ||
4809 | 21 | <!ENTITY button.sidebar.close.tooltip "Inchide sidebar-ul"> | ||
4810 | 22 | <!ENTITY button.tab.close.label "Inchide tab-ul"> | ||
4811 | 23 | <!ENTITY button.tab.close.tooltip "Inchide tab-ul"> | ||
4812 | 24 | 0 | ||
4813 | === removed file 'chrome/aios.jar!/locale/ru-RU/tbx.dtd' | |||
4814 | --- chrome/aios.jar!/locale/ru-RU/tbx.dtd 2008-11-14 11:44:00 +0000 | |||
4815 | +++ chrome/aios.jar!/locale/ru-RU/tbx.dtd 1970-01-01 00:00:00 +0000 | |||
4816 | @@ -1,23 +0,0 @@ | |||
4817 | 1 | <!ENTITY config.instructions.description "Ð’Ñ‹ можете наÑ�троить каждую панель инÑ�трументов отдельно. ДлÑ� Ñ�того нажмите правой кнопкой мыши на панели инÑ�трументов и выберите нужные наÑ�тройки в меню “Параметры панели инÑ�трументов”."> | ||
4818 | 2 | <!ENTITY config.global.caption "Глобальные параметры"> | ||
4819 | 3 | <!ENTITY toolbar.customize.label "Параметры панели ин�трументов"> | ||
4820 | 4 | <!ENTITY toolbar.pos.top.label "Ра�положить �верху"> | ||
4821 | 5 | <!ENTITY toolbar.pos.belowtabs.label "Ра�положить под панелью вкладок"> | ||
4822 | 6 | <!ENTITY toolbar.pos.bottom.label "Ра�положить над �трокой �о�то�ни�"> | ||
4823 | 7 | <!ENTITY toolbar.pos.left.label "Ра�положить �лева"> | ||
4824 | 8 | <!ENTITY toolbar.pos.sidebarleft.label "Ра�положить �лева от боковой панели"> | ||
4825 | 9 | <!ENTITY toolbar.pos.sidebarright.label "Ра�положить �права от боковой панели"> | ||
4826 | 10 | <!ENTITY toolbar.pos.right.label "Ра�положить �права"> | ||
4827 | 11 | <!ENTITY toolbar.pos.sidebartop.label "Ра�положить над боковой панелью"> | ||
4828 | 12 | <!ENTITY toolbar.pos.headerbottom.label "Ра�положить под заголовком боковой панели"> | ||
4829 | 13 | <!ENTITY toolbar.pos.sidebarbottom.label "Ра�положить под боковой панелью"> | ||
4830 | 14 | <!ENTITY toolbar.mode.iconstext.label "Значки и тек�т"> | ||
4831 | 15 | <!ENTITY toolbar.mode.icons.label "Только значки"> | ||
4832 | 16 | <!ENTITY toolbar.mode.text.label "Только тек�т"> | ||
4833 | 17 | <!ENTITY toolbar.mode.smallicons.label "Маленькие значки"> | ||
4834 | 18 | <!ENTITY toolbar.mode.fullscreen.label "Показывать в полно�кранном режиме"> | ||
4835 | 19 | <!ENTITY toolbar.mode.flexbuttons.label "Пла�тичные кнопки"> | ||
4836 | 20 | <!ENTITY button.sidebar.close.label "Закрыть боковую панель"> | ||
4837 | 21 | <!ENTITY button.sidebar.close.tooltip "Закрыть боковую панель"> | ||
4838 | 22 | <!ENTITY button.tab.close.label "Закрыть вкладку"> | ||
4839 | 23 | <!ENTITY button.tab.close.tooltip "Закрыть вкладку"> | ||
4840 | 24 | 0 | ||
4841 | === removed file 'chrome/aios.jar!/locale/sk-SK/tbx.dtd' | |||
4842 | --- chrome/aios.jar!/locale/sk-SK/tbx.dtd 2008-11-14 11:44:00 +0000 | |||
4843 | +++ chrome/aios.jar!/locale/sk-SK/tbx.dtd 1970-01-01 00:00:00 +0000 | |||
4844 | @@ -1,23 +0,0 @@ | |||
4845 | 1 | <!ENTITY config.instructions.description "ÄŽalÅ¡ie možnosti zobrazenia panelov nástrojov sú k dispozÃcii v ich možnostiach. StaÄ�à na daný panel kliknúť pravým tlaÄ�idlom myÅ¡i a vybraÅ¥ prÃsluÅ¡nú možnosÅ¥ v ponuke Možnosti zobrazenia tohto panela"> | ||
4846 | 2 | <!ENTITY config.global.caption "Všeobecné nastavenia"> | ||
4847 | 3 | <!ENTITY toolbar.customize.label "Nastavenia tohto panela nástrojov"> | ||
4848 | 4 | <!ENTITY toolbar.pos.top.label "Hore"> | ||
4849 | 5 | <!ENTITY toolbar.pos.belowtabs.label "Pod kartami"> | ||
4850 | 6 | <!ENTITY toolbar.pos.bottom.label "Dole"> | ||
4851 | 7 | <!ENTITY toolbar.pos.left.label "Vľavo"> | ||
4852 | 8 | <!ENTITY toolbar.pos.sidebarleft.label "Vľavo pri bo�nom paneli"> | ||
4853 | 9 | <!ENTITY toolbar.pos.sidebarright.label "Vpravo pri bo�nom paneli"> | ||
4854 | 10 | <!ENTITY toolbar.pos.right.label "Vpravo"> | ||
4855 | 11 | <!ENTITY toolbar.pos.sidebartop.label "Nad bo�ným panelom"> | ||
4856 | 12 | <!ENTITY toolbar.pos.headerbottom.label "Pod hlavi�kou bo�ného panela"> | ||
4857 | 13 | <!ENTITY toolbar.pos.sidebarbottom.label "Pod bo�ným panelom"> | ||
4858 | 14 | <!ENTITY toolbar.mode.iconstext.label "Ikony a text"> | ||
4859 | 15 | <!ENTITY toolbar.mode.icons.label "Len ikony"> | ||
4860 | 16 | <!ENTITY toolbar.mode.text.label "Len text"> | ||
4861 | 17 | <!ENTITY toolbar.mode.smallicons.label "Malé ikony"> | ||
4862 | 18 | <!ENTITY toolbar.mode.fullscreen.label "Zobraziť v režime celej obrazovky."> | ||
4863 | 19 | <!ENTITY toolbar.mode.flexbuttons.label "Vyplniť voľný priestor tla�idlami"> | ||
4864 | 20 | <!ENTITY button.sidebar.close.label "Zatvoriť bo�ný panel"> | ||
4865 | 21 | <!ENTITY button.sidebar.close.tooltip "Zatvoriť bo�ný panel"> | ||
4866 | 22 | <!ENTITY button.tab.close.label "Zatvoriť kartu"> | ||
4867 | 23 | <!ENTITY button.tab.close.tooltip "Zatvoriť kartu"> | ||
4868 | 24 | 0 | ||
4869 | === removed file 'chrome/aios.jar!/locale/sv-SE/tbx.dtd' | |||
4870 | --- chrome/aios.jar!/locale/sv-SE/tbx.dtd 2008-11-14 11:44:00 +0000 | |||
4871 | +++ chrome/aios.jar!/locale/sv-SE/tbx.dtd 1970-01-01 00:00:00 +0000 | |||
4872 | @@ -1,23 +0,0 @@ | |||
4873 | 1 | <!ENTITY config.instructions.description "Du finner fler alternativ för varje verktygslist genom att högerklicka på den och välja önskad funktion i menyn “Egenskaper för verktygsfält�."> | ||
4874 | 2 | <!ENTITY config.global.caption "Globala alternativ"> | ||
4875 | 3 | <!ENTITY toolbar.customize.label "Egenskaper för verktygsfält"> | ||
4876 | 4 | <!ENTITY toolbar.pos.top.label "Överst"> | ||
4877 | 5 | <!ENTITY toolbar.pos.belowtabs.label "Under flikarna"> | ||
4878 | 6 | <!ENTITY toolbar.pos.bottom.label "Underst"> | ||
4879 | 7 | <!ENTITY toolbar.pos.left.label "Vänster"> | ||
4880 | 8 | <!ENTITY toolbar.pos.sidebarleft.label "Till vänster om sidopanelen"> | ||
4881 | 9 | <!ENTITY toolbar.pos.sidebarright.label "Till höger om sidopanelen"> | ||
4882 | 10 | <!ENTITY toolbar.pos.right.label "Höger"> | ||
4883 | 11 | <!ENTITY toolbar.pos.sidebartop.label "Ovanför sidopanelen"> | ||
4884 | 12 | <!ENTITY toolbar.pos.headerbottom.label "Under sidopanelens rubrik"> | ||
4885 | 13 | <!ENTITY toolbar.pos.sidebarbottom.label "Under sidopanelen"> | ||
4886 | 14 | <!ENTITY toolbar.mode.iconstext.label "Ikoner och text"> | ||
4887 | 15 | <!ENTITY toolbar.mode.icons.label "Enbart ikoner"> | ||
4888 | 16 | <!ENTITY toolbar.mode.text.label "Enbart text"> | ||
4889 | 17 | <!ENTITY toolbar.mode.smallicons.label "Små ikoner"> | ||
4890 | 18 | <!ENTITY toolbar.mode.fullscreen.label "Visa i fullskärmsläge"> | ||
4891 | 19 | <!ENTITY toolbar.mode.flexbuttons.label "Flexibla knappar"> | ||
4892 | 20 | <!ENTITY button.sidebar.close.label "Stäng sidopanelen"> | ||
4893 | 21 | <!ENTITY button.sidebar.close.tooltip "Stäng sidopanelen"> | ||
4894 | 22 | <!ENTITY button.tab.close.label "Stäng flik"> | ||
4895 | 23 | <!ENTITY button.tab.close.tooltip "Stäng flik"> | ||
4896 | 24 | 0 | ||
4897 | === removed file 'chrome/aios.jar!/locale/tr-TR/tbx.dtd' | |||
4898 | --- chrome/aios.jar!/locale/tr-TR/tbx.dtd 2008-11-14 11:44:00 +0000 | |||
4899 | +++ chrome/aios.jar!/locale/tr-TR/tbx.dtd 1970-01-01 00:00:00 +0000 | |||
4900 | @@ -1,23 +0,0 @@ | |||
4901 | 1 | <!ENTITY config.instructions.description "Farklı bir çok ayarlarınız var her araç çubuğu için.Araç çubuğuna sağ tıklayın ve istediginizi seçin araç cubuğu özellikler menusunden."> | ||
4902 | 2 | <!ENTITY config.global.caption "GeliÅŸmiÅŸ ayarlar"> | ||
4903 | 3 | <!ENTITY toolbar.customize.label "Araç çubuğu özellikleri"> | ||
4904 | 4 | <!ENTITY toolbar.pos.top.label "Ãœst"> | ||
4905 | 5 | <!ENTITY toolbar.pos.belowtabs.label "Aşağıdaki tablar"> | ||
4906 | 6 | <!ENTITY toolbar.pos.bottom.label "Alt"> | ||
4907 | 7 | <!ENTITY toolbar.pos.left.label "Sol"> | ||
4908 | 8 | <!ENTITY toolbar.pos.sidebarleft.label "Kenar çubuğu solunda"> | ||
4909 | 9 | <!ENTITY toolbar.pos.sidebarright.label "Kenar çubuğu sağında"> | ||
4910 | 10 | <!ENTITY toolbar.pos.right.label "SaÄŸ"> | ||
4911 | 11 | <!ENTITY toolbar.pos.sidebartop.label "Kenar çubuğu yukarıda"> | ||
4912 | 12 | <!ENTITY toolbar.pos.headerbottom.label "Kenar Cubugu gizleyici aşağıda"> | ||
4913 | 13 | <!ENTITY toolbar.pos.sidebarbottom.label "Kenar çubuğu aşağıda"> | ||
4914 | 14 | <!ENTITY toolbar.mode.iconstext.label "Ä°kon ve Metin"> | ||
4915 | 15 | <!ENTITY toolbar.mode.icons.label "Sadece Ä°kon"> | ||
4916 | 16 | <!ENTITY toolbar.mode.text.label "Sadece Metin"> | ||
4917 | 17 | <!ENTITY toolbar.mode.smallicons.label "Küçük ikon"> | ||
4918 | 18 | <!ENTITY toolbar.mode.fullscreen.label "Ekranı kaplama modunda göster"> | ||
4919 | 19 | <!ENTITY toolbar.mode.flexbuttons.label "Esnek Butonlar"> | ||
4920 | 20 | <!ENTITY button.sidebar.close.label "Kenar çubuğunu kapat"> | ||
4921 | 21 | <!ENTITY button.sidebar.close.tooltip "Kenar çubuğunu kapat"> | ||
4922 | 22 | <!ENTITY button.tab.close.label "Tabı kapat"> | ||
4923 | 23 | <!ENTITY button.tab.close.tooltip "Tabı kapat"> | ||
4924 | 24 | 0 | ||
4925 | === removed file 'chrome/aios.jar!/locale/uk-UA/tbx.dtd' | |||
4926 | --- chrome/aios.jar!/locale/uk-UA/tbx.dtd 2008-11-14 11:44:00 +0000 | |||
4927 | +++ chrome/aios.jar!/locale/uk-UA/tbx.dtd 1970-01-01 00:00:00 +0000 | |||
4928 | @@ -1,23 +0,0 @@ | |||
4929 | 1 | <!ENTITY config.instructions.description "Ви матимете більше налаштувань окремо дл� кожної панелі ін�трументів, �кщо клацнете правою кнопкою миші на панелі та виберете потрібну опцію у вла�тиво�т�х панелі ін�трументів"> | ||
4930 | 2 | <!ENTITY config.global.caption "Глобальні налаштуванн�"> | ||
4931 | 3 | <!ENTITY toolbar.customize.label "Вла�тиво�ті панелі ін�трументів"> | ||
4932 | 4 | <!ENTITY toolbar.pos.top.label "Верх"> | ||
4933 | 5 | <!ENTITY toolbar.pos.belowtabs.label "Під вкладками"> | ||
4934 | 6 | <!ENTITY toolbar.pos.bottom.label "�из"> | ||
4935 | 7 | <!ENTITY toolbar.pos.left.label "Зліва"> | ||
4936 | 8 | <!ENTITY toolbar.pos.sidebarleft.label "Зліва поруч з бічною панеллю"> | ||
4937 | 9 | <!ENTITY toolbar.pos.sidebarright.label "Справа поруч з бічною панеллю"> | ||
4938 | 10 | <!ENTITY toolbar.pos.right.label "Справа"> | ||
4939 | 11 | <!ENTITY toolbar.pos.sidebartop.label "�ад бічною панеллю"> | ||
4940 | 12 | <!ENTITY toolbar.pos.headerbottom.label "Під заголовком бічної панелі"> | ||
4941 | 13 | <!ENTITY toolbar.pos.sidebarbottom.label "Під бічною панеллю"> | ||
4942 | 14 | <!ENTITY toolbar.mode.iconstext.label "Піктограми та тек�т"> | ||
4943 | 15 | <!ENTITY toolbar.mode.icons.label "Тільки піктограми"> | ||
4944 | 16 | <!ENTITY toolbar.mode.text.label "Тільки тек�т"> | ||
4945 | 17 | <!ENTITY toolbar.mode.smallicons.label "Маленькі піктограми"> | ||
4946 | 18 | <!ENTITY toolbar.mode.fullscreen.label "Показувати у повноекранному режимі"> | ||
4947 | 19 | <!ENTITY toolbar.mode.flexbuttons.label "Рівномірне розташуванн� кнопок"> | ||
4948 | 20 | <!ENTITY button.sidebar.close.label "Закрити бічну панель"> | ||
4949 | 21 | <!ENTITY button.sidebar.close.tooltip "Закрити бічну панель"> | ||
4950 | 22 | <!ENTITY button.tab.close.label "Закрити вкладку"> | ||
4951 | 23 | <!ENTITY button.tab.close.tooltip "Закрити вкладку"> | ||
4952 | 24 | 0 | ||
4953 | === removed file 'chrome/aios.jar!/locale/zh-CN/tbx.dtd' | |||
4954 | --- chrome/aios.jar!/locale/zh-CN/tbx.dtd 2008-11-14 11:44:00 +0000 | |||
4955 | +++ chrome/aios.jar!/locale/zh-CN/tbx.dtd 1970-01-01 00:00:00 +0000 | |||
4956 | @@ -1,23 +0,0 @@ | |||
4957 | 1 | <!ENTITY config.instructions.description "å�³é”®å�•å‡»å·¥å…·æ �,在“设置â€�è�œå�•ä¸æ‚¨å�¯ä»¥ä¸ºæ¯�一个工具æ �å�•ç‹¬è®¾ç½®ä¸�å�Œçš„选项"> | ||
4958 | 2 | <!ENTITY config.global.caption "全局选项"> | ||
4959 | 3 | <!ENTITY toolbar.customize.label "设置"> | ||
4960 | 4 | <!ENTITY toolbar.pos.top.label "顶端"> | ||
4961 | 5 | <!ENTITY toolbar.pos.belowtabs.label "æ ‡ç¾é¡µä¸‹æ–¹"> | ||
4962 | 6 | <!ENTITY toolbar.pos.bottom.label "底端"> | ||
4963 | 7 | <!ENTITY toolbar.pos.left.label "左边"> | ||
4964 | 8 | <!ENTITY toolbar.pos.sidebarleft.label "侧æ �左侧"> | ||
4965 | 9 | <!ENTITY toolbar.pos.sidebarright.label "侧æ �å�³ä¾§"> | ||
4966 | 10 | <!ENTITY toolbar.pos.right.label "�边"> | ||
4967 | 11 | <!ENTITY toolbar.pos.sidebartop.label "侧æ �顶端"> | ||
4968 | 12 | <!ENTITY toolbar.pos.headerbottom.label "侧æ �æ ‡é¢˜ä¸‹æ–¹"> | ||
4969 | 13 | <!ENTITY toolbar.pos.sidebarbottom.label "侧æ �底端"> | ||
4970 | 14 | <!ENTITY toolbar.mode.iconstext.label "å›¾æ ‡å’Œæ–‡å—"> | ||
4971 | 15 | <!ENTITY toolbar.mode.icons.label "å›¾æ ‡"> | ||
4972 | 16 | <!ENTITY toolbar.mode.text.label "æ–‡å—"> | ||
4973 | 17 | <!ENTITY toolbar.mode.smallicons.label "使用å°�å›¾æ ‡"> | ||
4974 | 18 | <!ENTITY toolbar.mode.fullscreen.label "å…¨å±�模å¼�下显示工具æ �"> | ||
4975 | 19 | <!ENTITY toolbar.mode.flexbuttons.label "�调整按钮"> | ||
4976 | 20 | <!ENTITY button.sidebar.close.label "å…³é—侧æ �"> | ||
4977 | 21 | <!ENTITY button.sidebar.close.tooltip "å…³é—侧æ �"> | ||
4978 | 22 | <!ENTITY button.tab.close.label "å…³é—æ ‡ç¾é¡µ"> | ||
4979 | 23 | <!ENTITY button.tab.close.tooltip "å…³é—æ ‡ç¾é¡µ"> | ||
4980 | 24 | 0 | ||
4981 | === removed file 'chrome/aios.jar!/locale/zh-TW/tbx.dtd' | |||
4982 | --- chrome/aios.jar!/locale/zh-TW/tbx.dtd 2008-11-14 11:44:00 +0000 | |||
4983 | +++ chrome/aios.jar!/locale/zh-TW/tbx.dtd 1970-01-01 00:00:00 +0000 | |||
4984 | @@ -1,23 +0,0 @@ | |||
4985 | 1 | <!ENTITY config.instructions.description "您å�¯ä»¥åœ¨å�„å€‹å·¥å…·åˆ—ä¸ŠæŒ‰ä¸‹æ»‘é¼ å�³é�µä¸¦é»žé�¸ã€Œå±¬æ€§ã€�é�¸å–®ä¾†ç‚ºå�„個工具列è¨å®šå€‹åˆ¥çš„顯示與é�‹ä½œæ–¹å¼�"> | ||
4986 | 2 | <!ENTITY config.global.caption "全域è¨å®š"> | ||
4987 | 3 | <!ENTITY toolbar.customize.label "屬性"> | ||
4988 | 4 | <!ENTITY toolbar.pos.top.label "主視窗上方"> | ||
4989 | 5 | <!ENTITY toolbar.pos.belowtabs.label "標籤列下方"> | ||
4990 | 6 | <!ENTITY toolbar.pos.bottom.label "主視窗下方"> | ||
4991 | 7 | <!ENTITY toolbar.pos.left.label "主視窗左方"> | ||
4992 | 8 | <!ENTITY toolbar.pos.sidebarleft.label "�邊欄左�"> | ||
4993 | 9 | <!ENTITY toolbar.pos.sidebarright.label "�邊欄��"> | ||
4994 | 10 | <!ENTITY toolbar.pos.right.label "主視窗�方"> | ||
4995 | 11 | <!ENTITY toolbar.pos.sidebartop.label "�邊欄標題上方"> | ||
4996 | 12 | <!ENTITY toolbar.pos.headerbottom.label "�邊欄標題下方"> | ||
4997 | 13 | <!ENTITY toolbar.pos.sidebarbottom.label "�邊欄下方"> | ||
4998 | 14 | <!ENTITY toolbar.mode.iconstext.label "圖示與文å—"> | ||
4999 | 15 | <!ENTITY toolbar.mode.icons.label "�顯示圖示"> | ||
5000 | 16 | <!ENTITY toolbar.mode.text.label "å�ªé¡¯ç¤ºæ–‡å—"> |
Updates aios to a version that works with Firefox 3.5