Browse CVS RepositoryView of /moz2ch/moz2ch/content/moz2ch/moz2ch.xul
Revision 1.26 -
(download)
(as text)
(annotate)
Mon Feb 24 23:20:44 2003 UTC (6 years, 8 months ago) by moz2ch Branch: MAIN Changes since 1.25: +48 -12 lines change charset to euc-jp-unix and add license term <?xml version="1.0" encoding="euc-jp"?><!-- -*- coding: euc-jp-unix -*- --> <!-- ***** BEGIN LICENSE BLOCK ***** - Version: MPL 1.1/GPL 2.0/LGPL 2.1 - - The contents of this file are subject to the Mozilla Public License Version - 1.1 (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - http://www.mozilla.org/MPL/ - - Software distributed under the License is distributed on an "AS IS" basis, - WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License - for the specific language governing rights and limitations under the - License. - - The Original Code is Moz2ch. - - The Initial Developer of the Original Code is Moz2ch Project. - Portions created by the Initial Developer are Copyright (C) 2003 - the Initial Developer. All Rights Reserved. - - Contributor(s): - - Alternatively, the contents of this file may be used under the terms of - either the GNU General Public License Version 2 or later (the "GPL"), or - the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), - in which case the provisions of the GPL or the LGPL are applicable instead - of those above. If you wish to allow use of your version of this file only - under the terms of either the GPL or the LGPL, and not to allow others to - use your version of this file under the terms of the MPL, indicate your - decision by deleting the provisions above and replace them with the notice - and other provisions required by the LGPL or the GPL. If you do not delete - the provisions above, a recipient may use your version of this file under - the terms of any one of the MPL, the GPL or the LGPL. - - ***** END LICENSE BLOCK ***** --> <!-- <pre lang="ja"> (\_(\ / ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ( ´∀`) < Moz2chのメインファイルもな。 ( ) | 更新日時 : 2002/12/04 | | | | 書いた人 : 厨房もじらー (___)__) | コソトリビューター: 超ぉ〜Anneさん | 大幅書き直しモナー。M1はこのコードベースモナー。 \________________________ </pre> --> <?xml-stylesheet href="chrome://moz2ch/skin/" type="text/css"?> <?xul-overlay href="chrome://global/content/globalOverlay.xul"?> <?xul-overlay href="chrome://communicator/content/tasksOverlay.xul"?> <?xul-overlay href="chrome://communicator/content/utilityOverlay.xul"?> <?xul-overlay href="chrome://communicator/content/securityOverlay.xul"?> <?xul-overlay href="chrome://communicator/content/contentAreaContextOverlay.xul"?> <!DOCTYPE window [ <!ENTITY % navigatorDTD SYSTEM "chrome://navigator/locale/"> %navigatorDTD; <!ENTITY % contentAreaCommandsDTD SYSTEM "chrome://communicator/locale/contentAreaCommands.dtd"> %contentAreaCommandsDTD; <!ENTITY % moz2chDTD SYSTEM "chrome://moz2ch/locale/"> %moz2chDTD; ]> <!-- windowtype="navigator:browser" is quick (and dirty) hack to implement open new tab... This must be fixed by implementation of XBL-fied browserbox element --> <window id="moz2chWindow" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" title="&moz2chWindow.title;" titlemodifier="&moz2chWindow.title;" titlemenuseparator="&moz2chWindow.titlemenuseparator;" persist="screenX screenY width height sizemode" width="640" height="480" windowtype="navigator:browser" onload="moz2chLoad();Startup();" onunload="moz2chUnload();"> <!-- Browser Content Area --> <script type="application/x-javascript" src="chrome://navigator/content/browser.js"/> <script type="application/x-javascript" src="chrome://navigator/content/navigator.js"/> <script type="application/x-javascript" src="chrome://navigator/content/nsBrowserContentListener.js"/> <script type="application/x-javascript" src="chrome://navigator/content/nsBrowserStatusHandler.js"/> <script type="application/x-javascript" src="chrome://communicator/content/contentAreaClick.js"/> <!-- JSLib --> <script type="application/x-javascript" src="chrome://jslib/content/jslib.js"/> <!-- メインスクリプト --> <script type="application/x-javascript" src="moz2ch.js"/> <script type="application/x-javascript" src="charset.js"/> <script type="application/x-javascript" src="data.js"/> <script type="application/x-javascript" src="treeData.js"/> <script type="application/x-javascript" src="dataView.js"/> <script type="application/x-javascript" src="treeDataView.js"/> <!-- 板ツリー、板、スレクラス --> <script type="application/x-javascript" src="itaTree.js"/> <script type="application/x-javascript" src="itaTreeView.js"/> <script type="application/x-javascript" src="ita.js"/> <script type="application/x-javascript" src="itaView.js"/> <script type="application/x-javascript" src="sure.js"/> <script type="application/x-javascript" src="sureView.js"/> <stringbundle id="moz2chBundle" src="chrome://moz2ch/locale/moz2ch.properties"/> <stringbundle id="bundle_navigator" src="chrome://navigator/locale/navigator.properties"/> <stringbundle id="bundle_navigator_region" src="chrome://navigator-region/locale/region.properties"/> <broadcasterset id="navBroadcasters"> <broadcaster id="canGoBack" disabled="true"/> <broadcaster id="canGoForward" disabled="true"/> <broadcaster id="isImage"/> </broadcasterset> <keyset id="moz2chKeys"> <key id="key_moz2chFind" key="&findMenu.commandkey;" command="cmd_moz2chFind" modifiers="accel"/> <key id="key_moz2chShowItaTree" key="&showItaTree.commandkey;" command="cmd_moz2chShowItaTree" modifiers="accel"/> <key id="key_moz2chShowIta" key="&showIta.commandkey;" command="cmd_moz2chShowIta" modifiers="accel"/> <key id="key_moz2chShowDebug" key="&showDebug.commandkey;" command="cmd_moz2chShowDebug" modifiers="accel"/> <!-- platformCommunicatorOverlay.xul --> <key id="key_close"/> <key id="key_closeWindow"/> <key id="key_quit"/> <key id="key_delete"/> <!-- utilityOverlay.xul --> <key id="key_undo"/> <key id="key_redo"/> <key id="key_cut"/> <key id="key_copy"/> <key id="key_paste"/> <key id="key_selectAll"/> <!-- tasksOverlay.xul --> <keyset id="tasksKeys"/> </keyset> <commandset id="moz2chCommands"> <command id="cmd_moz2chFind" oncommand="moz2chSureFind()"/> <command id="cmd_moz2chShowItaTree" oncommand="moz2chItaTreeView.toggleView()"/> <command id="cmd_moz2chShowIta" oncommand="moz2chItaView.toggleView()"/> <command id="cmd_moz2chShowDebug" oncommand="moz2chDebugToggle();"/> <command id="cmd_moz2chShowComponentbar" oncommand="goToggleToolbar('component-bar', 'showComponentbar');"/> <command id="cmd_close" oncommand="close();"/> <!-- platformCommunicatorOverlay.xul --> <command id="cmd_quit"/> <!-- utilitiyOverlay.xul --> <commandset id="globalEditMenuItems"/> <commandset id="selectEditmenuItems"/> <commandset id="undoEditMenuItems"/> <commandset id="clipboardEditMenuItems"/> <command id="cmd_copyLink"/> <command id="cmd_copyImageLocation"/> <command id="cmd_coypImageContents"/> <command id="cmd_undo"/> <command id="cmd_redo"/> <command id="cmd_cut"/> <command id="cmd_copy"/> <command id="cmd_paste"/> <command id="cmd_delete"/> <command id="cmd_selectAll"/> <!-- tasksOverlay.xul --> <commandset id="tasksCommands"/> </commandset> <popupset id="contentAreaContextSet"/> <tooltip id="aHTMLTooltip" onpopupshowing="return FillInHTMLTooltip(document.tooltipNode);"/> <toolbox> <menubar id="moz2chMenubar" grippytooltiptext="&menuBar.tooltip;"> <menu id="menu_File"> <menupopup id="menu_FilePopup"> <menuitem id="itaTreeRreload" label="&itaTreeReload.label;" accesskey="&itaTreeReload.accesskey;" oncommand="moz2chItaTreeReload();"/> <menuitem id="importBrd" label="&importBrd.label;" accesskey="&importBrd.accesskey;" disabled="true"/> <menuitem id="menu_close"/> </menupopup> </menu> <menu id="itaMenu" label="&itaMenu.label;" accesskey="&itaMenu.accesskey;"> <menupopup> <menuitem id="itaReload" label="&reload.label;" accesskey="&reload.accesskey;" oncommand="moz2chItaReload();"/> <menuitem id="itaLogDelete" label="&logDelete.label;" accesskey="&logDelete.accesskey;" oncommand="moz2chItaLogDelete();"/> </menupopup> </menu> <menu id="sureMenu" label="&sureMenu.label;" accesskey="&sureMenu.accesskey;"> <menupopup> <menuitem id="sureReload" label="&reload.label;" accesskey="&reload.accesskey;" oncommand="moz2chSureReload();"/> <menuitem id="sureLogDelete" label="&logDelete.label;" accesskey="&logDelete.accesskey;" oncommand="moz2chSureLogDelete();"/> <menuitem id="sureFind" label="&findMenu.label;" key="key_moz2chFind" accesskey="&findMenu.accesskey;" oncommand="moz2ch.onSureBrowserFind()"/> <menuseparator/> <menuitem id="sureWrite" label="&write.label;" accesskey="&write.accesskey;"/> </menupopup> </menu> <menu id="menu_Edit"> <menupopup> <menuitem id="menu_undo"/> <menuitem id="menu_redo"/> <menuseparator/> <menuitem id="menu_cut"/> <menuitem id="menu_copy"/> <menuitem id="menu_paste"/> <menuitem id="menu_delete"/> <menuseparator/> <menuitem id="menu_selectAll"/> <menuseparator/> <menuitem id="menu_preferences"/> </menupopup> </menu> <menu id="menu_View"> <menupopup> <menu id="menu_Toolbars"> <menupopup> <menuitem id="showItaTree" label="&showItaTree.label;" key="key_moz2chShowItaTree" accesskey="&showItaTree.accesskey;" type="checkbox" checked="true" command="cmd_moz2chShowItaTree"/> <menuitem id="showIta" label="&showIta.label;" key="key_moz2chShowIta" accesskey="&showIta.accesskey;" type="checkbox" checked="true" command="cmd_moz2chShowIta"/> <menuitem id="showDebug" label="&debug.label;" key="key_moz2chShowDebug" accesskey="&showDebug.accesskey;" type="checkbox" checked="true" command="cmd_moz2chShowDebug"/> <menuseparator/> <menuitem id="menu_showTaskbar" type="checkbox"/> <menuitem id="showComponentbar" label="&componentbarCmd.label;" accesskey="&componentbarCmd.accesskey;" type="checkbox" checked="true" command="cmd_moz2chShowComponentbar"/> </menupopup> </menu> <menuseparator/> <menuitem id="zoomSure" label="&zoomSure.label;" accesskey="&zoomSure.accesskey;"/> <menuitem id="stop" label="&stopCmd.label;" accesskey="&stopCmd.accesskey;"/> </menupopup> </menu> <menu id="tasksMenu"/> <menu id="windowMenu"/> <menu id="menu_Help"> <menupopup id="helpPopup"/> </menu> <menu id="test" label="&test.label;" accesskey="&test.accesskey;"> <menupopup> <menuitem label="640x480(Default)" oncommand="resizeTo(640,480);"/> <menuitem label="800x600" oncommand="resizeTo(800,600);"/> <menuitem label="808x580" oncommand="resizeTo(808,580);"/> <menuitem label="restore" oncommand=" document.getElementById('itaTree').setAttribute('width', 160); document.getElementById('ita').setAttribute('height', 120);"/> <menuitem label="xbl-browser" oncommand="openDialog('bbtest.xul');"/> <menuitem label="rdftest" oncommand="openDialog('rdftest/rdftest.xul');"/> <menuitem label="rdftree" oncommand="openDialog('rdftree/rdftree.xul','','dialog=no');"/> </menupopup> </menu> </menubar> <!-- Dummy Items for browser component This also is temporaly code, should be replaced! --> <box id="nav-dummy" hidden="true"> <toolbar id="nav-bar"> <menuitem id="menu_closeWindow"/> <menuitem id="menuitem-stop"/> <button id="stop-button"/> <button id="home-button"/> <deck id="page-proxy-deck"> <image id="page-proxy-button"/> <image id="page-proxy-favicon"/> </deck> </toolbar> </box> <toolbar id="moz2chToolbar" class="toolbar-primary chromeclass-toolbar" grippytooltiptext="&moz2chToolbar.tooltip;"> <hbox id="toolbox_button_box"> <toolbarbutton class="toolbarbutton-1" id="toolbarReload" label="&reload.label;" oncommand="moz2chReload();"/> <toolbarbutton class="toolbarbutton-1" id="toolbarStop" label="&stopCmd.label;"/> <toolbarseparator class="toolbarseparator-primary"/> <toolbarbutton class="toolbarbutton-1" id="toolbarWrite" label="&write.label;"/> </hbox> <hbox flex="1" align="center"> <vbox flex="1"> <label id="currentTitle"/> <hbox align="center"> <deck flex="1"> <!-- この辺は後で詳細に弄る予定 --> <textbox id="currentURL" flex="1"/> <textbox id="urlbar" flex="1"/> </deck> <menulist crop="none"> <menupopup> <menuitem label="&resCount50;"/> <menuitem label="&resCount100;"/> <menuitem label="&resCount250;"/> <menuitem label="&resCount500;"/> <menuitem label="&resCountAll;"/> </menupopup> </menulist> </hbox> </vbox> </hbox> <hbox id="throbber-box" align="center"> <button id="navigator-throbber"/> </hbox> </toolbar> </toolbox> <hbox flex="1"> <tree class="plain" id="itaTree" seltype="single" hidecolumnpicker="true" persist="collapsed width" onselect="moz2chItaTreeSelect(this);" onclick="moz2chItaTreeFocus();" onfocus="moz2chItaTreeFocus();" onblur="moz2chItaTreeBlur();" ondblclick="moz2chItaTreeDblClick(this, event);"> <treecols> <treecol primary="true" id="itaName" label="&itaName.label;" flex="1"/> </treecols> <treechildren/> </tree> <splitter id="itaTreeSplitter" collapse="before"> <grippy/> </splitter> <vbox flex="1"> <tree class="plain" id="ita" seltype="single" collapsed="false" persist="collapsed height" onselect="moz2chItaSelect(this);" onclick="moz2chItaFocus();" onfocus="moz2chItaFocus();" onblur="moz2chItaBlur();" ondblclick="moz2chItaDblClick(this, event);"> <treecols> <treecol id="sureMark" class="treecol-image"/> <splitter class="tree-splitter"/> <treecol id="sureNum" label="&sureNum.label;"/> <splitter class="tree-splitter"/> <treecol id="sureName" label="&sureName.label;" flex="2"/> <splitter class="tree-splitter"/> <treecol id="sureRes" label="&sureRes.label;"/> <splitter class="tree-splitter"/> <treecol id="sureNew" label="&sureNew.label;"/> <splitter class="tree-splitter"/> <treecol id="sureDate" label="&sureDate.label;" flex="1"/> </treecols> <treechildren/> </tree> <splitter id="itaSplitter" collapse="before"> <grippy/> </splitter> <vbox id="appcontent" flex="1"> <hbox id="browser" flex="1"> <tabbrowser id="content" type="content-primary" flex="1" contenttooltip="aHTMLTooltip" contentcontextmenu="contentAreaContextMenu" onclick="moz2chSureClick();return contentAreaClick(event);"/> </hbox> </vbox> <splitter id="debugSplitter" collapse="after"> <grippy/> </splitter> <hbox id="debugBox" persist="collapsed height"> <label value="&debug.label;"/> <textbox class="plain" id="debugArea" multiline="true" flex="1"/> </hbox> </vbox> </hbox> <statusbar id="status-bar" class="chromeclass-statusbar"> <statusbarpanel id="component-bar"/> <statusbarpanel id="statusbar-display" flex="1"/> <statusbarpanel class="statusbarpanel-progress"> <progressmeter class="progressmeter-statusbar" id="statusbar-icon" mode="normal" value="0"/> </statusbarpanel> <statusbarpanel class="statusbarpanel-iconic" id="security-button"/> </statusbar> </window>
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||