mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
calendar icon for addressbook.index to add an appointment for a contact
This commit is contained in:
parent
740f91863b
commit
f3ba8e0a69
@ -338,7 +338,7 @@ class addressbook_ui extends addressbook_bo
|
|||||||
{
|
{
|
||||||
//_debug_array(array('Typefilter:'=> $content['nm']['col_filter']['tid'],'Available Types:'=>$availabletypes,'action:'=>'remove invalid filter'));
|
//_debug_array(array('Typefilter:'=> $content['nm']['col_filter']['tid'],'Available Types:'=>$availabletypes,'action:'=>'remove invalid filter'));
|
||||||
unset($content['nm']['col_filter']['tid']);
|
unset($content['nm']['col_filter']['tid']);
|
||||||
}
|
}
|
||||||
if (!isset($content['nm']['col_filter']['tid'])) $content['nm']['col_filter']['tid'] = $availabletypes[0];
|
if (!isset($content['nm']['col_filter']['tid'])) $content['nm']['col_filter']['tid'] = $availabletypes[0];
|
||||||
if (count($this->content_types) > 1)
|
if (count($this->content_types) > 1)
|
||||||
{
|
{
|
||||||
@ -410,7 +410,7 @@ class addressbook_ui extends addressbook_bo
|
|||||||
namepart = email.substring(0,splitter);
|
namepart = email.substring(0,splitter);
|
||||||
emailpart = email.substring(splitter);
|
emailpart = email.substring(splitter);
|
||||||
email = namepart.replace(/@/g,' ')+emailpart;
|
email = namepart.replace(/@/g,' ')+emailpart;
|
||||||
|
|
||||||
if (document.getElementById('exec[nm][to][cc]').checked == true)
|
if (document.getElementById('exec[nm][to][cc]').checked == true)
|
||||||
{
|
{
|
||||||
to = 'cc';
|
to = 'cc';
|
||||||
@ -1162,6 +1162,7 @@ class addressbook_ui extends addressbook_bo
|
|||||||
|
|
||||||
// disable filemanger icon if user has no access to filemanager
|
// disable filemanger icon if user has no access to filemanager
|
||||||
$readonlys['filemanager/navbar'] = !isset($GLOBALS['egw_info']['user']['apps']['filemanager']);
|
$readonlys['filemanager/navbar'] = !isset($GLOBALS['egw_info']['user']['apps']['filemanager']);
|
||||||
|
$readonlys['calendar'] = !isset($GLOBALS['egw_info']['user']['apps']['calendar']);
|
||||||
|
|
||||||
$rows['order'] = $order;
|
$rows['order'] = $order;
|
||||||
$rows['call_popup'] = $this->config['call_popup'];
|
$rows['call_popup'] = $this->config['call_popup'];
|
||||||
|
@ -22,6 +22,7 @@ add a new contact addressbook de Neuen Kontakt anlegen
|
|||||||
add a new infolog addressbook de Neuen Infolog Eintrag hinzufügen
|
add a new infolog addressbook de Neuen Infolog Eintrag hinzufügen
|
||||||
add a new list addressbook de Neuen Verteiler hinzufügen
|
add a new list addressbook de Neuen Verteiler hinzufügen
|
||||||
add a single entry by passing the fields. addressbook de Hinzufügen eines einzelnen Eintrags durch Übergeben der Felder.
|
add a single entry by passing the fields. addressbook de Hinzufügen eines einzelnen Eintrags durch Übergeben der Felder.
|
||||||
|
add appointment addressbook de Termin hinzufügen
|
||||||
add business email of whole distribution list? addressbook de E-Mail geschäftl. der kompletten Liste hinzufügen?
|
add business email of whole distribution list? addressbook de E-Mail geschäftl. der kompletten Liste hinzufügen?
|
||||||
add custom field addressbook de Benutzerdefiniertes Feld hinzufügen
|
add custom field addressbook de Benutzerdefiniertes Feld hinzufügen
|
||||||
add emails of whole distribution list? addressbook de E-Mails der gesamten Verteilerliste hinzufügen?
|
add emails of whole distribution list? addressbook de E-Mails der gesamten Verteilerliste hinzufügen?
|
||||||
|
@ -22,6 +22,7 @@ add a new contact addressbook en Add a new contact
|
|||||||
add a new infolog addressbook en Add a new Infolog
|
add a new infolog addressbook en Add a new Infolog
|
||||||
add a new list addressbook en Add a new list
|
add a new list addressbook en Add a new list
|
||||||
add a single entry by passing the fields. addressbook en Add a single entry by passing the fields.
|
add a single entry by passing the fields. addressbook en Add a single entry by passing the fields.
|
||||||
|
add appointment addressbook en Add appointment
|
||||||
add business email of whole distribution list? addressbook en Add business email of whole distribution list?
|
add business email of whole distribution list? addressbook en Add business email of whole distribution list?
|
||||||
add custom field addressbook en Add Custom Field
|
add custom field addressbook en Add Custom Field
|
||||||
add emails of whole distribution list? addressbook en Add emails of whole distribution list?
|
add emails of whole distribution list? addressbook en Add emails of whole distribution list?
|
||||||
|
File diff suppressed because one or more lines are too long
@ -6,15 +6,14 @@
|
|||||||
<menupopup rows="1" cols="1" id="org_view" no_lang="1" statustext="Select a view" onchange="1" options="All contacts"/>
|
<menupopup rows="1" cols="1" id="org_view" no_lang="1" statustext="Select a view" onchange="1" options="All contacts"/>
|
||||||
</menulist>
|
</menulist>
|
||||||
</template>
|
</template>
|
||||||
<template id="addressbook.index.right_add" template="" lang="" group="0" version="1.5.001">
|
<template id="addressbook.index.right_add" template="" lang="" group="0" version="1.7.001">
|
||||||
<hbox>
|
<hbox>
|
||||||
<buttononly id="search" label="Advanced search" onclick="window.open(egw::link('/index.php','menuaction=addressbook.addressbook_ui.search'),'_blank','dependent=yes,width=850,height=440,scrollbars=yes,status=yes'); return false;"/>
|
<buttononly id="search" label="Advanced search" onclick="window.open(egw::link('/index.php','menuaction=addressbook.addressbook_ui.search'),'_blank','dependent=yes,width=850,height=440,scrollbars=yes,status=yes'); return false;"/>
|
||||||
<buttononly id="add" label="Add" statustext="Add a new contact" onclick="window.open(egw::link('/index.php','menuaction=addressbook.addressbook_ui.edit'),'_blank','dependent=yes,width=850,height=440,scrollbars=yes,status=yes'); return false;" class="rightPadAdd"/>
|
<buttononly id="add" label="Add" statustext="Add a new contact" onclick="window.open(egw::link('/index.php','menuaction=addressbook.addressbook_ui.edit'),'_blank','dependent=yes,width=850,height=440,scrollbars=yes,status=yes'); return false;" class="rightPadAdd"/>
|
||||||
<description id="manual" class="rightPadAdd"/>
|
|
||||||
</hbox>
|
</hbox>
|
||||||
<styles>.rightPadAdd { width: 30px; }</styles>
|
<styles>.rightPadAdd { width: 30px; }</styles>
|
||||||
</template>
|
</template>
|
||||||
<template id="addressbook.index.rows" template="" lang="" group="0" version="1.7.002">
|
<template id="addressbook.index.rows" template="" lang="" group="0" version="1.9.003">
|
||||||
<grid width="100%">
|
<grid width="100%">
|
||||||
<columns>
|
<columns>
|
||||||
<column/>
|
<column/>
|
||||||
@ -28,14 +27,17 @@
|
|||||||
<column/>
|
<column/>
|
||||||
<column/>
|
<column/>
|
||||||
<column disabled="@no_customfields"/>
|
<column disabled="@no_customfields"/>
|
||||||
|
<column disabled="@no_note"/>
|
||||||
<column disabled="@no_distribution_list"/>
|
<column disabled="@no_distribution_list"/>
|
||||||
<column/>
|
<column/>
|
||||||
<column/>
|
<column/>
|
||||||
|
<column/>
|
||||||
|
<column/>
|
||||||
<column width="75"/>
|
<column width="75"/>
|
||||||
</columns>
|
</columns>
|
||||||
<rows>
|
<rows>
|
||||||
<row class="th">
|
<row class="th">
|
||||||
<description/>
|
<description options="1"/>
|
||||||
<grid spacing="0" padding="0">
|
<grid spacing="0" padding="0">
|
||||||
<columns>
|
<columns>
|
||||||
<column/>
|
<column/>
|
||||||
@ -71,7 +73,7 @@
|
|||||||
<nextmatch-header id="bday" label="Birthday"/>
|
<nextmatch-header id="bday" label="Birthday"/>
|
||||||
<vbox options="0,0">
|
<vbox options="0,0">
|
||||||
<nextmatch-header label="Business address" id="business"/>
|
<nextmatch-header label="Business address" id="business"/>
|
||||||
<nextmatch-customfilter id="adr_one_countryname" options="select-country,Country,1" class="countrySelect"/>
|
<nextmatch-customfilter id="adr_one_countrycode" options="select-country,Country,0,No country selected" class="countrySelect"/>
|
||||||
<nextmatch-sortheader id="adr_one_postalcode" label="zip code"/>
|
<nextmatch-sortheader id="adr_one_postalcode" label="zip code"/>
|
||||||
</vbox>
|
</vbox>
|
||||||
<nextmatch-header label="Home address" id="home"/>
|
<nextmatch-header label="Home address" id="home"/>
|
||||||
@ -87,7 +89,10 @@
|
|||||||
<nextmatch-header id="email_home" label="Home email"/>
|
<nextmatch-header id="email_home" label="Home email"/>
|
||||||
</vbox>
|
</vbox>
|
||||||
<nextmatch-customfields id="customfields"/>
|
<nextmatch-customfields id="customfields"/>
|
||||||
|
<nextmatch-header label="Note" id="note"/>
|
||||||
<nextmatch-header label="Distribution lists" id="distribution_list"/>
|
<nextmatch-header label="Distribution lists" id="distribution_list"/>
|
||||||
|
<nextmatch-header label="Addressbook" id="owner"/>
|
||||||
|
<nextmatch-sortheader label="ID" id="contact_id"/>
|
||||||
<vbox options="0,0">
|
<vbox options="0,0">
|
||||||
<nextmatch-header label="Last date" id="calendar"/>
|
<nextmatch-header label="Last date" id="calendar"/>
|
||||||
<nextmatch-header label="Next date" id="calendar"/>
|
<nextmatch-header label="Next date" id="calendar"/>
|
||||||
@ -118,6 +123,9 @@
|
|||||||
<date id="${row}[bday]" readonly="true" options="Y-m-d"/>
|
<date id="${row}[bday]" readonly="true" options="Y-m-d"/>
|
||||||
<vbox options="0,0">
|
<vbox options="0,0">
|
||||||
<description id="${row}[adr_one_countryname]" no_lang="1"/>
|
<description id="${row}[adr_one_countryname]" no_lang="1"/>
|
||||||
|
<menulist>
|
||||||
|
<menupopup type="select-country" id="${row}[adr_one_countrycode]" readonly="true"/>
|
||||||
|
</menulist>
|
||||||
<hbox options="0,0" orient="0">
|
<hbox options="0,0" orient="0">
|
||||||
<description no_lang="1" id="${row}[adr_one_locality]"/>
|
<description no_lang="1" id="${row}[adr_one_locality]"/>
|
||||||
<description class="leftPad5" no_lang="1" id="${row}[adr_one_region]"/>
|
<description class="leftPad5" no_lang="1" id="${row}[adr_one_region]"/>
|
||||||
@ -128,6 +136,9 @@
|
|||||||
</vbox>
|
</vbox>
|
||||||
<vbox options="0,0">
|
<vbox options="0,0">
|
||||||
<description id="${row}[adr_two_countryname]" no_lang="1"/>
|
<description id="${row}[adr_two_countryname]" no_lang="1"/>
|
||||||
|
<menulist>
|
||||||
|
<menupopup type="select-country" id="${row}[adr_two_countrycode]" readonly="true"/>
|
||||||
|
</menulist>
|
||||||
<hbox options="0,0">
|
<hbox options="0,0">
|
||||||
<description no_lang="1" id="${row}[adr_two_locality]"/>
|
<description no_lang="1" id="${row}[adr_two_locality]"/>
|
||||||
<description no_lang="1" id="${row}[adr_two_region]" class="leftPad5"/>
|
<description no_lang="1" id="${row}[adr_two_region]" class="leftPad5"/>
|
||||||
@ -149,7 +160,12 @@
|
|||||||
<url-email class="fixedHeight" id="${row}[email_home]" readonly="true"/>
|
<url-email class="fixedHeight" id="${row}[email_home]" readonly="true"/>
|
||||||
</vbox>
|
</vbox>
|
||||||
<customfields-list rows="1" cols="1" id="$row" class="customfields"/>
|
<customfields-list rows="1" cols="1" id="$row" class="customfields"/>
|
||||||
|
<textbox multiline="true" no_lang="1" id="${row}[note]" readonly="true"/>
|
||||||
<description id="${row}[distrib_lists]"/>
|
<description id="${row}[distrib_lists]"/>
|
||||||
|
<menulist>
|
||||||
|
<menupopup id="${row}[owner]" readonly="true"/>
|
||||||
|
</menulist>
|
||||||
|
<description class="contactid" id="${row}[id]"/>
|
||||||
<vbox options="0,0">
|
<vbox options="0,0">
|
||||||
<link id="${row}[last_link]"/>
|
<link id="${row}[last_link]"/>
|
||||||
<link id="${row}[next_link]"/>
|
<link id="${row}[next_link]"/>
|
||||||
@ -167,13 +183,14 @@
|
|||||||
<vbox options="0,0" class="noPrint">
|
<vbox options="0,0" class="noPrint">
|
||||||
<hbox options="0">
|
<hbox options="0">
|
||||||
<image options="addressbook.addressbook_ui.view&contact_id=$row_cont[id]" label="View" src="view"/>
|
<image options="addressbook.addressbook_ui.view&contact_id=$row_cont[id]" label="View" src="view"/>
|
||||||
<button image="edit" label="Edit" onclick="window.open(egw::link('/index.php','menuaction=addressbook.addressbook_ui.edit&contact_id=$row_cont[id]'),'_blank','dependent=yes,width=850,height=460,scrollbars=yes,status=yes'); return false;" id="edit[$row_cont[id]]"/>
|
<button image="edit" label="Edit" onclick="window.open(egw::link('/index.php','menuaction=addressbook.addressbook_ui.edit&contact_id=$row_cont[id]'),'_blank','dependent=yes,width=870,height=460,scrollbars=yes,status=yes'); return false;" id="edit[$row_cont[id]]"/>
|
||||||
<button id="delete[$row_cont[id]]" image="delete" label="Delete" statustext="Delete this contact" onclick="return confirm('Delete this contact');"/>
|
<button id="delete[$row_cont[id]]" image="delete" label="Delete" statustext="Delete this contact" onclick="return confirm('Delete this contact');"/>
|
||||||
<checkbox id="checked[]" options="$row_cont[id]" statustext="Select multiple contacts for a further action" align="right"/>
|
<checkbox id="checked[]" options="$row_cont[id]" statustext="Select multiple contacts for a further action" align="right"/>
|
||||||
</hbox>
|
</hbox>
|
||||||
<hbox options="0">
|
<hbox options="0">
|
||||||
<button id="document[$row_cont[id]]" image="new" label="Insert in document"/>
|
<button id="document[$row_cont[id]]" image="etemplate/merge" label="Insert in document" class="image16"/>
|
||||||
<image src="filemanager/navbar" options="/index.php?menuaction=filemanager.filemanager_ui.index&path=/apps/addressbook/$row_cont[id]" class="image16" label="Filemanager"/>
|
<image src="filemanager/navbar" options="/index.php?menuaction=filemanager.filemanager_ui.index&path=/apps/addressbook/$row_cont[id]" class="image16" label="Filemanager"/>
|
||||||
|
<button image="calendar/navbar" label="Add appointment" onclick="window.open(egw::link('/index.php','menuaction=calendar.calendar_uiforms.edit&participants=c$row_cont[id]'),'_blank','dependent=yes,width=750,height=410,scrollbars=yes,status=yes'); return false;" id="calendar" class="image16"/>
|
||||||
</hbox>
|
</hbox>
|
||||||
</vbox>
|
</vbox>
|
||||||
</row>
|
</row>
|
||||||
|
Loading…
Reference in New Issue
Block a user