egroupware_official/addressbook/templates/default/edit.xet

642 lines
23 KiB
Plaintext
Raw Normal View History

<?xml version="1.0"?>
<!-- $Id$ -->
<overlay>
2006-12-07 20:11:39 +01:00
<template id="addressbook.edit.upload" template="" lang="" group="0" version="1.3.004">
<grid class="uploadphoto">
<columns>
<column/>
</columns>
<rows>
<row disabled="!@jpegphoto">
<checkbox statustext="Deletes the photo" label="delete" id="delete_photo"/>
2006-12-07 20:11:39 +01:00
</row>
<row>
<file statustext="Select a portrait format jpeg photo. It will be resized to 60 pixel width." id="upload_photo" class="photo"/>
2006-12-07 20:11:39 +01:00
</row>
<row>
<button align="center" label="Ok" onclick="set_style_by_class('table','uploadphoto','display','none'); return false;"/>
2006-12-07 20:11:39 +01:00
</row>
</rows>
</grid>
</template>
<template id="addressbook.edit.name" template="" lang="" group="0" version="1.9.001">
2006-12-07 20:11:39 +01:00
<grid width="310" height="160" class="editname">
<columns>
<column width="20%"/>
<column/>
</columns>
<rows>
<row>
<description value="prefix" for="n_prefix"/>
<textbox id="n_prefix" onchange="setName(this);" size="35" maxlength="64"/>
2006-12-07 20:11:39 +01:00
</row>
<row>
<description value="first name" for="n_given"/>
<textbox id="n_given" onchange="setName(this);" size="35" maxlength="64"/>
2006-12-07 20:11:39 +01:00
</row>
<row>
<description value="middle name" for="n_middle"/>
<textbox id="n_middle" onchange="setName(this);" size="35" maxlength="64"/>
2006-12-07 20:11:39 +01:00
</row>
<row>
<description value="last name" for="n_family"/>
<textbox id="n_family" onchange="setName(this);" size="35" maxlength="64"/>
2006-12-07 20:11:39 +01:00
</row>
<row>
<description value="suffix" for="n_suffix"/>
<textbox id="n_suffix" onchange="setName(this);" size="35" maxlength="64"/>
2006-12-07 20:11:39 +01:00
</row>
<row>
<description/>
<button label="Ok" id="button[ok]" onclick="set_style_by_class('table','editname','display','none'); if(document.getElementById(form::name('title'))){document.getElementById(form::name('title')).focus();} return false;"/>
2006-12-07 20:11:39 +01:00
</row>
</rows>
</grid>
</template>
<template id="addressbook.edit.general" template="" lang="" group="0" version="1.9.003">
<grid height="286">
<columns>
<column/>
<column/>
<column/>
</columns>
<rows>
<row valign="top">
<image src="accounts"/>
<vbox>
<image src="photo" onclick="set_style_by_class('table','uploadphoto','display','inline'); return false;" class="photo"/>
2006-12-07 20:11:39 +01:00
<template id="addressbook.edit.upload"/>
</vbox>
<grid>
<columns>
2006-12-07 20:11:39 +01:00
<column/>
<column/>
<column/>
<column/>
</columns>
<rows>
<row>
2006-12-07 20:11:39 +01:00
<description value="Name"/>
<textbox cols="3" id="n_fn" no_lang="1" onclick="set_style_by_class('table','editname','display','inline'); var focElem = document.getElementById(form::name('n_prefix')); if (!(typeof(focElem) == 'undefined') &amp;&amp; typeof(focElem.focus)=='function') document.getElementById(form::name('n_prefix')).focus();" readonly="true" rows="1" size="-36" span="2" class="cursorHand"/>
</row>
<row>
2006-12-07 20:11:39 +01:00
<description/>
<template id="addressbook.edit.name"/>
<description/>
<description/>
</row>
<row>
<description value="Title" for="title"/>
<textbox id="title" size="36" maxlength="64" span="2"/>
<description/>
</row>
<row>
<description value="Role" for="role"/>
<textbox id="role" size="20" maxlength="64"/>
<textbox label="Room" id="room" size="5"/>
<description/>
</row>
</rows>
</grid>
</row>
<row>
2006-12-07 20:11:39 +01:00
<image src="home"/>
<description value="Organisation"/>
<textbox id="org_name" onchange="setName(this);" size="45" maxlength="128"/>
</row>
<row>
<description/>
<description value="department" for="org_unit"/>
<textbox id="org_unit" size="45" maxlength="64"/>
</row>
<row>
2011-08-31 14:24:35 +02:00
<image/>
<description value="street" for="adr_one_street"/>
<textbox id="adr_one_street" size="45" maxlength="64"/>
</row>
<row>
<description/>
<description/>
<textbox statustext="address line 2" id="adr_one_street2" size="45" maxlength="64"/>
</row>
<row disabled="@addr_format=city_state_postcode">
<description/>
<description value="city" for="adr_one_locality"/>
2006-12-07 20:11:39 +01:00
<hbox options="0,0">
<textbox statustext="ZIP Code" id="adr_one_postalcode" size="5" maxlength="64"/>
<textbox statustext="City" id="adr_one_locality" size="35" maxlength="64" class="leftPad5"/>
2006-12-07 20:11:39 +01:00
</hbox>
</row>
<row disabled="@addr_format=city_state_postcode">
<description/>
<description value="country" for="adr_one_countryname"/>
2006-12-07 20:11:39 +01:00
<hbox options="0,0">
<menulist class="countrySelect">
<menupopup type="select-country" id="adr_one_countrycode" onchange="show_custom_country(this);" options="Select one,0,1"/>
2006-12-07 20:11:39 +01:00
</menulist>
<textbox id="adr_one_countryname" class="custom_country"/>
<textbox statustext="State" id="adr_one_region" size="19" maxlength="64" class="leftPad5"/>
2006-12-07 20:11:39 +01:00
</hbox>
</row>
<row disabled="!@addr_format=city_state_postcode">
<description/>
<description value="City"/>
<hbox options="0,0">
<textbox statustext="City" id="adr_one_locality" size="30" maxlength="64"/>
<textbox statustext="State" id="adr_one_region" size="3" maxlength="64" class="leftPad5"/>
<textbox statustext="ZIP Code" id="adr_one_postalcode" size="5" maxlength="64" class="leftPad5"/>
</hbox>
</row>
<row disabled="!@addr_format=city_state_postcode">
<description/>
<description value="country" for="adr_one_countryname"/>
<hbox options="0,0">
<menulist class="countrySelect">
<menupopup type="select-country" id="adr_one_countrycode" onchange="show_custom_country(this);" options="Select one,0,1"/>
</menulist>
<textbox id="adr_one_countryname" class="custom_country"/>
</hbox>
</row>
2006-12-07 20:11:39 +01:00
<row valign="bottom" height="25">
<image src="private.png"/>
<description value="Addressbook"/>
<menulist class="owner">
<menupopup statustext="Addressbook the contact should be saved to" id="owner" no_lang="1"/>
</menulist>
</row>
2006-12-07 20:11:39 +01:00
</rows>
</grid>
</template>
<template id="addressbook.edit.cats" template="" lang="" group="0" version="1.9.001">
<grid width="100%" height="286" overflow="auto">
2006-12-07 20:11:39 +01:00
<columns>
<column/>
<column/>
2007-07-22 15:25:00 +02:00
<column disabled="@cat_tab=Tree"/>
<column disabled="!@cat_tab=Tree"/>
2006-12-07 20:11:39 +01:00
</columns>
<rows>
<row valign="top">
<image src="folder"/>
<description value="Categories"/>
2007-07-22 15:25:00 +02:00
<listbox type="select-cat" id="cat_id" rows="013" options=",width:99%"/>
<tree-cat id="cat_id" options="13,,width:99%"/>
</row>
</rows>
</grid>
</template>
<template id="addressbook.edit.home" template="" lang="" group="0" version="1.9.001">
<grid width="100%" height="286">
<columns>
<column/>
<column/>
<column/>
</columns>
<rows>
<row>
<image src="accounts"/>
<description value="street" for="adr_two_street"/>
<textbox id="adr_two_street" size="45" maxlength="64"/>
</row>
<row>
<description/>
<description for="adr_two_street2"/>
<textbox statustext="address line 2" id="adr_two_street2" size="45" maxlength="64"/>
</row>
<row disabled="@addr_format2=city_state_postcode">
<description/>
<description value="city" for="adr_two_locality"/>
2006-12-07 20:11:39 +01:00
<hbox options="0,0">
<textbox statustext="ZIP Code" id="adr_two_postalcode" size="5" maxlength="64"/>
<textbox statustext="City" id="adr_two_locality" size="35" maxlength="64" class="leftPad5"/>
2006-12-07 20:11:39 +01:00
</hbox>
</row>
<row disabled="@addr_format2=city_state_postcode">
<description/>
<description value="country" for="adr_two_countryname"/>
2006-12-07 20:11:39 +01:00
<hbox options="0,0">
<menulist class="countrySelect">
<menupopup type="select-country" id="adr_two_countrycode" onchange="show_custom_country(this);" options="Select one,0,1"/>
2006-12-07 20:11:39 +01:00
</menulist>
<textbox id="adr_two_countryname" class="custom_country"/>
<textbox statustext="State" id="adr_two_region" size="19" maxlength="64" class="leftPad5"/>
2006-12-07 20:11:39 +01:00
</hbox>
</row>
<row disabled="!@addr_format2=city_state_postcode">
<description/>
<description value="city" for="adr_two_locality"/>
<hbox options="0,0">
<textbox statustext="City" id="adr_two_locality" size="30" maxlength="64"/>
<textbox statustext="State" id="adr_two_region" size="3" maxlength="64" class="leftPad5"/>
<textbox statustext="ZIP Code" id="adr_two_postalcode" size="5" maxlength="64" class="leftPad5"/>
</hbox>
</row>
<row disabled="!@addr_format2=city_state_postcode">
<description/>
<description value="Country"/>
<hbox options="0,0">
<menulist class="countrySelect">
<menupopup type="select-country" id="adr_two_countrycode" onchange="show_custom_country(this);" options="Select one,0,1"/>
</menulist>
<textbox id="adr_two_countryname" class="custom_country"/>
</hbox>
</row>
<row height="30">
<image src="gear"/>
<description value="Birthday" for="bday"/>
<hbox options="0,0">
<date id="bday" options="Y-m-d"/>
<menulist>
<menupopup align="right" label="Timezone" id="tz" no_lang="1"/>
</menulist>
</hbox>
</row>
2006-12-07 20:11:39 +01:00
<row valign="top">
<image src="private.png"/>
<description value="Public key" for="pubkey"/>
<textbox multiline="true" id="pubkey" rows="4" cols="40"/>
</row>
</rows>
</grid>
</template>
<template id="addressbook.edit.details" template="" lang="" group="0" version="1.9.001">
<grid width="100%" height="286" overflow="auto">
<columns>
<column/>
2006-12-07 20:11:39 +01:00
<column/>
<column/>
</columns>
<rows>
2006-12-07 20:11:39 +01:00
<row valign="top" disabled="@cat_tab">
<image src="folder"/>
<description value="Categories"/>
<listbox type="select-cat" id="cat_id" rows="3" options=",width:99%"/>
</row>
<row class="row_off" valign="top">
2006-12-07 20:11:39 +01:00
<image src="edit"/>
<description value="Notes"/>
<textbox multiline="true" id="note" rows="6" cols="50"/>
</row>
<row class="row_on" disabled="@disable_change_org">
<image src="check"/>
<description/>
<checkbox statustext="Apply changes to all members, whose fields have the same previous content" label="change all organisation members" id="change_org" span="all"/>
</row>
<row>
<image src="home"/>
<description value="Last date"/>
<link id="last_link"/>
</row>
<row>
<description/>
<description value="Next date"/>
<link id="next_link"/>
</row>
<row class="row_off" valign="top">
2006-12-07 20:11:39 +01:00
<image src="gear"/>
<menulist>
<menupopup type="select-account" label="Created" readonly="true"/>
2006-12-07 20:11:39 +01:00
</menulist>
<hbox readonly="true" options="0,0">
<menulist>
<menupopup type="select-account" id="creator" readonly="true"/>
</menulist>
<date-time id="created" readonly="true" class="leftPad5"/>
2006-12-07 20:11:39 +01:00
</hbox>
</row>
<row class="row_on">
2006-12-07 20:11:39 +01:00
<description/>
<description value="Last modified"/>
<hbox readonly="true" options="0,0">
<menulist>
<menupopup type="select-account" id="modifier" readonly="true"/>
</menulist>
<date-time id="modified" readonly="true" class="leftPad5"/>
2006-12-07 20:11:39 +01:00
</hbox>
</row>
</rows>
</grid>
</template>
<template id="addressbook.edit.links" template="" lang="" group="0" version="1.9.001">
<grid width="100%" height="286" overflow="auto">
<columns>
<column/>
</columns>
<rows>
2006-12-07 20:11:39 +01:00
<row class="th" 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_to"/>
</row>
</rows>
</grid>
</template>
<template id="addressbook.edit.distribution_list" template="" lang="" group="0" version="1.9.001">
<grid width="100%" height="286" overflow="auto">
<columns>
<column/>
</columns>
<rows>
<row class="th">
<description value="Distribution lists"/>
</row>
<row>
<grid>
<columns>
<column/>
</columns>
<rows>
<row>
<description id="distrib_lists" span="all"/>
</row>
</rows>
</grid>
</row>
</rows>
</grid>
</template>
<template id="addressbook.edit.custom" template="" lang="" group="0" version="1.9.001">
<grid width="100%" height="286" class="row_on" spacing="0" padding="0" overflow="auto">
2006-12-07 20:11:39 +01:00
<columns>
<column/>
</columns>
<rows>
<row class="th" height="20">
<description value="Custom fields"/>
</row>
<row height="100%">
<customfields options="$cont[tid],$cont[no_private_cfs]"/>
</row>
</rows>
</grid>
</template>
<template id="addressbook.edit.custom_private" template="" lang="" group="0" version="1.9.001">
<grid width="100%" height="286" class="row_on" spacing="0" padding="0" overflow="auto">
<columns>
<column/>
</columns>
<rows>
<row class="th" height="20">
<description value="Custom fields"/>
</row>
<row height="100%">
<customfields options="$cont[tid],1"/>
2006-12-07 20:11:39 +01:00
</row>
</rows>
</grid>
</template>
<template id="addressbook.edit.history" template="" lang="" group="0" version="1.9.001">
<grid width="100%" height="286" overflow="auto">
<columns>
<column/>
</columns>
<rows>
<row valign="top">
<historylog id="history"/>
</row>
</rows>
</grid>
</template>
<template id="addressbook.editphones" template="" lang="" group="0" version="1.9.001">
<grid class="editphones">
<columns>
<column/>
<column/>
<column/>
</columns>
<rows>
<row>
<description align="center" value="Edit Phonenumbers - " id="fn" no_lang="1" span="all" class="windowheader"/>
<description/>
<description/>
</row>
<row class="th">
<description value="Description"/>
<description value="Number"/>
<description value="pref"/>
</row>
<row>
<description value="business" for="tel_work2" class="bold"/>
<url-phone id="tel_work2" options="30"/>
<radio statustext="select phone number as prefered way of contact" id="tel_prefer" options="tel_work,&amp;hearts;"/>
</row>
<row>
<description value="mobile phone" for="tel_cell2"/>
<url-phone id="tel_cell2" options="30"/>
<radio statustext="select phone number as prefered way of contact" id="tel_prefer" options="tel_cell,&amp;hearts;"/>
</row>
<row>
<description value="fax" for="tel_fax"/>
<url-phone id="tel_fax2" options="30"/>
<radio statustext="select phone number as prefered way of contact" id="tel_prefer" options="tel_fax,&amp;hearts;"/>
</row>
<row>
<description value="car phone" for="tel_car"/>
<url-phone id="tel_car" options="30"/>
<radio statustext="select phone number as prefered way of contact" id="tel_prefer" options="tel_car,&amp;hearts;"/>
</row>
<row>
<description value="pager" for="tel_pager"/>
<url-phone id="tel_pager" options="30"/>
<radio statustext="select phone number as prefered way of contact" id="tel_prefer" options="tel_pager,&amp;hearts;"/>
</row>
<row>
<hrule span="all"/>
</row>
<row>
<description value="Assistent" for="assistent" class="bold"/>
<textbox id="assistent" size="35" span="2"/>
</row>
<row>
<description value="number" for="tel_assistent"/>
<url-phone id="tel_assistent" options="30"/>
<radio statustext="select phone number as prefered way of contact" id="tel_prefer" options="tel_assistent,&amp;hearts;"/>
</row>
<row>
<hrule span="all"/>
</row>
<row>
<description value="Private" for="tel_home2" class="bold"/>
<url-phone id="tel_home2" options="30"/>
<radio statustext="select phone number as prefered way of contact" id="tel_prefer" options="tel_home,&amp;hearts;"/>
</row>
<row>
<description value="mobile phone" for="tel_cell_private"/>
<url-phone id="tel_cell_private" options="30"/>
<radio statustext="select phone number as prefered way of contact" id="tel_prefer" options="tel_cell_private,&amp;hearts;"/>
</row>
<row>
<description value="fax" for="tel_fax_home"/>
<url-phone id="tel_fax_home" options="30"/>
<radio statustext="select phone number as prefered way of contact" id="tel_prefer" options="tel_fax_home,&amp;hearts;"/>
</row>
<row>
<hrule span="all"/>
</row>
<row>
<description value=" Other Phone" for="tel_other"/>
<url-phone id="tel_other" options="30"/>
<radio statustext="select phone number as prefered way of contact" id="tel_prefer" options="tel_other,&amp;hearts;"/>
</row>
<row>
<button align="center" label="Ok" id="button[ok]" onclick="set_style_by_class('table','editphones','display','none'); if (window.hidephones) hidephones(this.form); return false;" span="all"/>
</row>
</rows>
</grid>
</template>
<template id="addressbook.edit" template="" lang="" group="0" version="1.9.001">
<grid>
<columns>
<column width="450"/>
<column width="350"/>
</columns>
<rows>
<row disabled="!@msg">
<htmlarea id="msg" no_lang="1" readonly="true" span="all" class="redItalic"/>
<description/>
</row>
<row>
<menulist class="fileas">
<menupopup blur="Name" cols="3" statustext="own sorting" id="fileas_type" no_lang="1" rows="1"/>
</menulist>
<grid>
<columns>
<column/>
<column/>
</columns>
<rows>
<row disabled="@no_tid">
<menulist class="leftPad5">
<menupopup label="Type" id="tid" no_lang="1" onchange="1"/>
</menulist>
<html label=" " id="typegfx" needed="1" no_lang="1" readonly="true" class="space"/>
</row>
</rows>
</grid>
</row>
<row valign="top">
<tabbox id="tabs">
<tabs>
<tab id="general" label="General" statustext="Name, Address"/>
<tab id="cats" label="Categories" statustext="Categories"/>
<tab id="home" label="Private" statustext="Home address, Birthday, ..."/>
<tab id="details" label="Details" statustext="Categories, Notes, ..."/>
<tab id="links" label="Links" statustext="Links"/>
<tab id="distribution_list" label="Distribution lists" statustext="Distribution lists, ..."/>
<tab id="custom" label="Extra" statustext="Custom fields"/>
<tab id="custom_private" label="Extra private" statustext="Private custom fields"/>
<tab id="history" label="History"/>
</tabs>
<tabpanels>
2006-12-07 20:11:39 +01:00
<template id="addressbook.edit.general"/>
<template id="addressbook.edit.cats"/>
<template id="addressbook.edit.home"/>
<template id="addressbook.edit.details"/>
<template id="addressbook.edit.links"/>
<template id="addressbook.edit.distribution_list"/>
2006-12-07 20:11:39 +01:00
<template id="addressbook.edit.custom"/>
<template id="addressbook.edit.custom_private"/>
<template id="addressbook.edit.history"/>
</tabpanels>
</tabbox>
<vbox>
<template id="addressbook.editphones"/>
<groupbox class="phoneGroup">
<caption label="Phone Numbers"/>
<grid>
<columns>
<column width="20"/>
<column width="120"/>
<column/>
<column/>
</columns>
<rows>
<row>
<image src="phone"/>
<description value="business" for="tel_work"/>
2008-06-11 09:17:30 +02:00
<url-phone id="tel_work" options="24,40" class="telNumbers"/>
<radio statustext="select phone number as prefered way of contact" id="tel_prefer" options="tel_work,&amp;hearts;"/>
</row>
<row>
<description/>
<description value="mobile phone" for="tel_cell"/>
2008-06-11 09:17:30 +02:00
<url-phone id="tel_cell" options="24,40" class="telNumbers"/>
<radio statustext="select phone number as prefered way of contact" id="tel_prefer" options="tel_cell,&amp;hearts;"/>
</row>
<row>
<description/>
<description value="Private" for="tel_home"/>
2008-06-11 09:17:30 +02:00
<url-phone id="tel_home" options="24,40" class="telNumbers"/>
<radio statustext="select phone number as prefered way of contact" id="tel_prefer" options="tel_home,&amp;hearts;"/>
</row>
<row>
<description/>
<description value="Fax"/>
2008-06-11 09:17:30 +02:00
<url-phone id="tel_fax" options="24,40" class="telNumbers"/>
<radio statustext="select phone number as prefered way of contact" id="tel_prefer" options="tel_fax,&amp;hearts;"/>
</row>
<row>
<description/>
<description/>
<button accesskey="m" label="More ..." id="button[more]" onclick="set_style_by_class('table','editphones','display','inline'); if (window.showphones) showphones(this.form); return false;"/>
<description/>
</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="internet"/>
<description value="url" for="url"/>
2008-06-11 09:17:30 +02:00
<url id="url" options="28,128"/>
</row>
<row>
<description/>
<description value="Private" for="url_home"/>
2008-06-11 09:17:30 +02:00
<url id="url_home" options="28,128"/>
</row>
<row>
<image src="email.png"/>
<description value="email" for="email"/>
2008-06-11 09:17:30 +02:00
<url-email id="email" options="28,128"/>
</row>
<row>
<description/>
<description value="Private" for="email_home"/>
2008-06-11 09:17:30 +02:00
<url-email id="email_home" options="28,128"/>
</row>
</rows>
</grid>
</groupbox>
</vbox>
</row>
<row disabled="@hidebuttons">
<hbox>
<button label="Edit" id="button[edit]" onclick="window.open(egw::link('/index.php','menuaction=addressbook.addressbook_ui.edit&amp;contact_id=$cont[id]'),'_blank','dependent=yes,width=850,height=460,scrollbars=yes,status=yes'); return false;"/>
<button label="Copy" id="button[copy]" onclick="window.open(egw::link('/index.php','menuaction=addressbook.addressbook_ui.edit&amp;contact_id=$cont[id]&amp;makecp=1'),'_blank','dependent=yes,width=850,height=440,scrollbars=yes,status=yes'); return false;"/>
<button statustext="download this contact as vCard file" label="vCard" id="button[vcard]"/>
<button accesskey="s" label="Save" id="button[save]"/>
<button label="Apply" id="button[apply]"/>
<button label="Cancel" id="button[cancel]" onclick="if($cont[view]0) return true; self.close(); return false;"/>
</hbox>
<button align="right" label="Delete" id="button[delete]" onclick="return confirm('Are you shure you want to delete this contact?');" tabindex="25"/>
</row>
</rows>
</grid>
</template>
</overlay>