2005-02-01 03:56:51 +03:00
|
|
|
<?xml version="1.0"?>
|
2005-05-03 23:54:19 +04:00
|
|
|
<!-- ***** 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 Mozilla Calendar Code.
|
|
|
|
-
|
|
|
|
- The Initial Developer of the Original Code is Stuart Parmenter.
|
|
|
|
- Portions created by the Initial Developer are Copyright (C) 2005
|
|
|
|
- the Initial Developer. All Rights Reserved.
|
|
|
|
-
|
|
|
|
- Contributor(s): Mike Shaver <shaver@mozilla.org>
|
|
|
|
- Michiel van Leeuwen <mvl@exedo.nl>
|
|
|
|
- Simon Paquet <bugzilla@babylonsounds.com>
|
2006-05-13 23:36:44 +04:00
|
|
|
- Gary van der Merwe <garyvdm@gmail.com>
|
2005-05-03 23:54:19 +04:00
|
|
|
-
|
|
|
|
- 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 ***** -->
|
2005-02-01 03:56:51 +03:00
|
|
|
|
|
|
|
<!-- Style sheets -->
|
|
|
|
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
|
|
|
|
|
2005-05-03 23:54:19 +04:00
|
|
|
<!DOCTYPE dialog
|
|
|
|
[
|
|
|
|
<!ENTITY % dtd1 SYSTEM "chrome://calendar/locale/calendarCreation.dtd" > %dtd1;
|
|
|
|
<!ENTITY % dtd2 SYSTEM "chrome://calendar/locale/calendar.dtd" > %dtd2;
|
|
|
|
]>
|
|
|
|
|
2005-02-01 03:56:51 +03:00
|
|
|
<!-- The Window -->
|
|
|
|
|
2005-04-13 21:00:15 +04:00
|
|
|
<wizard id="calendar-wizard"
|
2005-05-03 23:54:19 +04:00
|
|
|
title="&wizard.title;"
|
2005-04-13 21:00:15 +04:00
|
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
|
|
|
onwizardfinish=""
|
|
|
|
persist="screenX screenY">
|
2005-02-01 03:56:51 +03:00
|
|
|
|
2005-03-25 00:27:16 +03:00
|
|
|
<script type="application/x-javascript" src="chrome://calendar/content/calendarUtils.js"/>
|
|
|
|
<script type="application/x-javascript" src="chrome://calendar/content/calendarCreation.js"/>
|
2005-02-01 03:56:51 +03:00
|
|
|
|
2005-04-13 21:00:15 +04:00
|
|
|
<wizardpage pageid="initialPage"
|
|
|
|
next="locationPage"
|
2005-05-03 23:54:19 +04:00
|
|
|
label="&wizard.label;"
|
|
|
|
description="&wizard.description;"
|
2005-05-08 22:15:49 +04:00
|
|
|
onpageshow="checkRequired();"
|
2005-04-13 21:00:15 +04:00
|
|
|
onpageadvanced="onInitialAdvance();">
|
2005-05-03 23:54:19 +04:00
|
|
|
<description>&initialpage.description;</description>
|
2005-04-13 21:00:15 +04:00
|
|
|
<radiogroup id="calendar-type">
|
2006-09-07 19:59:10 +04:00
|
|
|
<radio value="local" label="&initialpage.computer.label;" selected="true"/>
|
|
|
|
<radio value="remote" label="&initialpage.network.label;"/>
|
2005-04-13 21:00:15 +04:00
|
|
|
</radiogroup>
|
2005-02-01 03:56:51 +03:00
|
|
|
</wizardpage>
|
|
|
|
|
2005-04-13 21:00:15 +04:00
|
|
|
<wizardpage pageid="locationPage"
|
|
|
|
next="customizePage"
|
2005-05-03 23:54:19 +04:00
|
|
|
label="&wizard.label;"
|
2006-08-14 17:40:10 +04:00
|
|
|
onpageshow="initLocationPage();"
|
2005-05-03 23:54:19 +04:00
|
|
|
description="&wizard.description;">
|
|
|
|
<description>&locationpage.description;</description>
|
2005-04-13 21:00:15 +04:00
|
|
|
<grid>
|
|
|
|
<columns>
|
|
|
|
<column/>
|
|
|
|
<column flex="1"/>
|
|
|
|
</columns>
|
|
|
|
<rows>
|
|
|
|
<row>
|
2005-05-03 23:54:19 +04:00
|
|
|
<label value="&calendarproperties.format.label;"/>
|
2005-04-13 21:00:15 +04:00
|
|
|
<radiogroup id="calendar-format">
|
2006-05-13 23:36:44 +04:00
|
|
|
<radio value="ics" label="&calendarproperties.webdav.label;" selected="true" />
|
2005-05-03 23:54:19 +04:00
|
|
|
<radio value="caldav" label="&calendarproperties.caldav.label;"/>
|
2006-08-14 17:40:10 +04:00
|
|
|
<radio id="wcap-radio" value="wcap" label="&calendarproperties.wcap.label;"/>
|
2005-04-13 21:00:15 +04:00
|
|
|
</radiogroup>
|
|
|
|
</row>
|
|
|
|
<row align="center">
|
2005-05-03 23:54:19 +04:00
|
|
|
<label value="&calendarproperties.location.label;"/>
|
2005-04-13 21:00:15 +04:00
|
|
|
<textbox id="calendar-uri"
|
2005-11-18 19:00:31 +03:00
|
|
|
required="true" oninput="checkRequired();" />
|
2005-04-13 21:00:15 +04:00
|
|
|
</row>
|
|
|
|
<!--
|
2005-05-03 23:54:19 +04:00
|
|
|
<description>&locationpage.login.description;</description>
|
2005-04-13 21:00:15 +04:00
|
|
|
<row align="center">
|
2005-05-03 23:54:19 +04:00
|
|
|
<label value="&locationpage.username.label;"/>
|
2005-04-13 21:00:15 +04:00
|
|
|
<textbox id="calendar-username"/>
|
|
|
|
</row>
|
|
|
|
<row align="center">
|
2005-05-03 23:54:19 +04:00
|
|
|
<label value="&locationpage.password.label;"/>
|
2005-04-13 21:00:15 +04:00
|
|
|
<textbox id="calendar-password"/>
|
|
|
|
</row>
|
|
|
|
-->
|
|
|
|
</rows>
|
|
|
|
</grid>
|
2005-02-01 03:56:51 +03:00
|
|
|
</wizardpage>
|
2005-04-13 21:00:15 +04:00
|
|
|
|
|
|
|
<wizardpage pageid="customizePage"
|
2005-05-03 23:54:19 +04:00
|
|
|
description="&custompage.shortdescription;"
|
|
|
|
label="&wizard.label;"
|
2005-04-13 21:00:15 +04:00
|
|
|
next="finishPage"
|
2005-09-11 13:29:50 +04:00
|
|
|
onpageshow="initNameFromURI(); checkRequired();"
|
2005-04-13 21:00:15 +04:00
|
|
|
onpageadvanced="doCreateCalendar();">
|
2005-05-03 23:54:19 +04:00
|
|
|
<description>&custompage.longdescription;</description>
|
2005-04-13 21:00:15 +04:00
|
|
|
<grid>
|
|
|
|
<columns>
|
|
|
|
<column/>
|
|
|
|
<column flex="1"/>
|
|
|
|
</columns>
|
|
|
|
<rows>
|
|
|
|
<row align="center">
|
2005-05-03 23:54:19 +04:00
|
|
|
<label value="&calendarproperties.name.label;"/>
|
2005-04-13 21:00:15 +04:00
|
|
|
<textbox id="calendar-name"
|
2005-11-18 19:00:31 +03:00
|
|
|
required="true" oninput="checkRequired();"/>
|
2005-04-13 21:00:15 +04:00
|
|
|
</row>
|
|
|
|
<row align="center">
|
2005-05-03 23:54:19 +04:00
|
|
|
<label value="&calendarproperties.color.label;"/>
|
2005-04-13 21:00:15 +04:00
|
|
|
<hbox align="center">
|
|
|
|
<colorpicker id="calendar-color"
|
|
|
|
class="small-margin"
|
|
|
|
type="button"
|
|
|
|
palettename="standard"/>
|
|
|
|
</hbox>
|
|
|
|
</row>
|
|
|
|
</rows>
|
|
|
|
</grid>
|
|
|
|
</wizardpage>
|
|
|
|
|
|
|
|
<wizardpage pageid="finishPage"
|
2005-05-03 23:54:19 +04:00
|
|
|
description="&finishpage.shortdescription;"
|
2006-03-19 16:34:35 +03:00
|
|
|
label="&wizard.label;"
|
|
|
|
onpageshow="setCanRewindFalse();">
|
2005-05-03 23:54:19 +04:00
|
|
|
<description>&finishpage.longdescription;</description>
|
2005-02-01 03:56:51 +03:00
|
|
|
</wizardpage>
|
|
|
|
</wizard>
|