RetroZilla/extensions/irc/xul/content/chatzilla.xul
2015-10-20 23:03:22 -04:00

168 lines
7.5 KiB
XML

<?xml version="1.0"?>
<!-- ***** 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 JSIRC Test Client #3.
-
- The Initial Developer of the Original Code is
- New Dimensions Consulting, Inc.
- Portions created by the Initial Developer are Copyright (C) 1999
- the Initial Developer. All Rights Reserved.
-
- Contributor(s):
- Robert Ginda, rginda@ndcico.com, original author
- Josh Soref, timeless@mac.com, international support
- Chiaki Koufugata chiaki@mozilla.gr.jp UI i18n
-
- 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 GPL or the LGPL. 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 ***** -->
<!DOCTYPE window SYSTEM "chrome://chatzilla/locale/chatzilla.dtd">
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://chatzilla/skin/chatzilla.css" type="text/css"?>
<?xul-overlay href="chrome://global/content/globalOverlay.xul"?>
<?xul-overlay href="chrome://chatzilla/content/scripts.xul"?>
<?xul-overlay href="chrome://chatzilla/content/popups.xul"?>
<?xul-overlay href="chrome://chatzilla/content/menus.xul"?>
<window id="chatzilla-window"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
orient="vertical" onload="onLoad();" onunload="onUnload();"
onclose="return onClose();" onmouseover="onMouseOver(event);"
persist="width height screenX screenY sizemode" windowtype="irc:chatzilla">
<overlaytarget id="scripts-overlay-target"/>
<overlaytarget id="popup-overlay-target"/>
<overlaytarget id="menu-overlay-target"/>
<stringbundleset id="chatzilla-stringbundle">
<stringbundle id="findBundle" src="chrome://global/locale/finddialog.properties"/>
</stringbundleset>
<vbox id="upper-box" flex="1">
<hbox id="tabpanels-contents-box" flex="1">
<vbox id="user-list-box" width="125" persist="collapsed width">
<tree id="user-list" container="true" datasources="rdf:null" flex="1"
containment="http://home.netscape.com/NC-irc#chanuser"
hidecolumnpicker="true"
context="context:userlist">
<template>
<rule>
<conditions>
<content uri="?container"/>
<member container="?container" child="?member"/>
</conditions>
<bindings>
<binding subject="?member" predicate="http://home.netscape.com/NC-irc#sortname" object="?sortname"/>
<binding subject="?member" predicate="http://home.netscape.com/NC-irc#founder" object="?founder"/>
<binding subject="?member" predicate="http://home.netscape.com/NC-irc#admin" object="?admin"/>
<binding subject="?member" predicate="http://home.netscape.com/NC-irc#op" object="?op"/>
<binding subject="?member" predicate="http://home.netscape.com/NC-irc#halfop" object="?halfop"/>
<binding subject="?member" predicate="http://home.netscape.com/NC-irc#voice" object="?voice"/>
<binding subject="?member" predicate="http://home.netscape.com/NC-irc#nick" object="?nick"/>
<binding subject="?member" predicate="http://home.netscape.com/NC-irc#unicodeName" object="?unicodeName"/>
<binding subject="?member" predicate="http://home.netscape.com/NC-irc#away" object="?away"/>
</bindings>
<action>
<treechildren>
<treeitem uri="?member" flex="1"
properties="founder-?founder admin-?admin op-?op halfop-?halfop voice-?voice away-?away">
<treerow>
<treecell properties="founder-?founder admin-?admin op-?op halfop-?halfop voice-?voice away-?away"
label="?nick" unicodeName="?unicodeName"/>
</treerow>
</treeitem>
</treechildren>
</action>
</rule>
</template>
<treecols>
<treecol id="usercol" hideheader="true" flex="1"
properties="founder-?founder admin-?admin op-?op halfop-?halfop voice-?voice away-?away"/>
</treecols>
</tree>
</vbox> <!-- user-list-box -->
<splitter id="main-splitter" collapse="before" persist="collapsed left">
<grippy/>
</splitter>
<vbox flex="1">
<deck id="output-deck" flex="1"/>
</vbox>
</hbox> <!-- tabpanels-contents-box -->
<hbox id="tabstrip-box" flex="0" crop="right">
<hbox id="view-tabs" persist="collapsed" flex="1">
<tabs class="tabs-bottom" id="views-tbar-inner" flex="1"
onselect="onTabSelect(event)" setfocus="false">
<tab collapsed="true"/> <!-- dummy tab to keep the freaking xbl from
causing an exception -->
</tabs>
<spacer id="views-tbar-spacer"/>
</hbox>
</hbox>
</vbox> <!-- upper-box -->
<splitter id="input-splitter" orient="vertical" collapse="after"
collapsed="true"/>
<hbox id="input-widgets" align="center">
<button id="server-nick" type="menu" label=""/>
<hbox id="multiline-box" flex="1" collapsed="true">
<textbox id="multiline-input" multiline="true" flex="1" height="100px"
class="multiline-input-widget" onfocus="onInputFocus();"/>
<vbox>
<toolbarbutton id="button-input" flex="1"
oncommand="onMultilineSend(event);"
tooltiptext="&multiline-send.tooltip;" />
<toolbarbutton id="button-multiline-contract"
oncommand="dispatch('pref multiline false');"
tooltiptext="&multiline-contract.tooltip;" />
</vbox>
</hbox>
<hbox id="singleline-box" flex="1" collapsed="true">
<textbox id="input" class="input-widget" flex="1"
onfocus="onInputFocus();"/>
<toolbarbutton id="button-multiline-expand"
oncommand="dispatch('pref multiline true');"
tooltiptext="&multiline-expand.tooltip;"/>
</hbox>
</hbox>
<overlaytarget id="statusbar-overlay-target"/>
</window>