* Addressbook: change taborder of fields to allow adding information column wise

This commit is contained in:
Birgit Becker 2016-07-25 17:51:39 +02:00 committed by Hadi Nategh
parent 79e13cfb4e
commit c55beb9037

View File

@ -29,27 +29,27 @@
<rows> <rows>
<row> <row>
<description for="n_prefix" value="prefix"/> <description for="n_prefix" value="prefix"/>
<textbox id="n_prefix" 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]');" class="et2_fullWidth" maxlength="64" autocomplete="honorific-prefix" />
</row> </row>
<row> <row>
<description for="n_given" value="first name"/> <description for="n_given" value="first name"/>
<textbox id="n_given" onchange="app.addressbook.check_value(widget,'$cont[id]');" class="et2_fullWidth" maxlength="64" autocomplete="given-name" /> <textbox id="n_given" tabindex="2" onchange="app.addressbook.check_value(widget,'$cont[id]');" class="et2_fullWidth" maxlength="64" autocomplete="given-name" />
</row> </row>
<row> <row>
<description for="n_middle" value="middle name"/> <description for="n_middle" value="middle name"/>
<textbox id="n_middle" onchange="app.addressbook.check_value(widget,'$cont[id]');" class="et2_fullWidth" maxlength="64" autocomplete="additional-name" /> <textbox id="n_middle" tabindex="3" onchange="app.addressbook.check_value(widget,'$cont[id]');" class="et2_fullWidth" maxlength="64" autocomplete="additional-name" />
</row> </row>
<row> <row>
<description for="n_family" value="last name"/> <description for="n_family" value="last name"/>
<textbox id="n_family" onchange="app.addressbook.check_value(widget,'$cont[id]');" class="et2_fullWidth" maxlength="64" autocomplete="family-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_suffix" value="suffix"/> <description for="n_suffix" value="suffix"/>
<textbox id="n_suffix" onchange="app.addressbook.check_value(widget,'$cont[id]');" class="et2_fullWidth" maxlength="64" autocomplete="honorific-suffix" /> <textbox id="n_suffix" tabindex="5" onchange="app.addressbook.check_value(widget,'$cont[id]');" class="et2_fullWidth" maxlength="64" autocomplete="honorific-suffix" />
</row> </row>
<row> <row>
<description/> <description/>
<button label="Ok" 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"/> <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"/>
</row> </row>
</rows> </rows>
</grid> </grid>
@ -68,41 +68,41 @@
<row> <row>
<description for="role" value="Role"/> <description for="role" value="Role"/>
<hbox width="100%"> <hbox width="100%">
<textbox id="role" width="60%" maxlength="64" autocomplete="section-one" /> <textbox id="role" tabindex="20" width="60%" maxlength="64" autocomplete="section-one" />
<textbox id="room" width="34%" blur="Room"/> <textbox id="room" tabindex="21" width="34%" blur="Room"/>
</hbox> </hbox>
<description/> <description/>
<description for="adr_one_street" value="street"/> <description for="adr_one_street" value="street"/>
<textbox id="adr_one_street" class="et2_fullWidth" maxlength="64" autocomplete="address-line1"/> <textbox id="adr_one_street" tabindex="11" class="et2_fullWidth" maxlength="64" autocomplete="address-line1"/>
<description/> <description/>
</row> </row>
<row> <row>
<description for="assistent" value="Assistent"/> <description for="assistent" value="Assistent"/>
<textbox id="assistent" class="et2_fullWidth"/> <textbox id="assistent" tabindex="22" class="et2_fullWidth"/>
<description/> <description/>
<description/> <description/>
<textbox statustext="address line 2" id="adr_one_street2" class="et2_fullWidth" maxlength="64" autocomplete="address-line2"/> <textbox statustext="address line 2" id="adr_one_street2" tabindex="12" class="et2_fullWidth" maxlength="64" autocomplete="address-line2"/>
<description/> <description/>
</row> </row>
<row disabled="@addr_format=city_state_postcode"> <row disabled="@addr_format=city_state_postcode">
<description for="tel_assistent" value="Assistent phone"/> <description for="tel_assistent" value="Assistent phone"/>
<url-phone id="tel_assistent" class="et2_fullWidth"/> <url-phone id="tel_assistent" tabindex="23" class="et2_fullWidth"/>
<radio statustext="select phone number as prefered way of contact" id="tel_prefer" options="tel_assistent,&amp;hearts;"/> <radio statustext="select phone number as prefered way of contact" id="tel_prefer" options="tel_assistent,&amp;hearts;"/>
<description for="adr_one_locality" value="city" /> <description for="adr_one_locality" value="city" />
<hbox> <hbox>
<textbox statustext="ZIP Code" id="adr_one_postalcode" width="24%" maxlength="64" autocomplete="postal-code"/> <textbox statustext="ZIP Code" id="adr_one_postalcode" tabindex="13" width="24%" maxlength="64" autocomplete="postal-code"/>
<textbox statustext="City" id="adr_one_locality" maxlength="64" width="70%" autocomplete="address-level2"/> <textbox statustext="City" id="adr_one_locality" tabindex="14" maxlength="64" width="70%" autocomplete="address-level2"/>
</hbox> </hbox>
<description/> <description/>
</row> </row>
<row disabled="@addr_format=city_state_postcode"> <row disabled="@addr_format=city_state_postcode">
<description for="tel_fax" value="fax"/> <description for="tel_fax" value="fax"/>
<url-phone id="tel_fax" class="et2_fullWidth" autocomplete="fax" /> <url-phone id="tel_fax" tabindex="24" class="et2_fullWidth" autocomplete="fax" />
<radio statustext="select phone number as prefered way of contact" id="tel_prefer" options="tel_fax,&amp;hearts;"/> <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"/> <description for="adr_one_countryname" value="country"/>
<vbox width="100%"> <vbox width="100%">
<menulist class="et2_fullWidth"> <menulist class="et2_fullWidth">
<menupopup type="select-country" class="countrySelect et2_fullWidth" id="adr_one_countrycode" onchange="app.addressbook.show_custom_country(this);" options="Select one,0,1" autocomplete="country"/> <menupopup type="select-country" class="countrySelect et2_fullWidth" id="adr_one_countrycode" tabindex="15" onchange="app.addressbook.show_custom_country(this);" options="Select one,0,1" autocomplete="country"/>
</menulist> </menulist>
<textbox id="adr_one_countryname" class="custom_country et2_fullWidth" autocomplete="country-name"/> <textbox id="adr_one_countryname" class="custom_country et2_fullWidth" autocomplete="country-name"/>
</vbox> </vbox>
@ -110,10 +110,10 @@
</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" class="et2_fullWidth" autocomplete="tel" /> <url-phone id="tel_other" tabindex="25" class="et2_fullWidth" 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" options="tel_other,&amp;hearts;"/>
<description value="Region"/> <description value="Region"/>
<textbox statustext="State" id="adr_one_region" maxlength="64" class="et2_fullWidth" autocomplete="address-level1"/> <textbox statustext="State" id="adr_one_region" tabindex="16" maxlength="64" class="et2_fullWidth" autocomplete="address-level1"/>
<description/> <description/>
</row> </row>
<row disabled="!@addr_format=city_state_postcode"> <row disabled="!@addr_format=city_state_postcode">
@ -151,7 +151,7 @@
</row> </row>
<row> <row>
<description for="tel_car" value="car phone"/> <description for="tel_car" value="car phone"/>
<url-phone id="tel_car" class="et2_fullWidth"/> <url-phone id="tel_car" tabindex="26" class="et2_fullWidth"/>
<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" options="tel_car,&amp;hearts;"/>
<description disabled="@no_tid" for="tid" value="Type"/> <description disabled="@no_tid" for="tid" value="Type"/>
<menulist disabled="@no_tid"> <menulist disabled="@no_tid">
@ -218,39 +218,39 @@
<rows> <rows>
<row> <row>
<description for="tel_home" value="Home phone"/> <description for="tel_home" value="Home phone"/>
<url-phone id="tel_home" class="et2_fullWidth" autocomplete="section-two home tel" /> <url-phone id="tel_home" tabindex="27" class="et2_fullWidth" autocomplete="section-two home tel" />
<radio statustext="select phone number as prefered way of contact" id="tel_prefer" options="tel_home,&amp;hearts;"/> <radio statustext="select phone number as prefered way of contact" id="tel_prefer" options="tel_home,&amp;hearts;"/>
<description for="adr_two_street" value="street"/> <description for="adr_two_street" tabindex="32" value="street"/>
<textbox id="adr_two_street" class="et2_fullWidth" maxlength="64" autocomplete="section-two address-line1" /> <textbox id="adr_two_street" tabindex="33" class="et2_fullWidth" maxlength="64" autocomplete="section-two address-line1" />
<description/> <description/>
</row> </row>
<row> <row>
<description for="tel_cell_private" value="mobile phone"/> <description for="tel_cell_private" value="mobile phone"/>
<url-phone id="tel_cell_private" class="et2_fullWidth" autocomplete="section-two mobile tel" /> <url-phone id="tel_cell_private" tabindex="28" class="et2_fullWidth" autocomplete="section-two mobile tel" />
<radio statustext="select phone number as prefered way of contact" id="tel_prefer" options="tel_cell_private,&amp;hearts;"/> <radio statustext="select phone number as prefered way of contact" id="tel_prefer" options="tel_cell_private,&amp;hearts;"/>
<description/> <description/>
<textbox statustext="address line 2" id="adr_two_street2" class="et2_fullWidth" maxlength="64" autocomplete="section-two address-line2" /> <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 disabled="@addr_format=city_state_postcode"> <row disabled="@addr_format=city_state_postcode">
<description for="tel_fax_home" value="fax"/> <description for="tel_fax_home" value="fax"/>
<url-phone id="tel_fax_home" class="et2_fullWidth" autocomplete="section-two fax tel" /> <url-phone 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" options="tel_fax_home,&amp;hearts;"/> <radio statustext="select phone number as prefered way of contact" id="tel_prefer" options="tel_fax_home,&amp;hearts;"/>
<description for="adr_two_locality" value="city"/> <description for="adr_two_locality" value="city"/>
<hbox> <hbox>
<textbox statustext="ZIP Code" id="adr_two_postalcode" width="24%" maxlength="64" autocomplete="section-two postal-code" /> <textbox statustext="ZIP Code" id="adr_two_postalcode" tabindex="34" width="24%" maxlength="64" autocomplete="section-two postal-code" />
<textbox statustext="City" id="adr_two_locality" maxlength="64" width="70%" autocomplete="section-two address-level2" /> <textbox statustext="City" id="adr_two_locality" maxlength="64" tabindex="36" width="70%" autocomplete="section-two address-level2" />
</hbox> </hbox>
<description/> <description/>
</row> </row>
<row disabled="@addr_format=city_state_postcode"> <row disabled="@addr_format=city_state_postcode">
<description for="tel_pager" value="pager" autocomplete="section-two pager tel" /> <description for="tel_pager" value="pager" autocomplete="section-two pager tel" />
<url-phone id="tel_pager" class="et2_fullWidth"/> <url-phone id="tel_pager" tabindex="30" class="et2_fullWidth"/>
<radio statustext="select phone number as prefered way of contact" id="tel_prefer" options="tel_pager,&amp;hearts;"/> <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"/> <description for="adr_two_countryname" value="country"/>
<vbox width="100%"> <vbox width="100%">
<menulist class="et2_fullWidth"> <menulist class="et2_fullWidth">
<menupopup type="select-country" class="countrySelect et2_fullWidth" id="adr_two_countrycode" onchange="app.addressbook.show_custom_country(this);" options="Select one,0,1" autocomplete="section-two country" /> <menupopup type="select-country" tabindex="37" class="countrySelect et2_fullWidth" id="adr_two_countrycode" onchange="app.addressbook.show_custom_country(this);" options="Select one,0,1" autocomplete="section-two country" />
</menulist> </menulist>
<textbox id="adr_two_countryname" class="custom_country et2_fullWidth" autocomplete="section-two country-name" /> <textbox id="adr_two_countryname" class="custom_country et2_fullWidth" autocomplete="section-two country-name" />
</vbox> </vbox>
@ -258,10 +258,10 @@
</row> </row>
<row disabled="@addr_format=city_state_postcode"> <row disabled="@addr_format=city_state_postcode">
<description for="bday" value="Birthday"/> <description for="bday" value="Birthday"/>
<date id="bday" options="Y-m-d" year_range="c-90:c+2" class="et2_fullWidth"/> <date id="bday" tabindex="31" options="Y-m-d" year_range="c-90:c+2" class="et2_fullWidth"/>
<description/> <description/>
<description value="Region"/> <description value="Region"/>
<textbox statustext="State" id="adr_two_region" maxlength="64" class="et2_fullWidth" autocomplete="section-two address-level1" /> <textbox statustext="State" id="adr_two_region" tabindex="38" maxlength="64" class="et2_fullWidth" autocomplete="section-two address-level1" />
<description/> <description/>
</row> </row>
<row disabled="!@addr_format=city_state_postcode"> <row disabled="!@addr_format=city_state_postcode">
@ -299,10 +299,10 @@
</row> </row>
<row> <row>
<description for="email_home" value="EMail"/> <description for="email_home" value="EMail"/>
<url-email id="email_home" onchange="app.addressbook.check_value(widget,'$cont[id]');" class="et2_fullWidth" autocomplete="section-two home email" /> <url-email id="email_home" tabindex="32" onchange="app.addressbook.check_value(widget,'$cont[id]');" class="et2_fullWidth" autocomplete="section-two home email" />
<description/> <description/>
<description for="url_home" value="URL"/> <description for="url_home" value="URL"/>
<url id="url_home" class="et2_fullWidth" autocomplete="section-two url" /> <url id="url_home" tabindex="39" class="et2_fullWidth" autocomplete="section-two url" />
<description/> <description/>
</row> </row>
</rows> </rows>
@ -366,31 +366,31 @@
<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"/> <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"/>
<description/> <description/>
<description for="org_name" value="Organisation"/> <description for="org_name" value="Organisation"/>
<textbox id="org_name" onchange="app.addressbook.check_value(widget,'$cont[id]');" maxlength="128" class="et2_fullWidth" autocomplete="organization" /> <textbox id="org_name" onchange="app.addressbook.check_value(widget,'$cont[id]');" maxlength="128" tabindex="7" class="et2_fullWidth" autocomplete="organization" />
<appicon/> <appicon/>
</row> </row>
<row class="dialogHeader2"> <row class="dialogHeader2">
<description for="tel_work" value="Business phone"/> <description for="tel_work" value="Business phone"/>
<url-phone id="tel_work" class="telNumbers et2_fullWidth" autocomplete="work tel"/> <url-phone id="tel_work" tabindex="17" class="telNumbers et2_fullWidth" autocomplete="work tel"/>
<radio statustext="select phone number as prefered way of contact" id="tel_prefer" options="tel_work,&amp;hearts;"/> <radio statustext="select phone number as prefered way of contact" id="tel_prefer" options="tel_work,&amp;hearts;"/>
<description for="org_unit" value="department"/> <description for="org_unit" value="department"/>
<textbox id="org_unit" onchange="app.addressbook.check_value(widget,'$cont[id]');" class="et2_fullWidth" maxlength="64"/> <textbox id="org_unit" onchange="app.addressbook.check_value(widget,'$cont[id]');" tabindex="8" class="et2_fullWidth" maxlength="64"/>
<description/> <description/>
</row> </row>
<row class="dialogHeader3"> <row class="dialogHeader3">
<description for="tel_cell" value="mobile phone"/> <description for="tel_cell" value="mobile phone"/>
<url-phone id="tel_cell" class="telNumbers et2_fullWidth" autocomplete="mobile tel" /> <url-phone id="tel_cell" tabindex="18" class="telNumbers et2_fullWidth" autocomplete="mobile tel" />
<radio statustext="select phone number as prefered way of contact" id="tel_prefer" options="tel_cell,&amp;hearts;"/> <radio statustext="select phone number as prefered way of contact" id="tel_prefer" options="tel_cell,&amp;hearts;"/>
<description for="title" value="Title"/> <description for="title" value="Title"/>
<textbox id="title" size="36" maxlength="64" class="et2_fullWidth" autocomplete="organization-title" /> <textbox id="title" size="36" maxlength="64" tabindex="9" class="et2_fullWidth" autocomplete="organization-title" />
<description/> <description/>
</row> </row>
<row class="dialogHeader4"> <row class="dialogHeader4">
<description for="email" value="email"/> <description for="email" value="email"/>
<url-email id="email" onchange="app.addressbook.check_value(widget,'$cont[id]');" class="et2_fullWidth" autocomplete="work email"/> <url-email id="email" onchange="app.addressbook.check_value(widget,'$cont[id]');" tabindex="19" class="et2_fullWidth" autocomplete="work email"/>
<description/> <description/>
<description for="url" value="url"/> <description for="url" value="url"/>
<url id="url" class="et2_fullWidth" autocomplete="url" /> <url id="url" tabindex="10" class="et2_fullWidth" autocomplete="url" />
<description/> <description/>
</row> </row>
<row> <row>
@ -453,7 +453,7 @@
<button label="Apply" id="button[apply]" class="button_apply" image="apply" background_image="1"/> <button label="Apply" id="button[apply]" class="button_apply" image="apply" background_image="1"/>
<button label="Cancel" id="button[cancel]" class="button_cancel" onclick="if($cont[view] || false) return true; window.close(); return false;" image="cancel" background_image="1"/> <button label="Cancel" id="button[cancel]" class="button_cancel" onclick="if($cont[view] || false) return true; window.close(); return false;" image="cancel" background_image="1"/>
<checkbox statustext="Apply changes to all members, whose fields have the same previous content" label="change all organisation members" id="change_org" span="all"/> <checkbox statustext="Apply changes to all members, whose fields have the same previous content" label="change all organisation members" id="change_org" span="all"/>
<button align="right" label="Delete" id="button[delete]" class="button_delete" onclick="et2_dialog.confirm(widget,'Do you really want to delete this contact?','Delete')" tabindex="25" image="delete" background_image="1"/> <button align="right" label="Delete" id="button[delete]" class="button_delete" onclick="et2_dialog.confirm(widget,'Do you really want to delete this contact?','Delete')" image="delete" background_image="1"/>
</hbox> </hbox>
</row> </row>