egroupware/addressbook/templates/default/edit.xet
Ralf Becker 210b04fae0 - moved all css to app.css file
- groupboxes have a fixed height and similar design to tabs now
- fixed not working IE popup (position: fixed)
- layout looks good now in firefox and konq, it's Ok in IE
2005-11-14 19:17:24 +00:00

447 lines
13 KiB
XML

<?xml version="1.0"?>
<!-- $Id$ -->
<overlay>
<template id="addressbook.edit.personal" template="" lang="" group="0" version="1.0.1.001">
<grid height="250">
<columns>
<column/>
<column/>
<column/>
</columns>
<rows>
<row>
<image src="personal"/>
<description value="prefix"/>
<textbox id="n_prefix" size="45" maxlength="64" tabindex="1"/>
</row>
<row>
<description/>
<description value="first name"/>
<textbox id="n_given" size="45" maxlength="64" tabindex="2"/>
</row>
<row>
<description/>
<description value="middle name"/>
<textbox id="n_middle" size="45" maxlength="64" tabindex="3"/>
</row>
<row>
<description/>
<description value="last name"/>
<textbox id="n_family" size="45" maxlength="64" tabindex="4"/>
</row>
<row>
<description/>
<description value="suffix"/>
<textbox id="n_suffix" size="45" maxlength="64" tabindex="5"/>
</row>
<row height="40">
<image src="gohome"/>
<description value="company name" options=",,,org_name"/>
<textbox size="45" maxlength="64" id="org_name" tabindex="5"/>
</row>
<row valign="top">
<image src="folder"/>
<description value="category"/>
<listbox type="select-cat" id="cat_id" rows="3" span="4" tabindex="6"/>
</row>
<row>
<image src="password"/>
<description value="Private" options=",,,private"/>
<checkbox id="private" tabindex="7"/>
</row>
</rows>
</grid>
</template>
<template id="addressbook.edit.organisation" template="" lang="" group="0" version="1.0.1.001">
<grid height="250">
<columns>
<column/>
<column/>
<column/>
<column/>
</columns>
<rows>
<row>
<image src="gear"/>
<description value="title"/>
<textbox size="45" maxlength="64" id="title"/>
<description/>
</row>
<row>
<description/>
<description value="department"/>
<textbox id="org_unit" size="45" maxlength="64"/>
<description/>
</row>
<row>
<description/>
<description/>
<description/>
<description/>
</row>
<row>
<image src="gohome"/>
<description value="street"/>
<textbox size="45" maxlength="64" id="adr_one_street"/>
<description/>
</row>
<row>
<description/>
<description value="address line 2"/>
<textbox size="45" maxlength="64" id="address2"/>
<description/>
</row>
<row>
<description/>
<description value="address line 3"/>
<textbox size="45" maxlength="64" id="address3"/>
<description/>
</row>
<row>
<description/>
<description value="city"/>
<textbox size="45" maxlength="64" id="adr_one_locality"/>
<description/>
</row>
<row>
<description/>
<description value="zip code"/>
<textbox size="45" maxlength="64" id="adr_one_postalcode"/>
<description/>
</row>
<row>
<description/>
<description value="state"/>
<textbox size="45" maxlength="64" id="adr_one_region"/>
<description/>
</row>
<row>
<description/>
<description value="country"/>
<textbox size="45" maxlength="64" id="adr_one_countryname"/>
<description/>
</row>
<row>
<description/>
<description/>
<description/>
<description/>
</row>
</rows>
</grid>
</template>
<template id="addressbook.edit.home" template="" lang="" group="0" version="1.0.1.001">
<grid height="250">
<columns>
<column/>
<column/>
<column/>
</columns>
<rows>
<row>
<image src="gohome"/>
<description value="street"/>
<textbox size="45" maxlength="64" id="adr_two_street"/>
</row>
<row>
<description/>
<description value="city"/>
<textbox size="45" maxlength="64" id="adr_two_locality"/>
</row>
<row>
<description/>
<description value="zip code"/>
<textbox size="45" maxlength="64" id="adr_two_postalcode"/>
</row>
<row>
<description/>
<description value="state"/>
<textbox size="45" maxlength="64" id="adr_two_locality"/>
</row>
<row>
<description/>
<description value="country"/>
<textbox size="45" maxlength="64" id="adr_two_countryname"/>
</row>
<row height="30">
<description/>
<description options=",,,bday" value="Birthday"/>
<date 1="label" id="bday"/>
</row>
<row>
<description/>
<description options=",,,tz" value="Time zone"/>
<menulist>
<menupopup id="tz" no_lang="1"/>
</menulist>
</row>
<row>
<description/>
<description value="Public key"/>
<textbox multiline="true" rows="2" cols="45" id="pubkey"/>
</row>
</rows>
</grid>
</template>
<template id="addressbook.edit.details" template="" lang="" group="0" version="1.0.1.001">
<grid width="100%" height="250" overflow="auto">
<columns>
<column/>
</columns>
<rows>
<row>
<description value="Notes"/>
</row>
<row valign="top">
<textbox multiline="true" rows="4" cols="56" id="note"/>
</row>
<row class="th">
<description value="Custom fields"/>
</row>
<row valign="top" height="100%">
<customfields id="customfields"/>
</row>
</rows>
</grid>
</template>
<template id="addressbook.edit.links" template="" lang="" group="0" version="1.0.1.001">
<grid width="100%" height="250" overflow="auto">
<columns>
<column/>
</columns>
<rows>
<row disabled="@view">
<description value="Create new links"/>
</row>
<row>
<link-to id="link_to"/>
</row>
<row class="th">
<description value="Existing links"/>
</row>
<row>
<link-list id="link"/>
</row>
</rows>
</grid>
</template>
<template id="addressbook.editphones" template="" lang="" group="0" version="1.0.1.001">
<grid class="editphones">
<columns>
<column/>
<column/>
<column/>
</columns>
<rows>
<row>
<description span="all" class="windowheader" value="Edit Phonenumbers - " no_lang="1" align="center" id="fn"/>
<description/>
<description/>
</row>
<row class="th">
<description value="Description"/>
<description value="Number"/>
<description value="pref"/>
</row>
<row>
<description value="business"/>
<textbox size="30" id="tel_work2"/>
<radio options="tel_work" id="tel_prefer"/>
</row>
<row>
<description value="mobile phone"/>
<textbox size="30" id="tel_cell2"/>
<radio options="tel_cell" id="tel_prefer"/>
</row>
<row>
<description value="Private"/>
<textbox size="30" id="tel_home2"/>
<radio options="tel_home" id="tel_prefer"/>
</row>
<row>
<description value="fax"/>
<textbox size="30" id="tel_fax"/>
<radio options="tel_fax" id="tel_prefer"/>
</row>
<row>
<description value="car phone"/>
<textbox size="30" id="tel_car"/>
<radio options="tel_car" id="tel_prefer"/>
</row>
<row>
<description value="video phone"/>
<textbox size="30" id="tel_video"/>
<radio options="tel_video" id="tel_prefer"/>
</row>
<row>
<description value="pager"/>
<textbox size="30" id="tel_pager"/>
<radio options="tel_pager" id="tel_prefer"/>
</row>
<row>
<description value="voice phone"/>
<textbox size="30" id="tel_voice"/>
<radio options="tel_voice" id="tel_prefer"/>
</row>
<row>
<description value="message phone"/>
<textbox size="30" id="tel_msg"/>
<radio options="tel_msg" id="tel_prefer"/>
</row>
<row>
<description value="bbs phone"/>
<textbox size="30" id="tel_bbs"/>
<radio options="tel_bbs" id="tel_prefer"/>
</row>
<row>
<description value="modem phone"/>
<textbox size="30" id="tel_modem"/>
<radio options="tel_modem" id="tel_prefer"/>
</row>
<row>
<description value="isdn phone"/>
<textbox size="30" id="tel_isdn"/>
<radio options="tel_isdn" id="tel_prefer"/>
</row>
<row>
<description value=" Other Phone"/>
<textbox size="30" id="ophone"/>
<radio options="ophone" id="tel_prefer"/>
</row>
<row>
<button label="Ok" onclick="hidephones(this.form); return false;" span="all" align="center"/>
</row>
</rows>
</grid>
</template>
<template id="addressbook.edit" template="" lang="" group="0" version="1.0.1.001">
<grid>
<columns>
<column width="450"/>
<column/>
</columns>
<rows>
<row disabled="!@msg">
<description span="all" class="redItalic" id="msg" no_lang="1"/>
<description/>
</row>
<row>
<grid>
<columns>
<column disabled="!@org_name"/>
<column disabled="!@org_name"/>
<column/>
</columns>
<rows>
<row>
<textbox id="org_name" readonly="true"/>
<description value=":"/>
<textbox id="fn" readonly="true" span="all"/>
</row>
</rows>
</grid>
</row>
<row valign="top">
<tabbox>
<tabs>
<tab label="Personal" statustext=""/>
<tab label="Company" statustext=""/>
<tab label="Private" statustext=""/>
<tab label="Details" statustext=""/>
<tab label="Links" statustext=""/>
</tabs>
<tabpanels>
<template id="addressbook.edit.personal"/>
<template id="addressbook.edit.organisation"/>
<template id="addressbook.edit.home"/>
<template id="addressbook.edit.details"/>
<template id="addressbook.edit.links"/>
</tabpanels>
</tabbox>
<vbox>
<groupbox class="phoneGroup">
<caption label="Phone Numbers"/>
<grid>
<columns>
<column width="20"/>
<column width="120"/>
<column/>
</columns>
<rows>
<row>
<image src="kaddressbook"/>
<description value="business" options=",,,tel_work"/>
<textbox id="tel_work" size="28" maxlength="40" tabindex="10"/>
</row>
<row>
<description/>
<description value="mobile phone" options=",,,tel_cell"/>
<textbox id="tel_cell" size="28" maxlength="40" tabindex="11"/>
</row>
<row>
<description/>
<description value="Private" options=",,,tel_home"/>
<textbox id="tel_home" size="28" maxlength="40" tabindex="12"/>
</row>
<row>
<description/>
<description/>
<button label="More ..." onclick="showphones(this.form); return false;" tabindex="13" accesskey="m"/>
</row>
</rows>
</grid>
</groupbox>
<groupbox class="emailGroup">
<caption label="Email &amp; Internet"/>
<grid>
<columns>
<column width="20"/>
<column width="120"/>
<column/>
</columns>
<rows>
<row>
<image src="package_network"/>
<description value="url" options=",,,url"/>
<textbox id="url" size="28" maxlength="128" tabindex="15"/>
</row>
<row>
<image src="email_icon"/>
<description value="business email" options=",,,email"/>
<textbox id="email" size="28" maxlength="64" tabindex="16"/>
</row>
<row>
<description/>
<description value="home email" options=",,,email_home"/>
<textbox id="email_home" size="28" maxlength="64" tabindex="17"/>
</row>
</rows>
</grid>
</groupbox>
</vbox>
</row>
<row disabled="!@id">
<menulist>
<menupopup type="select-account" id="owner" readonly="true" label="Owner"/>
</menulist>
<hbox align="right">
<description value="Last modified"/>
<date-time id="last_mod" readonly="true"/>
</hbox>
</row>
<row disabled="@hidebuttons">
<hbox>
<button label="Edit" id="button[edit]" onclick="window.open(egw::link('/index.php','menuaction=addressbook.uicontacts.edit&amp;contact_id=$cont[id]'),'_blank','dependent=yes,width=850,height=440,scrollbars=yes,status=yes'); return false;"/>
<button label="Copy" id="button[copy]" onclick="window.open(egw::link('/index.php','menuaction=addressbook.uicontacts.edit&amp;contact_id=$cont[id]&amp;makecp=1'),'_blank','dependent=yes,width=850,height=440,scrollbars=yes,status=yes'); return false;"/>
<button label="vCard" id="button[vcard]" statustext="download this contact as vCard file"/>
<button label="Save" id="button[save]" tabindex="20" accesskey="s"/>
<button label="Apply" id="button[apply]" tabindex="21"/>
<button label="Cancel" id="button[cancel]" onclick="if($cont[view]0) return true; self.close(); return false;" tabindex="22"/>
<template id="addressbook.editphones"/>
</hbox>
<button label="Delete" id="button[delete]" onclick="return confirm('Are you shure you want to delete this contact?');" align="right" tabindex="25"/>
</row>
</rows>
</grid>
</template>
</overlay>