Merge lp:~kvilhaugsvik/firefox-extensions/all-in-one-sidebar.ubuntu into lp:~ubuntu-dev/firefox-extensions/all-in-one-sidebar.ubuntu

Proposed by Sveinung Kvilhaugsvik
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
Reviewer Review Type Date Requested Status
Alexander Sack (community) Approve
Andrea Veri (community) Approve
Review via email: mp+8652@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Sveinung Kvilhaugsvik (kvilhaugsvik) wrote :

Updates aios to a version that works with Firefox 3.5

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

Revision history for this message
Andrea Veri (av) wrote :

Looks good to me. Added Alexander Sack as reviewer too, he was the original ubuntu-dev's branch maintainer.

review: Approve
Revision history for this message
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-one-sidebar.ubuntu.1.4.5-0ubuntu1 could be a good name Thanks.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== added file '.project'
--- .project 1970-01-01 00:00:00 +0000
+++ .project 2009-07-12 17:58:41 +0000
@@ -0,0 +1,18 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<projectDescription>
3 <name>AiOS</name>
4 <comment></comment>
5 <projects>
6 </projects>
7 <buildSpec>
8 <buildCommand>
9 <name>org.xulbooster.eclipse.xb.xulBuilder</name>
10 <arguments>
11 </arguments>
12 </buildCommand>
13 </buildSpec>
14 <natures>
15 <nature>org.xulbooster.eclipse.xb.xulNature</nature>
16 <nature>org.xulbooster.eclipse.xb.xulNature</nature>
17 </natures>
18</projectDescription>
019
=== added directory '.settings'
=== added file '.settings/org.eclipse.core.resources.prefs'
--- .settings/org.eclipse.core.resources.prefs 1970-01-01 00:00:00 +0000
+++ .settings/org.eclipse.core.resources.prefs 2009-07-12 17:58:41 +0000
@@ -0,0 +1,38 @@
1#Mon Feb 09 16:29:55 CET 2009
2eclipse.preferences.version=1
3encoding//content/multipanel.js=UTF-8
4encoding//locale/ar/lib.properties=UTF-8
5encoding//locale/be-BY/lib.properties=UTF-8
6encoding//locale/cs-CZ/lib.properties=UTF-8
7encoding//locale/da-DK/lib.properties=UTF-8
8encoding//locale/de-DE/lib.properties=UTF-8
9encoding//locale/el-GR/lib.properties=UTF-8
10encoding//locale/en-GB/lib.properties=UTF-8
11encoding//locale/en-US/lib.properties=UTF-8
12encoding//locale/es-AR/lib.properties=UTF-8
13encoding//locale/es-ES/lib.properties=UTF-8
14encoding//locale/et-EE/lib.properties=UTF-8
15encoding//locale/fi-FI/lib.properties=UTF-8
16encoding//locale/fr-FR/lib.properties=UTF-8
17encoding//locale/he-IL/lib.properties=UTF-8
18encoding//locale/hr-HR/lib.properties=UTF-8
19encoding//locale/hu-HU/lib.properties=UTF-8
20encoding//locale/hy-AM/lib.properties=UTF-8
21encoding//locale/it-IT/lib.properties=UTF-8
22encoding//locale/ja-JP/lib.properties=UTF-8
23encoding//locale/ko-KR/lib.properties=UTF-8
24encoding//locale/lt-LT/lib.properties=UTF-8
25encoding//locale/nb-NO/lib.properties=UTF-8
26encoding//locale/nl-NL/lib.properties=UTF-8
27encoding//locale/pl-PL/lib.properties=UTF-8
28encoding//locale/pt-BR/lib.properties=UTF-8
29encoding//locale/pt-PT/lib.properties=UTF-8
30encoding//locale/ro-RO/lib.properties=UTF-8
31encoding//locale/ru-RU/lib.properties=UTF-8
32encoding//locale/sk-SK/lib.properties=UTF-8
33encoding//locale/sr-RS/lib.properties=UTF-8
34encoding//locale/sv-SE/lib.properties=UTF-8
35encoding//locale/tr-TR/lib.properties=UTF-8
36encoding//locale/uk-UA/lib.properties=UTF-8
37encoding//locale/zh-CN/lib.properties=UTF-8
38encoding//locale/zh-TW/lib.properties=UTF-8
039
=== removed directory 'chrome'
=== modified file 'chrome.manifest'
--- chrome.manifest 2008-11-14 11:44:00 +0000
+++ chrome.manifest 2009-07-12 17:58:41 +0000
@@ -1,62 +1,63 @@
11
2content aios jar:chrome/aios.jar!/content/2content aios content/ contentaccessible=yes
3skin aios classic/1.0 jar:chrome/aios.jar!/skin/3skin aios global skin/
44
55locale aios en-US locale/en-US/
6locale aios en-US jar:chrome/aios.jar!/locale/en-US/6locale aios ar locale/ar/
7locale aios ar jar:chrome/aios.jar!/locale/ar/7locale aios be-BY locale/be-BY/
8locale aios be-BY jar:chrome/aios.jar!/locale/be-BY/8locale aios cs-CZ locale/cs-CZ/
9locale aios cs-CZ jar:chrome/aios.jar!/locale/cs-CZ/9locale aios da-DK locale/da-DK/
10locale aios da-DK jar:chrome/aios.jar!/locale/da-DK/10locale aios de-DE locale/de-DE/
11locale aios de-DE jar:chrome/aios.jar!/locale/de-DE/11locale aios el-GR locale/el-GR/
12locale aios el-GR jar:chrome/aios.jar!/locale/el-GR/12locale aios en-GB locale/en-GB/
13locale aios en-GB jar:chrome/aios.jar!/locale/en-GB/13locale aios es-AR locale/es-AR/
14locale aios es-AR jar:chrome/aios.jar!/locale/es-AR/14locale aios es-ES locale/es-ES/
15locale aios es-ES jar:chrome/aios.jar!/locale/es-ES/15locale aios et-EE locale/et-EE/
16locale aios et-EE jar:chrome/aios.jar!/locale/et-EE/16locale aios fi-FI locale/fi-FI/
17locale aios fi-FI jar:chrome/aios.jar!/locale/fi-FI/17locale aios fr-FR locale/fr-FR/
18locale aios fr-FR jar:chrome/aios.jar!/locale/fr-FR/18locale aios he-IL locale/he-IL/
19locale aios he-IL jar:chrome/aios.jar!/locale/he-IL/19locale aios hr-HR locale/hr-HR/
20locale aios hr-HR jar:chrome/aios.jar!/locale/hr-HR/20locale aios hu-HU locale/hu-HU/
21locale aios hu-HU jar:chrome/aios.jar!/locale/hu-HU/21locale aios hy-AM locale/hy-AM/
22locale aios it-IT jar:chrome/aios.jar!/locale/it-IT/22locale aios it-IT locale/it-IT/
23locale aios ja-JP jar:chrome/aios.jar!/locale/ja-JP/23locale aios ja-JP locale/ja-JP/
24locale aios ko-KR jar:chrome/aios.jar!/locale/ko-KR/24locale aios ko-KR locale/ko-KR/
25locale aios lt-LT jar:chrome/aios.jar!/locale/lt-LT/25locale aios lt-LT locale/lt-LT/
26locale aios nb-NO jar:chrome/aios.jar!/locale/nb-NO/26locale aios nb-NO locale/nb-NO/
27locale aios nl-NL jar:chrome/aios.jar!/locale/nl-NL/27locale aios nl-NL locale/nl-NL/
28locale aios pl-PL jar:chrome/aios.jar!/locale/pl-PL/28locale aios pl-PL locale/pl-PL/
29locale aios pt-BR jar:chrome/aios.jar!/locale/pt-BR/29locale aios pt-BR locale/pt-BR/
30locale aios pt-PT jar:chrome/aios.jar!/locale/pt-PT/30locale aios pt-PT locale/pt-PT/
31locale aios sk-SK jar:chrome/aios.jar!/locale/sk-SK/31locale aios ro-RO locale/ro-RO/
32locale aios ru-RU jar:chrome/aios.jar!/locale/ru-RU/32locale aios ru-RU locale/ru-RU/
33locale aios sv-SE jar:chrome/aios.jar!/locale/sv-SE/33locale aios sk-SK locale/sk-SK/
34locale aios tr-TR jar:chrome/aios.jar!/locale/tr-TR/34locale aios sr-RS locale/sr-RS/
35locale aios uk-UA jar:chrome/aios.jar!/locale/uk-UA/35locale aios sv-SE locale/sv-SE/
36locale aios zh-CN jar:chrome/aios.jar!/locale/zh-CN/36locale aios tr-TR locale/tr-TR/
37locale aios zh-TW jar:chrome/aios.jar!/locale/zh-TW/37locale aios uk-UA locale/uk-UA/
3838locale aios vi-VN locale/vi-VN/
39locale aios zh-CN locale/zh-CN/
40locale aios zh-TW locale/zh-TW/
3941
40overlay chrome://browser/content/browser.xul chrome://aios/content/aios.xul42overlay chrome://browser/content/browser.xul chrome://aios/content/aios.xul
41overlay chrome://browser/content/browser.xul chrome://aios/content/tbx/tbx.xul43overlay chrome://global/content/customizeToolbar.xul chrome://aios/content/aios_customize.xul
42
43style chrome://global/content/customizeToolbar.xul chrome://aios/skin/aios.css
44overlay chrome://global/content/customizeToolbar.xul chrome://aios/content/tbx/tbx_customize.xul
4544
46overlay chrome://browser/content/bookmarks/bookmarksPanel.xul chrome://aios/content/bm_hi.xul45overlay chrome://browser/content/bookmarks/bookmarksPanel.xul chrome://aios/content/bm_hi.xul
47overlay chrome://browser/content/history/history-panel.xul chrome://aios/content/bm_hi.xul46overlay chrome://browser/content/history/history-panel.xul chrome://aios/content/bm_hi.xul
4847
49overlay chrome://mozapps/content/extensions/extensions.xul chrome://aios/content/etd_addons.xul48overlay chrome://mozapps/content/extensions/extensions.xul chrome://aios/content/addons.xul
50overlay chrome://mozapps/content/downloads/downloads.xul chrome://aios/content/etd_downloads.xul49overlay chrome://mozapps/content/xpinstall/xpinstallConfirm.xul chrome://aios/content/addons_xpinstall.xul
51overlay chrome://mozapps/content/xpinstall/xpinstallConfirm.xul chrome://aios/content/xpinstallConfirm.xul50
51overlay chrome://mozapps/content/downloads/downloads.xul chrome://aios/content/downloads.xul
52overlay chrome://global/content/alerts/alert.xul chrome://aios/content/downloads_alert.xul
5253
53overlay chrome://browser/content/web-panels.xul chrome://aios/content/multipanel.xul54overlay chrome://browser/content/web-panels.xul chrome://aios/content/multipanel.xul
54overlay chrome://global/content/viewSource.xul chrome://aios/content/viewSource.xul55overlay chrome://global/content/config.xul chrome://aios/content/aboutconfig.xul
55overlay chrome://browser/content/pageInfo.xul chrome://aios/content/pageinfo/pageInfo.xul56
56overlay chrome://pippki/content/PageInfoOverlay.xul chrome://aios/content/pageinfo/security.xul57overlay chrome://global/content/viewSource.xul chrome://aios/content/viewsource.xul
58overlay chrome://browser/content/pageinfo/pageInfo.xul chrome://aios/content/pageinfo.xul
59
57overlay chrome://global/content/console.xul chrome://aios/content/console.xul60overlay chrome://global/content/console.xul chrome://aios/content/console.xul
58overlay chrome://inspector/content/sidebar.xul chrome://aios/content/dominspector.xul
59
60overlay chrome://browser/content/pageinfo/pageInfo.xul chrome://aios/content/pageinfo/pageInfo_fx3.xul
61
62style chrome://global/content/config.xul chrome://aios/skin/config.css
63\ No newline at end of file61\ No newline at end of file
62overlay chrome://console2/content/console2.xul chrome://aios/content/console.xul
63
64overlay chrome://browser/content/preferences/main.xul chrome://aios/content/prefs/overlay_main.xul
64\ No newline at end of file65\ No newline at end of file
6566
=== removed directory 'chrome/aios.jar!'
=== removed file 'chrome/aios.jar!/content/_bindings.xml'
--- chrome/aios.jar!/content/_bindings.xml 2008-11-14 11:44:00 +0000
+++ chrome/aios.jar!/content/_bindings.xml 1970-01-01 00:00:00 +0000
@@ -1,30 +0,0 @@
1<?xml version="1.0"?>
2
3<bindings xmlns="http://www.mozilla.org/xbl"
4 xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
5 xmlns:xbl="http://www.mozilla.org/xbl">
6
7 <binding id="aiosTooltips">
8 <content>
9 <xul:hbox flex="1">
10 <xul:vbox>
11 <xul:label xbl:inherits="value=r1c1" class="odd" />
12 <xul:label xbl:inherits="value=r2c1" />
13 <xul:label xbl:inherits="value=r3c1" class="odd" />
14 </xul:vbox>
15 <xul:vbox flex="1">
16 <xul:label flex="1" xbl:inherits="value=r1c2" class="odd" />
17 <xul:label flex="1" xbl:inherits="value=r2c2" />
18 <xul:label flex="1" xbl:inherits="value=r3c2" class="odd" />
19 </xul:vbox>
20 </xul:hbox>
21 </content>
22 </binding>
23
24 <binding id="grippy">
25 <resources>
26 <stylesheet src="chrome://aios/skin/grippies.css" />
27 </resources>
28 </binding>
29
30</bindings>
31\ No newline at end of file0\ No newline at end of file
321
=== removed file 'chrome/aios.jar!/content/aios_load.xul'
--- chrome/aios.jar!/content/aios_load.xul 2008-11-14 11:44:00 +0000
+++ chrome/aios.jar!/content/aios_load.xul 1970-01-01 00:00:00 +0000
@@ -1,7 +0,0 @@
1<?xml version="1.0" ?>
2
3<overlay id="aiosLoadedOverlay" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
4
5 <vbox id="sidebar-box" hidden="false" />
6
7</overlay>
8\ No newline at end of file0\ No newline at end of file
91
=== removed file 'chrome/aios.jar!/content/dominspector.xul'
--- chrome/aios.jar!/content/dominspector.xul 2008-11-14 11:44:00 +0000
+++ chrome/aios.jar!/content/dominspector.xul 1970-01-01 00:00:00 +0000
@@ -1,37 +0,0 @@
1<?xml version="1.0" ?>
2
3<overlay id="aios_DOMInspectorOverlay" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
4
5 <script type="application/x-javascript" src="chrome://aios/content/_common.js" />
6
7 <script><![CDATA[
8
9 /*
10 code from xSidebar by Philip Chee aka LastExile - many thanks :-)
11 */
12 function xsbRefreshDomI() {
13 window.removeEventListener("load", xsbRefreshDomI, true);
14 setTimeout(xsbRefreshDomIAsync, 10);
15 }
16
17 function xsbRefreshDomIAsync() {
18 var mPanelSet = document.getElementById("bxPanelSet");
19 if (mPanelSet) {
20 //mPanelSet.getPanel(0).subject = content.document;
21
22 var theContent = aios_WIN.document.getElementById('appcontent').childNodes[0];
23 if(theContent.currentURI) {
24 var locHref = theContent.currentURI.spec;
25 mPanelSet.getPanel(0).subject = theContent.selectedBrowser.webNavigation.document;
26 }
27 }
28 }
29
30 var inSidebar = top.document.getElementById('sidebar-box');
31 if (inSidebar) {
32 window.addEventListener("load", xsbRefreshDomI, true);
33 }
34
35 ]]></script>
36
37</overlay>
38\ No newline at end of file0\ No newline at end of file
391
=== removed file 'chrome/aios.jar!/content/etd.js'
--- chrome/aios.jar!/content/etd.js 2008-11-14 11:44:00 +0000
+++ chrome/aios.jar!/content/etd.js 1970-01-01 00:00:00 +0000
@@ -1,495 +0,0 @@
1
2var aios_mode, aios_prefstring, aios_sidebarItem, aios_boxElem, aios_managerWindow, aios_posElem, aios_checkInterval;
3
4var aios_inSidebar = (top.document.getElementById('sidebar-box')) ? true : false;
5
6function aios_init() {
7 var loc = window.location.href;
8 var enable_sidebar, enable_slim, enable_colors, enable_count, enable_sort, enable_layout, enable_layoutall, enable_tools;
9
10 if(loc.indexOf('downloads.xul') > 0) {
11 aios_mode = "downloads";
12 aios_prefstring = "dm";
13 aios_sidebarItem = "viewDownloadsSidebar";
14
15 aios_boxElem = document.getElementById("downloadView");
16 aios_managerWindow = document.getElementById("downloadManager");
17 aios_posElem = document.getElementById("downloadView");
18 }
19 else if(loc.indexOf('extensions.xul') > 0) {
20 aios_mode = "addons";
21 aios_prefstring = "em";
22 aios_sidebarItem = "viewAddonsSidebar";
23
24 aios_boxElem = document.getElementById("extensionsView");
25 aios_managerWindow = document.getElementById("extensionsManager");
26 aios_posElem = document.getElementById("addonsMsg");
27
28 // Ansicht falls nötig zum Installationspanel wechseln
29 aios_checkInstall();
30 aios_checkInterval = window.setInterval("aios_checkInstall()", 1000);
31
32 if(document.getElementById('restartAppButton')) document.getElementById('restartAppButton').hidden = true;
33 }
34
35 try {
36 enable_sidebar = aios_gPrefBranch.getBoolPref(aios_prefstring + ".sidebar");
37 enable_slim = aios_gPrefBranch.getBoolPref(aios_prefstring + ".slim");
38 enable_colors = aios_gPrefBranch.getBoolPref(aios_prefstring + ".colors");
39 enable_count = aios_gPrefBranch.getBoolPref(aios_prefstring + ".count");
40 if(aios_mode != "addons") enable_sort = aios_gPrefBranch.getBoolPref(aios_prefstring + ".sort");
41 enable_layout = aios_gPrefBranch.getBoolPref(aios_prefstring + ".layout");
42 enable_layoutall = aios_gPrefBranch.getBoolPref(aios_prefstring + ".layoutall");
43 enable_tools = aios_gPrefBranch.getBoolPref(aios_prefstring + ".tools");
44 }
45 catch(e) { return false; }
46
47 // Fenster schließen, wenn der Manager nur in der Sidebar geöffnet werden soll
48 // => !top.document.getElementById('sidebar') => ich bin keine Sidebar
49 // => top.toString() != "[object Window]" => ich bin kein Tab
50 if(!top.document.getElementById('sidebar') && top.toString() != "[object Window]") {
51 // enable_sidebar => Manager soll in der Sidebar geöffnet werden
52 // !opener (!aios_WIN.aiosIsWindow) => nicht explizit im Fenster (z.B. durch Shift+Linksklick auf Toolbarbutton)
53 // !aios_WIN.aiosIsWindow weil sonst das Fenster nicht geschlossen würde,
54 // wenn es durch Klick auf das "Downloads-Fertig-Popup" geöffnet wurde
55
56 //if(enable_sidebar && !opener) {
57 if(enable_sidebar && !aios_WIN.aiosIsWindow) {
58 // wenn die Sidebar nicht schon geöffnet ist (z.B. Aufruf durch MR Tech Local Install)
59 // ohne diese Abfrage werden Erweiterungen u.U. doppelt installiert
60 if(!aios_WIN.aios_getBoolean(aios_sidebarItem, 'checked')) aios_WIN.toggleSidebar(aios_sidebarItem, true);
61 window.close();
62 }
63 }
64
65 // Sidebar-Layout
66 if((enable_layout && aios_inSidebar) || enable_layoutall) aios_sidebarLayout();
67
68 // kompakte Ansicht
69 if(enable_slim) aios_addCSS("chrome://aios/skin/_slimlist.css");
70
71 // Titel setzen
72 if(aios_mode == "addons") aios_setTitle();
73
74 // Elemente zaehlen und anzeigen
75 if(enable_count) aios_countList();
76
77 // sortieren
78 if(enable_sort && aios_mode != "addons") aios_sortExtensions();
79
80 // farbige Einträge
81 if(enable_colors) aios_addCSS("chrome://aios/skin/_coloredlist.css");
82
83 // Tools-Button anzeigen?
84 if(document.getElementById('aios-toolsButton')) document.getElementById('aios-toolsButton').hidden = !enable_tools;
85 if(document.getElementById('aios-toolsSpacer')) document.getElementById('aios-toolsSpacer').hidden = !enable_tools;
86
87
88 if(aios_mode == "addons") {
89
90 // Fix für MR Tech Local Install
91 if(typeof Local_Install == "object") {
92 // Install-Button tauschen
93 if(document.getElementById('installNewTheme')) {
94 var commandBar = document.getElementById('commandBar');
95 var aiosInstall = document.getElementById('aios-installButton');
96 var mrtechInstall = document.getElementById('installNewTheme');
97 commandBar.replaceChild(mrtechInstall, aiosInstall);
98 }
99 // Padding des Managers abschalten
100 if((enable_layout && aios_inSidebar) || enable_layoutall)
101 try { aios_gPref.setCharPref("local_install.viewPadding", ""); } catch(e) { }
102 }
103
104 // Homepages in neuen Tabs statt in neuen Fenstern öffnen
105 var cmd = gExtensionsViewController.commands.cmd_homepage.toString();
106 var newCmd = cmd.replace(/openURL\(uri\.spec\)/, 'aios_addTab(uri.spec)');
107 eval('gExtensionsViewController.commands.cmd_homepage = ' + newCmd + ';');
108 }
109
110 // Icons im Kontextmenü aktivieren
111 var cmenu;
112 if(aios_mode == "addons") cmenu = "addonContextMenu";
113 else if(aios_mode == "downloads") cmenu = "downloadContextMenu";
114 else cmenu = "extensionContextMenu";
115
116 if(document.getElementById(cmenu)) {
117 document.getElementById(cmenu).addEventListener("popupshowing", function(e) {
118
119 var childs = document.getElementById(cmenu).childNodes;
120 for(var i = 0; i < childs.length; i++) {
121 if(childs[i].tagName == "menuitem") aios_appendClass(childs[i], 'menuitem-iconic');
122 }
123
124 }, false);
125 }
126
127 if(aios_platform == "Darwin") {
128 document.getElementById('viewGroup').setAttribute("showLabel", true);
129 }
130
131 return true;
132}
133
134
135// Ansicht falls nötig zum Installationspanel wechseln
136function aios_checkInstall() {
137 if(aios_WIN) {
138 if(aios_WIN.aiosSetAddOnsView) {
139 if(aios_WIN.aiosSetAddOnsView == "installs") {
140 window.clearInterval(aios_checkInterval);
141 aios_WIN.aiosSetAddOnsView = null;
142 showView('installs');
143 }
144 }
145 else {
146 aios_WIN.aiosSetAddOnsView = null;
147 }
148 }
149}
150
151
152function aios_setTitle(which) {
153 if(typeof Local_Install == "object") return false;
154
155 if(document.getElementById("restartAppButton")) {
156 var restartButton = document.getElementById("restartAppButton");
157 restartButton.hidden = true;
158 if(document.getElementById("installs-view").selected) restartButton.hidden = false;
159 }
160
161 if(!aios_WIN.document) return false;
162
163 var newTitle;
164 var origTitle = aios_WIN.document.getElementById(aios_sidebarItem).getAttribute('label');
165
166 var viewTitle;
167
168 // Label des zukünftigen Panels (ausgelöst nur durch Klick auf Radio-Button)
169 if(typeof which == "object") viewTitle = which.getAttribute('label');
170 // Label des selektierten Radio-Buttons
171 else if(document.getElementById("viewGroup")) viewTitle = document.getElementById("viewGroup").selectedItem.getAttribute('label');
172
173 newTitle = origTitle + " - " + viewTitle;
174
175 // Titel und Label setzen
176 document.title = newTitle;
177
178 if(!top.document.getElementById('sidebar-title')) return false;
179 top.document.getElementById('sidebar-title').setAttribute("value", newTitle);
180
181 return true;
182}
183
184
185function aios_sidebarLayout() {
186 // CSS für Sidebar-Optimierungen aktivieren
187 if(aios_mode == "addons") aios_addCSS("chrome://aios/skin/addons_layout.css");
188 else if(aios_mode == "downloads") aios_addCSS("chrome://aios/skin/downloads_layout.css");
189
190
191 // Toolbar nach oben versetzen
192 if(aios_mode == "addons" || (aios_mode == "downloads" && aios_appVersion.indexOf('3.0') != 0)) {
193 var moveBar;
194 if(document.getElementById("commandBar")) moveBar = document.getElementById("commandBar");
195 if(document.getElementById("commandBarBottom")) moveBar = document.getElementById("commandBarBottom");
196 if(document.getElementById("search")) moveBar = document.getElementById("search");
197
198 moveBar = moveBar.parentNode;
199 aios_managerWindow.insertBefore(moveBar, aios_posElem);
200 }
201
202
203 if(aios_mode == "addons") {
204 // Radio-Buttons mit Tooltip
205 if(document.getElementById("viewGroup")) {
206 var radioChilds = document.getElementById("viewGroup").childNodes;
207 for(var i = 0; i < radioChilds.length; i++) {
208 if(radioChilds[i].tagName == "radio") radioChilds[i].setAttribute('tooltiptext', radioChilds[i].getAttribute('label'));
209 }
210 }
211
212 // Spacer löschen
213 var cmdChilds = document.getElementById("commandBarBottom").childNodes;
214 for(var i = 0; i < cmdChilds.length; i++) {
215 if(cmdChilds[i].tagName == "spacer" && cmdChilds[i].id != "aios-toolsSpacer") {
216 cmdChilds[i].parentNode.removeChild(cmdChilds[i]);
217 }
218 }
219
220 // Themes in der Sidebar
221 if(parent.document.getElementById("sidebar-box")) {
222 // themePreviewArea scrollbar machen (FF <= 1.5)
223 //aios_boxElem.setAttribute('flex', '1');
224 //document.getElementById("themePreviewArea").setAttribute('flex', '1');
225
226 document.getElementById("themePreviewArea").setAttribute('class', 'sidebar');
227 }
228 }
229 else if(aios_mode == "downloads") {
230 // Downloads in der Sidebar
231 if(parent.document.getElementById("sidebar-box")) {
232 if(document.getElementById("autodownloadInfo")) document.getElementById("autodownloadInfo").childNodes[1].hidden = true;
233 if(document.getElementById("downloadFolder")) document.getElementById("downloadFolder").hidden = false;
234 if(document.getElementById("saveToFolder")) document.getElementById("saveToFolder").removeAttribute('flex');
235 }
236 }
237}
238
239
240/*
241 zählt und zeigt die aktivierten und deaktivierten Extensions im Sidebartitel an
242 => Aufruf durch aios_init()
243*/
244function aios_countList() {
245
246 if(!aios_WIN.document) return false;
247
248 // Fix fuer MR Tech Local Install
249 var li_count = false;
250
251 if(typeof Local_Install == "object") {
252 var li_gPrefBranch = aios_gPref.getBranch("local_install.");
253 li_count = li_gPrefBranch.getBoolPref("showManagerTotals");
254 if(li_count) return false;
255 else Local_Install.setWindowTitle = function(){};
256 }
257
258 // bisherigen Titel feststellen
259 var newTitle;
260 var origTitle = aios_WIN.document.getElementById(aios_sidebarItem).getAttribute('label');
261
262 if(document.getElementById("viewGroup")) {
263 var viewTitle = document.getElementById("viewGroup").selectedItem.getAttribute('label');
264 origTitle = origTitle + " - " + viewTitle;
265 }
266
267 // Elemente zaehlen
268 var whichNode;
269 if(aios_mode == "downloads") whichNode = "download";
270 if(aios_mode == "addons" || aios_appVersion.indexOf('3.0') == 0) whichNode = "richlistitem";
271
272 var exts = aios_filter(aios_boxElem.childNodes, function(c){ return c.nodeName == whichNode });
273
274 var str_count = "";
275
276 // DOWNLOADS
277 if(aios_mode == "downloads") {
278 var list_downloading = 0;
279 var list_done = 0;
280 var list_failed = 0;
281
282 for(var i = 0; i < exts.length; i++) {
283 var state = exts[i].getAttribute('state');
284
285 // downloading => starting + downloading + paused + downloading
286 if(state == "-1" || state == "0" || state == "4" || state == "5") list_downloading++;
287
288 // done => done
289 if(state == "1") list_done++;
290
291 // failed => failed + canceled
292 if(state == "2" || state == "3") list_failed++;
293 }
294
295 str_count = list_done;
296 if(list_downloading > 0 || list_failed > 0) str_count = str_count + "/" + list_downloading;
297 if(list_failed > 0) str_count = str_count + "/" + list_failed;
298 }
299 // ADD-ONS
300 else {
301 var list_enabled = 0;
302 var list_disabled = 0;
303
304 for(i = 0; i < exts.length; i++) {
305 if(exts[i].getAttribute('hidden') != "true") {
306 if(exts[i].getAttribute('isDisabled') == "true") list_disabled++;
307 else list_enabled++;
308 }
309 }
310
311 str_count = list_enabled;
312 if(list_disabled > 0) str_count = str_count + "/" + list_disabled;
313 }
314
315 //return str_count;
316
317 newTitle = origTitle + " [" + str_count + "]";
318 window.setTimeout("aios_countList()", 100);
319
320 // Titel und Label setzen
321 document.title = newTitle;
322
323 if(!top.document.getElementById('sidebar-title')) return false;
324 top.document.getElementById('sidebar-title').setAttribute("value", newTitle);
325
326 return true;
327}
328
329
330/*
331 Original-Code by Caio Chassot
332 Slim_Extension_List_0.1
333 http://v2studio.com/k/moz/
334
335 => Aufruf durch aios_initExtThemesDwnl()/
336*/
337function aios_sortExtensions() {
338 var whichNode = "extension";
339 var sortBy = "name";
340
341 if(aios_mode == "downloads") {
342 whichNode = "download";
343 sortBy = "target";
344 }
345
346 var exts = aios_filter(aios_boxElem.childNodes, function(c){ return c.nodeName == whichNode });
347
348 exts.sort(function(a, b){
349 var an = a.getAttribute(sortBy).toLowerCase();
350 var bn = b.getAttribute(sortBy).toLowerCase();
351 return an < bn ? -1 : an > bn ? 1 : 0;
352 });
353
354 aios_map(exts, function(e) { aios_boxElem.appendChild(e) });
355
356 //window.setTimeout("aios_sortExtensions()", 500);
357}
358
359
360function aios_map(l,f) {
361 var r = [];
362 if(!f) f = function(v){return v};
363 for(var i=0; i<l.length; i++) r.push(f(l[i]));
364 return r;
365}
366
367
368function aios_filter(l,f) {
369 var r = [];
370 if (!f) f = function(v){return v};
371 for (var i=0; i<l.length; i++) if (f(l[i])) r.push(l[i]);
372 return r;
373}
374
375
376
377/*
378 zeigt/versteckt Links im Extras-Menü der Add-ons je nach Konfiguration
379 => Aufruf durch <menupopup> bei onpopupshowing
380*/
381var theLinks; // wird auch für <alle herunterladen> gebraucht
382function aios_enableLinks(aPopup) {
383 if(document.getElementById("restartAppButton")) {
384 var mitem_restart = document.getElementById("menuitem_restart");
385 mitem_restart.label = document.getElementById("restartAppButton").label;
386 mitem_restart.tooltiptext = document.getElementById("restartAppButton").tooltiptext;
387 }
388
389 // überhaupt Links anzeigen?
390 try {
391 var enable_links = aios_gPrefBranch.getBoolPref(aios_prefstring + ".link");
392 var custom_links = aios_gPrefBranch.getCharPref(aios_prefstring + ".custom");
393 }
394 catch(e) { return false; }
395
396 // vorkonfigurierte Links
397 var defLinks;
398 var strings = document.getElementById("aiosLibProp");
399 defLinks = strings.getString("addons.def.links");
400
401 // vorkonfigurierte oder benutzerdefinierte Links verwenden
402 var tmpLinks = (!custom_links || defLinks == custom_links) ? defLinks : custom_links;
403 theLinks = tmpLinks.split(",");
404
405 for(var x = 0; x < theLinks.length; x++) {
406 theLinks[x] = theLinks[x].replace(/\s*/, "");
407 }
408
409 // Links anzeigen
410 //for(var i = 0; i < links.length; i++) {
411 for(var i = 0; i < aPopup.childNodes.length; i++) {
412 var mitemID = aPopup.childNodes[i].id;
413
414 if(mitemID) {
415 // Aktivieren/Deaktivieren je nach Status verstecken/zeigen
416 var act = gExtensionsViewController.isCommandEnabled("cmd_reallyEnable");
417 if(mitemID == "menuitem_enable") aPopup.childNodes[i].setAttribute('hidden', !act);
418 if(mitemID == "menuitem_disable") aPopup.childNodes[i].setAttribute('hidden', act);
419
420 // Download-Links aktivieren
421 mitemID = mitemID.replace(/-mitem/, "");
422
423 if(aios_getBoolean(aPopup.childNodes[i], 'link')) {
424 aPopup.childNodes[i].setAttribute('hidden', true);
425 if(theLinks.indexOf(mitemID) >= 0 && enable_links) aPopup.childNodes[i].setAttribute('hidden', false);
426 }
427 }
428 }
429
430 // wenn keine Links angezeigt werden, oberster Menüpunkt (öffnet alle Links) und Separator verstecken
431 document.getElementById("links-mitem").setAttribute('hidden', !enable_links);
432 document.getElementById("link-separator").setAttribute('hidden', !enable_links);
433
434 return true;
435}
436
437
438/*
439 öffnet alle Links im Extras-Menü der Add-ons
440 => Aufruf durch <menuitem> bei oncommand
441 => benötigt var theLinks => erzeugt in aios_enableLinks()
442*/
443function aios_openLinks(aMode) {
444 // command ausführen, wenn item nicht versteckt ist
445 for(var i = 0; i < theLinks.length; i++) {
446 var elem = document.getElementById(theLinks[i] + "-mitem");
447 if(!elem.hidden) eval(elem.getAttribute('oncommand'));
448 }
449}
450
451
452/*
453 aktiviert/deaktiviert die Einträge im Tools-Menu des Download-Managers
454 => Aufruf durch das <menupopup> bei onpopupshowing
455*/
456function aios_checkToolsMenu(aPopup) {
457
458 var dis = (gDownloadsView.selectedItem == null || gDownloadsView.selectedItem.getAttribute("state") == "") ? true : false;
459
460 if(typeof gDownloadsView.selectedItem != "object") {
461 dis = (gDownloadsView.selected == null || gDownloadsView.selected.getAttribute("state") == "") ? true : false;
462 }
463
464 var folderLabel = document.getElementById('saveToFolder').getAttribute('label');
465 var folderImage = document.getElementById('saveToFolder').image;
466
467 for(var i = 0; i < aPopup.childNodes.length; i++) {
468 var mitemID = aPopup.childNodes[i].id;
469
470 if(mitemID == 'menuitem_open') aPopup.childNodes[i].setAttribute('disabled', dis);
471 if(mitemID == 'menuitem_retry') aPopup.childNodes[i].setAttribute('disabled', dis);
472 if(mitemID == 'menuitem_show') aPopup.childNodes[i].setAttribute('disabled', dis);
473 if(mitemID == 'menuitem_remove') aPopup.childNodes[i].setAttribute('disabled', dis);
474 if(mitemID == 'menuitem_properties') aPopup.childNodes[i].setAttribute('disabled', dis);
475
476 if(mitemID == 'menuitem_Folder') {
477 aPopup.childNodes[i].setAttribute('label', folderLabel);
478 aPopup.childNodes[i].setAttribute('image', folderImage);
479
480 // Menuitem für "Default Download Folder" überhaupt sichtbar?
481 aPopup.childNodes[i].setAttribute('hidden', folderImage == "");
482 }
483 }
484}
485
486
487/*
488 Fix für Clean-Button im Downloads-Panel von Fx 3
489*/
490var loc = window.location.href;
491if(loc.indexOf('downloads.xul') > 0 && aios_appVersion.indexOf('3.0') == 0) {
492 var cmd = Startup.toString();
493 var newCmd = cmd.replace(/window\.arguments/, 'window.arguments && window.arguments');
494 eval('Startup = ' + newCmd + ';');
495}
496\ No newline at end of file0\ No newline at end of file
4971
=== removed file 'chrome/aios.jar!/content/etd_addons.xul'
--- chrome/aios.jar!/content/etd_addons.xul 2008-11-14 11:44:00 +0000
+++ chrome/aios.jar!/content/etd_addons.xul 1970-01-01 00:00:00 +0000
@@ -1,169 +0,0 @@
1<?xml version="1.0"?>
2
3<!-- skin -->
4<?xml-stylesheet href="chrome://aios/skin/addons.css"?>
5
6<!-- locale -->
7<!DOCTYPE overlay [
8 <!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd"> %brandDTD;
9 <!ENTITY % extensionsDTD SYSTEM "chrome://mozapps/locale/extensions/extensions.dtd"> %extensionsDTD;
10
11 <!ENTITY % aiosExtrasDTD SYSTEM "chrome://aios/content/aios.dtd"> %aiosExtrasDTD;
12 <!ENTITY % libDTD SYSTEM "chrome://aios/locale/lib.dtd"> %libDTD;
13]>
14
15<overlay id="aios_ExtensionsOverlay" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
16
17 <script type="application/x-javascript" src="chrome://aios/content/_common.js" />
18
19 <script><![CDATA[
20/*
21 if(!top.document.getElementById('sidebar') && top.toString() != "[object Window]") {
22 var enable_sidebar = aios_gPrefBranch.getBoolPref("em.sidebar");
23
24 if(enable_sidebar && !aios_WIN.aiosIsWindow) {
25 aios_WIN.toggleSidebar('viewAddonsSidebar', true);
26 window.close();
27 }
28 }
29*/
30 ]]></script>
31
32 <script type="application/x-javascript" src="chrome://aios/content/etd.js" />
33
34
35 <stringbundleset id="extensionsSet">
36 <stringbundle id="aiosLibProp" src="chrome://aios/locale/lib.properties" />
37 </stringbundleset>
38
39
40 <radiogroup id="viewGroup"
41 oncommand="if(!document.getElementById('installs-view').selected) { if(document.getElementById('restartAppButton')) document.getElementById('restartAppButton').hidden=true; }">
42
43 <radio id="extensions-view" onclick="aios_setTitle(this);" />
44 <radio id="themes-view" onclick="aios_setTitle(this);" />
45 <radio id="locales-view" onclick="aios_setTitle(this);" />
46 <radio id="plugins-view" onclick="aios_setTitle(this);" />
47 <radio id="updates-view" onclick="aios_setTitle(this);" />
48 <radio id="installs-view" onclick="aios_setTitle(this);" />
49 </radiogroup>
50
51
52 <hbox id="commandBarBottom">
53
54 <spacer id="aios-toolsSpacer" flex="1" />
55
56 <button id="aios-toolsButton" type="menu" label="&menu.tools.label;" tooltiptext="&menu.tools.tooltip;">
57
58 <menupopup id="aios-toolsPopup" onpopupshowing="aios_enableLinks(this);">
59
60 <menuitem id="menuitem_install" label="&cmd.installLocalFile.label;" tooltiptext="&cmd.installFileAddon.tooltip;"
61 command="cmd_installFile" class="menuitem-iconic" />
62
63 <menuitem id="menuitem_updateall" label="&cmd.checkUpdatesAll.label;" tooltiptext="&cmd.checkUpdatesAllAddon.tooltip;"
64 command="cmd_checkUpdatesAll" class="menuitem-iconic" />
65<!-- Firefox 2.x
66
67 <menuitem id="menuitem_restart" label="&cmd.restartApp.label;" tooltiptext="&cmd.restartApp.tooltip;"
68 oncommand="restartApp();" class="menuitem-iconic" />
69-->
70<!-- Firefox 3.x
71 <menuitem id="menuitem_restart" label="&cmd.restartApp2.label;" tooltiptext="&cmd.restartApp2.tooltip;"
72 oncommand="restartApp();" class="menuitem-iconic" />
73-->
74 <menuitem id="menuitem_restart" label="Restart Firefox" tooltiptext="Restart Firefox to apply changes"
75 oncommand="restartApp();" class="menuitem-iconic" />
76
77 <menuseparator />
78
79 <menuitem id="menuitem_options" label="&cmd.options.label;" tooltiptext="&cmd.options.label;" default="true"
80 command="cmd_options" accesskey="&cmd.options.accesskey;" class="menuitem-iconic" />
81
82 <menuitem id="menuitem_homepage" label="&cmd.homepage.label;" tooltiptext="&cmd.homepage.label;"
83 command="cmd_homepage" accesskey="&cmd.homepage.accesskey;" class="menuitem-iconic" />
84
85 <menuitem id="menuitem_about" label="&cmd.about2.label;" tooltiptext="&cmd.about2.label;"
86 command="cmd_about" accesskey="&cmd.about.accesskey;" class="menuitem-iconic" />
87
88 <menuseparator />
89
90 <menuitem id="menuitem_enable" label="&cmd.enable.label;" tooltiptext="&cmd.enable.label;"
91 command="cmd_enable" accesskey="&cmd.enable.accesskey;" class="menuitem-iconic" />
92
93 <menuitem id="menuitem_disable" label="&cmd.disable.label;" tooltiptext="&cmd.disable.label;"
94 command="cmd_disable" accesskey="&cmd.disable.accesskey;" class="menuitem-iconic" />
95
96 <menuitem id="menuitem_update" label="&cmd.checkUpdate.label;" tooltiptext="&cmd.checkUpdate.label;"
97 command="cmd_checkUpdate" accesskey="&cmd.checkUpdate.accesskey;" class="menuitem-iconic" />
98
99 <menuitem id="menuitem_uninstall" label="&cmd.uninstall.label;" tooltiptext="&cmd.uninstall.label;"
100 command="cmd_uninstall" accesskey="&cmd.uninstall2.accesskey;" class="menuitem-iconic" />
101
102 <menuseparator id="link-separator" />
103
104 <menuitem id="links-mitem" label="&addons.dwnl.label;" tooltiptext="&addons.dwnl.label;"
105 oncommand="aios_openLinks('em');" class="menuitem-iconic link" />
106
107 <menuitem id="en-US1-mitem" label=" - &menu.ext.en-US1.label;" tooltiptext="&menu.ext.en-US1.label;"
108 oncommand="aios_addTab('&menu.ext.en-US1.link;');" class="menuitem-iconic link" hidden="true" link="true" />
109
110 <menuitem id="en-US2-mitem" label=" - &menu.ext.en-US2.label;" tooltiptext="&menu.ext.en-US2.label;"
111 oncommand="aios_addTab('&menu.ext.en-US2.link;');" class="menuitem-iconic link" hidden="true" link="true" />
112
113 <menuitem id="cs-CZ-mitem" label=" - &menu.ext.cs-CZ.label;" tooltiptext="&menu.ext.cs-CZ.label;"
114 oncommand="aios_addTab('&menu.ext.cs-CZ.link;');" class="menuitem-iconic link" hidden="true" link="true" />
115
116 <menuitem id="de-DE-mitem" label=" - &menu.ext.de-DE.label;" tooltiptext="&menu.ext.de-DE.label;"
117 oncommand="aios_addTab('&menu.ext.de-DE.link;');" class="menuitem-iconic link" hidden="true" link="true" />
118
119 <menuitem id="es-ES-mitem" label=" - &menu.ext.es-ES.label;" tooltiptext="&menu.ext.es-ES.label;"
120 oncommand="aios_addTab('&menu.ext.es-ES.link;');" class="menuitem-iconic link" hidden="true" link="true" />
121
122 <menuitem id="fr-FR-mitem" label=" - &menu.ext.fr-FR.label;" tooltiptext="&menu.ext.fr-FR.label;"
123 oncommand="aios_addTab('&menu.ext.fr-FR.link;');" class="menuitem-iconic link" hidden="true" link="true" />
124
125 <menuitem id="it-IT-mitem" label=" - &menu.ext.it-IT.label;" tooltiptext="&menu.ext.it-IT.label;"
126 oncommand="aios_addTab('&menu.ext.it-IT.link;');" class="menuitem-iconic link" hidden="true" link="true" />
127
128 <menuitem id="ja-JP-mitem" label=" - &menu.ext.ja-JP.label;" tooltiptext="&menu.ext.ja-JP.label;"
129 oncommand="aios_addTab('&menu.ext.ja-JP.link;');" class="menuitem-iconic link" hidden="true" link="true" />
130
131 <menuitem id="ko-KR-mitem" label=" - &menu.ext.ko-KR.label;" tooltiptext="&menu.ext.ko-KR.label;"
132 oncommand="aios_addTab('&menu.ext.ko-KR.link;');" class="menuitem-iconic link" hidden="true" link="true" />
133
134 <menuitem id="nl-NL-mitem" label=" - &menu.ext.nl-NL.label;" tooltiptext="&menu.ext.nl-NL.label;"
135 oncommand="aios_addTab('&menu.ext.nl-NL.link;');" class="menuitem-iconic link" hidden="true" link="true" />
136
137 <menuitem id="pl-PL-mitem" label=" - &menu.ext.pl-PL.label;" tooltiptext="&menu.ext.pl-PL.label;"
138 oncommand="aios_addTab('&menu.ext.pl-PL.link;');" class="menuitem-iconic link" hidden="true" link="true" />
139
140 <menuitem id="ru-RU-mitem" label=" - &menu.ext.ru-RU.label;" tooltiptext="&menu.ext.ru-RU.label;"
141 oncommand="aios_addTab('&menu.ext.ru-RU.link;');" class="menuitem-iconic link" hidden="true" link="true" />
142
143 <menuitem id="sk-SK-mitem" label=" - &menu.ext.sk-SK.label;" tooltiptext="&menu.ext.sk-SK.label;"
144 oncommand="aios_addTab('&menu.ext.sk-SK.link;');" class="menuitem-iconic link" hidden="true" link="true" />
145
146 <menuitem id="zh-TW-mitem" label=" - &menu.ext.zh-TW.label;" tooltiptext="&menu.ext.zh-TW.label;"
147 oncommand="aios_addTab('&menu.ext.zh-TW.link;');" class="menuitem-iconic link" hidden="true" link="true" />
148
149 </menupopup>
150
151 </button>
152 </hbox>
153
154 <script><![CDATA[
155
156 try {
157 var enable_layout = aios_gPrefBranch.getBoolPref("em.layout");
158
159 // Theme-Vorschau unter der Liste anzeigen
160 if(enable_layout && document.getElementById("extensionsView") && parent.document.getElementById("sidebar-box"))
161 document.getElementById("extensionsView").parentNode.orient = "vertical";
162 }
163 catch(e) { }
164
165 window.addEventListener("load", function(e) { aios_init(); }, false);
166
167 ]]></script>
168
169</overlay>
170\ No newline at end of file0\ No newline at end of file
1711
=== removed file 'chrome/aios.jar!/content/etd_downloads.xul'
--- chrome/aios.jar!/content/etd_downloads.xul 2008-11-14 11:44:00 +0000
+++ chrome/aios.jar!/content/etd_downloads.xul 1970-01-01 00:00:00 +0000
@@ -1,125 +0,0 @@
1<?xml version="1.0"?>
2
3<!-- skin -->
4<?xml-stylesheet href="chrome://aios/skin/downloads.css"?>
5
6<!-- locale -->
7<!DOCTYPE overlay [
8 <!ENTITY % downloadManagerDTD SYSTEM "chrome://mozapps/locale/downloads/downloads.dtd"> %downloadManagerDTD;
9
10 <!ENTITY % libDTD SYSTEM "chrome://aios/locale/lib.dtd"> %libDTD;
11]>
12
13<overlay id="aios_DownloadsOverlay" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
14
15 <script type="application/x-javascript" src="chrome://aios/content/_common.js" />
16
17 <script><![CDATA[
18/*
19 // Download-Fenster hier schon schließen => sonst geht die Fortschrittsanzeige in der Sidebar nicht
20 // => !top.document.getElementById('sidebar') => ich bin keine Sidebar
21 // => top.toString() != "[object Window]" => ich bin kein Tab
22 if(!top.document.getElementById('sidebar') && top.toString() != "[object Window]") {
23 var enable_sidebar = aios_gPrefBranch.getBoolPref("dm.sidebar");
24
25 // enable_sidebar => Manager soll in der Sidebar geöffnet werden
26 // !opener (!aios_WIN.aiosIsWindow) => nicht explizit im Fenster (z.B. durch Shift+Linksklick auf Toolbarbutton)
27 // !aios_WIN.aiosIsWindow weil sonst das Fenster nicht geschlossen würde,
28 // wenn es durch Klick auf das "Downloads-Fertig-Popup" geöffnet wurde
29
30 //if(enable_sidebar && !opener) {
31 if(enable_sidebar && !aios_WIN.aiosIsWindow) {
32 // wenn die Sidebar nicht schon geöffnet ist (z.B. Aufruf durch MR Tech Local Install)
33 if(!aios_WIN.aios_getBoolean('viewDownloadsSidebar', 'checked')) aios_WIN.toggleSidebar('viewDownloadsSidebar', true);
34 window.close();
35 }
36 }
37*/
38 //if(top.document.getElementById('sidebar')) window.setTimeout(aios_updateListener, 100);
39 window.setInterval("aios_updateListener()", 1000);
40
41 /*function aios_updateListener() {
42 //while(gDownloadManager.listener == null) {
43 if(typeof gDownloadManager == "object") {
44 if(gDownloadManager.listener == null) return false;
45 // The DownloadProgressListener (DownloadProgressListener.js) handles progress
46 // notifications.
47 var downloadStrings = document.getElementById("downloadStrings");
48 gDownloadListener = new DownloadProgressListener(document, downloadStrings);
49 gDownloadManager.listener = gDownloadListener;
50 }
51 //}
52 return true;
53 }*/
54
55
56 function aios_updateListener() {
57 //while(gDownloadManager.listener == null) {
58 if(gDownloadManager.listener == null && aios_appVersion.indexOf('3.0') != 0) {
59 // The DownloadProgressListener (DownloadProgressListener.js) handles progress
60 // notifications.
61 var downloadStrings = document.getElementById("downloadStrings");
62 gDownloadListener = new DownloadProgressListener(document, downloadStrings);
63 gDownloadManager.listener = gDownloadListener;
64 }
65 //}
66 }
67
68 ]]></script>
69
70 <script type="application/x-javascript" src="chrome://aios/content/etd.js" />
71
72
73 <hbox id="autodownloadInfo">
74 <label id="downloadFolder" position="1" hidden="true">&dwnl.saved.label;</label>
75 </hbox>
76
77 <hbox id="commandBar">
78
79 <button id="aios-toolsButton" type="menu" label="&menu.tools.label;" tooltiptext="&menu.tools.tooltip;">
80
81 <menupopup id="aios-toolsPopup" onpopupshowing="aios_checkToolsMenu(this);">
82
83 <menuitem id="menuitem_open" oncommand="fireEventForElement(gDownloadsView.selectedItem, 'open');"
84 label="&cmd.open.label;" tooltiptext="&cmd.open.label;" accesskey="&cmd.open.accesskey;" default="true"
85 class="menuitem-iconic" />
86
87 <menuitem id="menuitem_retry" oncommand="fireEventForElement(gDownloadsView.selectedItem, 'retry');"
88 label="&cmd.retry.label;" tooltiptext="&cmd.retry.label;" accesskey="&cmd.retry.accesskey;"
89 class="menuitem-iconic" />
90
91 <menuitem id="menuitem_show" oncommand="fireEventForElement(gDownloadsView.selectedItem, 'show');"
92 label="&cmd.show.label;" tooltiptext="&cmd.show.label;" accesskey="&cmd.show.accesskey;"
93 class="menuitem-iconic" />
94<!--
95 <menuitem id="menuitem_remove" oncommand="fireEventForElement(gDownloadsView.selectedItem, 'remove');"
96 label="&cmd.remove.label;" tooltiptext="&cmd.remove.label;" accesskey="&cmd.remove.accesskey;"
97 class="menuitem-iconic" />
98
99 <menuitem id="menuitem_properties" oncommand="fireEventForElement(gDownloadsView.selectedItem, 'properties');"
100 label="&cmd.properties.label;" tooltiptext="&cmd.properties.label;" accesskey="&cmd.properties.accesskey;"
101 class="menuitem-iconic" />
102-->
103 <menuitem id="menuitem_properties" oncommand="fireEventForElement(gDownloadsView.selectedItem, 'properties');"
104 label="&dwnl.props.label;" tooltiptext="&dwnl.props.label;" class="menuitem-iconic" />
105
106 <menuseparator />
107
108 <menuitem id="menuitem_Folder" oncommand="onDownloadShowFolder();"
109 tooltiptext="&showFolder.label;" class="menuitem-iconic" />
110<!--
111 <menuitem id="menuitem_cleanUp" command="cmd_cleanUp" accesskey="&cmd.cleanUp.accesskey;"
112 label="&cmd.cleanUp.label;" tooltiptext="&cmd.cleanUp.tooltip;" class="menuitem-iconic" />
113-->
114 </menupopup>
115 </button>
116
117 </hbox>
118
119 <script><![CDATA[
120
121 if(typeof aios_init == "function") window.addEventListener("load", function(e) { aios_init(); }, false);
122
123 ]]></script>
124
125</overlay>
126\ No newline at end of file0\ No newline at end of file
1271
=== removed directory 'chrome/aios.jar!/content/pageinfo'
=== removed file 'chrome/aios.jar!/content/pageinfo/pageInfo.xul'
--- chrome/aios.jar!/content/pageinfo/pageInfo.xul 2008-11-14 11:44:00 +0000
+++ chrome/aios.jar!/content/pageinfo/pageInfo.xul 1970-01-01 00:00:00 +0000
@@ -1,53 +0,0 @@
1<?xml version="1.0"?>
2
3<!-- skin -->
4<?xml-stylesheet href="chrome://aios/skin/pageinfo.css"?>
5
6<!-- locale -->
7<!DOCTYPE overlay [
8 <!ENTITY % aiosDTD SYSTEM "chrome://aios/locale/lib.dtd"> %aiosDTD;
9]>
10
11<overlay id="pageInfoOverlay" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
12
13 <!-- scripts -->
14 <script type="application/x-javascript" src="chrome://aios/content/_common.js" />
15 <script type="application/x-javascript" src="chrome://aios/content/pageinfo/pageinfo.js" />
16
17
18 <window id="main-window" persist="screenX screenY width height sizemode seltab">
19
20 <popupset>
21 <popup id="tabs-context" onpopupshowing="aios_getTabs(this);" />
22 </popupset>
23
24 <hbox id="commandBar" position="1" hidden="true">
25
26 <toolbarbutton id="reload-button" class="toolbarbutton-1" type="menu-button"
27 oncommand="location.reload();"
28 label="&refresh.label;" tooltiptext="&refresh.tooltip;">
29
30 <menupopup>
31 <menuitem id="autoReload-mitem" type="checkbox" checked="true" autocheck="false" persist="checked"
32 label="&refresh.auto.label;" tooltiptext="&refresh.auto.tooltip;"
33 oncommand="aios_toggleElement(this); aios_onLocationChange(); event.stopPropagation();" />
34 </menupopup>
35
36 </toolbarbutton>
37
38 <toolbarseparator id="toolbar-sep" />
39
40 <toolbarbutton id="tab-back" oncommand="aios_goTab('back');" context="tabs-context" />
41
42 <toolbarbutton id="tab-forward" class="toolbarbutton-1" type="menu-button" context="tabs-context"
43 oncommand="aios_goTab('forward');">
44
45 <menupopup onpopupshowing="aios_getTabs(this);" />
46
47 </toolbarbutton>
48
49 </hbox>
50
51 </window>
52
53</overlay>
54\ No newline at end of file0\ No newline at end of file
551
=== removed file 'chrome/aios.jar!/content/pageinfo/pageInfo_fx3.xul'
--- chrome/aios.jar!/content/pageinfo/pageInfo_fx3.xul 2008-11-14 11:44:00 +0000
+++ chrome/aios.jar!/content/pageinfo/pageInfo_fx3.xul 1970-01-01 00:00:00 +0000
@@ -1,21 +0,0 @@
1<?xml version="1.0"?>
2
3<!-- skin -->
4<?xml-stylesheet href="chrome://aios/skin/pageinfo_fx3.css"?>
5
6<!-- locale -->
7<!DOCTYPE overlay [
8 <!ENTITY % aiosDTD SYSTEM "chrome://aios/locale/lib.dtd"> %aiosDTD;
9]>
10
11<overlay id="pageInfoOverlay" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
12
13 <!-- scripts -->
14 <script type="application/x-javascript" src="chrome://aios/content/_common.js" />
15 <script type="application/x-javascript" src="chrome://aios/content/pageinfo/pageinfo_fx3.js" />
16
17 <window id="main-window" persist="screenX screenY width height sizemode seltab" />
18
19 <radiogroup id="viewGroup" onclick="aios_persistSelTab();" />
20
21</overlay>
22\ No newline at end of file0\ No newline at end of file
231
=== removed file 'chrome/aios.jar!/content/pageinfo/pageinfo.js'
--- chrome/aios.jar!/content/pageinfo/pageinfo.js 2008-11-14 11:44:00 +0000
+++ chrome/aios.jar!/content/pageinfo/pageinfo.js 1970-01-01 00:00:00 +0000
@@ -1,176 +0,0 @@
1
2window.addEventListener("unload", aios_persistSelTab, false);
3
4// Listener für automatische Aktualisierung hinzufügen u. entfernen
5if(top.document.getElementById('sidebar-box')) {
6
7 window.addEventListener("load", function(e) {
8 top.gBrowser.addProgressListener(aiosProgListener, Components.interfaces.nsIWebProgress.NOTIFY_STATE_DOCUMENT);
9 }, false);
10
11 window.addEventListener("unload",function(e) {
12 top.gBrowser.removeProgressListener(aiosProgListener);
13 }, false);
14}
15
16
17// automatische Aktualisierung => Aufruf durch aiosProgListener (_common.js)
18function aios_onLocationChange() {
19 if(aios_getBoolean('autoReload-mitem', 'checked')) {
20 aios_persistSelTab();
21 location.reload();
22 }
23}
24
25
26function aios_onStateChange() {
27 aios_onLocationChange();
28}
29
30
31// letzten selektierten Tab merken
32function aios_persistSelTab() {
33 document.getElementById('main-window').setAttribute("seltab", document.getElementById('tabbox').selectedIndex);
34}
35
36
37// Tab vor und zurück blättern
38function aios_goTab(mode) {
39 var tabControl = document.getElementById("tabbox");
40 var tabCount = document.getElementById("tabs").childNodes.length;
41 var tab = tabControl.selectedIndex;
42
43 switch(mode) {
44 case "back": if(tab > 0) tabControl.selectedIndex = tab - 1; break;
45 case "forward": if(tab < tabCount) tabControl.selectedIndex = tab + 1; break;
46 }
47
48 tabControl.selectedTab.focus();
49}
50
51
52// Tabs als menuitems in ein popup packen
53function aios_getTabs(aPopup) {
54 if(aPopup.childNodes.length != 0) return false;
55
56 var tab, newItem;
57 var tabControl = document.getElementById("tabbox");
58 var tabCount = document.getElementById("tabs").childNodes.length;
59
60 for(var i = 0; i < tabCount; i++) {
61 tab = document.getElementById("tabs").childNodes[i];
62
63 newItem = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", "menuitem");
64 newItem.setAttribute('type', 'radio');
65 newItem.setAttribute('label', tab.getAttribute('label'));
66 newItem.setAttribute('oncommand', 'document.getElementById("tabbox").selectedIndex=' + i + '; event.stopPropagation();');
67
68 if(tabControl.selectedIndex == i) newItem.setAttribute('checked', true);
69
70 aPopup.appendChild(newItem);
71 }
72
73 return true;
74}
75
76
77function onLoadPageInfo() {
78 theBundle = document.getElementById("pageinfobundle");
79 gStrings.unknown = theBundle.getString("unknown");
80 gStrings.notSet = theBundle.getString("notset");
81 gStrings.emptyString = theBundle.getString("emptystring");
82 gStrings.noExpiration = theBundle.getString("generalNoExpiration");
83 gStrings.linkAnchor = theBundle.getString("linkAnchor");
84 gStrings.linkArea = theBundle.getString("linkArea");
85 gStrings.linkSubmit = theBundle.getString("linkSubmit");
86 gStrings.linkSubmission = theBundle.getString("linkSubmission");
87 gStrings.linkRel = theBundle.getString("linkRel");
88 gStrings.linkStylesheet = theBundle.getString("linkStylesheet");
89 gStrings.linkRev = theBundle.getString("linkRev");
90 gStrings.linkX = theBundle.getString("linkX");
91 gStrings.mediaImg = theBundle.getString("mediaImg");
92 gStrings.mediaBGImg = theBundle.getString("mediaBGImg");
93 gStrings.mediaApplet = theBundle.getString("mediaApplet");
94 gStrings.mediaObject = theBundle.getString("mediaObject");
95 gStrings.mediaEmbed = theBundle.getString("mediaEmbed");
96 gStrings.mediaLink = theBundle.getString("mediaLink");
97 gStrings.mediaInput = theBundle.getString("mediaInput");
98
99 var docTitle = "";
100
101 // mod by eXXile
102 if(top.document.getElementById('sidebar-box')){
103 var aios_sidebar = top.document.getElementById('sidebar-box');
104 var aios_window = document.getElementById('main-window');
105
106 theDocument = aios_WIN.content.document;
107 theWindow = aios_WIN.content.window;
108 docTitle = theBundle.getString("pageInfo.title");
109
110 aios_window.setAttribute('class', 'inSidebar');
111 document.getElementById('commandBar').hidden = false;
112 }
113 else {
114 // Original-FF-Teil
115 if("arguments" in window && window.arguments.length >= 1 && window.arguments[0] && window.arguments[0].doc) {
116 theWindow = null;
117 theDocument = window.arguments[0].doc;
118 docTitle = theBundle.getString("frameInfo.title");
119 }
120 else if(window.opener) {
121 if("gBrowser" in window.opener) theWindow = window.opener.gBrowser.contentWindow;
122 else theWindow = window.opener.frames[0];
123
124 theDocument = theWindow.document;
125 docTitle = theBundle.getString("pageInfo.title");
126 }
127 // ENDE - Original-FF-Teil
128
129 // Page Info im Tab => content des zuletzt aktiven Tabs => gespeichert durch aios_addTab(aUrl) in _common.js
130 else if(aios_WIN.aiosLastSelTab) {
131 theDocument = aios_WIN.aiosLastSelTab.document;
132 docTitle = theBundle.getString("pageInfo.title");
133 theWindow = aios_WIN.aiosLastSelTab.window;
134 }
135 }
136
137 if(!theDocument) return false;
138 // endmod by eXXile
139
140 document.title = docTitle;
141
142 document.getElementById("main-window").setAttribute("relatedUrl", theDocument.location.toString());
143
144 // do the easy stuff first
145 makeGeneralTab();
146
147 // and then the hard stuff
148 makeTabs(theDocument, theWindow);
149
150 /* Call registered overlay init functions */
151 for (x in onLoadRegistry)
152 {
153 onLoadRegistry[x]();
154 }
155
156 /* Select the requested tab, if the name is specified */
157 var tabControl = document.getElementById("tabbox");
158 if ("arguments" in window && window.arguments.length >= 1 && window.arguments[0] && window.arguments[0].initialTab) {
159 var tab = document.getElementById(window.arguments[0].initialTab);
160
161 if (tab) {
162 tabControl.selectedTab = tab;
163 }
164 }
165 // zuletzt aktiven Tab selektieren - mod by eXXile
166 else {
167 if(document.getElementById('main-window').getAttribute("seltab")) {
168 tabControl.selectedIndex = document.getElementById('main-window').getAttribute("seltab");
169 }
170 }
171 // endmod by eXXile
172
173 tabControl.selectedTab.focus();
174
175 return true // added by eXXile
176}
177\ No newline at end of file0\ No newline at end of file
1781
=== removed file 'chrome/aios.jar!/content/pageinfo/pageinfo_fx3.js'
--- chrome/aios.jar!/content/pageinfo/pageinfo_fx3.js 2008-11-14 11:44:00 +0000
+++ chrome/aios.jar!/content/pageinfo/pageinfo_fx3.js 1970-01-01 00:00:00 +0000
@@ -1,285 +0,0 @@
1
2window.addEventListener("load", aios_init, false);
3window.addEventListener("unload", aios_persistSelTab, false);
4
5
6var aios_inSidebar = (top.document.getElementById('sidebar-box')) ? true : false;
7var aios_inTab = (aios_WIN.aiosLastSelTab) ? true : false;
8
9// Listener für automatische Aktualisierung hinzufügen u. entfernen
10if(aios_inSidebar) {
11 window.addEventListener("load", function(e) {
12 top.gBrowser.addProgressListener(aiosProgListener, Components.interfaces.nsIWebProgress.NOTIFY_STATE_DOCUMENT);
13 }, false);
14
15 window.addEventListener("unload",function(e) {
16 top.gBrowser.removeProgressListener(aiosProgListener);
17 }, false);
18}
19
20
21function aios_init() {
22 try {
23 enable_layout = aios_gPrefBranch.getBoolPref("pi.layout");
24 enable_layoutall = aios_gPrefBranch.getBoolPref("pi.layoutall");
25 if((enable_layout && aios_inSidebar) || enable_layoutall) aios_sidebarLayout();
26 }
27 catch(e) { }
28
29 if(aios_platform == "Darwin") {
30 document.getElementById('viewGroup').setAttribute("showLabel", true);
31 }
32}
33
34
35function aios_sidebarLayout() {
36 document.getElementById('main-window').setAttribute('aiosLayout', true);
37
38 var radioChilds = document.getElementById('viewGroup').childNodes;
39 for(var i = 0; i < radioChilds.length; i++) {
40 if(radioChilds[i].tagName == "radio") radioChilds[i].setAttribute('tooltiptext', radioChilds[i].label);
41 }
42}
43
44
45// automatische Aktualisierung => Aufruf durch aiosProgListener (_common.js)
46function aios_onLocationChange() {
47 if(aios_inSidebar) {
48 aios_persistSelTab();
49 location.reload();
50 }
51}
52
53
54function aios_onStateChange() {
55 aios_onLocationChange();
56}
57
58
59// letzten selektierten Tab merken
60function aios_persistSelTab() {
61 document.getElementById('main-window').setAttribute("seltab", document.getElementById('viewGroup').selectedIndex);
62}
63
64
65
66
67/* Called when PageInfo window is loaded. Arguments are:
68 * window.arguments[0] - (optional) an object consisting of
69 * - doc: (optional) document to use for source. if not provided,
70 * the calling window's document will be used
71 * - initialTab: (optional) id of the inital tab to display
72 */
73function onLoadPageInfo()
74{
75 gBundle = document.getElementById("pageinfobundle");
76 gStrings.unknown = gBundle.getString("unknown");
77 gStrings.notSet = gBundle.getString("notset");
78 gStrings.mediaImg = gBundle.getString("mediaImg");
79 gStrings.mediaBGImg = gBundle.getString("mediaBGImg");
80 gStrings.mediaObject = gBundle.getString("mediaObject");
81 gStrings.mediaEmbed = gBundle.getString("mediaEmbed");
82 gStrings.mediaLink = gBundle.getString("mediaLink");
83 gStrings.mediaInput = gBundle.getString("mediaInput");
84
85 // mod by eXXile
86 if(aios_inSidebar){
87 var aios_sidebar = top.document.getElementById('sidebar-box');
88 var aios_window = document.getElementById('main-window');
89
90 gDocument = aios_WIN.content.document;
91 gWindow = aios_WIN.content.window;
92 }
93 // Original-FF-Teil
94 else {
95 if ("arguments" in window && window.arguments.length >= 1 && window.arguments[0] && window.arguments[0].doc) {
96 gDocument = window.arguments[0].doc;
97 gWindow = gDocument.defaultView;
98 }
99 else if(window.opener) { //mod by eXXile
100 if ("gBrowser" in window.opener)
101 gWindow = window.opener.gBrowser.contentWindow;
102 else
103 gWindow = window.opener.frames[0];
104
105 gDocument = gWindow.document;
106 }
107
108 // Page Info im Tab => content des zuletzt aktiven Tabs => gespeichert durch aios_addTab(aUrl) in _common.js
109 else if(aios_inTab) {
110 gDocument = aios_WIN.aiosLastSelTab.document;
111 gWindow = aios_WIN.aiosLastSelTab.window;
112 document.title = gBundle.getString("pageInfo.page.title");
113 }
114 }
115
116
117
118 // init media view
119 var imageTree = document.getElementById("imagetree");
120 imageTree.view = gImageView;
121
122 // build the content
123 loadPageInfo();
124
125 /* Select the requested tab, if the name is specified */
126 var initialTab = "general";
127 if ("arguments" in window && window.arguments.length >= 1 && window.arguments[0] && window.arguments[0].initialTab) {
128 initialTab = window.arguments[0].initialTab;
129 }
130 // zuletzt aktiven Tab selektieren - mod by eXXile
131 else {
132 if(document.getElementById('main-window').getAttribute("seltab")) {
133 var initialTabNo = document.getElementById('main-window').getAttribute("seltab");
134 var initialTabId = document.getElementById('viewGroup').childNodes[initialTabNo].id;
135 initialTab = initialTabId.substring(0, initialTabId.length - 3);
136
137 }
138 }
139 // endmod by eXXile
140
141 var radioGroup = document.getElementById("viewGroup");
142 initialTab = document.getElementById(initialTab + "Tab") || document.getElementById("generalTab");
143 radioGroup.selectedItem = initialTab;
144 radioGroup.selectedItem.doCommand();
145 window.setTimeout("eval(document.getElementById('viewGroup').selectedItem.getAttribute('oncommand'));", 50); // mod by eXXile
146 radioGroup.focus();
147}
148
149
150
151var security = {
152 // Display the server certificate (static)
153 viewCert : function () {
154 var cert = security._cert;
155 //viewCertHelper(window, cert);
156
157 // mod by eXXile
158 if(aios_inSidebar) viewCertHelper(aios_WIN.content.window, cert);
159 else if(aios_inTab) viewCertHelper(aios_WIN.aiosLastSelTab.window, cert);
160 else viewCertHelper(window, cert);
161 // endmod by eXXile
162 },
163
164 _getSecurityInfo : function() {
165 const nsIX509Cert = Components.interfaces.nsIX509Cert;
166 const nsIX509CertDB = Components.interfaces.nsIX509CertDB;
167 const nsX509CertDB = "@mozilla.org/security/x509certdb;1";
168 const nsISSLStatusProvider = Components.interfaces.nsISSLStatusProvider;
169 const nsISSLStatus = Components.interfaces.nsISSLStatus;
170
171 // We don't have separate info for a frame, return null until further notice
172 // (see bug 138479)
173 if (gWindow != gWindow.top)
174 return null;
175
176 var hName = null;
177 try {
178 hName = gWindow.location.host;
179 }
180 catch (exception) { }
181
182 var ui = security._getSecurityUI();
183 var status = null;
184 var sp = null;
185 var isBroken = false;
186 if (ui) {
187 isBroken = (ui.state == Components.interfaces.nsIWebProgressListener.STATE_IS_BROKEN);
188 sp = ui.QueryInterface(nsISSLStatusProvider);
189 if (sp)
190 status = sp.SSLStatus;
191 }
192 if (status) {
193 status = status.QueryInterface(nsISSLStatus);
194 }
195 if (status) {
196 var cert = status.serverCert;
197 var issuerName;
198
199 issuerName = this.mapIssuerOrganization(cert.issuerOrganization);
200 if (!issuerName) issuerName = cert.issuerName;
201
202 return {
203 hostName : hName,
204 cAName : issuerName,
205 encryptionAlgorithm : status.cipherName,
206 encryptionStrength : status.secretKeyLength,
207 isBroken : isBroken,
208 cert : cert,
209 fullLocation : gWindow.location
210 };
211 } else {
212 return {
213 hostName : hName,
214 cAName : "",
215 encryptionAlgorithm : "",
216 encryptionStrength : 0,
217 isBroken : isBroken,
218 cert : null,
219 fullLocation : gWindow.location
220 };
221 }
222 },
223
224 // Find the secureBrowserUI object (if present)
225 _getSecurityUI : function() {
226 // mod by eXXile
227 if(aios_inSidebar) {
228 if ("gBrowser" in top)
229 return top.gBrowser.securityUI;
230 }
231 else if(aios_inTab) {
232 return aios_WIN.gBrowser.securityUI;
233 }
234 // Original-FF-Teil
235 else {
236 if ("gBrowser" in window.opener)
237 return window.opener.gBrowser.securityUI;
238 return null;
239 }
240 },
241
242 // Interface for mapping a certificate issuer organization to
243 // the value to be displayed.
244 // Bug 82017 - this implementation should be moved to pipnss C++ code
245 mapIssuerOrganization: function(name) {
246 if (!name) return null;
247
248 if (name == "RSA Data Security, Inc.") return "Verisign, Inc.";
249
250 // No mapping required
251 return name;
252 },
253
254 /**
255 * Open the cookie manager window
256 */
257 viewCookies : function()
258 {
259 var wm = Components.classes["@mozilla.org/appshell/window-mediator;1"]
260 .getService(Components.interfaces.nsIWindowMediator);
261 var win = wm.getMostRecentWindow("Browser:Cookies");
262 if (win)
263 win.focus();
264 else
265 window.openDialog("chrome://browser/content/preferences/cookies.xul",
266 "Browser:Cookies", "");
267 },
268
269 /**
270 * Open the login manager window
271 */
272 viewPasswords : function()
273 {
274 var wm = Components.classes["@mozilla.org/appshell/window-mediator;1"]
275 .getService(Components.interfaces.nsIWindowMediator);
276 var win = wm.getMostRecentWindow("Toolkit:PasswordManager");
277 if (win)
278 win.focus();
279 else
280 window.openDialog("chrome://passwordmgr/content/passwordManager.xul",
281 "Toolkit:PasswordManager", "");
282 },
283
284 _cert : null
285};
286\ No newline at end of file0\ No newline at end of file
2871
=== removed file 'chrome/aios.jar!/content/pageinfo/security.xul'
--- chrome/aios.jar!/content/pageinfo/security.xul 2008-11-14 11:44:00 +0000
+++ chrome/aios.jar!/content/pageinfo/security.xul 1970-01-01 00:00:00 +0000
@@ -1,152 +0,0 @@
1<?xml version="1.0"?>
2
3<!-- This file extends "chrome://navigator/content/pageInfo.xul" -->
4
5<!DOCTYPE overlay SYSTEM "chrome://pippki/locale/PageInfoOverlay.dtd">
6
7<overlay id="aios_pipPageInfoOverlayID"
8 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
9
10 <!-- scripts -->
11 <script type="application/x-javascript" src="chrome://aios/content/_common.js" />
12
13 <script type="application/x-javascript">
14 <![CDATA[
15
16 var security = {
17 // Display the server certificate (static)
18 viewCert : function () {
19 var cert = security._cert;
20
21
22 // mod by eXXile
23 if(top.document.getElementById('sidebar-box')) viewCertHelper(aios_WIN.content.window, cert);
24 else viewCertHelper(window, cert);
25
26 if(aios_WIN.aiosLastSelTab) viewCertHelper(aios_WIN.aiosLastSelTab.window, cert);
27 // endmod by eXXile
28
29
30 },
31
32 _getSecurityInfo : function() {
33 const nsIX509Cert = Components.interfaces.nsIX509Cert;
34 const nsIX509CertDB = Components.interfaces.nsIX509CertDB;
35 const nsX509CertDB = "@mozilla.org/security/x509certdb;1";
36 const nsISSLStatusProvider = Components.interfaces.nsISSLStatusProvider;
37 const nsISSLStatus = Components.interfaces.nsISSLStatus;
38
39 // Get the window for this information
40 var w;
41
42
43 // mod by eXXile
44 if(top.document.getElementById('sidebar-box')){
45 w = aios_WIN.content.window;
46 }
47 else if(aios_WIN.aiosLastSelTab) {
48 w = aios_WIN.aiosLastSelTab.window;
49 }
50 else {
51 if ("arguments" in window && window.arguments.length > 0 &&
52 window.arguments[0] && window.arguments[0].doc)
53 {
54 // w = window.arguments[0].doc;
55 // We don't have separate info for a frame, return null until further notice
56 // (see bug 138479)
57 return null;
58 }
59 else if ("gBrowser" in window.opener)
60 w = window.opener.gBrowser.contentWindow;
61 else
62 w = window.opener.frames[0];
63 }
64 // endmod by eXXile
65
66
67 var hName = null;
68 try
69 {
70 hName = w.location.host;
71 } catch(exception){}
72
73 var ui = security._getSecurityUI();
74 var status = null;
75 var sp = null;
76 var isBroken = false;
77 if (ui) {
78 isBroken = (ui.state == Components.interfaces.nsIWebProgressListener.STATE_IS_BROKEN);
79 sp = ui.QueryInterface(nsISSLStatusProvider);
80 if (sp)
81 status = sp.SSLStatus;
82 }
83 if (status) {
84 status = status.QueryInterface(nsISSLStatus);
85 }
86 if (status) {
87 var cert = status.serverCert;
88 var issuerName;
89
90 issuerName = this.mapIssuerOrganization(cert.issuerOrganization);
91 if (!issuerName) issuerName = cert.issuerName;
92
93 return {
94 hostName : hName,
95 cAName : issuerName,
96 encryptionAlgorithm : status.cipherName,
97 encryptionStrength : status.secretKeyLength,
98 isBroken : isBroken,
99 cert : cert
100 };
101 } else {
102 return {
103 hostName : hName,
104 cAName : "",
105 encryptionAlgorithm : "",
106 encryptionStrength : 0,
107 isBroken : isBroken,
108 cert : null
109 };
110 }
111 },
112
113 // Find the secureBrowserUI object (if present)
114 _getSecurityUI : function() {
115
116
117 // mod by eXXile
118 if(top.document.getElementById('sidebar-box')){
119 if ("gBrowser" in top)
120 return top.gBrowser.securityUI;
121 }
122 else if(aios_WIN.aiosLastSelTab) {
123 return aios_WIN.gBrowser.securityUI;
124 }
125 else {
126 if ("gBrowser" in window.opener)
127 return window.opener.gBrowser.securityUI;
128 }
129 // endmod by eXXile
130
131
132 return null;
133 },
134
135 // Interface for mapping a certificate issuer organization to
136 // the value to be displayed.
137 // Bug 82017 - this implementation should be moved to pipnss C++ code
138 mapIssuerOrganization: function(name) {
139 if (!name) return null;
140
141 if (name == "RSA Data Security, Inc.") return "Verisign, Inc.";
142
143 // No mapping required
144 return name;
145 },
146
147 _cert : null
148 };
149
150 ]]>
151 </script>
152</overlay>
153\ No newline at end of file0\ No newline at end of file
1541
=== removed directory 'chrome/aios.jar!/content/tbx'
=== removed file 'chrome/aios.jar!/content/tbx/tbx.css'
--- chrome/aios.jar!/content/tbx/tbx.css 2008-11-14 11:44:00 +0000
+++ chrome/aios.jar!/content/tbx/tbx.css 1970-01-01 00:00:00 +0000
@@ -1,50 +0,0 @@
1
2toolbox[palette] {
3 -moz-binding: url(chrome://aios/content/tbx/tbx.xml#customisable-toolbox);
4}
5toolbox[palette] > toolbar {
6 -moz-binding: url(chrome://aios/content/tbx/tbx.xml#toolbar);
7}
8
9/* uses a vbox as a wrapper rather than an hbox. needed for separators */
10toolbox[vertical="true"] > toolbar > toolbarpaletteitem[place="toolbar"] {
11 -moz-binding: url(chrome://aios/content/tbx/tbx.xml#toolbarpaletteitem-vertical);
12}
13
14/*
15 Toolbar-Grippies-Fix
16
17toolbox[vertical="true"] > toolbar {
18 -moz-box-flex: 1;
19}*/
20
21/*
22 binding to add a toolbar to the start and end of the tab strip
23 alternativ kann man die Toolbox auch auf der Tabbar anstatt daneben 'anbinden'
24 => Nachteil: bei mehrzeiligen Tabbars 'wandert' der Close-Button mit und bleibt nicht rechts
25 => nötige Änderungen: 1: unten an 'tabs > hbox' binden
26 2: in 'skin/tbx.css' Formatierungen für Toolbox entfernen
27 3: in 'tbx.xml' spacer für rechte Toolbox entkommentieren
28*/
29/* tabs > hbox */
30#appcontent .tabbrowser-strip {
31 -moz-binding: url(chrome://aios/content/tbx/tbx.xml#tab-toolbars) !important;
32 -moz-box-orient: horizontal !important;
33 height: auto !important; /* Flock-Fix */
34}
35/*
36tabs > hbox spacer:not([id="aiostbx-spacer"]) {
37 display: none;
38}
39
40tabbox {
41 -moz-binding: url(chrome://aios/content/tbx/tbx.xml#tabbrowser-tabbox);
42}*/
43
44/* Sidebar unter die Tableiste verschieben - sehr experimentell */
45#aioBrowser {
46 direction: rtl;
47}
48#aioBrowser > * {
49 direction: ltr;
50}
51\ No newline at end of file0\ No newline at end of file
521
=== removed file 'chrome/aios.jar!/content/tbx/tbx.js'
--- chrome/aios.jar!/content/tbx/tbx.js 2008-11-14 11:44:00 +0000
+++ chrome/aios.jar!/content/tbx/tbx.js 1970-01-01 00:00:00 +0000
@@ -1,409 +0,0 @@
1
2var aiosOS = Components.classes['@mozilla.org/xre/app-info;1'].getService(Components.interfaces.nsIXULRuntime).OS;
3
4// Sidebarheader eine ID zuweisen, Schließen-Button entfernen
5var sidebarheader = document.getElementById('sidebar-throbber').parentNode;
6sidebarheader.setAttribute('id', 'sidebarheader');
7sidebarheader.removeChild(sidebarheader.lastChild);
8var gPref = Components.classes["@mozilla.org/preferences-service;1"].getService(Components.interfaces.nsIPrefBranch);
9
10
11function aiostbx_init() {
12 // Maximalbreite der vertikalen Toolboxen einstellen
13 window.setTimeout('aiostbx_adjustToolboxWidth(true)', 50);
14
15 //window.setTimeout('aiostbx_checkGoogleToolbar()', 200);
16
17 // BrowserFullScreen erweitern (Toolboxen sichtbar/unsichtbar machen)
18 //if(aiosOS != "Darwin") {
19 var fx_BrowserFullScreen = BrowserFullScreen;
20 BrowserFullScreen = function BrowserFullScreen() {
21 fx_BrowserFullScreen();
22 aiostbx_BrowserFullScreen();
23 }
24 //}
25
26 // Ueberwachung der Toolbars auf der Tabbar und der Statusbar
27 aiostbx_checkSpecialToolbars();
28
29 // Sidebar unter die Tableiste verschieben
30 //aiostbx_setSidebarUnderTabs();
31
32 // Label der Toolbareinstellungen tauschen, wenn der Browser im RTL-Modus ist (Sidebar rechts)
33 var str_left = document.getElementById("aiostbx-left").getAttribute('label');
34 var str_sidebarleft = document.getElementById("aiostbx-sidebarleft").getAttribute('label');
35 var str_right = document.getElementById("aiostbx-right").getAttribute('label');
36
37 try {
38 var wStyle = document.defaultView.getComputedStyle(document.getElementById("browser"), '');
39 if(wStyle.direction == "rtl") {
40 document.getElementById("aiostbx-left").setAttribute('label', str_right);
41 document.getElementById("aiostbx-sidebarright").setAttribute('label', str_sidebarleft);
42 document.getElementById("aiostbx-right").setAttribute('label', str_left);
43 }
44 }
45 catch(e) { }
46
47 // dem Kontextmenü der Toolbars die Einstellungsmöglichkiten hinzufügen
48 aiostbx_getCustomizeMenu();
49
50 // Bookmark-Buttons-Bugfix für rechte Statusleisten-Toolbar => Button hinzufügen
51 //window.setTimeout("aiostbx_bmBugFix(true);", 1000);
52 //aiostbx_bmBugFix(true);
53}
54
55
56function aiostbx_checkGoogleToolbar() {
57 //alert(GTB_GoogleToolbar.prototype._addButton);
58}
59
60
61/*
62 Ueberwachung der Toolbars auf der Tabbar und der Statusbar
63 => Aufruf durch aiostbx_init() und durch aios_savePrefs() in prefs.js
64*/
65function aiostbx_checkSpecialToolbars() {
66 try {
67 var enable_tabbar = gPref.getBoolPref('extensions.aios.tbx.tabbar');
68 var enable_statusbar = gPref.getBoolPref('extensions.aios.tbx.statusbar');
69
70 document.getElementById('aiostbx-tableft-toolbox').setAttribute('hidden', !enable_tabbar);
71 document.getElementById('aiostbx-tabright-toolbox').setAttribute('hidden', !enable_tabbar);
72
73 document.getElementById('aiostbx-toolbox-statusbar-left').setAttribute('hidden', !enable_statusbar);
74 document.getElementById('aiostbx-toolbox-statusbar-right').setAttribute('hidden', !enable_statusbar);
75 }
76 catch(e) { }
77}
78
79
80/*
81 Kontextmenü der Toolbars erstellen
82 => nötig weil sonst wie beim Sidebars-Button das Menü beim 2. Aufruf nicht funktionieren würde (fehlendes hide-Event)
83 => Aufruf durch aiostbx_init() und oncommand der Kontextmenüs
84*/
85function aiostbx_getCustomizeMenu() {
86 var contextMenuID = "aiostbx-toolbar-context-menu";
87 var contextMenuSepID = "aiostbx-toolbar-context-menu-sep";
88
89 // altes Menü entfernen
90 if(document.getElementById(contextMenuID))
91 document.getElementById(contextMenuID).parentNode.removeChild(document.getElementById(contextMenuID));
92
93 // alten Separator entfernen
94 if(document.getElementById(contextMenuSepID))
95 document.getElementById(contextMenuSepID).parentNode.removeChild(document.getElementById(contextMenuSepID));
96
97 // neues Menü einfügen
98 var tmp_customiseMenu = document.getElementById('aiostbx-toolbar-context-tmpMenu');
99 var customiseMenu = tmp_customiseMenu.cloneNode(true);
100 customiseMenu.setAttribute('hidden', false);
101 customiseMenu.setAttribute('id', contextMenuID);
102
103 // Menüeinträge aus dem Konfigurations-Kontextmenü einfügen
104 var customiseContext = document.getElementById('toolbar-customise-context-menu');
105 var newItem;
106
107 for(var j = 0; j < customiseContext.childNodes.length; j++) {
108 newItem = customiseContext.childNodes[j].cloneNode(true);
109 customiseMenu.firstChild.appendChild(newItem);
110 }
111
112 tmp_customiseMenu.parentNode.appendChild(customiseMenu);
113
114 var newSep = document.createElement("menuseparator");
115 newSep.setAttribute('id', contextMenuSepID);
116 tmp_customiseMenu.parentNode.insertBefore(newSep, customiseMenu);
117
118 document.getElementById('toolbar-context-menu').hidePopup();
119}
120
121
122/*
123 blendet Toolboxen bei Fullscreen ein oder aus
124 => benötigt, weil
125 => 1. die Breite der vertikalen Boxen eingestellt wurde und so die Boxen nicht automatisch unsichtbar werden
126 => 2. die Boxen per Binding-Einbindung (auf und unter der Tableiste) nicht ein-/ausgeblendet werden
127 => erweitert die FF-Funktion BrowserFullScreen()
128 => Aufruf bzw. Erweiterung durch aiostbx_init()
129*/
130function aiostbx_BrowserFullScreen() {
131
132 var toolboxes = [];
133
134 // vertikale Toolboxen in Array überführen
135 var vToolboxes = document.getElementsByAttribute('vertical', 'true');
136 for(var i = 0; i < vToolboxes.length; i++) {
137 if(vToolboxes[i].tagName == "toolbox") toolboxes.push(vToolboxes[i]);
138 }
139
140 // Extra-Toolboxen dazupacken, die je nach Fullscreen-Modus ein- oder ausgeschaltet werden sollen
141 for(var j = 0; j < aiostbx_bindingBoxes.length; j++) {
142 if(document.getElementById(aiostbx_bindingBoxes[j]))
143 toolboxes.push(document.getElementById(aiostbx_bindingBoxes[j]));
144 }
145
146 // Toolboxen durchlaufen
147 for(i = 0; i < toolboxes.length; i++) {
148 var boxChilds = toolboxes[i].childNodes;
149 var fsChilds = 0;
150
151 // Child-Elemente durchlaufen (Toolbars)
152 for(j = 0; j < boxChilds.length; j++) {
153 if(boxChilds[j].getAttribute("fullscreentoolbar") == "true") fsChilds++;
154 else {
155 // Toolbars unterhalb der Tableiste je nach Einstellung ein- bzw. ausblenden
156 // geht nicht durch FF ???
157 if(toolboxes[i].getAttribute('id') == "aiostbx-belowtabs-toolbox")
158 boxChilds[j].setAttribute('collapsed', window.fullScreen);
159 }
160 }
161
162 // wenn alle Childs der Toolbar im Fullscreen-Modus unsichtbar sind, mache auch die Box unsichtbar
163 if(toolboxes[i].getAttribute('id') != "aios-toggle-toolbox") {
164 if(window.fullScreen) toolboxes[i].setAttribute('hidden', !(fsChilds > 0));
165 else toolboxes[i].setAttribute('hidden', false);
166 }
167
168 }
169}
170
171
172// onshowing + oncommand handlers for the context menu for toolbars while customising
173// by Stephen Clavering with mods by eXXile
174function aiostbx_initCustomiseContext(evt, popup) {
175
176 var toolbar = document.popupNode;
177 while(toolbar.localName != "toolbar") toolbar = toolbar.parentNode;
178 var toolbox = toolbar.parentNode;
179 var isPlainToolbox = toolbox.getAttribute('class').indexOf('aiostbx-toolbox-plain') >= 0;
180 var isDefaultToolbar = toolbar.getAttribute('defaultset') != "";
181 var isAIOSToolbar = toolbar.getAttribute('id') == "aios-toolbar";
182 var isCustomizableToolbar = toolbar.getAttribute('customizable') == "true";
183 var isStatusbarToolbar = toolbar.parentNode.parentNode.localName == "statusbar";
184 var isAutoHideEnabled = typeof autoHIDE == "object";
185 var child;
186
187 // Einstellungen
188 var mode = toolbar.getAttribute("mode");
189 var small = toolbar.getAttribute("iconsize") == "small";
190 var flexbuttons = toolbar.getAttribute("flexbuttons") == "true";
191 var fullscreentoolbar = toolbar.getAttribute("fullscreentoolbar") == "true";
192 var position = toolbox.getAttribute("id");
193
194 for(var i = 0; i < popup.childNodes.length; i++) {
195 child = popup.childNodes[i];
196
197 // M O D E
198 if(child.getAttribute('name') == "mode") {
199 child.setAttribute('checked', child.getAttribute('value') == mode);
200
201 // keinen "Icon + Text"-Modus in der Tabbar und der Statusleiste
202 child.hidden = child.value == "full" && isPlainToolbox;
203 }
204
205 // S M A L L I C O N S
206 if(child.getAttribute('value') == "smallicons") {
207 child.setAttribute('checked', small);
208 child.setAttribute('disabled', mode == "text");
209 }
210
211 // F L E X I B L E B U T T O N S
212 if(child.getAttribute('value') == "flexbuttons") {
213 child.setAttribute('checked', flexbuttons);
214
215 // keine flexiblen Buttons in der Tabbar und der Statusleiste
216 child.hidden = isPlainToolbox;
217 popup.childNodes[i-1].hidden = isPlainToolbox;
218 }
219
220 // F U L L S C R E E N
221 if(child.getAttribute('value') == "fullscreentoolbar") {
222 child.setAttribute('checked', fullscreentoolbar);
223
224 // Fullscreen-Option für AIOS-Toolbar entfernen
225 // => sonst kann die Toolbar z.B. mit dem Switch nicht wieder sichtbar gemacht werden
226 // Fullscreen-Option für Statusbar-Toolbars entfernen, wenn "autohide" nicht installiert/aktiviert ist
227 child.hidden = isAIOSToolbar || (isStatusbarToolbar && !isAutoHideEnabled);
228 popup.childNodes[i-1].hidden = isAIOSToolbar || (isStatusbarToolbar && !isAutoHideEnabled);
229 }
230
231 // P O S I T I O N
232 if(child.getAttribute('name') == "position") {
233 child.setAttribute('checked', child.getAttribute('value') == position);
234
235 // nicht verschiebbar in der Tabbar, der Statusleiste, Standard-Toolbars oder unkonfigurierbare Toolbars
236 child.hidden = isPlainToolbox || isDefaultToolbar || !isCustomizableToolbar;
237 // Separator ausblenden
238 if(child.id == "position1") popup.childNodes[i-1].hidden = isPlainToolbox || isDefaultToolbar || !isCustomizableToolbar;
239 }
240
241 // Toolbar-Enhancement-Fix
242 // => alle Elemente ausblenden, die nicht von AIOS in dieses Menü eingefügt wurden
243 // => verhindert doppelte Einträge
244 if(child.getAttribute('aios') != "true" && child.getAttribute('id').indexOf('aiostbx') < 0 && child.getAttribute('value').indexOf('aiostbx') < 0) {
245 child.setAttribute('hidden', true);
246 }
247 }
248}
249
250
251// Toolbar-Eigenschaften ändern (Position, Modus, Icongröße, ...)
252// by Stephen Clavering with mods by eXXile
253function aiostbx_setToolbarMode(evt, aPopup) {
254 var toolbar = document.popupNode;
255 while(toolbar.localName!="toolbar") toolbar = toolbar.parentNode;
256
257 var value = evt.originalTarget.value;
258 var group = evt.originalTarget.getAttribute("name"); // radio group
259
260 if(value == "smallicons") {
261 var small = evt.originalTarget.getAttribute("checked") == "true";
262 var size = small ? "small" : "large";
263 toolbar.parentNode.setToolbarIconSize(toolbar, size);
264 }
265 else if(value == "fullscreentoolbar") {
266 var showInFullScreen = evt.originalTarget.getAttribute("checked") == "true";
267 toolbar.parentNode.showToolbarInFullscreen(toolbar, showInFullScreen);
268 }
269 // mod by eXXile
270 else if(value == "flexbuttons") {
271 var flexbuttons = evt.originalTarget.getAttribute("checked") == "true";
272 toolbar.parentNode.setToolbarFlexButtons(toolbar, flexbuttons);
273 }
274 // endmod
275 else if(group == "mode") {
276 toolbar.parentNode.setToolbarMode(toolbar, value);
277 }
278 else if(group == "position") {
279 // We could just remove the <toolbar/> from its current location and append to the
280 // desired toolbox, but that would mean we wouldn't respect the rule that custom
281 // toolbars appear wherever the <toolbarset/> is. Also it caused an interesting
282 // bug where all the items on the toolbar would be duplicated sometimes after the
283 // toolbar was moved. Finally, we can't just get the currentSet of the existing
284 // toolbar and pass it to appendCustomToolbar because currentSet always returns
285 // "__empty" during customisation, because all the items are wrapped in extra elements.
286 var items = [];
287 while(toolbar.hasChildNodes()) items.push(toolbar.removeChild(toolbar.lastChild));
288 toolbar.parentNode.removeChild(toolbar);
289
290 var newToolbox = document.getElementById(value);
291 var newToolbar = newToolbox.appendCustomToolbar(toolbar.toolbarName, "__empty", true);
292 while(items.length) newToolbar.appendChild(items.pop());
293 }
294
295 // Breiten der vert. Toolboxen löschen (Anpassung der Größe), um sie kurze Zeit später wieder festzusetzen
296 aiostbx_adjustToolboxWidth(aPopup);
297}
298
299
300if(aiosOS != "Darwin") {
301
302 // replacement start-customisation function that passes all our toolboxes as args to the window
303 // by Stephen Clavering with mods by eXXile
304 BrowserCustomizeToolbar = function() {
305 // Disable the toolbar context menu items
306 var menubar = document.getElementById("main-menubar");
307 for(var i = 0; i < menubar.childNodes.length; ++i)
308 menubar.childNodes[i].setAttribute("disabled", true);
309
310 document.getElementById("cmd_CustomizeToolbars").setAttribute("disabled", "true");
311
312 if(!aiostbx_toolboxes) aiostbx_getToolboxes();
313
314 openDialog("chrome://global/content/customizeToolbar.xul", "CustomizeToolbar",
315 "chrome,all,dependent", aiostbx_navToolbox, aiostbx_toolboxes);
316 }
317
318}
319
320
321 // override to make it look at all 4 toolboxes
322 // by Stephen Clavering with mods by eXXile
323 // erzeugt das Menü für Ansicht => Toolbars (Tabbar & Statusbar auslassen
324 // Aufruf durch onpopupshowing() des Toolbar-Kontextmenüs (browser.xul)
325 onViewToolbarsPopupShowing = function (aEvent) {
326
327 var popup = aEvent.target;
328 var i;
329
330 // keine Toolbars im "Toolbar Properties"-Menü anzeigen
331 if(popup.parentNode.id == "aiostbx-toolbar-context-menu") return;
332
333 // Empty the menu
334 for(i = popup.childNodes.length-1; i >= 0; --i) {
335 var deadItem = popup.childNodes[i];
336 if(deadItem.hasAttribute("toolbarid"))
337 popup.removeChild(deadItem);
338 }
339
340 var firstMenuItem = popup.firstChild;
341
342 var toolboxIds = [];
343 var toolboxes = document.getElementsByTagName('toolbox');
344 for(var z = 0; z < toolboxes.length; z++) {
345 toolboxIds.push(toolboxes[z].getAttribute('id'));
346 }
347
348 toolboxIds.push("aiostbx-belowtabs-toolbox");
349
350 for(var j = 0; j < toolboxIds.length; j++) {
351 var toolbox = document.getElementById(toolboxIds[j]);
352
353 if(toolbox) {
354 for (i = 0; i < toolbox.childNodes.length; ++i) {
355 var toolbar = toolbox.childNodes[i];
356 var toolbarName = toolbar.getAttribute("toolbarname");
357
358 var type = toolbar.getAttribute("type");
359 // inkl. Fix für PersonalMenu (CompactMenu)
360 // => ansonsten kann die Menüleiste nicht über das Kontextmenü deaktiviert werden
361 if(toolbarName && (type != "menubar" || typeof CompactMenuCE == "object")) {
362 var menuItem = document.createElement("menuitem");
363 menuItem.setAttribute("toolbarid", toolbar.id);
364 menuItem.setAttribute("type", "checkbox");
365 menuItem.setAttribute("label", toolbarName);
366 menuItem.setAttribute("accesskey", toolbar.getAttribute("accesskey"));
367 // Fix für z.B. Google-Toolbar
368 menuItem.setAttribute("checked", toolbar.getAttribute("collapsed") != "true" && toolbar.getAttribute("hidden") != "true");
369 popup.insertBefore(menuItem, firstMenuItem);
370
371 menuItem.addEventListener("command", onViewToolbarCommand, false);
372 }
373 toolbar = toolbar.nextSibling;
374 }
375 }
376 }
377
378 return;
379 }
380
381
382 // rewritten to be based on toolbar ids rather than the toolbarindex
383 // (which was a stupid thing to use anyway :p )
384 // by Stephen Clavering with mods by eXXile
385 onViewToolbarCommand = function (aEvent) {
386 var toolbar;
387
388 if(typeof aEvent == "object") {
389 var id = aEvent.originalTarget.getAttribute("toolbarid");
390 toolbar = document.getElementById(id);
391
392 var hide = aEvent.originalTarget.getAttribute("checked") != "true";
393 toolbar.parentNode.hideToolbar(toolbar,hide);
394
395 // gewünschten AIOS-Toolbar-Zustand im broadcaster in aios.xul speichern
396 if(id == "aios-toolbar" && document.getElementById('aios-viewToolbar'))
397 document.getElementById('aios-viewToolbar').setAttribute('checked', !hide);
398
399 // Fix für Google-Toolbar (gewünschten Zustand speichern)
400 if(id == "gtbToolbar" && document.getElementById('aios-viewToolbar')) {
401 document.getElementById('aios-viewToolbar').setAttribute('gtbToolbar', !hide);
402 document.persist('aios-viewToolbar', 'gtbToolbar');
403 }
404 }
405 else {
406 toolbar = document.getElementById('aios-toolbar');
407 if(toolbar.parentNode.hideToolbar) toolbar.parentNode.hideToolbar(toolbar, aEvent);
408 }
409 }
410\ No newline at end of file0\ No newline at end of file
4111
=== removed file 'chrome/aios.jar!/content/tbx/tbx.xml'
--- chrome/aios.jar!/content/tbx/tbx.xml 2008-11-14 11:44:00 +0000
+++ chrome/aios.jar!/content/tbx/tbx.xml 1970-01-01 00:00:00 +0000
@@ -1,585 +0,0 @@
1<?xml version="1.0"?>
2
3<bindings id="aiostbx-bindings"
4 xmlns="http://www.mozilla.org/xbl"
5 xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
6 xmlns:xbl="http://www.mozilla.org/xbl">
7
8 <binding id="toolbar" extends="chrome://global/content/bindings/toolbar.xml#toolbar-base">
9 <implementation>
10 <field name="firstPermanentChild">null</field>
11 <field name="lastPermanentChild">null</field>
12
13 <property name="toolbarName"
14 onget="return this.getAttribute('toolbarname');"
15 onset="this.setAttribute('toolbarname', val); return val;"/>
16
17 <property name="currentSet">
18 <getter>
19 <![CDATA[
20 var node = this.firstChild;
21 var currentSet = "";
22 while (node) {
23 if (node.id &&
24 node.localName == "toolbaritem" ||
25 node.localName == "toolbarbutton" ||
26 node.localName == "toolbarseparator" ||
27 node.localName == "toolbarspring" ||
28 node.localName == "toolbarspacer")
29 {
30 if (currentSet)
31 currentSet += ",";
32
33 if (node.localName == "toolbarseparator")
34 currentSet += "separator";
35 else if (node.localName == "toolbarspring")
36 currentSet += "spring";
37 else if (node.localName == "toolbarspacer")
38 currentSet += "spacer";
39 else
40 currentSet += node.id;
41 }
42 node = node.nextSibling;
43 }
44
45 return currentSet ? currentSet : "__empty";
46 ]]>
47 </getter>
48
49 <setter>
50 <![CDATA[
51 // Remove all items before the first permanent child and after the last permanent child.
52 while (this.lastChild) {
53 if (this.lastChild == this.lastPermanentChild ||
54 (this.lastChild.localName == "toolbarpaletteitem" &&
55 this.lastChild.firstChild == this.lastPermanentChild))
56 break;
57 this.removeChild(this.lastChild);
58 }
59
60 while (this.firstChild) {
61 if (this.firstChild == this.firstPermanentChild ||
62 (this.firstChild.localName == "toolbarpaletteitem" &&
63 this.firstChild.firstChild == this.firstPermanentChild))
64 break;
65 this.removeChild(this.firstChild);
66 }
67
68 var firstChildID = this.firstPermanentChild ? this.firstPermanentChild.id : "";
69 var lastChildID = this.lastPermanentChild ? this.lastPermanentChild.id : "";
70
71 if (val == "__empty")
72 return;
73
74 if (val) {
75 var itemIds = val.split(",");
76 var before = true;
77 for (var i = 0; i < itemIds.length; i++) {
78 if (itemIds[i] == firstChildID || itemIds[i] == lastChildID)
79 before = false;
80 else
81 this.insertItem(itemIds[i], null, null, before);
82 }
83 }
84 ]]>
85 </setter>
86 </property>
87
88
89 <method name="insertItem">
90 <parameter name="aId"/>
91 <parameter name="aBeforeElt"/>
92 <parameter name="aWrapper"/>
93 <parameter name="aBeforePermanent"/>
94 <body>
95 <![CDATA[
96 var newItem = null;
97
98 // Create special cases of palette items.
99 var uniqueId;
100 if (aId == "separator") {
101 newItem = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul",
102 "toolbarseparator");
103 uniqueId = (new Date()).getTime()+this.childNodes.length;
104 newItem.id = "separator" + uniqueId;
105 } else if (aId == "spring") {
106 newItem = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul",
107 "toolbarspring");
108 uniqueId = (new Date()).getTime()+this.childNodes.length;
109 newItem.flex = 1;
110 newItem.id = "spring" + uniqueId;
111 } else if (aId == "spacer") {
112 newItem = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul",
113 "toolbarspacer");
114 uniqueId = (new Date()).getTime()+this.childNodes.length;
115 newItem.id = "spacer" + uniqueId;
116 } else {
117 // Attempt to locate an item with a matching id within palette.
118 if(this.parentNode.palette) var paletteItem = this.parentNode.palette.firstChild;
119 while (paletteItem) {
120 var paletteId = paletteItem.id;
121 if (paletteId == aId) {
122 newItem = paletteItem.cloneNode(true);
123 break;
124 }
125 paletteItem = paletteItem.nextSibling;
126 }
127 }
128
129 if (!newItem)
130 return false;
131
132 var insertItem = newItem;
133
134 // Wrap the item in another node if so inclined.
135 if (aWrapper) {
136 aWrapper.appendChild(newItem);
137 insertItem = aWrapper;
138 }
139
140 // Insert the palette item into the toolbar.
141 if (aBeforeElt)
142 this.insertBefore(insertItem, aBeforeElt);
143 else if (aBeforePermanent && this.firstPermanentChild)
144 this.insertBefore(insertItem, this.firstPermanentChild);
145 else
146 this.appendChild(insertItem);
147
148 return newItem;
149 ]]>
150 </body>
151 </method>
152
153 <constructor>
154 <![CDATA[
155 this.firstPermanentChild = this.firstChild;
156 this.lastPermanentChild = this.lastChild;
157
158 // Build up our contents from the palette
159 var currentSet = this.getAttribute("currentset");
160 if(!currentSet && this.getAttribute("anonymous")=="true") {
161 // for the tab-strip toolbars, which are in XBL, so can't have their
162 // attributes persisted. use an attr on the document instead
163 var attr = "_toolbar_currentset_"+this.getAttribute('anonid');
164 currentSet = document.documentElement.getAttribute(attr);
165 }
166 if(!currentSet) currentSet = this.getAttribute("defaultset");
167 if(currentSet) this.currentSet = currentSet;
168 ]]>
169 </constructor>
170 </implementation>
171 </binding>
172
173
174 <binding id="customisable-toolbox" extends="chrome://global/content/bindings/toolbar.xml#toolbar-base">
175 <implementation>
176 <field name="anonymous">false</field>
177
178 <field name="palette">null</field>
179
180 <field name="toolbarset">null</field>
181
182 <field name="customToolbarCount">0</field>
183
184 <constructor>
185 <![CDATA[
186 // is this toolbox anonymous (in a xbl binding)
187 // (if so it can't have attrs persisted on it, so state
188 // will be stored in attrs of the documentElement)
189 if(this.getAttribute('anonymous')=='true') this.anonymous = true;
190
191 // initialise palette. we leave it in a hash on the document
192 // for other toolboxes to use too.
193 var paletteId = this.getAttribute("palette");
194 if(!("toolbarpalettes" in document))
195 document.toolbarpalettes = new Array();
196 if(paletteId in document.toolbarpalettes) {
197 this.palette = document.toolbarpalettes[paletteId];
198 } else if(document.getElementById(paletteId)) {
199 var palette = document.getElementById(paletteId);
200 palette.parentNode.removeChild(palette);
201 document.toolbarpalettes[paletteId] = palette;
202 this.palette = palette;
203 }
204
205 // Look to see if there is a toolbarset.
206 var toolbarset = this.firstChild;
207 while (toolbarset && toolbarset.localName != "toolbarset")
208 toolbarset = toolbarset.nextSibling;
209 this.toolbarset = toolbarset;
210
211 var elt, attr;
212
213 if(toolbarset) {
214 // attr indicated that the toolbox below the tab bar is in xbl, so can't
215 // have attrs persisted. they're persisted on the document instead.
216 elt = this.anonymous ? document.documentElement : toolbarset;
217 attr = this.anonymous ? '_toolbarset_' + toolbarset.getAttribute('anonid') + '_toolbar' : 'toolbar';
218
219 var index = 0;
220 while(elt.hasAttribute(attr+(++index))) {
221 var toolbarInfo = elt.getAttribute(attr+index);
222 var infoSplit = toolbarInfo.split(":");
223 this.appendCustomToolbar(infoSplit[0], infoSplit[1], false);
224 }
225 }
226
227 // restore toolbar modes, collapsed-ness, and icon size
228 elt = document.documentElement;
229 for(var node = this.firstChild; node; node = node.nextSibling) {
230 if(node.localName!="toolbar") continue;
231
232 attr = '_toolbox_' + this.id + '_toolbar_' + node.id;
233
234 if(this.id.indexOf('belowtabs') > 0) {
235 var collapsed = elt.getAttribute(attr+"-collapsed") == "true";
236 node.collapsed = collapsed;
237 }
238
239 var mode = elt.getAttribute(attr+"-mode");
240 if(mode) node.setAttribute("mode",mode);
241
242 var iconsize = elt.getAttribute(attr+"-iconsize");
243 if(iconsize) node.setAttribute("iconsize",iconsize);
244
245 var fullscreentoolbar = elt.getAttribute(attr+"-fullscreentoolbar");
246 if(fullscreentoolbar) node.setAttribute("fullscreentoolbar",fullscreentoolbar);
247
248 var flexbuttons = elt.getAttribute(attr+"-flexbuttons");
249 if(flexbuttons) node.setAttribute("flexbuttons",flexbuttons);
250 }
251 ]]>
252 </constructor>
253
254 <method name="appendCustomToolbar">
255 <parameter name="aName"/>
256 <parameter name="aCurrentSet"/>
257 <parameter name="inCustomisationMode"/>
258 <body>
259 <![CDATA[
260 var toolbar = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul",
261 "toolbar");
262 toolbar.id = "__customToolbar_" + aName.replace(" ", "");
263 toolbar.setAttribute("customizable", "true");
264 toolbar.setAttribute("customindex", ++this.customToolbarCount);
265 toolbar.setAttribute("toolbarname", aName);
266 toolbar.setAttribute("currentset", aCurrentSet);
267 toolbar.setAttribute("mode", this.getAttribute("mode"));
268 toolbar.setAttribute("iconsize", this.getAttribute("iconsize"));
269 toolbar.setAttribute("flexbuttons", this.getAttribute("flexbuttons"));
270 toolbar.setAttribute("fullscreentoolbar", this.getAttribute("fullscreentoolbar"));
271 // while in customisation mode we use different context menus,
272 // and store the normal-mode context menu in an |oldcontext| attr
273 var context = inCustomisationMode ? "oldcontext" : "context";
274 toolbar.setAttribute(context, this.toolbarset.getAttribute("context"));
275 toolbar.setAttribute("class", "chromeclass-toolbar");
276
277 this.insertBefore(toolbar, this.toolbarset);
278 return toolbar;
279 ]]>
280 </body>
281 </method>
282
283
284 <!-- the following methods are used because we can't just persist() the state of the
285 various attributes they set on toolbars, because the toolbars haven't been created
286 at the point where persisted attributes are restored.
287
288 also for the toolbars below the tabbar, the entire toolbox is in xbl, so can't have
289 attributes persisted, so we have to store the state on the documentElement!
290 -->
291 <method name="hideToolbar">
292 <parameter name="aToolbar"/>
293 <parameter name="aHide"/>
294 <body><![CDATA[
295 aToolbar.setAttribute('collapsed', aHide);
296 document.persist(aToolbar.id, 'collapsed');
297
298 if(aToolbar.parentNode.id.indexOf('belowtabs') > 0) {
299 var elt = document.documentElement;
300 var attr = '_toolbox_' + this.id + '_toolbar_' + aToolbar.id + "-collapsed";
301 if(aHide) elt.setAttribute(attr, aHide);
302 else elt.removeAttribute(attr);
303 if (elt.id != "toolbar-menubar") document.persist(elt.id, attr);
304 }
305 ]]></body>
306 </method>
307
308 <method name="setToolbarMode">
309 <parameter name="aToolbar"/>
310 <parameter name="aMode"/>
311 <body><![CDATA[
312 aToolbar.setAttribute("mode",aMode);
313
314 var elt = document.documentElement;
315 var attr = '_toolbox_' + this.id + '_toolbar_' + aToolbar.id + "-mode";
316 elt.setAttribute(attr,aMode);
317 document.persist(elt.id,attr);
318 ]]></body>
319 </method>
320
321 <method name="setToolbarIconSize">
322 <parameter name="aToolbar"/>
323 <parameter name="aSize"/>
324 <body><![CDATA[
325 aToolbar.setAttribute("iconsize",aSize);
326
327 var elt = document.documentElement;
328 var attr = '_toolbox_' + this.id + '_toolbar_' + aToolbar.id + "-iconsize";
329 elt.setAttribute(attr,aSize);
330 document.persist(elt.id,attr);
331 ]]></body>
332 </method>
333
334 <method name="showToolbarInFullscreen">
335 <parameter name="aToolbar"/>
336 <parameter name="aShow"/>
337 <body><![CDATA[
338 aToolbar.setAttribute("fullscreentoolbar",aShow);
339
340 var elt = document.documentElement;
341 var attr = '_toolbox_' + this.id + '_toolbar_' + aToolbar.id + "-fullscreentoolbar";
342 elt.setAttribute(attr,aShow);
343 document.persist(elt.id,attr);
344 ]]></body>
345 </method>
346
347 <method name="setToolbarFlexButtons">
348 <parameter name="aToolbar"/>
349 <parameter name="aFlex"/>
350 <body><![CDATA[
351 aToolbar.setAttribute("flexbuttons",aFlex);
352
353 var elt = document.documentElement;
354 var attr = '_toolbox_' + this.id + '_toolbar_' + aToolbar.id + "-flexbuttons";
355 elt.setAttribute(attr,aFlex);
356 document.persist(elt.id,attr);
357 ]]></body>
358 </method>
359
360
361<!--
362 B E G I N N => Methoden für Toolbar Grippies
363-->
364 <method name="collapseToolbar">
365 <parameter name="toolbar"/>
366 <body>
367 <![CDATA[
368 try {
369 this.createCollapsedGrippy(toolbar);
370 toolbar.setAttribute("moz-collapsed", "true");
371 document.persist(toolbar.id, "moz-collapsed");
372 }
373 catch(e) {
374 }
375 this.toolbarOrderChanged();
376 ]]>
377 </body>
378 </method>
379
380 <method name="expandToolbar">
381 <parameter name="aGrippyID"/>
382 <body>
383 <![CDATA[
384 var idString = aGrippyID.substring("moz_tb_collapsed_".length, aGrippyID.length);
385 var toolbar = document.getElementById(idString);
386 toolbar.setAttribute("moz-collapsed", "false");
387 var collapsedTray = document.getAnonymousElementByAttribute(this, "tbattr", "collapsed-tray");
388 var collapsedToolbar = document.getElementById("moz_tb_collapsed_" + toolbar.id);
389 collapsedTray.removeChild(collapsedToolbar);
390 if (!collapsedTray.hasChildNodes())
391 document.getAnonymousElementByAttribute(this, "tbattr", "collapsed-tray-holder").setAttribute("moz-collapsed", "true");
392 document.persist(toolbar.id, "moz-collapsed");
393 this.toolbarOrderChanged();
394 ]]>
395 </body>
396 </method>
397
398 <method name="createCollapsedGrippy">
399 <parameter name="aToolbar"/>
400 <body>
401 <![CDATA[
402 const XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
403 try {
404 var grippy = document.getAnonymousElementByAttribute(aToolbar, "tbattr", "toolbar-grippy");
405 var boxObject = grippy.boxObject.QueryInterface(Components.interfaces.nsIBoxObject);
406 var collapsedGrippy = document.createElementNS(XUL_NS, "toolbargrippy");
407 if (collapsedGrippy) {
408 var width = boxObject.height > 20 ? boxObject.height : 23;
409 var height = boxObject.width > 10 ? boxObject.width : 12;
410 var styleString = "width: " + width + "px; height: " + height + "px;";
411 collapsedGrippy.setAttribute("style", styleString);
412 collapsedGrippy.setAttribute("tooltiptext", aToolbar.getAttribute("grippytooltiptext"));
413 collapsedGrippy.setAttribute("id", "moz_tb_collapsed_" + aToolbar.id);
414 collapsedGrippy.setAttribute("moz_grippy_collapsed", "true");
415 collapsedGrippy.setAttribute("tbgrippy-collapsed", "true");
416 var collapsedTrayHolder = document.getAnonymousElementByAttribute(this, "tbattr", "collapsed-tray-holder");
417 if (collapsedTrayHolder.getAttribute("moz-collapsed") == "true")
418 collapsedTrayHolder.removeAttribute("moz-collapsed");
419 document.getAnonymousElementByAttribute(this, "tbattr", "collapsed-tray").appendChild(collapsedGrippy);
420 collapsedGrippy = document.getElementById("moz_tb_collapsed_" + aToolbar.id);
421 }
422 }
423 catch (e) {
424 throw e;
425 }
426 ]]>
427 </body>
428 </method>
429
430 <method name="toolbarOrderChanged">
431 <body>
432 <![CDATA[
433 try {
434 const XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
435 var resolver = {
436 lookupNamespaceURI: function(prefix) {
437 return XUL_NS;
438 }
439 };
440 var result = document.evaluate(
441 'descendant::xul:toolbar',
442 this,
443 resolver,
444 XPathResult.ORDERED_NODE_SNAPSHOT_TYPE,
445 null
446 );
447 var marked = false;
448 for (var i = 0; i < result.snapshotLength; i++)
449 {
450 var node = result.snapshotItem(i);
451 if (node.getAttribute('moz-collapsed') == 'true')
452 {
453 node.removeAttribute('nocollapsed-top');
454 }
455 else if (!marked && node.getAttribute('collapsed') != 'true')
456 {
457 node.setAttribute('nocollapsed-top', true);
458 marked = true;
459 }
460 else
461 {
462 node.setAttribute('nocollapsed-top', false);
463 }
464 document.persist(node.id, 'nocollapsed-top');
465 }
466 var collapsedTray = document.getAnonymousElementByAttribute(this, 'tbattr', 'collapsed-tray-holder');
467 collapsedTray.setAttribute('contains-all', !marked);
468 document.persist(collapsedTray.id, 'contains-all');
469 }
470 catch(e)
471 {
472 alert(e);
473 Components.utils.reportError(e);
474 }
475 ]]>
476 </body>
477 </method>
478<!--
479 E N D E => Methoden für Toolbar Grippies
480-->
481
482
483 </implementation>
484
485
486<!--
487 B E G I N N => Binding für Toolbar Grippies
488
489 <content orient="vertical">
490 <xul:vbox flex="1" class="toolbar-internal-box">
491 <children/>
492 </xul:vbox>
493-->
494 <content>
495 <children/>
496 <xul:toolbar tbattr="collapsed-tray-holder" class="collapsed-tray-holder" id="collapsed-tray-holder" moz-collapsed="true" persist="contains-all" contains-all="false">
497 <xul:hbox tbattr="collapsed-tray" class="collapsed-tray"/>
498 <xul:spacer flex="1" class="collapsed-tray-spacer"/>
499 </xul:toolbar>
500 </content>
501<!--
502 E N D E => Binding für Toolbar Grippies
503-->
504
505
506 </binding>
507
508
509 <!-- like chrome://global/content/bindings/toolbar.xml#toolbarpaletteitem, but with a vbox rather than hbox -->
510 <binding id="toolbarpaletteitem-vertical" extends="chrome://global/content/bindings/toolbar.xml#toolbar-base" display="xul:button">
511 <content>
512 <xul:vbox class="toolbarpaletteitem-box" flex="1" xbl:inherits="type,place">
513 <children/>
514 </xul:vbox>
515 </content>
516 </binding>
517
518
519 <!-- Binding attached to the <hbox class="tabbrowser-strip"/> inside the
520 <tabbrowser/> so that we can have a toolbar at each end of it.
521 The anonid's are used when persisting the toolbar's attributes. -->
522 <binding id="tab-toolbars">
523 <content>
524
525 <xul:vbox flex="1">
526 <xul:hbox flex="1">
527
528 <children/>
529
530 <xul:toolbox id="aiostbx-tableft-toolbox" anonid="aiostbx-toolbox-tableft" hidden="true"
531 class="aiostbx-toolbox-plain aiostbx-tabbar-toolbox" palette="BrowserToolbarPalette"
532 context="toolbar-context-menu" customiseContext="toolbar-customise-context-menu">
533
534 <xul:toolbar anonid="aiostbx-toolbar-tableft" anonymous="true" fullscreentoolbar="true"
535 context="toolbar-context-menu" customizable="true" mode="icons" iconsize="small" />
536 </xul:toolbox>
537
538 <!-- nur noetig, wenn Toolbox-Binding an .tabbrowser-strip gekoppelt ist -->
539 <!--<xul:spacer flex="1" id="aiostbx-spacer" />-->
540
541 <xul:toolbox id="aiostbx-tabright-toolbox" anonid="aiostbx-toolbox-tabright" hidden="true"
542 class="aiostbx-toolbox-plain aiostbx-tabbar-toolbox" palette="BrowserToolbarPalette"
543 context="toolbar-context-menu" customiseContext="toolbar-customise-context-menu">
544
545 <xul:toolbar anonid="aiostbx-toolbar-tabright" anonymous="true" fullscreentoolbar="true"
546 context="toolbar-context-menu" customizable="true" mode="icons" iconsize="small" defaultset="tab-close-button" />
547 </xul:toolbox>
548
549 </xul:hbox>
550
551 <xul:toolbox id="aiostbx-belowtabs-toolbox" anonid="aiostbx-toolbox-belowtabs" anonymous="true"
552 class="aiostbx-toolbox-belowtabs" palette="BrowserToolbarPalette" mode="icons" iconsize="small"
553 horizontal="true" context="toolbar-context-menu" customiseContext="toolbar-customise-context-menu">
554
555 <xul:toolbarset anonymous="true" anonid="aiostbx-toolbarset-belowtabs"
556 context="toolbar-context-menu" customiseContext="toolbar-customise-context-menu"/>
557 </xul:toolbox>
558
559 </xul:vbox>
560
561 </content>
562 </binding>
563
564
565 <!-- binding attached to the <tabbox/> immediately inside <tabbrowser/> to insert a toolbox
566 between it and the deck of <browser/>s
567 <binding id="tabbrowser-tabbox" display="xul:box" extends="chrome://global/content/bindings/tabbox.xml#tabbox">
568 <content>
569
570 <children includes="hbox"/>
571
572 <xul:toolbox id="aiostbx-belowtabs-toolbox" anonid="aiostbx-toolbox-belowtabs" anonymous="true"
573 class="aiostbx-toolbox-belowtabs" palette="BrowserToolbarPalette" mode="icons" iconsize="small"
574 horizontal="true" context="toolbar-context-menu" customiseContext="toolbar-customise-context-menu">
575
576 <xul:toolbarset anonymous="true" anonid="aiostbx-toolbarset-belowtabs"
577 context="toolbar-context-menu" customiseContext="toolbar-customise-context-menu"/>
578 </xul:toolbox>
579
580 <children includes="tabpanels"/>
581
582 </content>
583 </binding>-->
584
585</bindings>
586\ No newline at end of file0\ No newline at end of file
5871
=== removed file 'chrome/aios.jar!/content/tbx/tbx.xul'
--- chrome/aios.jar!/content/tbx/tbx.xul 2008-11-14 11:44:00 +0000
+++ chrome/aios.jar!/content/tbx/tbx.xul 1970-01-01 00:00:00 +0000
@@ -1,268 +0,0 @@
1<?xml version="1.0"?>
2
3<?xml-stylesheet href="chrome://aios/content/tbx/tbx.css" type="text/css"?>
4<?xml-stylesheet href="chrome://aios/skin/tbx.css" type="text/css"?>
5
6<!-- locale -->
7<!DOCTYPE overlay [
8 <!ENTITY % tbxDTD SYSTEM "chrome://aios/locale/tbx.dtd"> %tbxDTD;
9 <!ENTITY % aiosDTD SYSTEM "chrome://aios/locale/aios.dtd"> %aiosDTD;
10 <!ENTITY % aiosLibDTD SYSTEM "chrome://aios/locale/lib.dtd"> %aiosLibDTD;
11]>
12
13<overlay id="aiostbxBrowserOverlay" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
14
15 <script type="application/x-javascript" src="chrome://aios/content/tbx/tbx_shared.js" />
16 <script type="application/x-javascript" src="chrome://aios/content/tbx/tbx.js" />
17
18
19 <!-- neue Buttons -->
20 <toolbarpalette id="BrowserToolbarPalette">
21
22 <toolbarbutton id="sidebar-close-button" class="tabs-closebutton"
23 oncommand="aios_toggleSidebar(this);" ondblclick="event.stopPropagation();"
24 label="&button.sidebar.close.label;" tooltiptext="&button.sidebar.close.tooltip;" />
25
26 </toolbarpalette>
27
28
29 <!-- Toolboxes need a |palette| attribute so they use the new xbl widget... -->
30 <toolbox id="navigator-toolbox" context="toolbar-context-menu" customiseContext="toolbar-customise-context-menu"
31 palette="BrowserToolbarPalette" aiosTBG="true" />
32
33
34 <!-- TOOLBOXES LINKS, RECHTS, NEBEN UND IN DER SIDEBAR -->
35 <hbox id="browser">
36
37 <!-- Sidbar-Switch -->
38 <toolbox id="aios-toggle-toolbox" orient="vertical" insertbefore="sidebar-box" class="chromeclass-toolbar"
39 persist="hidden fsToolbar fsSidebar fsSwitch" vertical="true">
40
41 <!-- Fenstermodus fuer schmalen Umschalter ueberwachen (maximized, normal, minimized) -->
42 <observes element="main-window" attribute="sizemode" onbroadcast="aios_checkThinSwitch();" />
43
44 <!-- AIOS-Sidebar-Switch -->
45 <toolbar id="aios-toggle-toolbar" fullscreentoolbar="true" class="chromeclass-toolbar" flex="1"
46 style="min-width: 6px; max-width: 6px;" persist="style">
47
48 <!-- ueber tooltip oder tooltiptext wird in aios_setTargets() [_lib.js] entschieden -->
49 <grippy flex="1" id="aios-toggle-button" tooltip="switch-tooltip" tooltiptext="&button.toggle.tooltip;"
50 onclick="aios_controlSwitch(event, this);"
51 onmouseover="aios_autoShowHide('switch'); event.stopPropagation();"
52 ondragenter="aios_toggleSidebar('switch', true); event.stopPropagation();" />
53
54 </toolbar>
55 </toolbox>
56
57
58 <!-- LINKS -->
59 <toolbox id="aiostbx-left-toolbox" insertbefore="sidebar-box" palette="BrowserToolbarPalette"
60 context="toolbar-context-menu" customiseContext="toolbar-customise-context-menu"
61 vertical="true" mode="icons" iconsize="large">
62
63 <toolbarset id="aiostbx-left-toolbars" context="toolbar-context-menu"/>
64
65 <toolbar id="aios-toolbar" class="chromeclass-toolbar" iconsize="large" mode="icons" customizable="true"
66 toolbarname="&toolbar.name;" context="toolbar-context-menu" fullscreentoolbar="true" persist="collapsed"
67 defaultset="autohide-button,separator,bookmarks-button,history-button,separator,downloads-button,addons-button,separator,multipanel-button,pageinfo-button" />
68 </toolbox>
69
70 <!-- RECHTS NEBEN DER SIDEBAR -->
71 <toolbox id="aiostbx-sidebarright-toolbox" insertafter="sidebar-splitter" palette="BrowserToolbarPalette"
72 context="toolbar-context-menu" customiseContext="toolbar-customise-context-menu"
73 vertical="true" mode="icons" iconsize="large">
74
75 <toolbarset id="aiostbx-sidebarright-toolbars" context="toolbar-context-menu"/>
76 </toolbox>
77
78 <!-- RECHTS -->
79 <toolbox id="aiostbx-right-toolbox" insertafter="appcontent" palette="BrowserToolbarPalette"
80 context="toolbar-context-menu" customiseContext="toolbar-customise-context-menu"
81 vertical="true" mode="icons" iconsize="large">
82
83 <toolbarset id="aiostbx-right-toolbars" context="toolbar-context-menu"/>
84 </toolbox>
85
86
87 <vbox id="sidebar-box">
88
89 <!-- SIDEBARHEADER -->
90 <sidebarheader id="sidebarheader">
91
92 <hbox id="sidebarheader-hbox" tooltip="sidebarheader-tooltip" insertbefore="sidebar-title" flex="1">
93 <toolbarbutton id="sidebars-titlebutton" type="menu" align="left" flex="1"
94 ondblclick="this.childNodes[1].hidePopup();">
95 <label flex="1" crop="right">
96 <observes element="sidebar-title" attribute="value" />
97 </label>
98
99 <menupopup onpopupshowing="aios_getSidebarMenu(this);" />
100 </toolbarbutton>
101
102 <spacer id="sidebarheader-spacer" flex="5000" />
103 </hbox>
104
105 <toolbox id="aiostbx-sidebarheader-toolbox" position="100" palette="BrowserToolbarPalette"
106 context="toolbar-context-menu" customiseContext="toolbar-customise-context-menu" class="aiostbx-toolbox-plain"
107 horizontal="true" mode="icons" iconsize="small" fullscreentoolbar="true" ondblclick="event.stopPropagation();">
108
109 <toolbar id="aiostbx-toolbar-sidebarheader" class="aiostbx-toolbar-plain" context="toolbar-context-menu"
110 customizable="true" mode="icons" iconsize="small" fullscreentoolbar="true"
111 defaultset="paneltab-button,sidebar-close-button" />
112
113 </toolbox>
114 </sidebarheader>
115
116
117 <!-- UEBER DER SIDEBAR -->
118 <toolbox id="aiostbx-sidebartop-toolbox" insertbefore="sidebarheader" palette="BrowserToolbarPalette"
119 context="toolbar-context-menu" customiseContext="toolbar-customise-context-menu"
120 horizontal="true" mode="icons" iconsize="small" flexbuttons="true" fullscreentoolbar="true">
121
122 <toolbarset id="aiostbx-sidebartop-toolbars" context="toolbar-context-menu" />
123 </toolbox>
124
125 <!-- UNTER DEM SIDEBARHEADER -->
126 <toolbox id="aiostbx-headerbottom-toolbox" insertbefore="sidebar" palette="BrowserToolbarPalette"
127 context="toolbar-context-menu" customiseContext="toolbar-customise-context-menu"
128 horizontal="true" mode="icons" iconsize="small" flexbuttons="true" fullscreentoolbar="true">
129
130 <toolbarset id="aiostbx-headerbottom-toolbars" context="toolbar-context-menu" />
131 </toolbox>
132
133 <!-- UNTER DER SIDEBAR -->
134 <toolbox id="aiostbx-sidebarbottom-toolbox" insertafter="sidebar" palette="BrowserToolbarPalette"
135 context="toolbar-context-menu" customiseContext="toolbar-customise-context-menu"
136 horizontal="true" mode="icons" iconsize="small" flexbuttons="true" fullscreentoolbar="true">
137
138 <toolbarset id="aiostbx-sidebarbottom-toolbars" context="toolbar-context-menu" />
139 </toolbox>
140
141 </vbox>
142
143 </hbox>
144
145
146 <!-- UNTEN -->
147 <window id="main-window">
148
149 <popupset id="aiosTooltips">
150 <tooltip id="switch-tooltip">
151 <label value="&button.toggle.tooltip;" />
152
153 <box r1c1="&button.switch.tooltip1;: " r1c2="&leftclick;"
154 r2c1="&button.switch.tooltip2;: " r2c2="&key.ctrl;+&leftclick; / &middleclick;"
155 r3c1="&button.switch.tooltip3;: " r3c2="&key.shift;+&leftclick; / &rightclick;" />
156 </tooltip>
157 </popupset>
158
159 <toolbox id="aiostbx-bottom-toolbox" insertbefore="status-bar" palette="BrowserToolbarPalette"
160 context="toolbar-context-menu" customiseContext="toolbar-customise-context-menu"
161 horizontal="true" mode="icons" iconsize="large">
162
163 <toolbarset id="aiostbx-bottom-toolbars" context="toolbar-context-menu"/>
164 </toolbox>
165 </window>
166
167
168 <!-- toolbars at each end of the status bar. position attr used to try and ensure they always end up at the ends,
169 regardless of what other extensions the user has installed. -->
170 <statusbar id="status-bar">
171 <toolbox id="aiostbx-toolbox-statusbar-left" class="aiostbx-toolbox-plain aiostbx-statusbar-toolbox"
172 palette="BrowserToolbarPalette" context="toolbar-context-menu" hidden="true"
173 customiseContext="toolbar-customise-context-menu" position="1">
174
175 <toolbar id="aiostbx-toolbar-statusbar-left" class="aiostbx-toolbar-plain" context="toolbar-context-menu"
176 customizable="true" mode="icons" iconsize="small" fullscreentoolbar="true" defaultset="" />
177 </toolbox>
178
179 <toolbox id="aiostbx-toolbox-statusbar-right" class="aiostbx-toolbox-plain aiostbx-statusbar-toolbox"
180 palette="BrowserToolbarPalette" context="toolbar-context-menu" hidden="true"
181 customiseContext="toolbar-customise-context-menu" position="1000">
182
183 <toolbar id="aiostbx-toolbar-statusbar-right" class="aiostbx-toolbar-plain" context="toolbar-context-menu"
184 customizable="true" mode="icons" iconsize="small" fullscreentoolbar="true" defaultset="">
185
186 </toolbar>
187 </toolbox>
188 </statusbar>
189
190
191 <!-- a new context menu to use for toolbars while customising them -->
192 <popupset id="mainPopupSet">
193
194 <popup id="toolbar-context-menu" oncommand="aiostbx_adjustToolboxWidth(this);">
195 <menu id="aiostbx-toolbar-context-tmpMenu" label="&toolbar.customize.label;" hidden="true">
196 <menupopup onpopupshowing="aiostbx_initCustomiseContext(event, this);"
197 oncommand="aiostbx_setToolbarMode(event, this); persistCurrentSets(); aiostbx_getCustomizeMenu();" />
198 </menu>
199 </popup>
200
201
202 <popup id="toolbar-customise-context-menu" onpopupshowing="aiostbx_initCustomiseContext(event, this);"
203 oncommand="aiostbx_setToolbarMode(event, this);">
204
205 <menuitem type="radio" name="mode" value="full" label="&toolbar.mode.iconstext.label;" aios="true" />
206 <menuitem type="radio" name="mode" value="icons" label="&toolbar.mode.icons.label;" aios="true" />
207 <menuitem type="radio" name="mode" value="text" label="&toolbar.mode.text.label;" aios="true" />
208
209 <menuseparator id="aiostbx-smallicons-separator" />
210
211 <menuitem type="checkbox" id="aiostbx-smallicons-mitem" value="smallicons" label="&toolbar.mode.smallicons.label;" />
212
213 <menuseparator id="aiostbx-flexbuttons-separator" />
214
215 <menuitem type="checkbox" id="aiostbx-flexbuttons-mitem" value="flexbuttons" label="&toolbar.mode.flexbuttons.label;" />
216
217 <menuseparator id="aiostbx-fullscreen-separator" />
218
219 <menuitem type="checkbox" id="aiostbx-fullscreen-mitem" value="fullscreentoolbar"
220 label="&toolbar.mode.fullscreen.label;" />
221
222 <menuseparator aios="true" />
223
224 <menuitem type="radio" id="position1" name="position" value="navigator-toolbox"
225 label="&toolbar.pos.top.label;" aios="true" />
226
227 <menuitem type="radio" name="position" value="aiostbx-belowtabs-toolbox"
228 label="&toolbar.pos.belowtabs.label;" />
229
230 <menuitem type="radio" name="position" value="aiostbx-sidebartop-toolbox"
231 label="&toolbar.pos.sidebartop.label;" />
232
233 <menuitem type="radio" name="position" value="aiostbx-headerbottom-toolbox"
234 label="&toolbar.pos.headerbottom.label;" />
235
236 <menuitem type="radio" name="position" value="aiostbx-sidebarbottom-toolbox"
237 label="&toolbar.pos.sidebarbottom.label;" />
238
239 <menuitem type="radio" name="position" value="aiostbx-bottom-toolbox"
240 label="&toolbar.pos.bottom.label;" />
241
242 <menuitem type="radio" id="aiostbx-left" name="position" value="aiostbx-left-toolbox"
243 label="&toolbar.pos.left.label;" />
244
245 <!-- only for LTR-Window-Mode, read label via JavaScript, no need for an extra file "tbx.properties" -->
246 <menuitem id="aiostbx-sidebarleft" label="&toolbar.pos.sidebarleft.label;" hidden="true" />
247
248 <menuitem type="radio" id="aiostbx-sidebarright" name="position" value="aiostbx-sidebarright-toolbox"
249 label="&toolbar.pos.sidebarright.label;" />
250
251 <menuitem type="radio" id="aiostbx-right" name="position" value="aiostbx-right-toolbox"
252 label="&toolbar.pos.right.label;" />
253
254 </popup>
255 </popupset>
256
257 <script><![CDATA[
258
259 top.document.getElementById("sidebar-throbber").parentNode.setAttribute('id', 'sidebarheader');
260
261 var aiosOS = Components.classes['@mozilla.org/xre/app-info;1'].getService(Components.interfaces.nsIXULRuntime).OS;
262 window.addEventListener("load", aiostbx_init, false);
263
264 //sidebarheader-tooltip
265
266 ]]></script>
267
268</overlay>
269\ No newline at end of file0\ No newline at end of file
2701
=== removed file 'chrome/aios.jar!/content/tbx/tbx_customize.js'
--- chrome/aios.jar!/content/tbx/tbx_customize.js 2008-11-14 11:44:00 +0000
+++ chrome/aios.jar!/content/tbx/tbx_customize.js 1970-01-01 00:00:00 +0000
@@ -1,387 +0,0 @@
1
2var aiosOS = Components.classes['@mozilla.org/xre/app-info;1'].getService(Components.interfaces.nsIXULRuntime).OS;
3
4// mostly we're just redefining functions that already exist to cope with multiple toolboxes
5// (i.e the function body gets wrapped in a for(){} loop, and references to |gToolbox| get changed)
6
7if(aiosOS != "Darwin") {
8
9 var gToolboxes = null;
10 var wOpener = null;
11 if(window.opener && window.opener.top && typeof window.opener.top.aiostbx_adjustToolboxWidth == "function") wOpener = window.opener.top;
12 var gPref = Components.classes["@mozilla.org/preferences-service;1"].getService(Components.interfaces.nsIPrefBranch);
13
14
15 onload = function () {
16 aios_moveGlobal();
17
18 InitWithToolbox(window.arguments[0]);
19 repositionDialog();
20 }
21
22
23 // globale Einstellungen in die Groupbox verschieben
24 var aios_moveGlobal;
25 aios_moveGlobal = function () {
26 try {
27 var globalBox = document.getElementById('smallicons').parentNode;
28 document.getElementById('aios-globalGroup').appendChild(globalBox);
29 document.getElementById('smallicons').setAttribute('flex', 1);
30
31 // DOM Inspector-Button entfernen, wenn DOMI nicht installiert ist
32 if(aios_checkDOMi) {
33 aios_checkDOMi();
34 window.setTimeout("aios_checkDOMi()", 200);
35 }
36
37 // Anpassungen für FF 1.5 <=> FF 2.0
38 if(aios_modBonEcho) {
39 aios_modBonEcho();
40 window.setTimeout("aios_modBonEcho()", 200);
41 }
42
43 // Anpassungen für Console2
44 if(aios_modConsole2) {
45 aios_modConsole2();
46 window.setTimeout("aios_modConsole2()", 200);
47 }
48 }
49 catch(e) { }
50 }
51
52
53 InitWithToolbox = function (aToolbox) {
54 // mod by eXXile
55 var aiosCNT = 0;
56
57 try {
58 var enable_tabbar = gPref.getBoolPref('extensions.aios.tbx.tabbar');
59 document.getElementById('palette-box').setAttribute('aiosTabToolbar', enable_tabbar);
60 }
61 catch(e) { }
62 // end mod
63
64 gToolbox = aToolbox;
65 gToolboxDocument = gToolbox.ownerDocument;
66
67 // we pass the full array of toolboxes as the 2nd arg so as not to break
68 // any other xul apps (extensions) which are using customisable toolbars
69 gToolboxes = (window.arguments && window.arguments.length > 1) ? window.arguments[1] : [gToolbox];
70
71 for(var i = 0; i < gToolboxes.length; i++) {
72 // mod by eXXile
73 // Events für Toolbaranpassungen
74 if(wOpener != null) {
75 gToolboxes[i].addEventListener("draggesture", wOpener.aiostbx_adjustToolboxWidth, false);
76 gToolboxes[i].addEventListener("dragdrop", wOpener.aiostbx_adjustToolboxWidth, false);
77 }
78
79 if(gToolboxes[i].getAttribute('id').indexOf('aios') >= 0) aiosCNT++;
80 //endmod
81
82 gToolboxes[i].addEventListener("draggesture", onToolbarDragGesture, false);
83 gToolboxes[i].addEventListener("dragover", onToolbarDragOver, false);
84 gToolboxes[i].addEventListener("dragexit", onToolbarDragExit, false);
85 gToolboxes[i].addEventListener("dragdrop", onToolbarDragDrop, false);
86 // useful for min-width styles and suchlike
87 gToolboxes[i].setAttribute("incustomisemode","true");
88 }
89
90 // mod by eXXile
91 // Hinweis auf weitere Optionen ausblenden wenn nicht die Haupttoolbars konfiguriert werden
92 // Kompatibilität mit anderen Erweiterungen, die konfigurierbare Toolbars anbieten (z.B. Console2)
93 if(aiosCNT == 0) {
94 document.getElementById("aios-globalDesc").hidden = true;
95 }
96 //endmod
97
98 /*gToolbox.addEventListener("draggesture", onToolbarDragGesture, false);
99 gToolbox.addEventListener("dragover", onToolbarDragOver, false);
100 gToolbox.addEventListener("dragexit", onToolbarDragExit, false);
101 gToolbox.addEventListener("dragdrop", onToolbarDragDrop, false);*/
102
103 initDialog();
104 }
105
106
107
108 repositionDialog = function () {
109 // mod by eXXile
110 if(typeof kWindowWidth == "undefined") return false;
111 if(document.getElementById('CustomizeToolbarWindow').getAttribute('width')) return false;
112 // endmod
113
114 // Position the dialog touching the bottom of the toolbox and centered with
115 // it. We must resize the window smaller first so that it is positioned
116 // properly.
117 var screenX = gToolbox.boxObject.screenX + ((gToolbox.boxObject.width - kWindowWidth) / 2);
118 var screenY = gToolbox.boxObject.screenY + gToolbox.boxObject.height;
119
120 var newHeight = kWindowHeight;
121 if (newHeight >= screen.availHeight - screenY - kVSizeSlop) {
122 newHeight = screen.availHeight - screenY - kVSizeSlop;
123 }
124
125 window.resizeTo(kWindowWidth, newHeight);
126 window.moveTo(screenX, screenY);
127 return true;
128 }
129
130
131 removeToolboxListeners = function () {
132 for(var i = 0; i < gToolboxes.length; i++) {
133 gToolboxes[i].removeEventListener("draggesture", onToolbarDragGesture, false);
134 gToolboxes[i].removeEventListener("dragover", onToolbarDragOver, false);
135 gToolboxes[i].removeEventListener("dragexit", onToolbarDragExit, false);
136 gToolboxes[i].removeEventListener("dragdrop", onToolbarDragDrop, false);
137 gToolboxes[i].removeAttribute("incustomisemode");
138 }
139 }
140
141
142 // overriding so that we can tag changing of context menus on to the end
143 initDialog = function () {
144
145 document.getElementById("main-box").collapsed = false;
146
147 var mode = gToolbox.getAttribute("mode");
148 document.getElementById("modelist").value = mode;
149 var iconSize = gToolbox.getAttribute("iconsize");
150 var smallIconsCheckbox = document.getElementById("smallicons");
151 if (mode == "text")
152 smallIconsCheckbox.disabled = true;
153 else
154 smallIconsCheckbox.checked = iconSize == "small";
155
156 // Build up the palette of other items.
157 buildPalette();
158
159 // Wrap all the items on the toolbar in toolbarpaletteitems.
160 wrapToolbarItems();
161
162 // Bookmark-Buttons-Bugfix für rechte Statusleisten-Toolbar
163 // => Button entfernen um Irritationen bei der Konfiguration zu vermeiden
164 //aiostbx_bmBugFix(false);
165 }
166
167
168 wrapToolbarItems = function () {
169 for(var j = 0; j < gToolboxes.length; j++) {
170 var toolbox = gToolboxes[j];
171
172 for(var i = 0; i < toolbox.childNodes.length; ++i) {
173 var toolbar = toolbox.childNodes[i];
174 if(!isCustomizableToolbar(toolbar)) continue;
175
176 for(var k = 0; k < toolbar.childNodes.length; ++k) {
177 var item = toolbar.childNodes[k];
178
179 if(!isToolbarItem(item)) continue;
180
181 var nextSibling = item.nextSibling;
182
183 var wrapper = wrapToolbarItem(item);
184
185 if(nextSibling)
186 toolbar.insertBefore(wrapper, nextSibling);
187 else
188 toolbar.appendChild(wrapper);
189 }
190 }
191 }
192 }
193
194
195 unwrapToolbarItems = function () {
196 for(var j = 0; j < this.gToolboxes.length; j++) {
197 var toolbox = gToolboxes[j];
198
199 var paletteItems = toolbox.getElementsByTagName("toolbarpaletteitem");
200 var paletteItem;
201 while ((paletteItem = paletteItems.item(0)) != null) {
202 var toolbarItem = paletteItem.firstChild;
203
204 if (paletteItem.hasAttribute("itemdisabled"))
205 toolbarItem.disabled = true;
206
207 if (paletteItem.hasAttribute("itemcommand"))
208 toolbarItem.setAttribute("command", paletteItem.getAttribute("itemcommand"));
209
210 // We need the removeChild here because replaceChild and XBL no workee
211 // together. See bug 193298.
212 paletteItem.removeChild(toolbarItem);
213 paletteItem.parentNode.replaceChild(toolbarItem, paletteItem);
214 }
215 }
216 }
217
218
219 // Get the list of ids for the current set of items on each toolbar. *in each toolbox*
220 getCurrentItemIds = function () {
221 var currentItems = {};
222 for(var j = 0; j < gToolboxes.length; j++) {
223 var toolbox = gToolboxes[j];
224
225 for (var i = 0; i < toolbox.childNodes.length; ++i) {
226 var toolbar = toolbox.childNodes[i];
227 if (isCustomizableToolbar(toolbar)) {
228 var child = toolbar.firstChild;
229 while (child) {
230 if (isToolbarItem(child))
231 currentItems[child.id] = 1;
232 child = child.nextSibling;
233 }
234 }
235 }
236 }
237 return currentItems;
238 }
239
240
241 addNewToolbar = function () {
242 var promptService = Components.classes["@mozilla.org/embedcomp/prompt-service;1"]
243 .getService(Components.interfaces.nsIPromptService);
244
245 var stringBundle = document.getElementById("stringBundle");
246 var message = stringBundle.getString("enterToolbarName");
247 var title = stringBundle.getString("enterToolbarTitle");
248
249 var name = {};
250 while(true) {
251 if(!promptService.prompt(window, title, message, name, null, {})) return;
252
253 // Check for an existing toolbar with the same name and prompt again
254 // if a conflict is found
255 var nameToId = "__customToolbar_" + name.value.replace(" ", "");
256 var existingToolbar = gToolboxDocument.getElementById(nameToId);
257 if(existingToolbar) {
258 message = stringBundle.getFormattedString("enterToolbarDup", [name.value]);
259 } else {
260 break;
261 }
262 }
263
264 gToolbox.appendCustomToolbar(name.value, "", true);
265
266 repositionDialog();
267 gToolboxChanged = true;
268 }
269
270
271 /**
272 * Restore the default set of buttons to fixed toolbars,
273 * remove all custom toolbars, and rebuild the palette.
274 */
275 restoreDefaultSet = function () {
276 for(var i = 0; i < gToolboxes.length; i++) {
277 var toolbox = gToolboxes[i];
278
279 // Restore the defaultset for fixed toolbars.
280 var toolbar = toolbox.firstChild;
281 while (toolbar) {
282 if(isCustomizableToolbar(toolbar)) {
283 if(!toolbar.hasAttribute("customindex")) {
284 var defaultSet = toolbar.getAttribute("defaultset");
285 if(defaultSet)
286 toolbar.currentSet = defaultSet;
287 }
288 }
289 toolbar = toolbar.nextSibling;
290 }
291
292 // Remove all of the customized toolbars.
293 var child = toolbox.lastChild;
294 while(child) {
295 if(child.hasAttribute("customindex")) {
296 var thisChild = child;
297 child = child.previousSibling;
298 toolbox.removeChild(thisChild);
299 } else {
300 child = child.previousSibling;
301 }
302 }
303 }
304
305 // Now rebuild the palette.
306 buildPalette();
307
308 // Now re-wrap the items on the toolbar.
309 wrapToolbarItems();
310
311 repositionDialog();
312 gToolboxChanged = true;
313 }
314
315
316 updateIconSize = function (aUseSmallIcons) {
317 var val = aUseSmallIcons ? "small" : null;
318
319 for(var j = 0; j < gToolboxes.length; j++) {
320 var toolbox = gToolboxes[j];
321
322 // the default theme doens't use these, but other themes might be
323 // (since they were in the original code)
324 setAttribute(toolbox, "iconsize", val);
325 gToolboxDocument.persist(toolbox.id, "iconsize");
326
327 for(var i = 0; i < toolbox.childNodes.length; ++i) {
328 var toolbar = toolbox.childNodes[i];
329 if(isCustomizableToolbar(toolbar)) {
330 setAttribute(toolbar, "iconsize", val);
331 gToolboxDocument.persist(toolbar.id, "iconsize");
332 }
333 }
334 }
335
336 repositionDialog();
337
338 // Breiten der vert. Toolboxen löschen (Anpassung der Größe), um sie kurze Zeit später wieder festzusetzen
339 if(wOpener != null) wOpener.aiostbx_adjustToolboxWidth(toolbox);
340 }
341
342
343 updateToolbarMode = function (aModeValue) {
344
345 for(var j = 0; j < gToolboxes.length; j++) {
346 var toolbox = gToolboxes[j];
347
348 setAttribute(toolbox, "mode", aModeValue);
349 gToolboxDocument.persist(toolbox.id, "mode");
350
351 for (var i = 0; i < toolbox.childNodes.length; ++i) {
352 var toolbar = toolbox.childNodes[i];
353 if (isCustomizableToolbar(toolbar)) {
354 setAttribute(toolbar, "mode", aModeValue);
355 gToolboxDocument.persist(toolbar.id, "mode");
356 }
357 }
358 }
359
360 var iconSizeCheckbox = document.getElementById("smallicons");
361 if(aModeValue == "text") {
362 iconSizeCheckbox.disabled = true;
363 iconSizeCheckbox.checked = false;
364 updateIconSize(false);
365 } else {
366 iconSizeCheckbox.disabled = false;
367 }
368
369 repositionDialog();
370
371 // Breiten der vert. Toolboxen löschen (Anpassung der Größe), um sie kurze Zeit später wieder festzusetzen
372 if(wOpener != null) wOpener.aiostbx_adjustToolboxWidth(toolbox);
373 }
374
375
376 // called as window closes. inform toolboxes that customisation is complete.
377 // xxx: fire DOM events as well
378 notifyParentComplete = function () {
379 for(var i = 0; i < gToolboxes.length; i++) {
380 if("customizeDone" in gToolboxes[i]) gToolboxes[i].customizeDone(gToolboxChanged);
381 }
382
383 // Bookmark-Buttons-Bugfix für rechte Statusleisten-Toolbar => Button hinzufügen
384 //aiostbx_bmBugFix(true);
385 }
386
387}
388\ No newline at end of file0\ No newline at end of file
3891
=== removed file 'chrome/aios.jar!/content/tbx/tbx_customize.xul'
--- chrome/aios.jar!/content/tbx/tbx_customize.xul 2008-11-14 11:44:00 +0000
+++ chrome/aios.jar!/content/tbx/tbx_customize.xul 1970-01-01 00:00:00 +0000
@@ -1,69 +0,0 @@
1<?xml version="1.0"?>
2
3<!-- overlayed onto chrome://global/content/customizeToolbar.xul -->
4
5<?xml-stylesheet href="chrome://mozapps/skin/pref/pref.css"?>
6<?xml-stylesheet href="chrome://aios/skin/tbx.css" type="text/css"?>
7
8<!-- locale -->
9<!DOCTYPE overlay [
10 <!ENTITY % customizeToolbarDTD SYSTEM "chrome://global/locale/customizeToolbar.dtd"> %customizeToolbarDTD;
11 <!ENTITY % aiostbxDTD SYSTEM "chrome://aios/locale/tbx.dtd"> %aiostbxDTD;
12]>
13
14<overlay id="aiostbxCustomiseOverlay" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
15
16 <script type="application/x-javascript" src="chrome://aios/content/_common.js" />
17 <script type="application/x-javascript" src="chrome://aios/content/_compatibility.js" />
18
19 <script type="application/x-javascript" src="chrome://aios/content/tbx/tbx_shared.js" />
20 <script type="application/x-javascript" src="chrome://aios/content/tbx/tbx_customize.js" />
21
22 <window id="CustomizeToolbarWindow" persist="screenX screenY width height" />
23
24 <vbox id="main-box">
25
26 <groupbox id="aios-globalGroup" insertafter="palette-box">
27 <caption label="&config.global.caption;" />
28
29 <description id="aios-globalDesc" style="margin-bottom: 10px;">&config.instructions.description;</description>
30 </groupbox>
31 </vbox>
32
33 <script><![CDATA[
34 /*
35 if(typeof InitWithToolbox == "function") {
36 alert('FF 1.5');
37 InitWithToolbox(window.arguments[0]);
38
39 }
40 else {
41 alert('FF 2');
42 }
43
44
45 window.addEventListener("load", function() {
46
47 aios_debug("aiostbx_getToolboxes => " + typeof aios_WIN.aiostbx_getToolboxes);
48
49 if(aios_WIN.aiostbx_getToolboxes) aios_WIN.aiostbx_getToolboxes();
50 if(InitWithToolbox) InitWithToolbox(window.arguments[0]);
51
52 aios_moveGlobal();
53
54 }, false);
55 */
56
57 var aiosOS = Components.classes['@mozilla.org/xre/app-info;1'].getService(Components.interfaces.nsIXULRuntime).OS;
58
59 window.addEventListener("unload", function() {
60
61 if(aios_WIN.aios_improveCompatibility) aios_improveCompatibility();
62
63 if(opener && opener.BrowserToolboxCustomizeDone) opener.BrowserToolboxCustomizeDone(); // FF
64 if(opener && opener.customizeToolbarDone) opener.customizeToolbarDone(); // Console2
65 }, false);
66
67 ]]></script>
68
69</overlay>
70\ No newline at end of file0\ No newline at end of file
711
=== removed file 'chrome/aios.jar!/content/tbx/tbx_shared.js'
--- chrome/aios.jar!/content/tbx/tbx_shared.js 2008-11-14 11:44:00 +0000
+++ chrome/aios.jar!/content/tbx/tbx_shared.js 1970-01-01 00:00:00 +0000
@@ -1,265 +0,0 @@
1
2var aiosOS = Components.classes['@mozilla.org/xre/app-info;1'].getService(Components.interfaces.nsIXULRuntime).OS;
3
4if(aiosOS != "Darwin") {
5 var aiostbx_toolboxes = null;
6 var aiostbx_navToolbox = null;
7 var aiostbx_bindingBoxes = new Array("aiostbx-tableft-toolbox", "aiostbx-tabright-toolbox", "aiostbx-belowtabs-toolbox");
8 var gToolbox, gToolboxes, gToolboxDocument;
9}
10
11
12/*
13 Mindest- und Maximalbreite der vertikalen Toolbar einstellen
14 => Aufruf durch
15 => tbx.js
16 aiostbx_init() => erstmalige Festlegung
17 aiostbx_setToolbarMode() => Anpassung wegen mgl. Änderungen (Mode, Icongröße, Position usw.)
18
19 => tbx.xul
20 oncommand() des Toolbar-Kontextmenüs => Anpassung wegen mgl. Änderungen (Mode, Icongröße, Position usw.)
21
22 => tbx_customize.js
23 ondraggesture() & ondragdrop() der Toolboxen => Anpassung wegen mgl. neuer oder entfernter Buttons
24
25 => aios.js
26 aios_toggleSidebar() => Anpassung nach Toolbarein-/ausblendung über Shortcut, Togglebutton, Switch, Close-Button
27
28 => festsetzen nötig, weil sonst die Toolboxen bei Größenänderung der Sidebar mit verändert werden
29 => per JS statt CSS, weil es wegen Themes dynamisch sein muß
30*/
31function aiostbx_adjustToolboxWidth(fix) {
32
33 // Aufruf durch Drag-Event der Toolbox
34 if(typeof fix == "object") {
35 fix = false;
36 window.setTimeout('aiostbx_adjustToolboxWidth(true)', 200);
37 }
38
39 var computedStyle, myWidth;
40 var vToolboxes = document.getElementsByAttribute('vertical', 'true');
41
42 for(var i = 0; i < vToolboxes.length; i++) {
43 if(vToolboxes[i].tagName == "toolbox") {
44
45 myWidth = 0;
46
47 // Breite festsetzen (Toolbox hat feste Breite)
48 if(fix) {
49
50 var boxChilds = vToolboxes[i].childNodes;
51
52 // Breite aller enthaltenen Toolbars zusammenrechnen
53 for(var j = 0; j < boxChilds.length; j++) {
54 if(boxChilds[j].tagName == "toolbar") {
55 computedStyle = document.defaultView.getComputedStyle(boxChilds[j], null);
56
57 myWidth = myWidth + parseInt(computedStyle.width);
58 myWidth = myWidth + parseInt(computedStyle.paddingLeft);
59 myWidth = myWidth + parseInt(computedStyle.paddingRight);
60 myWidth = myWidth + parseInt(computedStyle.marginLeft);
61 myWidth = myWidth + parseInt(computedStyle.marginRight);
62 myWidth = myWidth + parseInt(computedStyle.borderLeftWidth);
63 myWidth = myWidth + parseInt(computedStyle.borderRightWidth);
64 }
65 }
66
67 vToolboxes[i].style.maxWidth = myWidth + "px";
68 }
69
70 // Breite wieder löschen (Toolbox flexibel)
71 else {
72 vToolboxes[i].removeAttribute('width');
73 vToolboxes[i].removeAttribute('style');
74 }
75 }//end if(vToolboxes[i].tagName == "toolbox")
76 }
77
78 return true;
79}
80
81/*
82function aiostbx_closeTab() {
83 var node = document.getElementById('aiostbx-tabright-toolbox');
84 while(node.localName != 'tabbrowser') node = node.parentNode;
85 node.removeCurrentTab();
86}*/
87
88
89/*
90 Sidebar unter die Tableiste verschieben - sehr experimentell
91 => in binding.xml muß dann "aioBrowser" entkommentiert werden
92*/
93function aiostbx_setSidebarUnderTabs() {
94
95 var aioBrowser = document.getElementById("aioBrowser");
96 var sidebar = document.getElementById("sidebar-box");
97 var splitter = document.getElementById("sidebar-splitter");
98
99 aioBrowser.appendChild(splitter);
100 aioBrowser.appendChild(sidebar);
101
102 return true;
103}
104
105
106// by Stephen Clavering with mods by eXXile
107function aiostbx_getToolboxes() {
108
109 aiostbx_toolboxes = [];
110 aiostbx_navToolbox = document.getElementById("navigator-toolbox");
111
112 var aiostbx_tmpBoxes = document.getElementsByTagName('toolbox');
113
114 for(var z = 0; z < aiostbx_tmpBoxes.length; z++) {
115 aiostbx_toolboxes.push(aiostbx_tmpBoxes[z]);
116 }
117
118 for(var i = 0; i < aiostbx_bindingBoxes.length; i++) {
119 if(document.getElementById(aiostbx_bindingBoxes[i]))
120 aiostbx_toolboxes.push(document.getElementById(aiostbx_bindingBoxes[i]));
121 }
122
123 return aiostbx_toolboxes;
124}
125
126
127/*
128 Workaround fuer Bookmark-Buttons-Bug: Bookmarks werden sonst bei maximiertem Fenster nach rechts verschoben
129 => funzt nur, wenn der Button immer ganz rechts bleibt
130 => Aufruf durch aiostbx_init() in 'tbx.js' und initDialog(), notifyParentComplete() in 'tbx_customize.js'
131*/
132function aiostbx_bmBugFix(append) {
133
134 var doc = aios_WIN.top.document;
135 if(window.opener) doc = window.opener.top.document;
136 if(!doc.getElementById('aiostbx-toolbar-statusbar-right')) return false;
137
138 var aiostbx_bmbugfixElemParent = doc.getElementById('aiostbx-toolbar-statusbar-right');
139
140 if(doc.getElementById('aiostbx-bmbugfix'))
141 aiostbx_bmbugfixElemParent.removeChild(aiostbx_bmbugfixElemParent.lastChild);
142
143 if(append) {
144 var newButton = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", "toolbarbutton");
145 newButton.setAttribute('id', 'aiostbx-bmbugfix');
146 newButton.setAttribute('class', 'toolbarbutton-1');
147
148 aiostbx_bmbugfixElemParent.appendChild(newButton);
149 }
150
151 return true;
152}
153
154
155if(aiosOS != "Darwin") {
156
157 var persistCurrentSets;
158 persistCurrentSets = function () {
159 // it would be nice to test for each individual toolbox, but that requires
160 // replicating all the drag+drop code just to change one or two lines
161
162 //alert(document.getElementById("navigator-toolbox").getAttribute("incustomisemode"));
163
164 /*
165 mod by eXXile
166 => sonst wird ein Pos.-Wechsel einer Toolbar nur gespeichert,
167 wenn auch ein Button auf die Toolbar oder von der toolbar gezogen wurde)
168
169 if(!gToolboxChanged) return;
170 */
171
172 // wenn die Position nicht über das Konfigurationsfenster geändert wurde
173 if(document.getElementById("CustomizeToolbarWindow") == null) {
174 if(window.opener) gToolbox = window.opener.top.document.getElementById("navigator-toolbox");
175 else gToolbox = document.getElementById("navigator-toolbox");
176
177 gToolboxes = aiostbx_getToolboxes();
178 gToolboxDocument = gToolbox.ownerDocument;
179
180 //alert(persistCurrentSets.caller);
181 if(document.getElementById("navigator-toolbox").getAttribute("incustomisemode") == "true") return;
182 }
183
184
185 var docElt = gToolboxDocument.documentElement;
186
187 for(var j = 0; j < gToolboxes.length; j++) {
188
189 var toolbox = gToolboxes[j];
190
191 var customCount = 0;
192 for(var i = 0; i < toolbox.childNodes.length; ++i) {
193 // Look for customizable toolbars that need to be persisted.
194 var toolbar = toolbox.childNodes[i];
195
196 // modby eXXile
197 // if(isCustomizableToolbar(toolbar)) {
198 if(toolbar.localName == "toolbar" && toolbar.getAttribute("customizable") == "true") {
199 // endmod
200
201 // Calculate currentset and store it in the attribute.
202 var currentSet = toolbar.currentSet;
203 toolbar.setAttribute("currentset", currentSet);
204
205 var customIndex = toolbar.hasAttribute("customindex");
206 if(customIndex) {
207 if(!toolbar.firstChild) {
208 // Remove custom toolbars whose contents have been removed.
209 toolbox.removeChild(toolbar);
210 --i;
211 } else if(toolbox.toolbarset.getAttribute('anonymous')=='true') {
212 // for the toolbox below the tab bar. in xbl, so attributes can't
213 // be persisted. so we store the info on the document root instead
214 //var docElt = gToolboxDocument.documentElement;
215 var attrPrefix = '_toolbarset_' + toolbox.toolbarset.getAttribute('anonid') + '_toolbar';
216
217 // Persist custom toolbar info on the <toolbarset/>
218 docElt.setAttribute(attrPrefix+(++customCount), toolbar.toolbarName + ":" + currentSet);
219 gToolboxDocument.persist(docElt.id, attrPrefix+customCount);
220 } else {
221 // Persist custom toolbar info on the <toolbarset/>
222 toolbox.toolbarset.setAttribute("toolbar"+(++customCount),
223 toolbar.toolbarName + ":" + currentSet);
224 gToolboxDocument.persist(toolbox.toolbarset.id, "toolbar"+customCount);
225 }
226
227 } else if(toolbar.getAttribute('anonymous')=='true') {
228 // for the tab-strip toolbars. they're in XBL, so persistence doesn't work
229 // instead we persist a custom attribute on the document.
230 var attr = "_toolbar_currentset_"+toolbar.getAttribute('anonid');
231 // gToolboxDocument.documentElement
232 docElt.setAttribute(attr,currentSet);
233 gToolboxDocument.persist(gToolboxDocument.documentElement.id,attr);
234
235 } else {
236 // Persist the currentset attribute directly on hardcoded toolbars.
237 gToolboxDocument.persist(toolbar.id, "currentset");
238 }
239 }
240 }
241
242 // Remove toolbarX attributes for removed toolbars.
243 // (we need the |if| because the toolboxes on the tabbar do not have a toolbarset)
244 var toolbarset = toolbox.toolbarset;
245 if(!toolbarset) continue;
246
247 if(toolbarset.getAttribute('anonymous')=='true') {
248 // for the toolbarbox below the tab bar
249 // var docElt = gToolboxDocument.documentElement;
250 //var
251 attrPrefix = '_toolbarset_' + toolbarset.getAttribute('anonid') + '_toolbar';
252 while(docElt.hasAttribute(attrPrefix+(++customCount))) {
253 docElt.removeAttribute(attrPrefix+customCount);
254 gToolboxDocument.persist(docElt.id, attrPrefix+customCount);
255 }
256 } else {
257 while(toolbox.toolbarset.hasAttribute("toolbar"+(++customCount))) {
258 toolbox.toolbarset.removeAttribute("toolbar"+customCount);
259 gToolboxDocument.persist(toolbox.toolbarset.id, "toolbar"+customCount);
260 }
261 }
262 }
263 }
264
265}
266\ No newline at end of file0\ No newline at end of file
2671
=== removed file 'chrome/aios.jar!/content/viewSource.xul'
--- chrome/aios.jar!/content/viewSource.xul 2008-11-14 11:44:00 +0000
+++ chrome/aios.jar!/content/viewSource.xul 1970-01-01 00:00:00 +0000
@@ -1,147 +0,0 @@
1<?xml version="1.0"?>
2
3<!-- skin -->
4<?xml-stylesheet href="chrome://aios/skin/viewsource.css"?>
5
6<!-- locale -->
7<!DOCTYPE overlay [
8 <!ENTITY % aiosDTD SYSTEM "chrome://aios/locale/lib.dtd"> %aiosDTD;
9]>
10
11<overlay id="viewSourceOverlay" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
12
13 <!-- scripts -->
14 <script type="application/x-javascript" src="chrome://aios/content/_common.js" />
15
16 <script><![CDATA[
17
18 //var aios_CONTENT = aios_APPCONTENT.childNodes[0];
19 var aios_CONTENT = aios_WIN.document.getElementById('content');
20
21 if(top.document.getElementById('sidebar') || top.toString() == "[object Window]") {
22
23 window.addEventListener("load", aios_init, false);
24
25 var tab = (top.toString() == "[object Window]") ? true : false;
26
27 // im Tab vorlauefig nur den Quelltext anzeigen
28 if(tab) {
29 var loc = "view-source:" + aios_WIN.aiosLastSelTab.document.location.href;
30 aios_CONTENT.webNavigation.loadURI(loc, null, null, null, null);
31 }
32
33 // aus dem <browser> ein normales Element ohne 'content-primary' machen
34 document.getElementById('content').setAttribute('type', 'content');
35
36 // Status-Leiste unsichtbar
37 if(document.getElementById('status-bar')) document.getElementById('status-bar').hidden = true;
38
39 // Funktionen modifizieren, um die URL aus dem Browser anstatt einem übergebenem Argument zu entnehmen, ...
40 onLoadViewSource = function() {
41 // viewSource(window.arguments[0]); // Firefox-Variante f. Fenster
42 aios_viewSource();
43 document.commandDispatcher.focusedWindow = content;
44 if(typeof initFindBar != "undefined") initFindBar();
45 }
46
47 // ... und um den 'content' korrekt aus der Sidebar heraus anzusprechen, ...
48 eval(aios_replaceString(viewSource));
49 eval(aios_replaceString(onLoadContent));
50 eval(aios_replaceString(goToLine));
51 eval(aios_replaceString(updateStatusBar));
52 eval(aios_replaceString(findLocation));
53 eval(aios_replaceString(wrapLongLines));
54
55 // ... und um die richtigen URLs zum Editieren und Speichern zu verwenden
56 ViewSourceEditPage = function() {
57 // editPage(window.content.location.href.substring(12), window, false); // Firefox-Variante f. Fenster
58 if(tab && aios_WIN.aiosLastSelTab) editPage(aios_WIN.aiosLastSelTab.location.href, window, false);
59 else editPage(window.content.location.href, window, false);
60 }
61 ViewSourceSavePage = function() {
62 // saveURL(window.content.location.href.substring(12), null, "SaveLinkTitle"); // Firefox-Variante f. Fenster
63 if(tab && aios_WIN.aiosLastSelTab) saveURL(window.content.location.href, null, "SaveLinkTitle");
64 else saveURL(aios_WIN.aiosLastSelTab.location.href, null, "SaveLinkTitle");
65 }
66
67 // Listener für automatische Aktualisierung hinzufügen u. entfernen
68 if(!tab) {
69 window.addEventListener("load", function(e) {
70 if(top.gBrowser.addProgressListener) top.gBrowser.addProgressListener(aiosProgListener, Components.interfaces.nsIWebProgress.NOTIFY_STATE_DOCUMENT);
71 }, false);
72
73 window.addEventListener("unload",function(e) {
74 if(top.gBrowser.removeProgressListener) top.gBrowser.removeProgressListener(aiosProgListener);
75 }, false);
76 }
77 }
78
79
80 /*
81 Helfer-Funktionen
82 */
83 function aios_init() {
84 if(aios_getBoolean('viewSource-main-menubar', 'aiosInit')) return false;
85
86 // im 'File'-Menü die letzten beiden Elemente löschen (Separator und 'Close')
87 var filePopUp = document.getElementById('filemenu-popup');
88 filePopUp.removeChild(filePopUp.lastChild);
89 filePopUp.removeChild(filePopUp.lastChild);
90
91 // CSS-Formatierungen antriggern
92 document.getElementById('viewSource-main-menubar').setAttribute('aiosLayout', true);
93
94 document.getElementById('viewSource-main-menubar').setAttribute('aiosInit', true);
95 return true;
96 }
97
98 function aios_replaceString(aFunc) {
99 var func = aFunc.toString();
100 var newFunc;
101
102 if(tab && aios_WIN.aiosLastSelTab) newFunc = func.replace(/window.content/, "aios_WIN.aiosLastSelTab");
103 else newFunc = func.replace(/window.content/, "document.getElementById('content').contentWindow");
104
105 return newFunc;
106 }
107
108 function aios_viewSource() {
109 var locHref;
110
111 if(tab && aios_WIN.aiosLastSelTab) locHref = aios_WIN.aiosLastSelTab.document.location.href
112 else locHref = (aios_CONTENT.currentURI) ? aios_CONTENT.currentURI.spec : "about:blank";
113
114 viewSource(locHref);
115 }
116
117 // automatische Aktualisierung => Aufruf durch aiosProgListener (_common.js)
118 function aios_onLocationChange() {
119 if(aios_getBoolean('autoReload-mitem', 'checked')) {
120 if(!tab) aios_viewSource();
121 }
122 }
123
124 ]]></script>
125
126
127
128 <menubar id="viewSource-main-menubar" aiosLayout="false">
129
130 <toolbarbutton id="reload-button" class="toolbarbutton-1" type="menu-button" oncommand="aios_viewSource();"
131 label="&refresh.label;" tooltiptext="&refresh.tooltip;" position="1">
132
133 <menupopup>
134 <menuitem id="autoReload-mitem" type="checkbox" checked="true" autocheck="false" persist="checked"
135 label="&refresh.auto.label;" tooltiptext="&refresh.auto.tooltip;"
136 oncommand="aios_toggleElement(this); aios_onLocationChange(); event.stopPropagation();" />
137 </menupopup>
138
139 </toolbarbutton>
140
141 <toolbarseparator id="toolbar-sep" position="2" />
142
143 </menubar>
144
145 <menuitem id="menu_highlightSyntax" onmouseup="aios_viewSource();" />
146
147</overlay>
148\ No newline at end of file0\ No newline at end of file
1491
=== removed file 'chrome/aios.jar!/content/xpinstallConfirm.xul'
--- chrome/aios.jar!/content/xpinstallConfirm.xul 2008-11-14 11:44:00 +0000
+++ chrome/aios.jar!/content/xpinstallConfirm.xul 1970-01-01 00:00:00 +0000
@@ -1,41 +0,0 @@
1<?xml version="1.0"?>
2
3<overlay id="aios_installOverlay" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
4
5 <script type="application/x-javascript" src="chrome://aios/content/_common.js" />
6
7 <script><![CDATA[
8
9 function aiosXPInstallConfirm() {
10
11 // !top.document.getElementById('sidebar') => ich bin keine Sidebar
12 // top.toString() != "[object Window]" => ich bin kein Tab
13 if(!top.document.getElementById('sidebar') && top.toString() != "[object Window]") {
14 var enable_sidebar = aios_gPrefBranch.getBoolPref("em.sidebar");
15 var sidebar = aios_WIN.document.getElementById('sidebar-box');
16 var isAddons = aios_WIN.document.getElementById('Tools:Addons');
17
18 //if(enable_sidebar && !aios_WIN.aiosIsWindow && (!sidebar || sidebar.getAttribute('sidebarcommand') != "viewExtensionsSidebar")) {
19 if(enable_sidebar && !aios_WIN.aiosIsWindow) {
20
21 if(isAddons) {
22 aios_WIN.aiosSetAddOnsView = "installs"; // in etd.js zum Installationspanel wechseln
23 aios_WIN.toggleSidebar("viewAddonsSidebar", true);
24 }
25 else aios_WIN.toggleSidebar("viewExtensionsSidebar", true);
26 }
27 }
28
29 document.documentElement.getButton("cancel").focus();
30 window.setTimeout("aios_setFocus()", 500);
31 }
32
33 function aios_setFocus() {
34 document.documentElement.getButton("cancel").focus();
35 }
36
37 window.addEventListener("load", function(e) { aiosXPInstallConfirm(); }, false);
38
39 ]]></script>
40
41</overlay>
42\ No newline at end of file0\ No newline at end of file
431
=== removed file 'chrome/aios.jar!/locale/ar/tbx.dtd'
--- chrome/aios.jar!/locale/ar/tbx.dtd 2008-11-14 11:44:00 +0000
+++ chrome/aios.jar!/locale/ar/tbx.dtd 1970-01-01 00:00:00 +0000
@@ -1,23 +0,0 @@
1<!ENTITY config.instructions.description "لديك المزيد من الخيارات م�صلة لكل شريط أدوات بالضغط بزر ال�أرة الأيمن على شريط الأدوات و اختر الخيار الذي تريده من ال&#8220;قائمة خصائص شريط الأدوات&amp;#8221.">
2<!ENTITY config.global.caption "الخيارات العامة">
3<!ENTITY toolbar.customize.label "خيارات شريط الأدوات">
4<!ENTITY toolbar.pos.top.label "أعلى">
5<!ENTITY toolbar.pos.belowtabs.label "أس�ل الألسنة">
6<!ENTITY toolbar.pos.bottom.label "أس�ل">
7<!ENTITY toolbar.pos.left.label "يسار">
8<!ENTITY toolbar.pos.sidebarleft.label "يساراً بمحاذاة شريط الأدوات">
9<!ENTITY toolbar.pos.sidebarright.label "يميناً بمحازاة الشريط الجانبي">
10<!ENTITY toolbar.pos.right.label "يمين">
11<!ENTITY toolbar.pos.sidebartop.label "أعلى الشريط الجانبي">
12<!ENTITY toolbar.pos.headerbottom.label "أس�ل هامش الشريط الجانبي">
13<!ENTITY toolbar.pos.sidebarbottom.label "أس�ل الشريط الجانبي">
14<!ENTITY toolbar.mode.iconstext.label "أيقونات و نصوص">
15<!ENTITY toolbar.mode.icons.label "أيقونات �قط">
16<!ENTITY toolbar.mode.text.label "نصوص �قط">
17<!ENTITY toolbar.mode.smallicons.label "أيقونات صغيرة">
18<!ENTITY toolbar.mode.fullscreen.label "اظهر بعرض كامل الشاشة">
19<!ENTITY toolbar.mode.flexbuttons.label "أزرار مرنة">
20<!ENTITY button.sidebar.close.label "اغلق الشريط الجانبي">
21<!ENTITY button.sidebar.close.tooltip "يغلق الشريط الجانبي">
22<!ENTITY button.tab.close.label "اغلق اللسان">
23<!ENTITY button.tab.close.tooltip "يغلق اللسان">
240
=== removed file 'chrome/aios.jar!/locale/be-BY/tbx.dtd'
--- chrome/aios.jar!/locale/be-BY/tbx.dtd 2008-11-14 11:44:00 +0000
+++ chrome/aios.jar!/locale/be-BY/tbx.dtd 1970-01-01 00:00:00 +0000
@@ -1,23 +0,0 @@
1<!ENTITY config.instructions.description "Вы можаце наладзіць кожную пан�ль прылад а�обна. Дл� г�тага наці�ніце правай кнопкай мышы на пан�лі прылад і вылучыце патр�бны� налады ў меню &#8220;Параметры пан�лі прылад&#8221;.">
2<!ENTITY config.global.caption "Глабальны� параметры">
3<!ENTITY toolbar.customize.label "Параметры пан�лі прылад">
4<!ENTITY toolbar.pos.top.label "Разм��ціць зверху">
5<!ENTITY toolbar.pos.belowtabs.label "Разм��ціць пад пан�ллю ўкладак">
6<!ENTITY toolbar.pos.bottom.label "Разм��ціць над радком �тану">
7<!ENTITY toolbar.pos.left.label "Разм��ціць злева">
8<!ENTITY toolbar.pos.sidebarleft.label "Разм��ціць злева ад бакавой пан�лі">
9<!ENTITY toolbar.pos.sidebarright.label "Разм��ціць �права ад бакавой пан�лі">
10<!ENTITY toolbar.pos.right.label "Разм��ціць �права">
11<!ENTITY toolbar.pos.sidebartop.label "Разм��ціць над бакавой пан�ллю">
12<!ENTITY toolbar.pos.headerbottom.label "Разм��ціць пад загалоўкам бакавой пан�лі">
13<!ENTITY toolbar.pos.sidebarbottom.label "Разм��ціць пад бакавой пан�ллю">
14<!ENTITY toolbar.mode.iconstext.label "Значкі і т�к�т">
15<!ENTITY toolbar.mode.icons.label "Толькі значкі">
16<!ENTITY toolbar.mode.text.label "Толькі т�к�т">
17<!ENTITY toolbar.mode.smallicons.label "Маленькі� значкі">
18<!ENTITY toolbar.mode.fullscreen.label "Паказваць у поўна�кранным р�жыме">
19<!ENTITY toolbar.mode.flexbuttons.label "Пла�тычны� кнопкі">
20<!ENTITY button.sidebar.close.label "Зачыніць бакавую пан�ль">
21<!ENTITY button.sidebar.close.tooltip "Зачыніць бакавую пан�ль">
22<!ENTITY button.tab.close.label "Зачыніць укладку">
23<!ENTITY button.tab.close.tooltip "Зачыніць укладку">
240
=== removed file 'chrome/aios.jar!/locale/cs-CZ/tbx.dtd'
--- chrome/aios.jar!/locale/cs-CZ/tbx.dtd 2008-11-14 11:44:00 +0000
+++ chrome/aios.jar!/locale/cs-CZ/tbx.dtd 1970-01-01 00:00:00 +0000
@@ -1,23 +0,0 @@
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“">
2<!ENTITY config.global.caption "Obecná nastavení">
3<!ENTITY toolbar.customize.label "Možnosti zobrazení této lišty">
4<!ENTITY toolbar.pos.top.label "Nahoře">
5<!ENTITY toolbar.pos.belowtabs.label "Pod panely">
6<!ENTITY toolbar.pos.bottom.label "Dole">
7<!ENTITY toolbar.pos.left.label "Vlevo">
8<!ENTITY toolbar.pos.sidebarleft.label "Vlevo při postranní liště">
9<!ENTITY toolbar.pos.sidebarright.label "Vpravo při postranní liště">
10<!ENTITY toolbar.pos.right.label "Vpravo">
11<!ENTITY toolbar.pos.sidebartop.label "Nad postranní lištou">
12<!ENTITY toolbar.pos.headerbottom.label "Pod návěstím postranní lišty">
13<!ENTITY toolbar.pos.sidebarbottom.label "Pod postranní lištou">
14<!ENTITY toolbar.mode.iconstext.label "Ikony a textový popis">
15<!ENTITY toolbar.mode.icons.label "Pouze ikony">
16<!ENTITY toolbar.mode.text.label "Pouze textový popis">
17<!ENTITY toolbar.mode.smallicons.label "Malé ikony">
18<!ENTITY toolbar.mode.fullscreen.label "Zobrazovat i v celoobrazovkovém režimu">
19<!ENTITY toolbar.mode.flexbuttons.label "Vyplnit tla�ítky volný prostor">
20<!ENTITY button.sidebar.close.label "Zavřít postranní lištu">
21<!ENTITY button.sidebar.close.tooltip "Zavře postranní lištu">
22<!ENTITY button.tab.close.label "Zavřít panel">
23<!ENTITY button.tab.close.tooltip "Zavře panel">
240
=== removed file 'chrome/aios.jar!/locale/da-DK/tbx.dtd'
--- chrome/aios.jar!/locale/da-DK/tbx.dtd 2008-11-14 11:44:00 +0000
+++ chrome/aios.jar!/locale/da-DK/tbx.dtd 1970-01-01 00:00:00 +0000
@@ -1,23 +0,0 @@
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.">
2<!ENTITY config.global.caption "Globale indstillinger">
3<!ENTITY toolbar.customize.label "Værktøjslinje-egenskaber">
4<!ENTITY toolbar.pos.top.label "Top">
5<!ENTITY toolbar.pos.belowtabs.label "Under faneblade">
6<!ENTITY toolbar.pos.bottom.label "Bund">
7<!ENTITY toolbar.pos.left.label "Venstre">
8<!ENTITY toolbar.pos.sidebarleft.label "Venstre ved siden af sidebjælke">
9<!ENTITY toolbar.pos.sidebarright.label "Højre ved siden af sidebjælke">
10<!ENTITY toolbar.pos.right.label "Højre">
11<!ENTITY toolbar.pos.sidebartop.label "Over sidebjælke">
12<!ENTITY toolbar.pos.headerbottom.label "Under sidebjælke sidehoved">
13<!ENTITY toolbar.pos.sidebarbottom.label "Under sidebjælke">
14<!ENTITY toolbar.mode.iconstext.label "Ikoner og tekst">
15<!ENTITY toolbar.mode.icons.label "Kun ikoner">
16<!ENTITY toolbar.mode.text.label "Kun tekst">
17<!ENTITY toolbar.mode.smallicons.label "Små ikoner">
18<!ENTITY toolbar.mode.fullscreen.label "Vis i fuldskærms-modus">
19<!ENTITY toolbar.mode.flexbuttons.label "Fleksible knapper">
20<!ENTITY button.sidebar.close.label "Luk sidebjælke">
21<!ENTITY button.sidebar.close.tooltip "Lukker sidebjælke">
22<!ENTITY button.tab.close.label "Luk fane">
23<!ENTITY button.tab.close.tooltip "Luk faneblad">
240
=== removed file 'chrome/aios.jar!/locale/de-DE/tbx.dtd'
--- chrome/aios.jar!/locale/de-DE/tbx.dtd 2008-11-14 11:44:00 +0000
+++ chrome/aios.jar!/locale/de-DE/tbx.dtd 1970-01-01 00:00:00 +0000
@@ -1,23 +0,0 @@
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ü &#8222;Eigenschaften dieser Symbolleiste&#8220; wählen.">
2<!ENTITY config.global.caption "Globale Einstellungen">
3<!ENTITY toolbar.customize.label "Eigenschaften dieser Symbolleiste">
4<!ENTITY toolbar.pos.top.label "oben">
5<!ENTITY toolbar.pos.belowtabs.label "unter der Tab-Leiste">
6<!ENTITY toolbar.pos.bottom.label "unten">
7<!ENTITY toolbar.pos.left.label "links">
8<!ENTITY toolbar.pos.sidebarleft.label "links neben der Sidebar">
9<!ENTITY toolbar.pos.sidebarright.label "rechts neben der Sidebar">
10<!ENTITY toolbar.pos.right.label "rechts">
11<!ENTITY toolbar.pos.sidebartop.label "über der Sidebar">
12<!ENTITY toolbar.pos.headerbottom.label "unter der Sidebar-Kopfleiste">
13<!ENTITY toolbar.pos.sidebarbottom.label "unter der Sidebar">
14<!ENTITY toolbar.mode.iconstext.label "Symbole und Text">
15<!ENTITY toolbar.mode.icons.label "Symbole">
16<!ENTITY toolbar.mode.text.label "Text">
17<!ENTITY toolbar.mode.smallicons.label "kleine Symbole">
18<!ENTITY toolbar.mode.fullscreen.label "im Vollbild-Modus anzeigen">
19<!ENTITY toolbar.mode.flexbuttons.label "flexible Schaltflächen">
20<!ENTITY button.sidebar.close.label "Sidebar schließen">
21<!ENTITY button.sidebar.close.tooltip "Sidebar schließen">
22<!ENTITY button.tab.close.label "Tab schließen">
23<!ENTITY button.tab.close.tooltip "Tab schließen">
240
=== removed file 'chrome/aios.jar!/locale/el-GR/tbx.dtd'
--- chrome/aios.jar!/locale/el-GR/tbx.dtd 2008-11-14 11:44:00 +0000
+++ chrome/aios.jar!/locale/el-GR/tbx.dtd 1970-01-01 00:00:00 +0000
@@ -1,23 +0,0 @@
1<!ENTITY config.instructions.description "Μπο�είτε να �υθμίσετε πε�ισσότε�ες επιλογές για κάθε ε�γαλειοθήκη ξεχω�ιστά, κάνοντας δεξί κλικ και επιλέγοντας από το μενο� «ιδιότητες ε�γαλειοθηκών»">
2<!ENTITY config.global.caption "Γενικές επιλογές">
3<!ENTITY toolbar.customize.label "Ιδιότητες ε�γαλειοθηκών">
4<!ENTITY toolbar.pos.top.label "Κο�υφή">
5<!ENTITY toolbar.pos.belowtabs.label "Κάτω από τις κα�τέλες">
6<!ENTITY toolbar.pos.bottom.label "Βάση">
7<!ENTITY toolbar.pos.left.label "Α�ιστε�ά">
8<!ENTITY toolbar.pos.sidebarleft.label "Α�ιστε�ά από την πλευ�ική στήλη">
9<!ENTITY toolbar.pos.sidebarright.label "Δεξιά από την πλευ�ική στήλη">
10<!ENTITY toolbar.pos.right.label "Δεξιά">
11<!ENTITY toolbar.pos.sidebartop.label "Πάνω από την πλευ�ική στήλη">
12<!ENTITY toolbar.pos.headerbottom.label "Κάτω από την κεφαλίδα πλευ�ικής στήλης">
13<!ENTITY toolbar.pos.sidebarbottom.label "Κάτω από την πλευ�ική στήλη">
14<!ENTITY toolbar.mode.iconstext.label "Εικόνες και κείμενο">
15<!ENTITY toolbar.mode.icons.label "Μόνο εικόνες">
16<!ENTITY toolbar.mode.text.label "Μόνο κείμενο">
17<!ENTITY toolbar.mode.smallicons.label "Μικ�ές εικόνες">
18<!ENTITY toolbar.mode.fullscreen.label "Π�οβολή σε κατάσταση πλή�ους οθόνης">
19<!ENTITY toolbar.mode.flexbuttons.label "Ευέλικτα κουμπιά">
20<!ENTITY button.sidebar.close.label "Κλείσιμο πλευ�ικής στήλης">
21<!ENTITY button.sidebar.close.tooltip "Κλείσιμο πλευ�ικής στήλης">
22<!ENTITY button.tab.close.label "Κλείσιμο κα�τέλας">
23<!ENTITY button.tab.close.tooltip "Κλείσιμο κα�τέλας">
240
=== removed file 'chrome/aios.jar!/locale/en-GB/tbx.dtd'
--- chrome/aios.jar!/locale/en-GB/tbx.dtd 2008-11-14 11:44:00 +0000
+++ chrome/aios.jar!/locale/en-GB/tbx.dtd 1970-01-01 00:00:00 +0000
@@ -1,23 +0,0 @@
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 &#8220;Toolbar Properties&#8221; menu.">
2<!ENTITY config.global.caption "Global Options">
3<!ENTITY toolbar.customize.label "Toolbar Properties">
4<!ENTITY toolbar.pos.top.label "Top">
5<!ENTITY toolbar.pos.belowtabs.label "Below Tabs">
6<!ENTITY toolbar.pos.bottom.label "Bottom">
7<!ENTITY toolbar.pos.left.label "Left">
8<!ENTITY toolbar.pos.sidebarleft.label "Left Beside Sidebar">
9<!ENTITY toolbar.pos.sidebarright.label "Right Beside Sidebar">
10<!ENTITY toolbar.pos.right.label "Right">
11<!ENTITY toolbar.pos.sidebartop.label "Above Sidebar">
12<!ENTITY toolbar.pos.headerbottom.label "Below Sidebar Header">
13<!ENTITY toolbar.pos.sidebarbottom.label "Below Sidebar">
14<!ENTITY toolbar.mode.iconstext.label "Icons and Text">
15<!ENTITY toolbar.mode.icons.label "Icons Only">
16<!ENTITY toolbar.mode.text.label "Text Only">
17<!ENTITY toolbar.mode.smallicons.label "Small Icons">
18<!ENTITY toolbar.mode.fullscreen.label "Show in Full-Screen-Mode">
19<!ENTITY toolbar.mode.flexbuttons.label "Flexible Buttons">
20<!ENTITY button.sidebar.close.label "Close Sidebar">
21<!ENTITY button.sidebar.close.tooltip "Close sidebar">
22<!ENTITY button.tab.close.label "Close Tab">
23<!ENTITY button.tab.close.tooltip "Close tab">
240
=== removed file 'chrome/aios.jar!/locale/en-US/tbx.dtd'
--- chrome/aios.jar!/locale/en-US/tbx.dtd 2008-11-14 11:44:00 +0000
+++ chrome/aios.jar!/locale/en-US/tbx.dtd 1970-01-01 00:00:00 +0000
@@ -1,23 +0,0 @@
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 &#8220;Toolbar Properties&#8221; menu.">
2<!ENTITY config.global.caption "Global Options">
3<!ENTITY toolbar.customize.label "Toolbar Properties">
4<!ENTITY toolbar.pos.top.label "Top">
5<!ENTITY toolbar.pos.belowtabs.label "Below Tabs">
6<!ENTITY toolbar.pos.bottom.label "Bottom">
7<!ENTITY toolbar.pos.left.label "Left">
8<!ENTITY toolbar.pos.sidebarleft.label "Left Beside Sidebar">
9<!ENTITY toolbar.pos.sidebarright.label "Right Beside Sidebar">
10<!ENTITY toolbar.pos.right.label "Right">
11<!ENTITY toolbar.pos.sidebartop.label "Above Sidebar">
12<!ENTITY toolbar.pos.headerbottom.label "Below Sidebar Header">
13<!ENTITY toolbar.pos.sidebarbottom.label "Below Sidebar">
14<!ENTITY toolbar.mode.iconstext.label "Icons and Text">
15<!ENTITY toolbar.mode.icons.label "Icons Only">
16<!ENTITY toolbar.mode.text.label "Text Only">
17<!ENTITY toolbar.mode.smallicons.label "Small Icons">
18<!ENTITY toolbar.mode.fullscreen.label "Show in Full-Screen-Mode">
19<!ENTITY toolbar.mode.flexbuttons.label "Flexible Buttons">
20<!ENTITY button.sidebar.close.label "Close Sidebar">
21<!ENTITY button.sidebar.close.tooltip "Close sidebar">
22<!ENTITY button.tab.close.label "Close Tab">
23<!ENTITY button.tab.close.tooltip "Close tab">
240
=== removed file 'chrome/aios.jar!/locale/es-AR/tbx.dtd'
--- chrome/aios.jar!/locale/es-AR/tbx.dtd 2008-11-14 11:44:00 +0000
+++ chrome/aios.jar!/locale/es-AR/tbx.dtd 1970-01-01 00:00:00 +0000
@@ -1,23 +0,0 @@
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ú &quot;Propiedades de la Barra de Herramientas&quot;.">
2<!ENTITY config.global.caption "Opciones Globales">
3<!ENTITY toolbar.customize.label "Propiedades de la Barra de Herramientas">
4<!ENTITY toolbar.pos.top.label "Arriba">
5<!ENTITY toolbar.pos.belowtabs.label "Debajo de las Pestañas">
6<!ENTITY toolbar.pos.bottom.label "Abajo">
7<!ENTITY toolbar.pos.left.label "Izquierda">
8<!ENTITY toolbar.pos.sidebarleft.label "A la izquerda del Barra Lateral">
9<!ENTITY toolbar.pos.sidebarright.label "A la derecha del Barra Lateral">
10<!ENTITY toolbar.pos.right.label "Derecha">
11<!ENTITY toolbar.pos.sidebartop.label "Encima del Barra Lateral">
12<!ENTITY toolbar.pos.headerbottom.label "Debajo del encabezado del Barra Lateral">
13<!ENTITY toolbar.pos.sidebarbottom.label "Debajo del Barra Lateral">
14<!ENTITY toolbar.mode.iconstext.label "�conos y Texto">
15<!ENTITY toolbar.mode.icons.label "�conos Solamente">
16<!ENTITY toolbar.mode.text.label "texto Solamente">
17<!ENTITY toolbar.mode.smallicons.label "�conos Pequeños">
18<!ENTITY toolbar.mode.fullscreen.label "Mostrar en el Modo Pantalla Completa">
19<!ENTITY toolbar.mode.flexbuttons.label "Botones Flexibles">
20<!ENTITY button.sidebar.close.label "Cerrar Barra Lateral">
21<!ENTITY button.sidebar.close.tooltip "Cerrar barra lateral">
22<!ENTITY button.tab.close.label "Cerrar Pestaña">
23<!ENTITY button.tab.close.tooltip "Cerrar pestaña">
240
=== removed file 'chrome/aios.jar!/locale/es-ES/tbx.dtd'
--- chrome/aios.jar!/locale/es-ES/tbx.dtd 2008-11-14 11:44:00 +0000
+++ chrome/aios.jar!/locale/es-ES/tbx.dtd 1970-01-01 00:00:00 +0000
@@ -1,23 +0,0 @@
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�.">
2<!ENTITY config.global.caption "Opciones globales">
3<!ENTITY toolbar.customize.label "Propiedades de la barra de herramientas">
4<!ENTITY toolbar.pos.top.label "Arriba">
5<!ENTITY toolbar.pos.belowtabs.label "Bajo las pestañas">
6<!ENTITY toolbar.pos.bottom.label "Abajo">
7<!ENTITY toolbar.pos.left.label "Izquierda">
8<!ENTITY toolbar.pos.sidebarleft.label "Izquiera del panel lateral">
9<!ENTITY toolbar.pos.sidebarright.label "Derecha del panel lateral">
10<!ENTITY toolbar.pos.right.label "Derecha">
11<!ENTITY toolbar.pos.sidebartop.label "Sobre el panel lateral">
12<!ENTITY toolbar.pos.headerbottom.label "Bajo la cabecera del panel">
13<!ENTITY toolbar.pos.sidebarbottom.label "Bajo el panel lateral">
14<!ENTITY toolbar.mode.iconstext.label "Iconos y texto">
15<!ENTITY toolbar.mode.icons.label "Sólo iconos">
16<!ENTITY toolbar.mode.text.label "Sólo texto">
17<!ENTITY toolbar.mode.smallicons.label "Iconos pequeños">
18<!ENTITY toolbar.mode.fullscreen.label "Mostrar en el modo de pantalla completa">
19<!ENTITY toolbar.mode.flexbuttons.label "Botones flexibles">
20<!ENTITY button.sidebar.close.label "Cerrar panel lateral">
21<!ENTITY button.sidebar.close.tooltip "Cerrar panel lateral">
22<!ENTITY button.tab.close.label "Cerrar pestaña">
23<!ENTITY button.tab.close.tooltip "Cerrar pestaña">
240
=== removed file 'chrome/aios.jar!/locale/et-EE/tbx.dtd'
--- chrome/aios.jar!/locale/et-EE/tbx.dtd 2008-11-14 11:44:00 +0000
+++ chrome/aios.jar!/locale/et-EE/tbx.dtd 1970-01-01 00:00:00 +0000
@@ -1,23 +0,0 @@
1<!ENTITY config.instructions.description "Iga tööriistariba jaoks saab valikuid muuta ka paremklikkides ja &#8220;Tööriistariba valikud&#8221; menüüst sobivat valikut tehes">
2<!ENTITY config.global.caption "Ãœldised valikud">
3<!ENTITY toolbar.customize.label "Tööriistariba valikud">
4<!ENTITY toolbar.pos.top.label "Ãœleval">
5<!ENTITY toolbar.pos.belowtabs.label "Sakkide all">
6<!ENTITY toolbar.pos.bottom.label "All">
7<!ENTITY toolbar.pos.left.label "Vasakul">
8<!ENTITY toolbar.pos.sidebarleft.label "Vasakul Sidebar&apos;i kõrval">
9<!ENTITY toolbar.pos.sidebarright.label "Paremal Sidebar&apos;i kürval">
10<!ENTITY toolbar.pos.right.label "Paremal">
11<!ENTITY toolbar.pos.sidebartop.label "Sidebar&apos;i kohal">
12<!ENTITY toolbar.pos.headerbottom.label "Sidebar&apos;i pealkirja all">
13<!ENTITY toolbar.pos.sidebarbottom.label "Sidebar&apos;i all">
14<!ENTITY toolbar.mode.iconstext.label "Ikoonid ja tekst">
15<!ENTITY toolbar.mode.icons.label "Ainult ikoonid">
16<!ENTITY toolbar.mode.text.label "Ainult tekst">
17<!ENTITY toolbar.mode.smallicons.label "Väikesed ikoonid">
18<!ENTITY toolbar.mode.fullscreen.label "Näita täisekraanil">
19<!ENTITY toolbar.mode.flexbuttons.label "Paindlikud nupud">
20<!ENTITY button.sidebar.close.label "Sule Sidebar">
21<!ENTITY button.sidebar.close.tooltip "Sule külgaken">
22<!ENTITY button.tab.close.label "Sule sakk">
23<!ENTITY button.tab.close.tooltip "Sule sakk">
240
=== removed file 'chrome/aios.jar!/locale/fi-FI/tbx.dtd'
--- chrome/aios.jar!/locale/fi-FI/tbx.dtd 2008-11-14 11:44:00 +0000
+++ chrome/aios.jar!/locale/fi-FI/tbx.dtd 1970-01-01 00:00:00 +0000
@@ -1,23 +0,0 @@
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.">
2<!ENTITY config.global.caption "Yleiset asetukset">
3<!ENTITY toolbar.customize.label "Työkalupalkin asetukset">
4<!ENTITY toolbar.pos.top.label "Huippu">
5<!ENTITY toolbar.pos.belowtabs.label "Välilehtien alapuolella">
6<!ENTITY toolbar.pos.bottom.label "Pohja">
7<!ENTITY toolbar.pos.left.label "Vasen">
8<!ENTITY toolbar.pos.sidebarleft.label "Vasemman puoleinen sivupaneeli">
9<!ENTITY toolbar.pos.sidebarright.label "Oikean puoleinen sivupaneeli">
10<!ENTITY toolbar.pos.right.label "Oikea">
11<!ENTITY toolbar.pos.sidebartop.label "Sivupaneelin yläpuolella">
12<!ENTITY toolbar.pos.headerbottom.label "Sivupaneelin tunnisteen alapuolella">
13<!ENTITY toolbar.pos.sidebarbottom.label "Sivupaneelin alapuolella">
14<!ENTITY toolbar.mode.iconstext.label "Kuvakkeet ja teksti">
15<!ENTITY toolbar.mode.icons.label "Vain kuvakkeet">
16<!ENTITY toolbar.mode.text.label "Vain teksti">
17<!ENTITY toolbar.mode.smallicons.label "Pienet kuvakkeet">
18<!ENTITY toolbar.mode.fullscreen.label "Näytä kokoruutu tilassa">
19<!ENTITY toolbar.mode.flexbuttons.label "Joustavat painikkeet">
20<!ENTITY button.sidebar.close.label "Sulje sivupalkki">
21<!ENTITY button.sidebar.close.tooltip "Sulje sivupalkki">
22<!ENTITY button.tab.close.label "Sulje välilehti">
23<!ENTITY button.tab.close.tooltip "Sulje välilehti">
240
=== removed file 'chrome/aios.jar!/locale/fr-FR/tbx.dtd'
--- chrome/aios.jar!/locale/fr-FR/tbx.dtd 2008-11-14 11:44:00 +0000
+++ chrome/aios.jar!/locale/fr-FR/tbx.dtd 1970-01-01 00:00:00 +0000
@@ -1,23 +0,0 @@
1<!ENTITY config.instructions.description "Vous disposerez de davantage d&apos;options pour chaque barre d&apos;outils en cliquant-droit dans la barre d&apos;outil et en choisissant l&apos;option voulue dans le menu des &apos;Propriétés de la barre d&apos;outils&apos;">
2<!ENTITY config.global.caption "Options générales">
3<!ENTITY toolbar.customize.label "Propriétés de la barre d&apos;outils">
4<!ENTITY toolbar.pos.top.label "En Haut">
5<!ENTITY toolbar.pos.belowtabs.label "Sous les onglets">
6<!ENTITY toolbar.pos.bottom.label "En bas">
7<!ENTITY toolbar.pos.left.label "À gauche">
8<!ENTITY toolbar.pos.sidebarleft.label "À gauche près du panneau latéral">
9<!ENTITY toolbar.pos.sidebarright.label "À droite près du panneau latéral">
10<!ENTITY toolbar.pos.right.label "À droite">
11<!ENTITY toolbar.pos.sidebartop.label "Au-dessus du panneau latéral">
12<!ENTITY toolbar.pos.headerbottom.label "En-dessous du titre du panneau latéral">
13<!ENTITY toolbar.pos.sidebarbottom.label "En-dessous du panneau latéral">
14<!ENTITY toolbar.mode.iconstext.label "Icônes et texte">
15<!ENTITY toolbar.mode.icons.label "Seulement les icônes">
16<!ENTITY toolbar.mode.text.label "Seulement le texte">
17<!ENTITY toolbar.mode.smallicons.label "Petites icônes">
18<!ENTITY toolbar.mode.fullscreen.label "Afficher en mode plein écran">
19<!ENTITY toolbar.mode.flexbuttons.label "Boutons paramétrables">
20<!ENTITY button.sidebar.close.label "Fermer le panneau latéral">
21<!ENTITY button.sidebar.close.tooltip "Fermeture du panneau latéral">
22<!ENTITY button.tab.close.label "Fermer l&apos;onglet">
23<!ENTITY button.tab.close.tooltip "Fermeture de l&apos;onglet">
240
=== removed file 'chrome/aios.jar!/locale/he-IL/tbx.dtd'
--- chrome/aios.jar!/locale/he-IL/tbx.dtd 2008-11-14 11:44:00 +0000
+++ chrome/aios.jar!/locale/he-IL/tbx.dtd 1970-01-01 00:00:00 +0000
@@ -1,23 +0,0 @@
1<!ENTITY config.instructions.description "יש לך עוד �פשרויות נפרדות לכל סרגל כלי� על ידי לחיצה ימנית על הסרגל ובחירה של ה�פשרות הרצוייה ב“ בתפריט סרגל ה�פשרויות � .">
2<!ENTITY config.global.caption "�פשרויות גלוב�ליות">
3<!ENTITY toolbar.customize.label "הגדרות סרגל הכלי�">
4<!ENTITY toolbar.pos.top.label "למעלה">
5<!ENTITY toolbar.pos.belowtabs.label "מתחת ללשוניות">
6<!ENTITY toolbar.pos.bottom.label "למטה">
7<!ENTITY toolbar.pos.left.label "שמ�ל">
8<!ENTITY toolbar.pos.sidebarleft.label "שמ�ל ליד סרגל הצד">
9<!ENTITY toolbar.pos.sidebarright.label "ימין ליד סרגל הצד">
10<!ENTITY toolbar.pos.right.label "ימין">
11<!ENTITY toolbar.pos.sidebartop.label "מעל סרגל הצד">
12<!ENTITY toolbar.pos.headerbottom.label "מתחת לכותרת סרגל הצד">
13<!ENTITY toolbar.pos.sidebarbottom.label "מתחת לסרגל הצד">
14<!ENTITY toolbar.mode.iconstext.label "�ייקון וטקסט">
15<!ENTITY toolbar.mode.icons.label "�ייקוני� בלבד">
16<!ENTITY toolbar.mode.text.label "טקסט בלבד">
17<!ENTITY toolbar.mode.smallicons.label "�ייקוני� קטני�">
18<!ENTITY toolbar.mode.fullscreen.label "הצג במצב מסך מל�">
19<!ENTITY toolbar.mode.flexbuttons.label "כפתורי� גמישי�">
20<!ENTITY button.sidebar.close.label "סגור סרגל-צד">
21<!ENTITY button.sidebar.close.tooltip "סגור סרגל-צד">
22<!ENTITY button.tab.close.label "סגור לשונית">
23<!ENTITY button.tab.close.tooltip "סגור לשונית">
240
=== removed file 'chrome/aios.jar!/locale/hr-HR/tbx.dtd'
--- chrome/aios.jar!/locale/hr-HR/tbx.dtd 2008-11-14 11:44:00 +0000
+++ chrome/aios.jar!/locale/hr-HR/tbx.dtd 1970-01-01 00:00:00 +0000
@@ -1,23 +0,0 @@
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 &#8220;Svojstva alatne trake&#8221; .">
2<!ENTITY config.global.caption "Opća svojstva">
3<!ENTITY toolbar.customize.label "Svojstva alatne trake">
4<!ENTITY toolbar.pos.top.label "Vrh">
5<!ENTITY toolbar.pos.belowtabs.label "Ispod kartica">
6<!ENTITY toolbar.pos.bottom.label "Dno">
7<!ENTITY toolbar.pos.left.label "Lijevo">
8<!ENTITY toolbar.pos.sidebarleft.label "Lijevo pored rubnog stupca">
9<!ENTITY toolbar.pos.sidebarright.label "Desno pored rubnog stupca">
10<!ENTITY toolbar.pos.right.label "Desno">
11<!ENTITY toolbar.pos.sidebartop.label "Iznad rubnog stupca">
12<!ENTITY toolbar.pos.headerbottom.label "Ispod zaglavlja rubnog stupca">
13<!ENTITY toolbar.pos.sidebarbottom.label "Ispod rubnog stupca">
14<!ENTITY toolbar.mode.iconstext.label "Ikone i tekst">
15<!ENTITY toolbar.mode.icons.label "Samo ikone">
16<!ENTITY toolbar.mode.text.label "Samo tekst">
17<!ENTITY toolbar.mode.smallicons.label "Male ikone">
18<!ENTITY toolbar.mode.fullscreen.label "Prikaži u modu cijelog ekrana">
19<!ENTITY toolbar.mode.flexbuttons.label "Fleksibilni gumbi">
20<!ENTITY button.sidebar.close.label "Zatvori rubni stupac">
21<!ENTITY button.sidebar.close.tooltip "Zatvori rubni stupac">
22<!ENTITY button.tab.close.label "Zatvori karticu">
23<!ENTITY button.tab.close.tooltip "Zatvori karticu">
240
=== removed file 'chrome/aios.jar!/locale/hu-HU/tbx.dtd'
--- chrome/aios.jar!/locale/hu-HU/tbx.dtd 2008-11-14 11:44:00 +0000
+++ chrome/aios.jar!/locale/hu-HU/tbx.dtd 1970-01-01 00:00:00 +0000
@@ -1,23 +0,0 @@
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 &#8220;Eszköztár beállítások&#8221; menüből.">
2<!ENTITY config.global.caption "�ltalános beállítások">
3<!ENTITY toolbar.customize.label "Eszköztár beállítások">
4<!ENTITY toolbar.pos.top.label "Felülre">
5<!ENTITY toolbar.pos.belowtabs.label "Lapok eszköztár alá">
6<!ENTITY toolbar.pos.bottom.label "Alulra">
7<!ENTITY toolbar.pos.left.label "Balra">
8<!ENTITY toolbar.pos.sidebarleft.label "Balra az Oldalsáv mellett">
9<!ENTITY toolbar.pos.sidebarright.label "Jobbra az Oldalsáv mellett">
10<!ENTITY toolbar.pos.right.label "Jobbra">
11<!ENTITY toolbar.pos.sidebartop.label "Oldalsáv fölé">
12<!ENTITY toolbar.pos.headerbottom.label "Oldalsáv címsora alá">
13<!ENTITY toolbar.pos.sidebarbottom.label "Oldalsáv alá">
14<!ENTITY toolbar.mode.iconstext.label "Ikonok és szöveg">
15<!ENTITY toolbar.mode.icons.label "Csak ikonok">
16<!ENTITY toolbar.mode.text.label "Szöveg">
17<!ENTITY toolbar.mode.smallicons.label "Kis ikonok használata">
18<!ENTITY toolbar.mode.fullscreen.label "Megjelenítés teljesképernyős módban">
19<!ENTITY toolbar.mode.flexbuttons.label "Rugalmas gombok">
20<!ENTITY button.sidebar.close.label "Oldalsáv bezárása">
21<!ENTITY button.sidebar.close.tooltip "Bezárja az oldalsávot">
22<!ENTITY button.tab.close.label "Lap bezárása">
23<!ENTITY button.tab.close.tooltip "Bezárja a lapot">
240
=== removed file 'chrome/aios.jar!/locale/it-IT/tbx.dtd'
--- chrome/aios.jar!/locale/it-IT/tbx.dtd 2008-11-14 11:44:00 +0000
+++ chrome/aios.jar!/locale/it-IT/tbx.dtd 1970-01-01 00:00:00 +0000
@@ -1,23 +0,0 @@
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&apos;opzione desiderata nel menu &#8220;Proprietà della barra degli strumenti&#8221;">
2<!ENTITY config.global.caption "Opzioni globali">
3<!ENTITY toolbar.customize.label "Proprietà della barra degli strumenti">
4<!ENTITY toolbar.pos.top.label "In cima">
5<!ENTITY toolbar.pos.belowtabs.label "Sotto le schede">
6<!ENTITY toolbar.pos.bottom.label "In fondo">
7<!ENTITY toolbar.pos.left.label "A sinistra">
8<!ENTITY toolbar.pos.sidebarleft.label "A sinistra accanto alla barra laterale">
9<!ENTITY toolbar.pos.sidebarright.label "A destra accanto alla barra laterale">
10<!ENTITY toolbar.pos.right.label "A destra">
11<!ENTITY toolbar.pos.sidebartop.label "Sopra la barra laterale">
12<!ENTITY toolbar.pos.headerbottom.label "Sotto l&apos;intestazione della barra laterale">
13<!ENTITY toolbar.pos.sidebarbottom.label "Sotto la barra laterale">
14<!ENTITY toolbar.mode.iconstext.label "Icone e testo">
15<!ENTITY toolbar.mode.icons.label "Solo icone">
16<!ENTITY toolbar.mode.text.label "Solo testo">
17<!ENTITY toolbar.mode.smallicons.label "Icone piccole">
18<!ENTITY toolbar.mode.fullscreen.label "Mostra in modalità a tutto schermo">
19<!ENTITY toolbar.mode.flexbuttons.label "Pulsanti flessibili">
20<!ENTITY button.sidebar.close.label "Chiudi barra laterale">
21<!ENTITY button.sidebar.close.tooltip "Chiude la barra laterale">
22<!ENTITY button.tab.close.label "Chiudi scheda">
23<!ENTITY button.tab.close.tooltip "Chiude la scheda">
240
=== removed file 'chrome/aios.jar!/locale/ja-JP/tbx.dtd'
--- chrome/aios.jar!/locale/ja-JP/tbx.dtd 2008-11-14 11:44:00 +0000
+++ chrome/aios.jar!/locale/ja-JP/tbx.dtd 1970-01-01 00:00:00 +0000
@@ -1,23 +0,0 @@
1<!ENTITY config.instructions.description "�クリック�る����らゆるツール�ー�個別オプション� “ ツール�ープロパティ � メニュー��る必��オプションを���������。">
2<!ENTITY config.global.caption "グロー�ル オプション">
3<!ENTITY toolbar.customize.label "ツール�ー プロパティ">
4<!ENTITY toolbar.pos.top.label "先頭�">
5<!ENTITY toolbar.pos.belowtabs.label "タブ�下�">
6<!ENTITY toolbar.pos.bottom.label "最後�">
7<!ENTITY toolbar.pos.left.label "左�">
8<!ENTITY toolbar.pos.sidebarleft.label "サイド�ー�左��">
9<!ENTITY toolbar.pos.sidebarright.label "サイド�ー����">
10<!ENTITY toolbar.pos.right.label "��">
11<!ENTITY toolbar.pos.sidebartop.label "サイド�ー�上�">
12<!ENTITY toolbar.pos.headerbottom.label "サイド�ーヘッダー�下�">
13<!ENTITY toolbar.pos.sidebarbottom.label "サイド�ー�下�">
14<!ENTITY toolbar.mode.iconstext.label "アイコン�文字">
15<!ENTITY toolbar.mode.icons.label "アイコン��">
16<!ENTITY toolbar.mode.text.label "文字��">
17<!ENTITY toolbar.mode.smallicons.label "���アイコン">
18<!ENTITY toolbar.mode.fullscreen.label "フルスクリーンモード�表示">
19<!ENTITY toolbar.mode.flexbuttons.label "フレキシブルボタン">
20<!ENTITY button.sidebar.close.label "サイド�ーを閉�る">
21<!ENTITY button.sidebar.close.tooltip "サイド�ーを閉���">
22<!ENTITY button.tab.close.label "タブを閉�る">
23<!ENTITY button.tab.close.tooltip "タブを閉���">
240
=== removed file 'chrome/aios.jar!/locale/ko-KR/tbx.dtd'
--- chrome/aios.jar!/locale/ko-KR/tbx.dtd 2008-11-14 11:44:00 +0000
+++ chrome/aios.jar!/locale/ko-KR/tbx.dtd 1970-01-01 00:00:00 +0000
@@ -1,23 +0,0 @@
1<!ENTITY config.instructions.description "� �구 막대 위�서 오른쪽 버튼� �릭한 뒤 &apos;�구 막대 설정&apos; 메뉴를 사용하여 � �구 막대마다 서로 다른 설정� �용할 수 있습니다.">
2<!ENTITY config.global.caption "전체� 설정">
3<!ENTITY toolbar.customize.label "�구 막대 설정">
4<!ENTITY toolbar.pos.top.label "맨 위">
5<!ENTITY toolbar.pos.belowtabs.label "탭 아래">
6<!ENTITY toolbar.pos.bottom.label "맨 밑">
7<!ENTITY toolbar.pos.left.label "왼쪽">
8<!ENTITY toolbar.pos.sidebarleft.label "�색 창 왼쪽">
9<!ENTITY toolbar.pos.sidebarright.label "�색 창 오른쪽">
10<!ENTITY toolbar.pos.right.label "오른쪽">
11<!ENTITY toolbar.pos.sidebartop.label "�색 창 위">
12<!ENTITY toolbar.pos.headerbottom.label "�색 창 헤� 아래">
13<!ENTITY toolbar.pos.sidebarbottom.label "�색 창 아래">
14<!ENTITY toolbar.mode.iconstext.label "아�콘과 �스트">
15<!ENTITY toolbar.mode.icons.label "아�콘만">
16<!ENTITY toolbar.mode.text.label "�스트만">
17<!ENTITY toolbar.mode.smallicons.label "작� 아�콘">
18<!ENTITY toolbar.mode.fullscreen.label "최대 화면 �태� 때 보�기">
19<!ENTITY toolbar.mode.flexbuttons.label "탄력�� 버튼">
20<!ENTITY button.sidebar.close.label "�색 창 닫기">
21<!ENTITY button.sidebar.close.tooltip "�색 창� 닫습니다.">
22<!ENTITY button.tab.close.label "탭 닫기">
23<!ENTITY button.tab.close.tooltip "탭� 닫습니다.">
240
=== removed file 'chrome/aios.jar!/locale/lt-LT/tbx.dtd'
--- chrome/aios.jar!/locale/lt-LT/tbx.dtd 2008-11-14 11:44:00 +0000
+++ chrome/aios.jar!/locale/lt-LT/tbx.dtd 1970-01-01 00:00:00 +0000
@@ -1,23 +0,0 @@
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.">
2<!ENTITY config.global.caption "Bendrieji nustatymai">
3<!ENTITY toolbar.customize.label "Priemonių juostos savybės">
4<!ENTITY toolbar.pos.top.label "Viršuje">
5<!ENTITY toolbar.pos.belowtabs.label "Po kortelÄ—mis">
6<!ENTITY toolbar.pos.bottom.label "Apa�ioje">
7<!ENTITY toolbar.pos.left.label "KairÄ—je">
8<!ENTITY toolbar.pos.sidebarleft.label "ParankinÄ—s kairÄ—je">
9<!ENTITY toolbar.pos.sidebarright.label "Parankinės dešinėje">
10<!ENTITY toolbar.pos.right.label "Dešinėje">
11<!ENTITY toolbar.pos.sidebartop.label "Virš parankinės">
12<!ENTITY toolbar.pos.headerbottom.label "Po parankinės antrašte">
13<!ENTITY toolbar.pos.sidebarbottom.label "Po parankine">
14<!ENTITY toolbar.mode.iconstext.label "Piktogramos ir tekstas">
15<!ENTITY toolbar.mode.icons.label "Tik piktogramos">
16<!ENTITY toolbar.mode.text.label "Tik tekstas">
17<!ENTITY toolbar.mode.smallicons.label "Mažos piktogramos">
18<!ENTITY toolbar.mode.fullscreen.label "Rodyti viso ekrano režimu">
19<!ENTITY toolbar.mode.flexbuttons.label "Prisitaikantys mygtukai">
20<!ENTITY button.sidebar.close.label "Užverti parankinę">
21<!ENTITY button.sidebar.close.tooltip "Užverti parankinę">
22<!ENTITY button.tab.close.label "Užverti kortelę">
23<!ENTITY button.tab.close.tooltip "Užverti kortelę">
240
=== removed file 'chrome/aios.jar!/locale/nb-NO/tbx.dtd'
--- chrome/aios.jar!/locale/nb-NO/tbx.dtd 2008-11-14 11:44:00 +0000
+++ chrome/aios.jar!/locale/nb-NO/tbx.dtd 1970-01-01 00:00:00 +0000
@@ -1,23 +0,0 @@
1<!ENTITY config.instructions.description "Du har flere valg for hver verktøylinje. Høyreklikk på verktøylinjen og velg på &#8220;Toolbar Properties&#8221; menyen.">
2<!ENTITY config.global.caption "Globale valg">
3<!ENTITY toolbar.customize.label "Valg for sidestolpe">
4<!ENTITY toolbar.pos.top.label "Topp">
5<!ENTITY toolbar.pos.belowtabs.label "Under faner">
6<!ENTITY toolbar.pos.bottom.label "Bunn">
7<!ENTITY toolbar.pos.left.label "Venstre">
8<!ENTITY toolbar.pos.sidebarleft.label "Venstre side av sidestolpe">
9<!ENTITY toolbar.pos.sidebarright.label "Høyre side av sidestolpe">
10<!ENTITY toolbar.pos.right.label "Høyre">
11<!ENTITY toolbar.pos.sidebartop.label "Over sidestolpe">
12<!ENTITY toolbar.pos.headerbottom.label "Under sidestolpens tittel">
13<!ENTITY toolbar.pos.sidebarbottom.label "Under sidestolpe">
14<!ENTITY toolbar.mode.iconstext.label "Ikoner og tekst">
15<!ENTITY toolbar.mode.icons.label "Kun ikoner">
16<!ENTITY toolbar.mode.text.label "Kun tekst">
17<!ENTITY toolbar.mode.smallicons.label "Små ikoner">
18<!ENTITY toolbar.mode.fullscreen.label "Vis i fullskjerm modus">
19<!ENTITY toolbar.mode.flexbuttons.label "Fleksible knapper">
20<!ENTITY button.sidebar.close.label "Lukk sidestolpe">
21<!ENTITY button.sidebar.close.tooltip "Lukk sidestolpe">
22<!ENTITY button.tab.close.label "Lukk fane">
23<!ENTITY button.tab.close.tooltip "Lukk fane">
240
=== removed file 'chrome/aios.jar!/locale/nl-NL/tbx.dtd'
--- chrome/aios.jar!/locale/nl-NL/tbx.dtd 2008-11-14 11:44:00 +0000
+++ chrome/aios.jar!/locale/nl-NL/tbx.dtd 1970-01-01 00:00:00 +0000
@@ -1,23 +0,0 @@
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.">
2<!ENTITY config.global.caption "Globale opties">
3<!ENTITY toolbar.customize.label "Werkbalkeigenschappen">
4<!ENTITY toolbar.pos.top.label "Bovenkant">
5<!ENTITY toolbar.pos.belowtabs.label "Onder tabbladen">
6<!ENTITY toolbar.pos.bottom.label "Onderkant">
7<!ENTITY toolbar.pos.left.label "Links">
8<!ENTITY toolbar.pos.sidebarleft.label "Links naast zijbalk">
9<!ENTITY toolbar.pos.sidebarright.label "Rechts naast zijbalk">
10<!ENTITY toolbar.pos.right.label "Rechts">
11<!ENTITY toolbar.pos.sidebartop.label "Boven zijbalk">
12<!ENTITY toolbar.pos.headerbottom.label "Boven zijbalkkop">
13<!ENTITY toolbar.pos.sidebarbottom.label "Onder zijbalk">
14<!ENTITY toolbar.mode.iconstext.label "Pictogrammen en tekst">
15<!ENTITY toolbar.mode.icons.label "Alleen pictogrammen">
16<!ENTITY toolbar.mode.text.label "Alleen tekst">
17<!ENTITY toolbar.mode.smallicons.label "Kleine pictogrammen">
18<!ENTITY toolbar.mode.fullscreen.label "In volledig-schermmodus tonen">
19<!ENTITY toolbar.mode.flexbuttons.label "Flexibele knoppen">
20<!ENTITY button.sidebar.close.label "Zijbalk sluiten">
21<!ENTITY button.sidebar.close.tooltip "Zijbalk sluiten">
22<!ENTITY button.tab.close.label "Tabblad sluiten">
23<!ENTITY button.tab.close.tooltip "Tabblad sluiten">
240
=== removed file 'chrome/aios.jar!/locale/pl-PL/tbx.dtd'
--- chrome/aios.jar!/locale/pl-PL/tbx.dtd 2008-11-14 11:44:00 +0000
+++ chrome/aios.jar!/locale/pl-PL/tbx.dtd 1970-01-01 00:00:00 +0000
@@ -1,23 +0,0 @@
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.">
2<!ENTITY config.global.caption "Opcje ogólne">
3<!ENTITY toolbar.customize.label "Ustawienia pasków narzędziowych">
4<!ENTITY toolbar.pos.top.label "Na górze okna">
5<!ENTITY toolbar.pos.belowtabs.label "Poniżej paska kart">
6<!ENTITY toolbar.pos.bottom.label "Na dole okna">
7<!ENTITY toolbar.pos.left.label "Po lewej stronie okna">
8<!ENTITY toolbar.pos.sidebarleft.label "Po lewej stronie panelu">
9<!ENTITY toolbar.pos.sidebarright.label "Po prawej stronie panelu">
10<!ENTITY toolbar.pos.right.label "Po prawej stronie okna">
11<!ENTITY toolbar.pos.sidebartop.label "Na górze panelu bocznego">
12<!ENTITY toolbar.pos.headerbottom.label "Pod nagłówkiem panelu bocznego">
13<!ENTITY toolbar.pos.sidebarbottom.label "Na dole panelu bocznego">
14<!ENTITY toolbar.mode.iconstext.label "Ikony i tekst">
15<!ENTITY toolbar.mode.icons.label "Tylko ikony">
16<!ENTITY toolbar.mode.text.label "Tylko tekst">
17<!ENTITY toolbar.mode.smallicons.label "Małe ikony">
18<!ENTITY toolbar.mode.fullscreen.label "Pokaż w trybie pełnoekranowym">
19<!ENTITY toolbar.mode.flexbuttons.label "Wyjustuj przyciski na pasku">
20<!ENTITY button.sidebar.close.label "Zamknij panel">
21<!ENTITY button.sidebar.close.tooltip "Zamyka panel boczny">
22<!ENTITY button.tab.close.label "Zamknij kartÄ™">
23<!ENTITY button.tab.close.tooltip "Zamyka aktywnÄ… kartÄ™ panelu bocznego">
240
=== removed file 'chrome/aios.jar!/locale/pt-BR/tbx.dtd'
--- chrome/aios.jar!/locale/pt-BR/tbx.dtd 2008-11-14 11:44:00 +0000
+++ chrome/aios.jar!/locale/pt-BR/tbx.dtd 1970-01-01 00:00:00 +0000
@@ -1,23 +0,0 @@
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.">
2<!ENTITY config.global.caption "Opções Globais">
3<!ENTITY toolbar.customize.label "Propriedades">
4<!ENTITY toolbar.pos.top.label "Topo">
5<!ENTITY toolbar.pos.belowtabs.label "Abaixo das abas">
6<!ENTITY toolbar.pos.bottom.label "Base">
7<!ENTITY toolbar.pos.left.label "À esquerda">
8<!ENTITY toolbar.pos.sidebarleft.label "À esquerda do painel">
9<!ENTITY toolbar.pos.sidebarright.label "À direita do painel">
10<!ENTITY toolbar.pos.right.label "À direita">
11<!ENTITY toolbar.pos.sidebartop.label "Acima do painel">
12<!ENTITY toolbar.pos.headerbottom.label "Abaixo do título do painel">
13<!ENTITY toolbar.pos.sidebarbottom.label "Abaixo do painel">
14<!ENTITY toolbar.mode.iconstext.label "�cones e texto">
15<!ENTITY toolbar.mode.icons.label "Somente ícones">
16<!ENTITY toolbar.mode.text.label "Somente texto">
17<!ENTITY toolbar.mode.smallicons.label "�cones pequenos">
18<!ENTITY toolbar.mode.fullscreen.label "Mostrar em modo tela inteira">
19<!ENTITY toolbar.mode.flexbuttons.label "Botões flexíveis">
20<!ENTITY button.sidebar.close.label "Fechar painel">
21<!ENTITY button.sidebar.close.tooltip "Fecha painel">
22<!ENTITY button.tab.close.label "Fechar aba">
23<!ENTITY button.tab.close.tooltip "Fecha aba">
240
=== removed file 'chrome/aios.jar!/locale/pt-PT/tbx.dtd'
--- chrome/aios.jar!/locale/pt-PT/tbx.dtd 2008-11-14 11:44:00 +0000
+++ chrome/aios.jar!/locale/pt-PT/tbx.dtd 1970-01-01 00:00:00 +0000
@@ -1,23 +0,0 @@
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.">
2<!ENTITY config.global.caption "Opções Globais">
3<!ENTITY toolbar.customize.label "Propriedades">
4<!ENTITY toolbar.pos.top.label "Topo">
5<!ENTITY toolbar.pos.belowtabs.label "Abaixo dos Separadores">
6<!ENTITY toolbar.pos.bottom.label "Base">
7<!ENTITY toolbar.pos.left.label "À esquerda">
8<!ENTITY toolbar.pos.sidebarleft.label "À esquerda da barra lateral">
9<!ENTITY toolbar.pos.sidebarright.label "À direita da barra lateral">
10<!ENTITY toolbar.pos.right.label "À direita">
11<!ENTITY toolbar.pos.sidebartop.label "Acima da barra lateral">
12<!ENTITY toolbar.pos.headerbottom.label "Abaixo do título da barra lateral">
13<!ENTITY toolbar.pos.sidebarbottom.label "Abaixo da barra lateral">
14<!ENTITY toolbar.mode.iconstext.label "�cones e Texto">
15<!ENTITY toolbar.mode.icons.label "Apenas ícones">
16<!ENTITY toolbar.mode.text.label "Apenas texto">
17<!ENTITY toolbar.mode.smallicons.label "�cones pequenos">
18<!ENTITY toolbar.mode.fullscreen.label "Mostrar em modo ecrã completo">
19<!ENTITY toolbar.mode.flexbuttons.label "Botões flexíveis">
20<!ENTITY button.sidebar.close.label "Fechar barra lateral">
21<!ENTITY button.sidebar.close.tooltip "Fecha barra lateral">
22<!ENTITY button.tab.close.label "Fechar separador">
23<!ENTITY button.tab.close.tooltip "Fecha separador">
240
=== removed file 'chrome/aios.jar!/locale/ro-RO/tbx.dtd'
--- chrome/aios.jar!/locale/ro-RO/tbx.dtd 2008-11-14 11:44:00 +0000
+++ chrome/aios.jar!/locale/ro-RO/tbx.dtd 1970-01-01 00:00:00 +0000
@@ -1,23 +0,0 @@
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 &#8220;Proprietati Bara&#8221;">
2<!ENTITY config.global.caption "Optiuni Generale">
3<!ENTITY toolbar.customize.label "Proprietati Bara">
4<!ENTITY toolbar.pos.top.label "Sus">
5<!ENTITY toolbar.pos.belowtabs.label "Sub Tab-uri">
6<!ENTITY toolbar.pos.bottom.label "Jos">
7<!ENTITY toolbar.pos.left.label "Stanga">
8<!ENTITY toolbar.pos.sidebarleft.label "In stanga sidebar-ului">
9<!ENTITY toolbar.pos.sidebarright.label "In dreapta sidebar-ului">
10<!ENTITY toolbar.pos.right.label "Dreapta">
11<!ENTITY toolbar.pos.sidebartop.label "Deasupra sidebar-ului">
12<!ENTITY toolbar.pos.headerbottom.label "Sub antetul sidebar-ului">
13<!ENTITY toolbar.pos.sidebarbottom.label "Sub sidebar">
14<!ENTITY toolbar.mode.iconstext.label "Icoane si text">
15<!ENTITY toolbar.mode.icons.label "Doar icoane">
16<!ENTITY toolbar.mode.text.label "Doar text">
17<!ENTITY toolbar.mode.smallicons.label "Icoane mici">
18<!ENTITY toolbar.mode.fullscreen.label "Afiseaza pe tot ecranul">
19<!ENTITY toolbar.mode.flexbuttons.label "Butoane flexibile">
20<!ENTITY button.sidebar.close.label "Inchide sidebar-ul">
21<!ENTITY button.sidebar.close.tooltip "Inchide sidebar-ul">
22<!ENTITY button.tab.close.label "Inchide tab-ul">
23<!ENTITY button.tab.close.tooltip "Inchide tab-ul">
240
=== removed file 'chrome/aios.jar!/locale/ru-RU/tbx.dtd'
--- chrome/aios.jar!/locale/ru-RU/tbx.dtd 2008-11-14 11:44:00 +0000
+++ chrome/aios.jar!/locale/ru-RU/tbx.dtd 1970-01-01 00:00:00 +0000
@@ -1,23 +0,0 @@
1<!ENTITY config.instructions.description "Вы можете на�троить каждую панель ин�трументов отдельно. Дл� �того нажмите правой кнопкой мыши на панели ин�трументов и выберите нужные на�тройки в меню &#8220;Параметры панели ин�трументов&#8221;.">
2<!ENTITY config.global.caption "Глобальные параметры">
3<!ENTITY toolbar.customize.label "Параметры панели ин�трументов">
4<!ENTITY toolbar.pos.top.label "Ра�положить �верху">
5<!ENTITY toolbar.pos.belowtabs.label "Ра�положить под панелью вкладок">
6<!ENTITY toolbar.pos.bottom.label "Ра�положить над �трокой �о�то�ни�">
7<!ENTITY toolbar.pos.left.label "Ра�положить �лева">
8<!ENTITY toolbar.pos.sidebarleft.label "Ра�положить �лева от боковой панели">
9<!ENTITY toolbar.pos.sidebarright.label "Ра�положить �права от боковой панели">
10<!ENTITY toolbar.pos.right.label "Ра�положить �права">
11<!ENTITY toolbar.pos.sidebartop.label "Ра�положить над боковой панелью">
12<!ENTITY toolbar.pos.headerbottom.label "Ра�положить под заголовком боковой панели">
13<!ENTITY toolbar.pos.sidebarbottom.label "Ра�положить под боковой панелью">
14<!ENTITY toolbar.mode.iconstext.label "Значки и тек�т">
15<!ENTITY toolbar.mode.icons.label "Только значки">
16<!ENTITY toolbar.mode.text.label "Только тек�т">
17<!ENTITY toolbar.mode.smallicons.label "Маленькие значки">
18<!ENTITY toolbar.mode.fullscreen.label "Показывать в полно�кранном режиме">
19<!ENTITY toolbar.mode.flexbuttons.label "Пла�тичные кнопки">
20<!ENTITY button.sidebar.close.label "Закрыть боковую панель">
21<!ENTITY button.sidebar.close.tooltip "Закрыть боковую панель">
22<!ENTITY button.tab.close.label "Закрыть вкладку">
23<!ENTITY button.tab.close.tooltip "Закрыть вкладку">
240
=== removed file 'chrome/aios.jar!/locale/sk-SK/tbx.dtd'
--- chrome/aios.jar!/locale/sk-SK/tbx.dtd 2008-11-14 11:44:00 +0000
+++ chrome/aios.jar!/locale/sk-SK/tbx.dtd 1970-01-01 00:00:00 +0000
@@ -1,23 +0,0 @@
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">
2<!ENTITY config.global.caption "Všeobecné nastavenia">
3<!ENTITY toolbar.customize.label "Nastavenia tohto panela nástrojov">
4<!ENTITY toolbar.pos.top.label "Hore">
5<!ENTITY toolbar.pos.belowtabs.label "Pod kartami">
6<!ENTITY toolbar.pos.bottom.label "Dole">
7<!ENTITY toolbar.pos.left.label "Vľavo">
8<!ENTITY toolbar.pos.sidebarleft.label "Vľavo pri bo�nom paneli">
9<!ENTITY toolbar.pos.sidebarright.label "Vpravo pri bo�nom paneli">
10<!ENTITY toolbar.pos.right.label "Vpravo">
11<!ENTITY toolbar.pos.sidebartop.label "Nad bo�ným panelom">
12<!ENTITY toolbar.pos.headerbottom.label "Pod hlavi�kou bo�ného panela">
13<!ENTITY toolbar.pos.sidebarbottom.label "Pod bo�ným panelom">
14<!ENTITY toolbar.mode.iconstext.label "Ikony a text">
15<!ENTITY toolbar.mode.icons.label "Len ikony">
16<!ENTITY toolbar.mode.text.label "Len text">
17<!ENTITY toolbar.mode.smallicons.label "Malé ikony">
18<!ENTITY toolbar.mode.fullscreen.label "Zobraziť v režime celej obrazovky.">
19<!ENTITY toolbar.mode.flexbuttons.label "Vyplniť voľný priestor tla�idlami">
20<!ENTITY button.sidebar.close.label "Zatvoriť bo�ný panel">
21<!ENTITY button.sidebar.close.tooltip "Zatvoriť bo�ný panel">
22<!ENTITY button.tab.close.label "Zatvoriť kartu">
23<!ENTITY button.tab.close.tooltip "Zatvoriť kartu">
240
=== removed file 'chrome/aios.jar!/locale/sv-SE/tbx.dtd'
--- chrome/aios.jar!/locale/sv-SE/tbx.dtd 2008-11-14 11:44:00 +0000
+++ chrome/aios.jar!/locale/sv-SE/tbx.dtd 1970-01-01 00:00:00 +0000
@@ -1,23 +0,0 @@
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�.">
2<!ENTITY config.global.caption "Globala alternativ">
3<!ENTITY toolbar.customize.label "Egenskaper för verktygsfält">
4<!ENTITY toolbar.pos.top.label "Överst">
5<!ENTITY toolbar.pos.belowtabs.label "Under flikarna">
6<!ENTITY toolbar.pos.bottom.label "Underst">
7<!ENTITY toolbar.pos.left.label "Vänster">
8<!ENTITY toolbar.pos.sidebarleft.label "Till vänster om sidopanelen">
9<!ENTITY toolbar.pos.sidebarright.label "Till höger om sidopanelen">
10<!ENTITY toolbar.pos.right.label "Höger">
11<!ENTITY toolbar.pos.sidebartop.label "Ovanför sidopanelen">
12<!ENTITY toolbar.pos.headerbottom.label "Under sidopanelens rubrik">
13<!ENTITY toolbar.pos.sidebarbottom.label "Under sidopanelen">
14<!ENTITY toolbar.mode.iconstext.label "Ikoner och text">
15<!ENTITY toolbar.mode.icons.label "Enbart ikoner">
16<!ENTITY toolbar.mode.text.label "Enbart text">
17<!ENTITY toolbar.mode.smallicons.label "Små ikoner">
18<!ENTITY toolbar.mode.fullscreen.label "Visa i fullskärmsläge">
19<!ENTITY toolbar.mode.flexbuttons.label "Flexibla knappar">
20<!ENTITY button.sidebar.close.label "Stäng sidopanelen">
21<!ENTITY button.sidebar.close.tooltip "Stäng sidopanelen">
22<!ENTITY button.tab.close.label "Stäng flik">
23<!ENTITY button.tab.close.tooltip "Stäng flik">
240
=== removed file 'chrome/aios.jar!/locale/tr-TR/tbx.dtd'
--- chrome/aios.jar!/locale/tr-TR/tbx.dtd 2008-11-14 11:44:00 +0000
+++ chrome/aios.jar!/locale/tr-TR/tbx.dtd 1970-01-01 00:00:00 +0000
@@ -1,23 +0,0 @@
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.">
2<!ENTITY config.global.caption "GeliÅŸmiÅŸ ayarlar">
3<!ENTITY toolbar.customize.label "Araç çubuğu özellikleri">
4<!ENTITY toolbar.pos.top.label "Ãœst">
5<!ENTITY toolbar.pos.belowtabs.label "Aşağıdaki tablar">
6<!ENTITY toolbar.pos.bottom.label "Alt">
7<!ENTITY toolbar.pos.left.label "Sol">
8<!ENTITY toolbar.pos.sidebarleft.label "Kenar çubuğu solunda">
9<!ENTITY toolbar.pos.sidebarright.label "Kenar çubuğu sağında">
10<!ENTITY toolbar.pos.right.label "SaÄŸ">
11<!ENTITY toolbar.pos.sidebartop.label "Kenar çubuğu yukarıda">
12<!ENTITY toolbar.pos.headerbottom.label "Kenar Cubugu gizleyici aşağıda">
13<!ENTITY toolbar.pos.sidebarbottom.label "Kenar çubuğu aşağıda">
14<!ENTITY toolbar.mode.iconstext.label "Ä°kon ve Metin">
15<!ENTITY toolbar.mode.icons.label "Sadece Ä°kon">
16<!ENTITY toolbar.mode.text.label "Sadece Metin">
17<!ENTITY toolbar.mode.smallicons.label "Küçük ikon">
18<!ENTITY toolbar.mode.fullscreen.label "Ekranı kaplama modunda göster">
19<!ENTITY toolbar.mode.flexbuttons.label "Esnek Butonlar">
20<!ENTITY button.sidebar.close.label "Kenar çubuğunu kapat">
21<!ENTITY button.sidebar.close.tooltip "Kenar çubuğunu kapat">
22<!ENTITY button.tab.close.label "Tabı kapat">
23<!ENTITY button.tab.close.tooltip "Tabı kapat">
240
=== removed file 'chrome/aios.jar!/locale/uk-UA/tbx.dtd'
--- chrome/aios.jar!/locale/uk-UA/tbx.dtd 2008-11-14 11:44:00 +0000
+++ chrome/aios.jar!/locale/uk-UA/tbx.dtd 1970-01-01 00:00:00 +0000
@@ -1,23 +0,0 @@
1<!ENTITY config.instructions.description "Ви матимете більше налаштувань окремо дл� кожної панелі ін�трументів, �кщо клацнете правою кнопкою миші на панелі та виберете потрібну опцію у вла�тиво�т�х панелі ін�трументів">
2<!ENTITY config.global.caption "Глобальні налаштуванн�">
3<!ENTITY toolbar.customize.label "Вла�тиво�ті панелі ін�трументів">
4<!ENTITY toolbar.pos.top.label "Верх">
5<!ENTITY toolbar.pos.belowtabs.label "Під вкладками">
6<!ENTITY toolbar.pos.bottom.label "�из">
7<!ENTITY toolbar.pos.left.label "Зліва">
8<!ENTITY toolbar.pos.sidebarleft.label "Зліва поруч з бічною панеллю">
9<!ENTITY toolbar.pos.sidebarright.label "Справа поруч з бічною панеллю">
10<!ENTITY toolbar.pos.right.label "Справа">
11<!ENTITY toolbar.pos.sidebartop.label "�ад бічною панеллю">
12<!ENTITY toolbar.pos.headerbottom.label "Під заголовком бічної панелі">
13<!ENTITY toolbar.pos.sidebarbottom.label "Під бічною панеллю">
14<!ENTITY toolbar.mode.iconstext.label "Піктограми та тек�т">
15<!ENTITY toolbar.mode.icons.label "Тільки піктограми">
16<!ENTITY toolbar.mode.text.label "Тільки тек�т">
17<!ENTITY toolbar.mode.smallicons.label "Маленькі піктограми">
18<!ENTITY toolbar.mode.fullscreen.label "Показувати у повноекранному режимі">
19<!ENTITY toolbar.mode.flexbuttons.label "Рівномірне розташуванн� кнопок">
20<!ENTITY button.sidebar.close.label "Закрити бічну панель">
21<!ENTITY button.sidebar.close.tooltip "Закрити бічну панель">
22<!ENTITY button.tab.close.label "Закрити вкладку">
23<!ENTITY button.tab.close.tooltip "Закрити вкладку">
240
=== removed file 'chrome/aios.jar!/locale/zh-CN/tbx.dtd'
--- chrome/aios.jar!/locale/zh-CN/tbx.dtd 2008-11-14 11:44:00 +0000
+++ chrome/aios.jar!/locale/zh-CN/tbx.dtd 1970-01-01 00:00:00 +0000
@@ -1,23 +0,0 @@
1<!ENTITY config.instructions.description "�键�击工具�,在“设置���中您�以为�一个工具��独设置��的选项">
2<!ENTITY config.global.caption "全局选项">
3<!ENTITY toolbar.customize.label "设置">
4<!ENTITY toolbar.pos.top.label "顶端">
5<!ENTITY toolbar.pos.belowtabs.label "标签页下方">
6<!ENTITY toolbar.pos.bottom.label "底端">
7<!ENTITY toolbar.pos.left.label "左边">
8<!ENTITY toolbar.pos.sidebarleft.label "侧�左侧">
9<!ENTITY toolbar.pos.sidebarright.label "侧��侧">
10<!ENTITY toolbar.pos.right.label "�边">
11<!ENTITY toolbar.pos.sidebartop.label "侧�顶端">
12<!ENTITY toolbar.pos.headerbottom.label "侧�标题下方">
13<!ENTITY toolbar.pos.sidebarbottom.label "侧�底端">
14<!ENTITY toolbar.mode.iconstext.label "图标和文字">
15<!ENTITY toolbar.mode.icons.label "图标">
16<!ENTITY toolbar.mode.text.label "文字">
17<!ENTITY toolbar.mode.smallicons.label "使用�图标">
18<!ENTITY toolbar.mode.fullscreen.label "全�模�下显示工具�">
19<!ENTITY toolbar.mode.flexbuttons.label "�调整按钮">
20<!ENTITY button.sidebar.close.label "关闭侧�">
21<!ENTITY button.sidebar.close.tooltip "关闭侧�">
22<!ENTITY button.tab.close.label "关闭标签页">
23<!ENTITY button.tab.close.tooltip "关闭标签页">
240
=== removed file 'chrome/aios.jar!/locale/zh-TW/tbx.dtd'
--- chrome/aios.jar!/locale/zh-TW/tbx.dtd 2008-11-14 11:44:00 +0000
+++ chrome/aios.jar!/locale/zh-TW/tbx.dtd 1970-01-01 00:00:00 +0000
@@ -1,23 +0,0 @@
1<!ENTITY config.instructions.description "您�以在�個工具列上按下滑鼠��並點�「屬性��單來為�個工具列設定個別的顯示與�作方�">
2<!ENTITY config.global.caption "全域設定">
3<!ENTITY toolbar.customize.label "屬性">
4<!ENTITY toolbar.pos.top.label "主視窗上方">
5<!ENTITY toolbar.pos.belowtabs.label "標籤列下方">
6<!ENTITY toolbar.pos.bottom.label "主視窗下方">
7<!ENTITY toolbar.pos.left.label "主視窗左方">
8<!ENTITY toolbar.pos.sidebarleft.label "�邊欄左�">
9<!ENTITY toolbar.pos.sidebarright.label "�邊欄��">
10<!ENTITY toolbar.pos.right.label "主視窗�方">
11<!ENTITY toolbar.pos.sidebartop.label "�邊欄標題上方">
12<!ENTITY toolbar.pos.headerbottom.label "�邊欄標題下方">
13<!ENTITY toolbar.pos.sidebarbottom.label "�邊欄下方">
14<!ENTITY toolbar.mode.iconstext.label "圖示與文字">
15<!ENTITY toolbar.mode.icons.label "�顯示圖示">
16<!ENTITY toolbar.mode.text.label "�顯示文字">
The diff has been truncated for viewing.

Subscribers

People subscribed via source and target branches

to all changes: