Fix for missing phone number section from Stefan Reinhardt

This commit is contained in:
Nathan Gray 2013-11-19 19:16:13 +00:00
parent 0357834ce1
commit 94f223c740

View File

@ -14,13 +14,13 @@
<file statustext="Select a portrait format jpeg photo. It will be resized to 60 pixel width." id="upload_photo" class="photo"/> <file statustext="Select a portrait format jpeg photo. It will be resized to 60 pixel width." id="upload_photo" class="photo"/>
</row> </row>
<row> <row>
<button align="center" label="Ok" onclick="jQuery('table.uploadphoto').css('display','none'); return false;"/> <button align="center" label="Ok" onclick="jQuery('table.uploadphoto').css('display','none'); return false;" image="check" background_image="1"/>
</row> </row>
</rows> </rows>
</grid> </grid>
</template> </template>
<template id="addressbook.edit.name" template="" lang="" group="0" version="1.9.001"> <template id="addressbook.edit.name" template="" lang="" group="0" version="1.9.001">
<grid width="310" height="160" class="editname"> <grid width="310" height="250" class="editname">
<columns> <columns>
<column width="20%"/> <column width="20%"/>
<column/> <column/>
@ -48,21 +48,22 @@
</row> </row>
<row> <row>
<description/> <description/>
<button label="Ok" id="button[ok]" onclick="jQuery('table.editname').css('display','none'); if(document.getElementById(form::name('title'))){document.getElementById(form::name('title')).focus();} return false;"/> <button label="Ok" id="button[ok]" class="button_ok" onclick="jQuery('table.editname').css('display','none'); if(document.getElementById(form::name('title'))){document.getElementById(form::name('title')).focus();} return false;" image="check" background_image="1"/>
</row> </row>
</rows> </rows>
</grid> </grid>
</template> </template>
<template id="addressbook.edit.general" template="" lang="" group="0" version="1.9.003"> <template id="addressbook.edit.general" template="" lang="" group="0" version="1.9.003">
<grid width="100%" height="286"> <grid width="100%" height="286" class="addressbook_edit_general">
<columns> <columns>
<column/> <column/>
<column/> <column/>
<column/> <column/>
<column/>
</columns> </columns>
<rows> <rows>
<row valign="top"> <row valign="top">
<image src="accounts"/> <!-- <image src="accounts"/> -->
<vbox> <vbox>
<image src="photo" onclick="jQuery('table.uploadphoto').css('display','inline'); return false;" class="photo"/> <image src="photo" onclick="jQuery('table.uploadphoto').css('display','inline'); return false;" class="photo"/>
<template id="addressbook.edit.upload"/> <template id="addressbook.edit.upload"/>
@ -99,27 +100,26 @@
</grid> </grid>
</row> </row>
<row> <row>
<image src="home"/> <!-- <image src="home"/> -->
<description value="Organisation"/> <description value="Organisation"/>
<textbox id="org_name" onchange="app.addressbook.check_value(this,'$cont[id]');" size="45" maxlength="128"/> <textbox id="org_name" onchange="app.addressbook.check_value(this,'$cont[id]');" size="45" maxlength="128"/>
</row> </row>
<row> <row>
<description/>
<description for="org_unit" value="department"/> <description for="org_unit" value="department"/>
<textbox id="org_unit" onchange="app.addressbook.check_value(this,'$cont[id]');" size="45" maxlength="64"/> <textbox id="org_unit" onchange="app.addressbook.check_value(this,'$cont[id]');" size="45" maxlength="64"/>
</row> </row>
<row> <row>
<image src="gohome"/> <!-- <image src="gohome"/> -->
<description for="adr_one_street" value="street"/> <description for="adr_one_street" value="street"/>
<textbox id="adr_one_street" size="45" maxlength="64"/> <textbox id="adr_one_street" size="45" maxlength="64"/>
</row> </row>
<row> <row>
<description/>
<description/> <description/>
<textbox statustext="address line 2" id="adr_one_street2" size="45" maxlength="64"/> <textbox statustext="address line 2" id="adr_one_street2" size="45" maxlength="64"/>
</row> </row>
<row disabled="@addr_format=city_state_postcode"> <row disabled="@addr_format=city_state_postcode">
<description/>
<description for="adr_one_locality" value="city"/> <description for="adr_one_locality" value="city"/>
<hbox options="0,0"> <hbox options="0,0">
<textbox statustext="ZIP Code" id="adr_one_postalcode" size="5" maxlength="64"/> <textbox statustext="ZIP Code" id="adr_one_postalcode" size="5" maxlength="64"/>
@ -127,16 +127,20 @@
</hbox> </hbox>
</row> </row>
<row disabled="@addr_format=city_state_postcode"> <row disabled="@addr_format=city_state_postcode">
<description/>
<description for="adr_one_countryname" value="country"/> <description for="adr_one_countryname" value="country"/>
<hbox options="0,0"> <hbox options="0,0">
<menulist> <menulist>
<menupopup type="select-country" class="countrySelect" id="adr_one_countrycode" onchange="app.addressbook.show_custom_country(this);" options="Select one,0,1"/> <menupopup type="select-country" class="countrySelect" id="adr_one_countrycode" onchange="app.addressbook.show_custom_country(this);" options="Select one,0,1"/>
</menulist> </menulist>
<textbox id="adr_one_countryname" class="custom_country"/> <textbox id="adr_one_countryname" class="custom_country"/>
<textbox statustext="State" id="adr_one_region" size="19" maxlength="64" class="leftPad5"/>
</hbox> </hbox>
</row> </row>
<row disabled="@addr_format=city_state_postcode">
<description value="Region"/>
<textbox statustext="State" id="adr_one_region" size="19" maxlength="64" class="leftPad5"/>
</row>
<row disabled="!@addr_format=city_state_postcode"> <row disabled="!@addr_format=city_state_postcode">
<description/> <description/>
<description value="City"/> <description value="City"/>
@ -157,7 +161,7 @@
</hbox> </hbox>
</row> </row>
<row valign="bottom" height="25"> <row valign="bottom" height="25">
<image src="private.png"/> <!-- <image src="private.png"/> -->
<description value="Addressbook"/> <description value="Addressbook"/>
<menulist> <menulist>
<menupopup class="owner" statustext="Addressbook the contact should be saved to" id="owner" no_lang="1"/> <menupopup class="owner" statustext="Addressbook the contact should be saved to" id="owner" no_lang="1"/>
@ -259,7 +263,7 @@
</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">
<grid width="100%" height="286" overflow="auto"> <grid width="100%" height="399" overflow="auto">
<columns> <columns>
<column/> <column/>
<column/> <column/>
@ -484,23 +488,23 @@
<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;"/>
</row> </row>
<row> <row>
<button align="center" label="Ok" id="button[ok]" onclick="jQuery('table.editphones').css('display','none'); if (window.hidephones) hidephones(this.form); return false;" span="all"/> <button align="center" label="Ok" id="button[ok]" class="button_ok" onclick="jQuery('table.editphones').css('display','none'); if (window.hidephones) hidephones(this.form); return false;" span="all" image="check" background_image="1"/>
</row> </row>
</rows> </rows>
</grid> </grid>
</template> </template>
<template id="addressbook.edit" template="" lang="" group="0" version="1.9.004"> <template id="addressbook.edit" template="" lang="" group="0" version="1.9.004" class="addressbook_edit">
<grid> <grid class="addressbook_edit">
<columns> <columns>
<column width="450"/> <column width="c_Left"/>
<column width="350"/> <column width="c_Right"/>
</columns> </columns>
<rows class="dialog-header"> <rows>
<row disabled="!@msg"> <row disabled="!@msg">
<htmlarea id="msg" no_lang="1" readonly="true" span="all" class="redItalic"/> <htmlarea id="msg" no_lang="1" readonly="true" span="all" class="redItalic"/>
<description/> <description/>
</row> </row>
<row> <row class="dialog-header">
<menulist> <menulist>
<menupopup blur="Name" class="fileas" statustext="own sorting" id="fileas_type" no_lang="1"/> <menupopup blur="Name" class="fileas" statustext="own sorting" id="fileas_type" no_lang="1"/>
</menulist> </menulist>
@ -520,17 +524,17 @@
</grid> </grid>
</row> </row>
<row valign="top"> <row valign="top">
<tabbox id="tabs" span="all" readonly="false"> <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> <tabs>
<tab id="general" label="General" statustext="Name, Address"/> <tab id="addressbook.edit.general" label="General" statustext="Name, Address"/>
<tab id="cats" label="Categories" statustext="Categories"/> <tab id="addressbook.edit.cats" label="Categories" statustext="Categories"/>
<tab id="home" label="Private" statustext="Home address, Birthday, ..."/> <tab id="addressbook.edit.home" label="Private" statustext="Home address, Birthday, ..."/>
<tab id="details" label="Details" statustext="Categories, Notes, ..."/> <tab id="addressbook.edit.details" label="Details" statustext="Categories, Notes, ..."/>
<tab id="links" label="Links" statustext="Links"/> <tab id="addressbook.edit.links" label="Links" statustext="Links"/>
<tab id="distribution_list" label="Distribution lists" statustext="Distribution lists, ..."/> <tab id="addressbook.edit.distribution_list" label="Distribution lists" statustext="Distribution lists, ..."/>
<tab id="custom" label="Extra" statustext="Custom fields"/> <tab id="addressbook.edit.custom" label="Extra" statustext="Custom fields"/>
<tab id="custom_private" label="Extra private" statustext="Private custom fields"/> <tab id="addressbook.edit.custom_private" label="Extra private" statustext="Private custom fields"/>
<tab id="history" label="History"/> <tab id="addressbook.edit.history" label="History"/>
</tabs> </tabs>
<tabpanels> <tabpanels>
<template id="addressbook.edit.general"/> <template id="addressbook.edit.general"/>
@ -583,7 +587,7 @@
<row> <row>
<description/> <description/>
<description/> <description/>
<button accesskey="m" label="More ..." id="button[more]" onclick="jQuery('table.editphones').css('display','inline'); if (window.showphones) showphones(this.form); return false;"/> <button accesskey="m" label="More ..." id="button[more]" class="button_more" onclick="jQuery('table.editphones').css('display','inline'); if (window.showphones) showphones(this.form); return false;" image="edit" background_image="1"/>
<description/> <description/>
</row> </row>
</rows> </rows>
@ -625,17 +629,18 @@
</row> </row>
<row disabled="@hidebuttons" class="dialog-footer-toolbar"> <row disabled="@hidebuttons" class="dialog-footer-toolbar">
<hbox> <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="Edit" id="button[edit]" class="button_edit" onclick="window.open(egw::link('/index.php','menuaction=addressbook.addressbook_ui.edit&amp;contact_id=$cont[id]'),'_blank','dependent=yes,width=900,height=560,scrollbars=yes,status=yes'); return false;" image="edit" background_image="1" />
<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 label="Copy" id="button[copy]" class="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=900,height=560,scrollbars=yes,status=yes'); return false;" image="copy" background_image="1"/>
<button statustext="download this contact as vCard file" label="vCard" id="button[vcard]"/> <button statustext="download this contact as vCard file" label="vCard" id="button[vcard]" image="vcard" background_image="1"/>
<button accesskey="s" label="Save" id="button[save]"/> <button accesskey="s" label="Save" id="button[save]" class="button_save" image="save" background_image="1"/>
<button label="Apply" id="button[apply]"/> <button label="Apply" id="button[apply]" class="button_apply" image="apply" background_image="1"/>
<button label="Cancel" id="button[cancel]" onclick="if($cont[view] || false) return true; self.close(); return false;"/> <button label="Cancel" id="button[cancel]" class="button_cancel" onclick="if($cont[view] || false) return true; self.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="left" label="Delete" id="button[delete]" class="button_delete" onclick="return confirm('Are you shure you want to delete this contact?');" tabindex="25" image="delete" background_image="1"/>
</hbox> </hbox>
<button align="right" label="Delete" id="button[delete]" onclick="return confirm('Are you shure you want to delete this contact?');" tabindex="25"/>
</row> </row>
</rows> </rows>
</grid> </grid>
</template> </template>
</overlay> </overlay>