mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 15:33:23 +01:00
Fix cancel button in edit dialog
This commit is contained in:
parent
84b891f979
commit
c3b3fb5019
File diff suppressed because one or more lines are too long
@ -27,23 +27,23 @@
|
||||
</columns>
|
||||
<rows>
|
||||
<row>
|
||||
<description value="prefix" for="n_prefix"/>
|
||||
<description for="n_prefix" value="prefix"/>
|
||||
<textbox id="n_prefix" onchange="check_value(this,'$cont[id]');" size="35" maxlength="64"/>
|
||||
</row>
|
||||
<row>
|
||||
<description value="first name" for="n_given"/>
|
||||
<description for="n_given" value="first name"/>
|
||||
<textbox id="n_given" onchange="check_value(this,'$cont[id]');" size="35" maxlength="64"/>
|
||||
</row>
|
||||
<row>
|
||||
<description value="middle name" for="n_middle"/>
|
||||
<description for="n_middle" value="middle name"/>
|
||||
<textbox id="n_middle" onchange="check_value(this,'$cont[id]');" size="35" maxlength="64"/>
|
||||
</row>
|
||||
<row>
|
||||
<description value="last name" for="n_family"/>
|
||||
<description for="n_family" value="last name"/>
|
||||
<textbox id="n_family" onchange="check_value(this,'$cont[id]');" size="35" maxlength="64"/>
|
||||
</row>
|
||||
<row>
|
||||
<description value="suffix" for="n_suffix"/>
|
||||
<description for="n_suffix" value="suffix"/>
|
||||
<textbox id="n_suffix" onchange="check_value(this,'$cont[id]');" size="35" maxlength="64"/>
|
||||
</row>
|
||||
<row>
|
||||
@ -72,7 +72,6 @@
|
||||
<column/>
|
||||
<column/>
|
||||
<column/>
|
||||
<column/>
|
||||
</columns>
|
||||
<rows>
|
||||
<row>
|
||||
@ -86,12 +85,12 @@
|
||||
<description/>
|
||||
</row>
|
||||
<row>
|
||||
<description value="Title" for="title"/>
|
||||
<description for="title" value="Title"/>
|
||||
<textbox id="title" size="36" maxlength="64" span="2"/>
|
||||
<description/>
|
||||
</row>
|
||||
<row>
|
||||
<description value="Role" for="role"/>
|
||||
<description for="role" value="Role"/>
|
||||
<textbox id="role" size="20" maxlength="64"/>
|
||||
<textbox label="Room" id="room" size="5"/>
|
||||
<description/>
|
||||
@ -106,12 +105,12 @@
|
||||
</row>
|
||||
<row>
|
||||
<description/>
|
||||
<description value="department" for="org_unit"/>
|
||||
<description for="org_unit" value="department"/>
|
||||
<textbox id="org_unit" onchange="check_value(this,'$cont[id]');" size="45" maxlength="64"/>
|
||||
</row>
|
||||
<row>
|
||||
<image src="gohome"/>
|
||||
<description value="street" for="adr_one_street"/>
|
||||
<description for="adr_one_street" value="street"/>
|
||||
<textbox id="adr_one_street" size="45" maxlength="64"/>
|
||||
</row>
|
||||
<row>
|
||||
@ -121,7 +120,7 @@
|
||||
</row>
|
||||
<row disabled="@addr_format=city_state_postcode">
|
||||
<description/>
|
||||
<description value="city" for="adr_one_locality"/>
|
||||
<description for="adr_one_locality" value="city"/>
|
||||
<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"/>
|
||||
@ -129,10 +128,10 @@
|
||||
</row>
|
||||
<row disabled="@addr_format=city_state_postcode">
|
||||
<description/>
|
||||
<description value="country" for="adr_one_countryname"/>
|
||||
<description for="adr_one_countryname" value="country"/>
|
||||
<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>
|
||||
<menupopup type="select-country" class="countrySelect" id="adr_one_countrycode" onchange="show_custom_country(this);" options="Select one,0,1"/>
|
||||
</menulist>
|
||||
<textbox id="adr_one_countryname" class="custom_country"/>
|
||||
<textbox statustext="State" id="adr_one_region" size="19" maxlength="64" class="leftPad5"/>
|
||||
@ -149,10 +148,10 @@
|
||||
</row>
|
||||
<row disabled="!@addr_format=city_state_postcode">
|
||||
<description/>
|
||||
<description value="country" for="adr_one_countryname"/>
|
||||
<description for="adr_one_countryname" value="country"/>
|
||||
<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>
|
||||
<menupopup type="select-country" class="countrySelect" id="adr_one_countrycode" onchange="show_custom_country(this);" options="Select one,0,1"/>
|
||||
</menulist>
|
||||
<textbox id="adr_one_countryname" class="custom_country"/>
|
||||
</hbox>
|
||||
@ -160,8 +159,8 @@
|
||||
<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>
|
||||
<menupopup class="owner" statustext="Addressbook the contact should be saved to" id="owner" no_lang="1"/>
|
||||
</menulist>
|
||||
</row>
|
||||
</rows>
|
||||
@ -195,7 +194,7 @@
|
||||
<rows>
|
||||
<row>
|
||||
<image src="accounts"/>
|
||||
<description value="street" for="adr_two_street"/>
|
||||
<description for="adr_two_street" value="street"/>
|
||||
<textbox id="adr_two_street" size="45" maxlength="64"/>
|
||||
</row>
|
||||
<row>
|
||||
@ -205,7 +204,7 @@
|
||||
</row>
|
||||
<row disabled="@addr_format2=city_state_postcode">
|
||||
<description/>
|
||||
<description value="city" for="adr_two_locality"/>
|
||||
<description for="adr_two_locality" value="city"/>
|
||||
<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"/>
|
||||
@ -213,10 +212,10 @@
|
||||
</row>
|
||||
<row disabled="@addr_format2=city_state_postcode">
|
||||
<description/>
|
||||
<description value="country" for="adr_two_countryname"/>
|
||||
<description for="adr_two_countryname" 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>
|
||||
<menupopup type="select-country" class="countrySelect" id="adr_two_countrycode" onchange="show_custom_country(this);" options="Select one,0,1"/>
|
||||
</menulist>
|
||||
<textbox id="adr_two_countryname" class="custom_country"/>
|
||||
<textbox statustext="State" id="adr_two_region" size="19" maxlength="64" class="leftPad5"/>
|
||||
@ -224,7 +223,7 @@
|
||||
</row>
|
||||
<row disabled="!@addr_format2=city_state_postcode">
|
||||
<description/>
|
||||
<description value="city" for="adr_two_locality"/>
|
||||
<description for="adr_two_locality" value="city"/>
|
||||
<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"/>
|
||||
@ -235,15 +234,15 @@
|
||||
<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>
|
||||
<menupopup type="select-country" class="countrySelect" 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"/>
|
||||
<description for="bday" value="Birthday"/>
|
||||
<hbox options="0,0">
|
||||
<date id="bday" options="Y-m-d"/>
|
||||
<menulist>
|
||||
@ -253,7 +252,7 @@
|
||||
</row>
|
||||
<row valign="top">
|
||||
<image src="private.png"/>
|
||||
<description value="Public key" for="pubkey"/>
|
||||
<description for="pubkey" value="Public key"/>
|
||||
<textbox multiline="true" id="pubkey" rows="4" cols="40"/>
|
||||
</row>
|
||||
</rows>
|
||||
@ -405,12 +404,16 @@
|
||||
<column/>
|
||||
<column/>
|
||||
<column/>
|
||||
<column/>
|
||||
<column/>
|
||||
</columns>
|
||||
<rows>
|
||||
<row>
|
||||
<description align="center" value="Edit Phonenumbers - " id="fn" no_lang="1" span="all" class="windowheader"/>
|
||||
<description/>
|
||||
<description/>
|
||||
<description/>
|
||||
<description/>
|
||||
</row>
|
||||
<row class="th">
|
||||
<description value="Description"/>
|
||||
@ -418,27 +421,27 @@
|
||||
<description value="pref"/>
|
||||
</row>
|
||||
<row>
|
||||
<description value="business" for="tel_work2" class="bold"/>
|
||||
<description for="tel_work2" value="business" 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,&hearts;"/>
|
||||
</row>
|
||||
<row>
|
||||
<description value="mobile phone" for="tel_cell2"/>
|
||||
<description for="tel_cell2" value="mobile phone"/>
|
||||
<url-phone id="tel_cell2" options="30"/>
|
||||
<radio statustext="select phone number as prefered way of contact" id="tel_prefer" options="tel_cell,&hearts;"/>
|
||||
</row>
|
||||
<row>
|
||||
<description value="fax" for="tel_fax"/>
|
||||
<description for="tel_fax" value="fax"/>
|
||||
<url-phone id="tel_fax2" options="30"/>
|
||||
<radio statustext="select phone number as prefered way of contact" id="tel_prefer" options="tel_fax,&hearts;"/>
|
||||
</row>
|
||||
<row>
|
||||
<description value="car phone" for="tel_car"/>
|
||||
<description for="tel_car" value="car phone"/>
|
||||
<url-phone id="tel_car" options="30"/>
|
||||
<radio statustext="select phone number as prefered way of contact" id="tel_prefer" options="tel_car,&hearts;"/>
|
||||
</row>
|
||||
<row>
|
||||
<description value="pager" for="tel_pager"/>
|
||||
<description for="tel_pager" value="pager"/>
|
||||
<url-phone id="tel_pager" options="30"/>
|
||||
<radio statustext="select phone number as prefered way of contact" id="tel_prefer" options="tel_pager,&hearts;"/>
|
||||
</row>
|
||||
@ -446,11 +449,11 @@
|
||||
<hrule span="all"/>
|
||||
</row>
|
||||
<row>
|
||||
<description value="Assistent" for="assistent" class="bold"/>
|
||||
<description for="assistent" value="Assistent" class="bold"/>
|
||||
<textbox id="assistent" size="35" span="2"/>
|
||||
</row>
|
||||
<row>
|
||||
<description value="number" for="tel_assistent"/>
|
||||
<description for="tel_assistent" value="number"/>
|
||||
<url-phone id="tel_assistent" options="30"/>
|
||||
<radio statustext="select phone number as prefered way of contact" id="tel_prefer" options="tel_assistent,&hearts;"/>
|
||||
</row>
|
||||
@ -458,17 +461,17 @@
|
||||
<hrule span="all"/>
|
||||
</row>
|
||||
<row>
|
||||
<description value="Private" for="tel_home2" class="bold"/>
|
||||
<description for="tel_home2" value="Private" 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,&hearts;"/>
|
||||
</row>
|
||||
<row>
|
||||
<description value="mobile phone" for="tel_cell_private"/>
|
||||
<description for="tel_cell_private" value="mobile phone"/>
|
||||
<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,&hearts;"/>
|
||||
</row>
|
||||
<row>
|
||||
<description value="fax" for="tel_fax_home"/>
|
||||
<description for="tel_fax_home" value="fax"/>
|
||||
<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,&hearts;"/>
|
||||
</row>
|
||||
@ -476,7 +479,7 @@
|
||||
<hrule span="all"/>
|
||||
</row>
|
||||
<row>
|
||||
<description value=" Other Phone" for="tel_other"/>
|
||||
<description for="tel_other" value=" Other Phone"/>
|
||||
<url-phone id="tel_other" options="30"/>
|
||||
<radio statustext="select phone number as prefered way of contact" id="tel_prefer" options="tel_other,&hearts;"/>
|
||||
</row>
|
||||
@ -498,8 +501,8 @@
|
||||
<description/>
|
||||
</row>
|
||||
<row>
|
||||
<menulist class="fileas">
|
||||
<menupopup blur="Name" statustext="own sorting" id="fileas_type" no_lang="1"/>
|
||||
<menulist>
|
||||
<menupopup blur="Name" class="fileas" statustext="own sorting" id="fileas_type" no_lang="1"/>
|
||||
</menulist>
|
||||
<grid>
|
||||
<columns>
|
||||
@ -508,8 +511,8 @@
|
||||
</columns>
|
||||
<rows>
|
||||
<row disabled="@no_tid">
|
||||
<menulist class="leftPad5">
|
||||
<menupopup label="Type" id="tid" no_lang="1" onchange="1"/>
|
||||
<menulist>
|
||||
<menupopup class="leftPad5" label="Type" id="tid" no_lang="1" onchange="1"/>
|
||||
</menulist>
|
||||
<html label=" " id="typegfx" needed="1" no_lang="1" readonly="true" class="space"/>
|
||||
</row>
|
||||
@ -517,17 +520,17 @@
|
||||
</grid>
|
||||
</row>
|
||||
<row valign="top">
|
||||
<tabbox id="tabs">
|
||||
<tabbox id="addressbook.edit.general|addressbook.edit.cats|addressbook.edit.home|addressbook.edit.details|addressbook.edit.links|addressbook.edit.distribution_list|addressbook.edit.custom|addressbook.edit.custom_private|addressbook.edit.history">
|
||||
<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"/>
|
||||
<tab id="addressbook.edit.general" label="General" statustext="Name, Address"/>
|
||||
<tab id="addressbook.edit.cats" label="Categories" statustext="Categories"/>
|
||||
<tab id="addressbook.edit.home" label="Private" statustext="Home address, Birthday, ..."/>
|
||||
<tab id="addressbook.edit.details" label="Details" statustext="Categories, Notes, ..."/>
|
||||
<tab id="addressbook.edit.links" label="Links" statustext="Links"/>
|
||||
<tab id="addressbook.edit.distribution_list" label="Distribution lists" statustext="Distribution lists, ..."/>
|
||||
<tab id="addressbook.edit.custom" label="Extra" statustext="Custom fields"/>
|
||||
<tab id="addressbook.edit.custom_private" label="Extra private" statustext="Private custom fields"/>
|
||||
<tab id="addressbook.edit.history" label="History"/>
|
||||
</tabs>
|
||||
<tabpanels>
|
||||
<template id="addressbook.edit.general"/>
|
||||
@ -555,19 +558,19 @@
|
||||
<rows>
|
||||
<row>
|
||||
<image src="phone"/>
|
||||
<description value="business" for="tel_work"/>
|
||||
<description for="tel_work" value="business"/>
|
||||
<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,&hearts;"/>
|
||||
</row>
|
||||
<row>
|
||||
<description/>
|
||||
<description value="mobile phone" for="tel_cell"/>
|
||||
<description for="tel_cell" value="mobile phone"/>
|
||||
<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,&hearts;"/>
|
||||
</row>
|
||||
<row>
|
||||
<description/>
|
||||
<description value="Private" for="tel_home"/>
|
||||
<description for="tel_home" value="Private"/>
|
||||
<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,&hearts;"/>
|
||||
</row>
|
||||
@ -597,22 +600,22 @@
|
||||
<rows>
|
||||
<row>
|
||||
<image src="internet"/>
|
||||
<description value="url" for="url"/>
|
||||
<description for="url" value="url"/>
|
||||
<url id="url" options="28,128"/>
|
||||
</row>
|
||||
<row>
|
||||
<description/>
|
||||
<description value="Private" for="url_home"/>
|
||||
<description for="url_home" value="Private"/>
|
||||
<url id="url_home" options="28,128"/>
|
||||
</row>
|
||||
<row>
|
||||
<image src="email.png"/>
|
||||
<description value="email" for="email"/>
|
||||
<description for="email" value="email"/>
|
||||
<url-email id="email" onchange="check_value(this,'$cont[id]');" options="28,128"/>
|
||||
</row>
|
||||
<row>
|
||||
<description/>
|
||||
<description value="Private" for="email_home"/>
|
||||
<description for="email_home" value="Private"/>
|
||||
<url-email id="email_home" onchange="check_value(this,'$cont[id]');" options="28,128"/>
|
||||
</row>
|
||||
</rows>
|
||||
@ -627,7 +630,7 @@
|
||||
<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;"/>
|
||||
<button label="Cancel" id="button[cancel]" onclick="if($cont[view] || false) return true; self.close(); return false;"/>
|
||||
<checkbox statustext="Apply changes to all members, whose fields have the same previous content" label="change all organisation members" id="change_org" span="all"/>
|
||||
</hbox>
|
||||
<button align="right" label="Delete" id="button[delete]" onclick="return confirm('Are you shure you want to delete this contact?');" tabindex="25"/>
|
||||
|
Loading…
Reference in New Issue
Block a user