CSS / Layout cleanup - addressbook edit

This commit is contained in:
nathan 2022-04-22 15:23:37 -06:00
parent 4f17302bb1
commit bc0b8407d2
3 changed files with 412 additions and 388 deletions

View File

@ -74,10 +74,7 @@ div.addressbook_edit_general_picture img {
.custom_country { .custom_country {
display: none; display: none;
} }
input.et2_radiobox { #addressbook-edit
position: relative;
left: 7px;
}
#addressbook-edit_tel_prefer-tel_work, #addressbook-edit_tel_prefer-tel_cell { #addressbook-edit_tel_prefer-tel_work, #addressbook-edit_tel_prefer-tel_cell {
left: 7px; left: 7px;
} }
@ -100,18 +97,10 @@ input.et2_radiobox {
#addressbook-edit_adr_two_locality, #addressbook-edit_adr_two_locality,
#addressbook-edit_adr_one_postalcode, #addressbook-edit_adr_one_postalcode,
#addressbook-edit_adr_two_postalcode{ #addressbook-edit_adr_two_postalcode{
padding-top:5px;
padding-bottom: 5px;
}
#addressbook-edit_adr_one_postalcode,
#addressbook-edit_adr_two_postalcode{
margin-right: -4px;
} }
div.city_state_postcode #addressbook-edit_adr_two_postalcode, div.city_state_postcode #addressbook-edit_adr_two_postalcode,
div.city_state_postcode #addressbook-edit_adr_one_postalcode {margin-right: 5px !important;} div.city_state_postcode #addressbook-edit_adr_one_postalcode {margin-right: 5px !important;}
#addressbook-edit_role {
margin-right: 5px;
}
.addressbookHooked .egwGridView_grid label>span.et2_link { .addressbookHooked .egwGridView_grid label>span.et2_link {
display: none; display: none;
} }

View File

@ -9,143 +9,163 @@
<column width="210"/> <column width="210"/>
</columns> </columns>
<rows> <rows>
<row> <row>
<description for="n_prefix" value="prefix"/> <description for="n_prefix" value="prefix"/>
<textbox id="n_prefix" tabindex="1" onchange="app.addressbook.check_value(widget,'$cont[id]');" class="et2_fullWidth" maxlength="64" autocomplete="honorific-prefix" /> <textbox id="n_prefix" tabindex="1" onchange="app.addressbook.check_value(widget,'$cont[id]');"
</row> maxlength="64" autocomplete="honorific-prefix"/>
<row> </row>
<description for="n_given" value="first name"/> <row>
<textbox id="n_given" tabindex="2" onchange="app.addressbook.check_value(widget,'$cont[id]');" class="et2_fullWidth" maxlength="64" autocomplete="given-name" /> <description for="n_given" value="first name"/>
</row> <textbox id="n_given" tabindex="2" onchange="app.addressbook.check_value(widget,'$cont[id]');"
<row> maxlength="64" autocomplete="given-name"/>
<description for="n_middle" value="middle name"/> </row>
<textbox id="n_middle" tabindex="3" onchange="app.addressbook.check_value(widget,'$cont[id]');" class="et2_fullWidth" maxlength="64" autocomplete="additional-name" /> <row>
</row> <description for="n_middle" value="middle name"/>
<row> <textbox id="n_middle" tabindex="3" onchange="app.addressbook.check_value(widget,'$cont[id]');"
<description for="n_family" value="last name"/> maxlength="64" autocomplete="additional-name"/>
<textbox id="n_family" tabindex="4" onchange="app.addressbook.check_value(widget,'$cont[id]');" class="et2_fullWidth" maxlength="64" autocomplete="family-name" /> </row>
</row> <row>
<row> <description for="n_family" value="last name"/>
<description for="n_suffix" value="suffix"/> <textbox id="n_family" tabindex="4" onchange="app.addressbook.check_value(widget,'$cont[id]');"
<textbox id="n_suffix" tabindex="5" onchange="app.addressbook.check_value(widget,'$cont[id]');" class="et2_fullWidth" maxlength="64" autocomplete="honorific-suffix" /> maxlength="64" autocomplete="family-name"/>
</row> </row>
<row> <row>
<description/> <description for="n_suffix" value="suffix"/>
<button label="Ok" tabindex="6" id="button[ok]" class="button_ok" onclick="jQuery('table.editname').css('display','none'); jQuery('#'+form::name('org_name')).focus(); return false;" image="check" background_image="1"/> <textbox id="n_suffix" tabindex="5" onchange="app.addressbook.check_value(widget,'$cont[id]');"
</row> maxlength="64" autocomplete="honorific-suffix"/>
</rows> </row>
</grid> <row>
</template> <description/>
<template id="addressbook.edit.general" template="" lang="" group="0" version="1.9.003"> <button label="Ok" tabindex="6" id="button[ok]" class="button_ok"
<grid width="100%"> onclick="jQuery('table.editname').css('display','none'); jQuery('#'+form::name('org_name')).focus(); return false;"
<columns> image="check" background_image="1"/>
<column width="92"/> </row>
<column width="230"/> </rows>
<column width="50"/> </grid>
<column width="92"/> </template>
<column width="230"/> <template id="addressbook.edit.general" template="" lang="" group="0" version="1.9.003">
<column width="50"/> <grid width="100%">
</columns> <columns>
<rows> <column width="92"/>
<row> <column width="230"/>
<description for="role" value="Role"/> <column width="50"/>
<hbox width="100%"> <column width="92"/>
<textbox id="role" tabindex="20" width="60%" maxlength="64" autocomplete="section-one" /> <column width="230"/>
<textbox id="room" tabindex="21" width="34%" blur="Room"/> </columns>
</hbox> <rows>
<description/> <row>
<description for="adr_one_street" value="street"/> <description for="role" value="Role"/>
<textbox id="adr_one_street" tabindex="11" class="et2_fullWidth" maxlength="64" autocomplete="address-line1"/> <hbox width="100%">
<description/> <textbox id="role" tabindex="20" width="60%" maxlength="64" autocomplete="section-one"/>
</row> <textbox id="room" tabindex="21" width="34%" blur="Room"/>
<row> </hbox>
<description for="assistent" value="Assistent"/> <description/>
<textbox id="assistent" tabindex="22" class="et2_fullWidth"/> <description for="adr_one_street" value="street"/>
<description/> <textbox id="adr_one_street" tabindex="11" maxlength="64" autocomplete="address-line1"/>
<description/> </row>
<textbox statustext="address line 2" id="adr_one_street2" tabindex="12" class="et2_fullWidth" maxlength="64" autocomplete="address-line2"/> <row>
<description/> <description for="assistent" value="Assistent"/>
</row> <textbox id="assistent" tabindex="22"/>
<row disabled="@addr_format=city_state_postcode"> <description/>
<description for="tel_assistent" value="Assistent phone"/> <description/>
<url-phone id="tel_assistent" tabindex="23" class="et2_fullWidth"/> <textbox statustext="address line 2" id="adr_one_street2" tabindex="12" maxlength="64"
<radio statustext="select phone number as prefered way of contact" id="tel_prefer" options="tel_assistent,&amp;hearts;"/> autocomplete="address-line2"/>
<description for="adr_one_locality" value="city" /> </row>
<hbox class="city_state_postcode"> <row disabled="@addr_format=city_state_postcode">
<textbox statustext="ZIP Code" id="adr_one_postalcode" tabindex="13" width="24%" maxlength="64" autocomplete="postal-code"/> <description for="tel_assistent" value="Assistent phone"/>
<textbox statustext="City" id="adr_one_locality" tabindex="14" maxlength="64" width="70%" autocomplete="address-level2"/> <url-phone id="tel_assistent" tabindex="23"/>
</hbox> <radio statustext="select phone number as prefered way of contact" id="tel_prefer"
<description/> options="tel_assistent,&amp;hearts;"/>
</row> <description for="adr_one_locality" value="city"/>
<row disabled="@addr_format=city_state_postcode"> <hbox class="city_state_postcode">
<description for="tel_fax" value="fax"/> <textbox statustext="ZIP Code" id="adr_one_postalcode" tabindex="13" width="24%" maxlength="64"
<url-fax id="tel_fax" tabindex="24" class="et2_fullWidth" autocomplete="fax" /> autocomplete="postal-code"/>
<radio statustext="select phone number as prefered way of contact" id="tel_prefer" options="tel_fax,&amp;hearts;"/> <textbox statustext="City" id="adr_one_locality" tabindex="14" maxlength="64" width="70%"
<description for="adr_one_countryname" value="country"/> autocomplete="address-level2"/>
<vbox class="city_state_postcode" width="100%"> </hbox>
<select type="select-country" tags="true" width="100%" class="countrySelect et2_fullWidth" id="adr_one_countrycode" tabindex="15" onchange="app.addressbook.show_custom_country(this);" options="Select one,0,1" autocomplete="country"/> </row>
<textbox id="adr_one_countryname" class="custom_country et2_fullWidth" autocomplete="country-name"/> <row disabled="@addr_format=city_state_postcode">
</vbox> <description for="tel_fax" value="fax"/>
<description/> <url-fax id="tel_fax" tabindex="24" autocomplete="fax"/>
</row> <radio statustext="select phone number as prefered way of contact" id="tel_prefer"
<row disabled="@addr_format=city_state_postcode"> options="tel_fax,&amp;hearts;"/>
<description for="tel_other" value="Other phone"/> <description for="adr_one_countryname" value="country"/>
<url-phone id="tel_other" tabindex="25" class="et2_fullWidth" autocomplete="tel" /> <vbox class="city_state_postcode" width="100%">
<radio statustext="select phone number as prefered way of contact" id="tel_prefer" options="tel_other,&amp;hearts;"/> <select type="select-country" tags="true" width="100%" class="countrySelect"
<description value="Region"/> id="adr_one_countrycode" tabindex="15"
<taglist-state class="city_state_postcode et2_fullWidth" statustext="State" maxSelection="1" multiple="toggle" editModeEnabled="false" country_code="$cont[adr_one_countrycode]" id="adr_one_region" tabindex="16" maxlength="64"/> onchange="app.addressbook.show_custom_country(this);" options="Select one,0,1"
<description/> autocomplete="country"/>
</row> <textbox id="adr_one_countryname" class="custom_country"
<row disabled="!@addr_format=city_state_postcode"> autocomplete="country-name"/>
<description for="tel_assistent" value="Assistent phone"/> </vbox>
<url-phone id="tel_assistent" tabindex="23" class="et2_fullWidth"/> </row>
<radio statustext="select phone number as prefered way of contact" id="tel_prefer" options="tel_assistent,&amp;hearts;"/> <row disabled="@addr_format=city_state_postcode">
<description value="City"/> <description for="tel_other" value="Other phone"/>
<hbox> <url-phone id="tel_other" tabindex="25" autocomplete="tel"/>
<textbox statustext="City" id="adr_one_locality" size="30" maxlength="64" tabindex="13" autocomplete="address-level2"/> <radio statustext="select phone number as prefered way of contact" id="tel_prefer"
<taglist-state statustext="State" maxSelection="1" multiple="toggle" editModeEnabled="false" country_code="$cont[adr_one_countrycode]" id="adr_one_region" tabindex="14" width="130"/> options="tel_other,&amp;hearts;"/>
<textbox statustext="ZIP Code" id="adr_one_postalcode" size="5" maxlength="64" tabindex="15" autocomplete="postal-code"/> <description value="Region"/>
</hbox> <taglist-state class="city_state_postcode" statustext="State" maxSelection="1"
<description/> multiple="toggle" editModeEnabled="false" country_code="$cont[adr_one_countrycode]"
</row> id="adr_one_region" tabindex="16" maxlength="64"/>
<row disabled="!@addr_format=city_state_postcode"> </row>
<description for="tel_fax" value="fax"/> <row disabled="!@addr_format=city_state_postcode">
<url-fax id="tel_fax" tabindex="24" class="et2_fullWidth" autocomplete="fax" /> <description for="tel_assistent" value="Assistent phone"/>
<radio statustext="select phone number as prefered way of contact" id="tel_prefer" options="tel_fax,&amp;hearts;"/> <url-phone id="tel_assistent" tabindex="23"/>
<description for="adr_one_countryname" value="country"/> <radio statustext="select phone number as prefered way of contact" id="tel_prefer"
<vbox width="100%" tabindex="16"> options="tel_assistent,&amp;hearts;"/>
<select-country tabindex="16" tags="true" width="100%" class="countrySelect et2_fullWidth" <description value="City"/>
<hbox>
<textbox statustext="City" id="adr_one_locality" size="30" maxlength="64" tabindex="13"
autocomplete="address-level2"/>
<taglist-state statustext="State" maxSelection="1" multiple="toggle" editModeEnabled="false"
country_code="$cont[adr_one_countrycode]" id="adr_one_region" tabindex="14"
width="130"/>
<textbox statustext="ZIP Code" id="adr_one_postalcode" size="5" maxlength="64" tabindex="15"
autocomplete="postal-code"/>
</hbox>
</row>
<row disabled="!@addr_format=city_state_postcode">
<description for="tel_fax" value="fax"/>
<url-fax id="tel_fax" tabindex="24" autocomplete="fax"/>
<radio statustext="select phone number as prefered way of contact" id="tel_prefer"
options="tel_fax,&amp;hearts;"/>
<description for="adr_one_countryname" value="country"/>
<vbox width="100%" tabindex="16">
<select-country tabindex="16" tags="true" width="100%" class="countrySelect"
id="adr_one_countrycode" onchange="app.addressbook.show_custom_country(this);" id="adr_one_countrycode" onchange="app.addressbook.show_custom_country(this);"
options="Select one,0,1" autocomplete="country"/> options="Select one,0,1" autocomplete="country"/>
<textbox id="adr_one_countryname" class="custom_country et2_fullWidth" tabindex="16" autocomplete="country-name"/> <textbox id="adr_one_countryname" class="custom_country" tabindex="16"
</vbox> autocomplete="country-name"/>
<description/> </vbox>
</row> </row>
<row disabled="!@addr_format=city_state_postcode"> <row disabled="!@addr_format=city_state_postcode">
<description for="tel_other" value="Other Phone"/> <description for="tel_other" value="Other Phone"/>
<url-phone id="tel_other" tabindex="25" class="et2_fullWidth" autocomplete="tel"/> <url-phone id="tel_other" tabindex="25" autocomplete="tel"/>
<radio statustext="select phone number as prefered way of contact" id="tel_prefer" options="tel_other,&amp;hearts;"/> <radio statustext="select phone number as prefered way of contact" id="tel_prefer"
<description/> options="tel_other,&amp;hearts;"/>
<description/> <description/>
<description/> <description/>
</row> </row>
<row> <row>
<description for="tel_car" value="car phone"/> <description for="tel_car" value="car phone"/>
<url-phone id="tel_car" tabindex="26" class="et2_fullWidth"/> <url-phone id="tel_car" tabindex="26"/>
<radio statustext="select phone number as prefered way of contact" id="tel_prefer" options="tel_car,&amp;hearts;"/> <radio statustext="select phone number as prefered way of contact" id="tel_prefer"
<description disabled="@no_tid" for="tid" value="Type"/> options="tel_car,&amp;hearts;"/>
<hbox width="102%"> <description disabled="@no_tid" for="tid" value="Type"/>
<select id="tid" no_lang="1" class="et2_fullWidth" onchange="1" disabled="@no_tid"/> <hbox width="102%">
</hbox> <select id="tid" no_lang="1" onchange="1" disabled="@no_tid"/>
<description/> </hbox>
</row> </row>
<row disabled="@shared_disabled"> <row disabled="@shared_disabled">
<description for="shared" value="Shared with"/> <description for="shared" value="Shared with"/>
<taglist-account account_type="both" id="shared_values" multiple="true" <hbox span="all">
onchange="app.addressbook.shared_changed" select_options="@shared_options" span="4"/> <taglist-account account_type="both" id="shared_values" multiple="true"
<checkbox id="shared_writable" label="writable" statustext="Create new shares writable"/> onchange="app.addressbook.shared_changed" select_options="@shared_options"/>
</row> <checkbox id="shared_writable" label="writable" statustext="Create new shares writable"/>
</rows> </hbox>
</row>
</rows>
</grid> </grid>
</template> </template>
<template id="addressbook.edit.details" template="" lang="" group="0" version="1.9.002"> <template id="addressbook.edit.details" template="" lang="" group="0" version="1.9.002">
@ -170,7 +190,7 @@
<rows> <rows>
<row valign="top"> <row valign="top">
<description value="Notes"/> <description value="Notes"/>
<textbox multiline="true" id="note" rows="10" class="et2_fullWidth" height="100"/> <textbox multiline="true" id="note" rows="10" height="100"/>
</row> </row>
<row disabled="@hidebuttons"> <row disabled="@hidebuttons">
<description value="Last date"/> <description value="Last date"/>
@ -179,127 +199,151 @@
<row disabled="@hidebuttons"> <row disabled="@hidebuttons">
<description value="Next date"/> <description value="Next date"/>
<link id="next_link"/> <link id="next_link"/>
</row> </row>
<row valign="top" class="smime_section_border"> <row valign="top" class="smime_section_border">
<description value="SMIME key"/> <description value="SMIME key"/>
<vfs-upload id="addressbook:$cont[id]:.files/smime-pubkey.crt" accept=".crt,.pem,application/x-x509-ca-cert,application/x-x509-user-cert" mime="/application\/(x-x509-(ca|user)|pkix)-cert/" callback="addressbook.addressbook_ui.pubkey_uploaded"/> <vfs-upload id="addressbook:$cont[id]:.files/smime-pubkey.crt"
</row> accept=".crt,.pem,application/x-x509-ca-cert,application/x-x509-user-cert"
<row valign="top"> mime="/application\/(x-x509-(ca|user)|pkix)-cert/"
<description value="PGP key"/> callback="addressbook.addressbook_ui.pubkey_uploaded"/>
<vfs-upload id="addressbook:$cont[id]:.files/pgp-pubkey.asc" accept=".asc,application/pgp-keys" mime="/(application\/pgp-keys|text\/plain)/" callback="addressbook.addressbook_ui.pubkey_uploaded"/> </row>
</row> <row valign="top">
<row valign="top"> <description value="PGP key"/>
<description for="pubkey" value="Public key"/> <vfs-upload id="addressbook:$cont[id]:.files/pgp-pubkey.asc"
<textbox multiline="true" id="pubkey" rows="4" resize_ratio="0" class="et2_fullWidth"/> accept=".asc,application/pgp-keys"
</row> mime="/(application\/pgp-keys|text\/plain)/"
</rows> callback="addressbook.addressbook_ui.pubkey_uploaded"/>
</grid> </row>
<description/> <row valign="top">
</row> <description for="pubkey" value="Public key"/>
</rows> <textbox multiline="true" id="pubkey" rows="4" resize_ratio="0"/>
</grid> </row>
</template> </rows>
<template id="addressbook.edit.home" template="" lang="" group="0" version="1.9.001"> </grid>
<grid width="100%"> <description/>
<columns> </row>
<column width="92"/> </rows>
<column width="230"/> </grid>
<column width="50"/> </template>
<column width="92"/> <template id="addressbook.edit.home" template="" lang="" group="0" version="1.9.001">
<column width="230"/> <grid width="100%">
<column width="50"/> <columns>
</columns> <column width="92"/>
<rows> <column width="230"/>
<row> <column width="50"/>
<description for="tel_home" value="Home phone"/> <column width="92"/>
<url-phone id="tel_home" tabindex="27" class="et2_fullWidth" autocomplete="section-two home tel" /> <column width="230"/>
<radio statustext="select phone number as prefered way of contact" id="tel_prefer" options="tel_home,&amp;hearts;"/> <column width="50"/>
<description for="adr_two_street" tabindex="32" value="street"/> </columns>
<textbox id="adr_two_street" tabindex="33" class="et2_fullWidth" maxlength="64" autocomplete="section-two address-line1" /> <rows>
<description/> <row>
</row> <description for="tel_home" value="Home phone"/>
<row> <url-phone id="tel_home" tabindex="27" autocomplete="section-two home tel"/>
<description for="tel_cell_private" value="mobile phone"/> <radio statustext="select phone number as prefered way of contact" id="tel_prefer"
<url-phone id="tel_cell_private" tabindex="28" class="et2_fullWidth" autocomplete="section-two mobile tel" /> options="tel_home,&amp;hearts;"/>
<radio statustext="select phone number as prefered way of contact" id="tel_prefer" options="tel_cell_private,&amp;hearts;"/> <description for="adr_two_street" tabindex="32" value="street"/>
<description/> <textbox id="adr_two_street" tabindex="33" maxlength="64" autocomplete="section-two address-line1"/>
<textbox statustext="address line 2" id="adr_two_street2" tabindex="34" class="et2_fullWidth" maxlength="64" autocomplete="section-two address-line2" /> <description/>
<description/> </row>
</row> <row>
<row disabled="@addr_format=city_state_postcode"> <description for="tel_cell_private" value="mobile phone"/>
<description for="tel_fax_home" value="fax"/> <url-phone id="tel_cell_private" tabindex="28" autocomplete="section-two mobile tel"/>
<url-fax id="tel_fax_home" tabindex="29" class="et2_fullWidth" autocomplete="section-two fax tel" /> <radio statustext="select phone number as prefered way of contact" id="tel_prefer"
<radio statustext="select phone number as prefered way of contact" id="tel_prefer" options="tel_fax_home,&amp;hearts;"/> options="tel_cell_private,&amp;hearts;"/>
<description for="adr_two_locality" value="city"/> <description/>
<hbox class="city_state_postcode"> <textbox statustext="address line 2" id="adr_two_street2" tabindex="34" maxlength="64"
<textbox statustext="ZIP Code" id="adr_two_postalcode" tabindex="34" width="24%" maxlength="64" autocomplete="section-two postal-code" /> autocomplete="section-two address-line2"/>
<textbox statustext="City" id="adr_two_locality" maxlength="64" tabindex="36" width="70%" autocomplete="section-two address-level2" /> <description/>
</hbox> </row>
<description/> <row disabled="@addr_format=city_state_postcode">
</row> <description for="tel_fax_home" value="fax"/>
<row disabled="@addr_format=city_state_postcode"> <url-fax id="tel_fax_home" tabindex="29" autocomplete="section-two fax tel"/>
<description for="tel_pager" value="pager" autocomplete="section-two pager tel" /> <radio statustext="select phone number as prefered way of contact" id="tel_prefer"
<url-phone id="tel_pager" tabindex="30" class="et2_fullWidth"/> options="tel_fax_home,&amp;hearts;"/>
<radio statustext="select phone number as prefered way of contact" id="tel_prefer" options="tel_pager,&amp;hearts;"/> <description for="adr_two_locality" value="city"/>
<description for="adr_two_countryname" value="country"/> <hbox class="city_state_postcode">
<vbox width="100%" class="city_state_postcode"> <textbox statustext="ZIP Code" id="adr_two_postalcode" tabindex="34" width="24%" maxlength="64"
<select-country tabindex="37" tags="true" width="100%" class="countrySelect et2_fullWidth" autocomplete="section-two postal-code"/>
<textbox statustext="City" id="adr_two_locality" maxlength="64" tabindex="36" width="70%"
autocomplete="section-two address-level2"/>
</hbox>
<description/>
</row>
<row disabled="@addr_format=city_state_postcode">
<description for="tel_pager" value="pager" autocomplete="section-two pager tel"/>
<url-phone id="tel_pager" tabindex="30"/>
<radio statustext="select phone number as prefered way of contact" id="tel_prefer"
options="tel_pager,&amp;hearts;"/>
<description for="adr_two_countryname" value="country"/>
<vbox width="100%" class="city_state_postcode">
<select-country tabindex="37" tags="true" width="100%" class="countrySelect"
id="adr_two_countrycode" onchange="app.addressbook.show_custom_country(this);" id="adr_two_countrycode" onchange="app.addressbook.show_custom_country(this);"
options="Select one,0,1" autocomplete="section-two country"/> options="Select one,0,1" autocomplete="section-two country"/>
<textbox id="adr_two_countryname" class="custom_country et2_fullWidth" autocomplete="section-two country-name" /> <textbox id="adr_two_countryname" class="custom_country"
</vbox> autocomplete="section-two country-name"/>
<description/> </vbox>
</row> <description/>
<row disabled="@addr_format=city_state_postcode"> </row>
<description for="bday" value="Birthday"/> <row disabled="@addr_format=city_state_postcode">
<date id="bday" tabindex="31" options="Y-m-d" year_range="c-90:c+2" class="et2_fullWidth"/> <description for="bday" value="Birthday"/>
<description/> <date id="bday" tabindex="31" options="Y-m-d" year_range="c-90:c+2"/>
<description value="Region"/> <description/>
<taglist-state statustext="State" maxSelection="1" multiple="toggle" editModeEnabled="false" country_code="$cont[adr_two_countrycode]" id="adr_two_region" tabindex="38" maxlength="64" class="et2_fullWidth city_state_postcode"/> <description value="Region"/>
<description/> <taglist-state statustext="State" maxSelection="1" multiple="toggle" editModeEnabled="false"
</row> country_code="$cont[adr_two_countrycode]" id="adr_two_region" tabindex="38"
<row disabled="!@addr_format=city_state_postcode"> maxlength="64" class="city_state_postcode"/>
<description for="tel_fax_home" value="fax"/> <description/>
<url-fax id="tel_fax_home" class="et2_fullWidth" autocomplete="fax tel" /> </row>
<radio statustext="select phone number as prefered way of contact" id="tel_prefer" options="tel_fax_home,&amp;hearts;"/> <row disabled="!@addr_format=city_state_postcode">
<description value="City"/> <description for="tel_fax_home" value="fax"/>
<hbox> <url-fax id="tel_fax_home" autocomplete="fax tel"/>
<textbox statustext="City" id="adr_two_locality" size="30" maxlength="64" autocomplete="section-two address-level2" /> <radio statustext="select phone number as prefered way of contact" id="tel_prefer"
<taglist-state maxSelection="1" multiple="toggle" editModeEnabled="false" country_code="$cont[adr_one_countrycode]" statustext="State" id="adr_two_region" width="130" autocomplete="section-two address-level1"/> options="tel_fax_home,&amp;hearts;"/>
<textbox statustext="ZIP Code" id="adr_two_postalcode" size="5" maxlength="64" autocomplete="section-two postal-code" /> <description value="City"/>
</hbox> <hbox>
<description/> <textbox statustext="City" id="adr_two_locality" size="30" maxlength="64"
</row> autocomplete="section-two address-level2"/>
<row disabled="!@addr_format=city_state_postcode"> <taglist-state maxSelection="1" multiple="toggle" editModeEnabled="false"
<description for="tel_pager" value="pager"/> country_code="$cont[adr_one_countrycode]" statustext="State" id="adr_two_region"
<url-phone id="tel_pager" class="et2_fullWidth"/> width="130" autocomplete="section-two address-level1"/>
<radio statustext="select phone number as prefered way of contact" id="tel_prefer" options="tel_pager,&amp;hearts;"/> <textbox statustext="ZIP Code" id="adr_two_postalcode" size="5" maxlength="64"
<description for="adr_two_countryname" value="country"/> autocomplete="section-two postal-code"/>
<vbox width="100%"> </hbox>
<select-country class="countrySelect et2_fullWidth" tags="true" width="100%" <description/>
</row>
<row disabled="!@addr_format=city_state_postcode">
<description for="tel_pager" value="pager"/>
<url-phone id="tel_pager"/>
<radio statustext="select phone number as prefered way of contact" id="tel_prefer"
options="tel_pager,&amp;hearts;"/>
<description for="adr_two_countryname" value="country"/>
<vbox width="100%">
<select-country class="countrySelect" tags="true" width="100%"
id="adr_two_countrycode" onchange="app.addressbook.show_custom_country(this);" id="adr_two_countrycode" onchange="app.addressbook.show_custom_country(this);"
options="Select one,0,1" autocomplete="section-two country"/> options="Select one,0,1" autocomplete="section-two country"/>
<textbox id="adr_two_countryname" class="custom_country et2_fullWidth" autocomplete="section-two country-name" /> <textbox id="adr_two_countryname" class="custom_country"
</vbox> autocomplete="section-two country-name"/>
<description/> </vbox>
</row> <description/>
<row disabled="!@addr_format=city_state_postcode"> </row>
<description for="bday" value="Birthday"/> <row disabled="!@addr_format=city_state_postcode">
<date id="bday" options="Y-m-d" class="et2_fullWidth"/> <description for="bday" value="Birthday"/>
<description/> <date id="bday" options="Y-m-d"/>
<description/> <description/>
<description/> <description/>
<description/> <description/>
</row> <description/>
<row> </row>
<description for="email_home" value="EMail"/> <row>
<url-email id="email_home" tabindex="32" onchange="app.addressbook.check_value(widget,'$cont[id]');" class="et2_fullWidth" autocomplete="section-two home email" /> <description for="email_home" value="EMail"/>
<description/> <url-email id="email_home" tabindex="32" onchange="app.addressbook.check_value(widget,'$cont[id]');"
<description for="url_home" value="URL"/> autocomplete="section-two home email"/>
<url id="url_home" tabindex="39" class="et2_fullWidth" autocomplete="section-two url" /> <description/>
<description/> <description for="url_home" value="URL"/>
</row> <url id="url_home" tabindex="39" autocomplete="section-two url"/>
</rows> <description/>
</row>
</rows>
</grid> </grid>
</template> </template>
<template id="addressbook.edit.links" template="" lang="" group="0" version="1.9.001"> <template id="addressbook.edit.links" template="" lang="" group="0" version="1.9.001">
@ -318,111 +362,120 @@
<link-list id="link_to"/> <link-list id="link_to"/>
</row> </row>
</rows> </rows>
</grid> </grid>
</template> </template>
<template id="addressbook.edit.distribution_list" template="" lang="" group="0" version="1.9.001"> <template id="addressbook.edit.distribution_list" template="" lang="" group="0" version="1.9.001">
<box width="100%" overflow="auto"> <box width="100%" overflow="auto">
<description id="distrib_lists" span="all"/> <description id="distrib_lists" span="all"/>
</box> </box>
</template> </template>
<template id="addressbook.edit.custom" template="" lang="" group="0" version="1.9.001"> <template id="addressbook.edit.custom" template="" lang="" group="0" version="1.9.001">
<box width="100%" overflow="auto"> <box width="100%" overflow="auto">
<customfields options=",$cont[no_private_cfs]" type_filter="$cont[tid]"/> <customfields options=",$cont[no_private_cfs]" type_filter="$cont[tid]"/>
</box> </box>
</template> </template>
<template id="addressbook.edit.custom_private" template="" lang="" group="0" version="1.9.001"> <template id="addressbook.edit.custom_private" template="" lang="" group="0" version="1.9.001">
<box width="100%" overflow="auto"> <box width="100%" overflow="auto">
<customfields id="private_cfs" options=",1" type_filter="$cont[tid]"/> <customfields id="private_cfs" options=",1" type_filter="$cont[tid]"/>
</box> </box>
</template> </template>
<template id="addressbook.edit.history" template="" lang="" group="0" version="1.9.001"> <template id="addressbook.edit.history" template="" lang="" group="0" version="1.9.001">
<historylog id="history" width="100%"/> <historylog id="history" width="100%"/>
</template> </template>
<template id="addressbook.edit" template="" lang="" group="0" version="1.9.004" class="addressbook_edit"> <template id="addressbook.edit" template="" lang="" group="0" version="1.9.004" class="addressbook_edit">
<template id="addressbook.editname"/> <template id="addressbook.editname"/>
<grid class="addressbook_edit" border="1" width="100%"> <grid class="addressbook_edit" border="1" width="100%">
<columns> <columns>
<column width="100"/> <column width="100"/>
<column width="250"/> <column width="250"/>
<column width="50"/> <column width="50"/>
<column width="100"/> <column width="100"/>
<column width="250"/> <column width="250"/>
<column width="50"/> <column width="50"/>
</columns> </columns>
<rows> <rows>
<row class="dialogHeader"> <row class="dialogHeader">
<box align="center"> <box align="center">
<hbox disabled="@hidebuttons"> <hbox disabled="@hidebuttons">
<avatar id="jpegphoto" contact_id="$cont[id]" src="$cont[photo]" crop="false" editable="true"/> <avatar id="jpegphoto" contact_id="$cont[id]" src="$cont[photo]" crop="false"
</hbox> editable="true"/>
</box> </hbox>
<textbox id="n_fn" blur="Name" no_lang="1" tabindex="-1" class="cursorHand et2_fullWidth" onclick="jQuery('table.editname').css('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();" autocomplete="name"/> </box>
<description/> <textbox id="n_fn" blur="Name" no_lang="1" tabindex="-1" class="cursorHand"
<description for="org_name" value="Organisation"/> onclick="jQuery('table.editname').css('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();"
<textbox id="org_name" onchange="app.addressbook.check_value(widget,'$cont[id]');" maxlength="128" tabindex="7" class="et2_fullWidth" autocomplete="organization" /> autocomplete="name"/>
<appicon/> <description/>
</row> <description for="org_name" value="Organisation"/>
<row class="dialogHeader2"> <textbox id="org_name" onchange="app.addressbook.check_value(widget,'$cont[id]');" maxlength="128"
<description for="tel_work" value="Business phone"/> tabindex="7" autocomplete="organization"/>
<url-phone id="tel_work" tabindex="17" class="telNumbers et2_fullWidth" autocomplete="work tel"/> <appicon/>
<radio statustext="select phone number as prefered way of contact" id="tel_prefer" options="tel_work,&amp;hearts;"/> </row>
<description for="org_unit" value="department"/> <row class="dialogHeader2">
<textbox id="org_unit" onchange="app.addressbook.check_value(widget,'$cont[id]');" tabindex="8" class="et2_fullWidth" maxlength="64"/> <description for="tel_work" value="Business phone"/>
<description/> <url-phone id="tel_work" tabindex="17" class="telNumbers" autocomplete="work tel"/>
</row> <radio statustext="select phone number as prefered way of contact" id="tel_prefer"
<row class="dialogHeader3"> options="tel_work,&amp;hearts;"/>
<description for="tel_cell" value="mobile phone"/> <description for="org_unit" value="department"/>
<url-phone id="tel_cell" tabindex="18" class="telNumbers et2_fullWidth" autocomplete="mobile tel" /> <textbox id="org_unit" onchange="app.addressbook.check_value(widget,'$cont[id]');" tabindex="8"
<radio statustext="select phone number as prefered way of contact" id="tel_prefer" options="tel_cell,&amp;hearts;"/> maxlength="64"/>
<description for="title" value="Title"/> <description/>
<textbox id="title" size="36" maxlength="64" tabindex="9" class="et2_fullWidth" autocomplete="organization-title" /> </row>
<description/> <row class="dialogHeader3">
</row> <description for="tel_cell" value="mobile phone"/>
<row class="dialogHeader4"> <url-phone id="tel_cell" tabindex="18" class="telNumbers" autocomplete="mobile tel"/>
<description for="email" value="email"/> <radio statustext="select phone number as prefered way of contact" id="tel_prefer"
<url-email id="email" onchange="app.addressbook.check_value(widget,'$cont[id]');" tabindex="19" class="et2_fullWidth" autocomplete="work email"/> options="tel_cell,&amp;hearts;"/>
<description/> <description for="title" value="Title"/>
<description for="url" value="url"/> <textbox id="title" size="36" maxlength="64" tabindex="9" autocomplete="organization-title"/>
<url id="url" tabindex="10" class="et2_fullWidth" autocomplete="url" /> <description/>
<description/> </row>
</row> <row class="dialogHeader4">
<row> <description for="email" value="email"/>
<tabbox id="tabs" span="all" width="100%" tab_height="250"> <url-email id="email" onchange="app.addressbook.check_value(widget,'$cont[id]');" tabindex="19"
<tabs> autocomplete="work email"/>
<tab id="general" label="Organisation"/> <description/>
<tab id="home" label="Private" statustext="Home address, Birthday, ..."/> <description for="url" value="url"/>
<tab id="details" label="Details" statustext="Categories, Notes, ..."/> <url id="url" tabindex="10" autocomplete="url"/>
<tab id="links" label="Links" statustext="Links"/> <description/>
<tab id="distribution_list" label="Distribution lists" statustext="Distribution lists, ..."/> </row>
<tab id="custom" label="Extra" statustext="Custom fields"/> <row>
<tab id="custom_private" label="Extra private" statustext="Private custom fields"/> <tabbox id="tabs" span="all" width="100%" tab_height="250">
<tab id="history" label="History"/> <tabs>
</tabs> <tab id="general" label="Organisation"/>
<tabpanels> <tab id="home" label="Private" statustext="Home address, Birthday, ..."/>
<template id="addressbook.edit.general"/> <tab id="details" label="Details" statustext="Categories, Notes, ..."/>
<template id="addressbook.edit.home"/> <tab id="links" label="Links" statustext="Links"/>
<template id="addressbook.edit.details"/> <tab id="distribution_list" label="Distribution lists"
<template id="addressbook.edit.links"/> statustext="Distribution lists, ..."/>
<template id="addressbook.edit.distribution_list"/> <tab id="custom" label="Extra" statustext="Custom fields"/>
<template id="addressbook.edit.custom"/> <tab id="custom_private" label="Extra private" statustext="Private custom fields"/>
<template id="addressbook.edit.custom_private"/> <tab id="history" label="History"/>
<template id="addressbook.edit.history"/> </tabs>
</tabpanels> <tabpanels>
</tabbox> <template id="addressbook.edit.general"/>
</row> <template id="addressbook.edit.home"/>
<row class="dialogOperators"> <template id="addressbook.edit.details"/>
<description value="Addressbook"/> <template id="addressbook.edit.links"/>
<select class="owner et2_fullWidth" statustext="Addressbook the contact should be saved to" <template id="addressbook.edit.distribution_list"/>
<template id="addressbook.edit.custom"/>
<template id="addressbook.edit.custom_private"/>
<template id="addressbook.edit.history"/>
</tabpanels>
</tabbox>
</row>
<row class="dialogOperators">
<description value="Addressbook"/>
<select class="owner" statustext="Addressbook the contact should be saved to"
id="owner" no_lang="1" id="owner" no_lang="1"
onchange="widget.getInstanceManager().submit(null,false,true); return false;"/> onchange="widget.getInstanceManager().submit(null,false,true); return false;"/>
<description/> <description/>
<description value="own sorting"/> <description value="own sorting"/>
<menulist> <menulist>
<menupopup blur="Name" id="fileas_type" no_lang="1" class="fileas et2_fullWidth"/> <menupopup blur="Name" id="fileas_type" no_lang="1" class="fileas"/>
</menulist> </menulist>
<description/> <description/>
</row> </row>
<row class="dialogOperators"> <row class="dialogOperators">
<description value="Created"/> <description value="Created"/>
<hbox width="100%"> <hbox width="100%">
<menulist> <menulist>

View File

@ -88,11 +88,7 @@ div.addressbook_edit_general_picture img {
.custom_country { .custom_country {
display: none; display: none;
} }
input.et2_radiobox { #addressbook-edit #addressbook-edit_tel_prefer-tel_work,
position: relative;
left: 7px;
}
#addressbook-edit_tel_prefer-tel_work,
#addressbook-edit_tel_prefer-tel_cell { #addressbook-edit_tel_prefer-tel_cell {
left: 7px; left: 7px;
} }
@ -117,24 +113,10 @@ input.et2_radiobox {
top: 0; top: 0;
padding-top: 0; padding-top: 0;
} }
#addressbook-edit_adr_one_locality,
#addressbook-edit_adr_two_locality,
#addressbook-edit_adr_one_postalcode,
#addressbook-edit_adr_two_postalcode {
padding-top: 5px;
padding-bottom: 5px;
}
#addressbook-edit_adr_one_postalcode,
#addressbook-edit_adr_two_postalcode {
margin-right: -4px;
}
div.city_state_postcode #addressbook-edit_adr_two_postalcode, div.city_state_postcode #addressbook-edit_adr_two_postalcode,
div.city_state_postcode #addressbook-edit_adr_one_postalcode { div.city_state_postcode #addressbook-edit_adr_one_postalcode {
margin-right: 5px !important; margin-right: 5px !important;
} }
#addressbook-edit_role {
margin-right: 5px;
}
.addressbookHooked .egwGridView_grid label > span.et2_link { .addressbookHooked .egwGridView_grid label > span.et2_link {
display: none; display: none;
} }