~ubuntu-branches/ubuntu/precise/kompozer/precise

« back to all changes in this revision

Viewing changes to mozilla/extensions/irc/xul/content/prefpanel/startup.xul

  • Committer: Bazaar Package Importer
  • Author(s): Anthony Yarusso
  • Date: 2007-08-27 01:11:03 UTC
  • Revision ID: james.westby@ubuntu.com-20070827011103-2jgf4s6532gqu2ka
Tags: upstream-0.7.10
ImportĀ upstreamĀ versionĀ 0.7.10

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0"?> 
 
2
 
 
3
<!-- ***** BEGIN LICENSE BLOCK *****
 
4
   - Version: MPL 1.1/GPL 2.0/LGPL 2.1
 
5
   -
 
6
   - The contents of this file are subject to the Mozilla Public License
 
7
   - Version 1.1 (the "License"); you may not use this file except in
 
8
   - compliance with the License. You may obtain a copy of the License at
 
9
   - http://www.mozilla.org/MPL/ 
 
10
   - 
 
11
   - Software distributed under the License is distributed on an "AS IS" basis,
 
12
   - WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
 
13
   - for the specific language governing rights and limitations under the
 
14
   - License. 
 
15
   -
 
16
   - The Original Code is Chatzilla
 
17
   - 
 
18
   - Alternatively, the contents of this file may be used under the
 
19
   - terms of the GNU Public License (the "GPL"), in which case the
 
20
   - provisions of the GPL are applicable instead of those above.
 
21
   - If you wish to allow use of your version of this file only
 
22
   - under the terms of the GPL and not to allow others to use your
 
23
   - version of this file under the MPL, indicate your decision by
 
24
   - deleting the provisions above and replace them with the notice
 
25
   - and other provisions required by the GPL.  If you do not delete
 
26
   - the provisions above, a recipient may use your version of this
 
27
   - file under either the MPL or the GPL.
 
28
   -
 
29
   - Contributor(s):
 
30
   -  James Ross, <twpol@aol.com>, original author
 
31
   -
 
32
   - ***** END LICENSE BLOCK ***** -->
 
33
 
 
34
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
 
35
<!DOCTYPE page SYSTEM "chrome://chatzilla/locale/pref-irc.dtd">
 
36
 
 
37
<page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
 
38
    onload="Init();"
 
39
      headertitle="&startup.window.title;">
 
40
 
 
41
  <script src="chrome://global/content/strres.js"/>
 
42
  <script src="chrome://chatzilla/content/prefpanel/pref-irc.js"/>
 
43
  <script src="chrome://chatzilla/content/prefpanel/startup.js"/>
 
44
  <script type="application/x-javascript">
 
45
  <![CDATA[
 
46
    var _elementIDs = ["czInitialScripts", "czInitialURLs"];
 
47
  ]]>
 
48
  </script>
 
49
  
 
50
  <label>&startupOrder.label;</label>
 
51
  
 
52
  <groupbox flex="1">
 
53
    <caption><label value="&autoScripts.title;" control="czInitialScripts" 
 
54
        accesskey="&autoScripts.accesskey;"/></caption>
 
55
    
 
56
    <hbox flex="1">
 
57
      <listbox id="czInitialScripts" flex="1" prefdefval="" 
 
58
          style="width: 0px; height: 0px;" crop="center" 
 
59
          prefstring="extensions.irc.initialScripts" preftype="string" 
 
60
          prefvalue="" prefattribute="prefvalue" wsm_attributes="prefvalue"
 
61
          onselect="listUpdateButtons('Scripts');"/>
 
62
      <vbox>
 
63
        <button id="czUpScripts" label="&list.up.label;" class="up" 
 
64
            accesskey="&list.up.script.accesskey;"
 
65
            oncommand="listMoveUp('Scripts');"/>
 
66
        <button id="czDnScripts" label="&list.dn.label;" class="down" 
 
67
            accesskey="&list.dn.script.accesskey;"
 
68
            oncommand="listMoveDown('Scripts');"/>
 
69
      </vbox>
 
70
    </hbox>
 
71
    <hbox>
 
72
      <button id="czAddScripts" label="&list.add.label;"
 
73
          accesskey="&list.add.script.accesskey;"
 
74
          oncommand="listAdd('Scripts');"/>
 
75
      <button id="czDelScripts" label="&list.del.label;" 
 
76
          accesskey="&list.del.script.accesskey;"
 
77
          oncommand="listDelete('Scripts');"/>
 
78
    </hbox>
 
79
  </groupbox>
 
80
  <groupbox flex="1">
 
81
    <caption><label value="&autoURLs.title;" control="czInitialURLs" 
 
82
        accesskey="&autoURLs.accesskey;"/></caption>
 
83
    
 
84
    <hbox flex="1">
 
85
      <listbox id="czInitialURLs" flex="1" prefdefval="irc://" 
 
86
          style="width: 0px; height: 0px;" 
 
87
          prefstring="extensions.irc.initialURLs" preftype="string" 
 
88
          prefvalue="" prefattribute="prefvalue" wsm_attributes="prefvalue" 
 
89
          onselect="listUpdateButtons('URLs');" ondblclick="listEdit('URLs');"/>
 
90
      <vbox>
 
91
        <button id="czUpURLs" label="&list.up.label;" class="up" 
 
92
            accesskey="&list.up.server.accesskey;"
 
93
            oncommand="listMoveUp('URLs');"/>
 
94
        <button id="czDnURLs" label="&list.dn.label;" class="down" 
 
95
            accesskey="&list.dn.server.accesskey;"
 
96
            oncommand="listMoveDown('URLs');"/>
 
97
      </vbox>
 
98
    </hbox>
 
99
    <hbox>
 
100
      <button id="czAddURLs" label="&list.add.label;" 
 
101
          accesskey="&list.add.server.accesskey;"
 
102
          oncommand="listAdd('URLs');"/>
 
103
      <button id="czEditURLs" label="&list.edit.label;" 
 
104
          accesskey="&list.edit.accesskey;"
 
105
          oncommand="listEdit('URLs');"/>
 
106
      <button id="czDelURLs" label="&list.del.label;" 
 
107
          accesskey="&list.del.server.accesskey;"
 
108
          oncommand="listDelete('URLs');"/>
 
109
    </hbox>
 
110
  </groupbox>
 
111
</page>