Add to create a new Infolog directly from the Addressbook with multiple

Addresses als Links
This commit is contained in:
Stefan Becker 2008-04-23 08:22:22 +00:00
parent 0cdfc90f61
commit 69ac5df990
5 changed files with 28 additions and 6 deletions

View File

@ -247,6 +247,7 @@ class uicontacts extends bocontacts
'vcard' => lang('Export as VCard'), // ToDo: move this to importexport framework
'merge' => lang('Merge into first or account, deletes all other!'),
'cat_add' => lang('Add or delete Categoies'), // add a categirie to multible addresses
'infolog_add' => lang('Add a new Infolog'),
);
if ($GLOBALS['egw_info']['user']['apps']['infolog'])
{
@ -570,6 +571,10 @@ class uicontacts extends bocontacts
case 'document':
$msg = $this->download_document($checked,$document);
return false;
case 'infolog_add':
$msg = lang('New window opened to edit Infolog for your selection ');
return false;
case 'cat_add':
foreach($checked as $id)

View File

@ -15,6 +15,7 @@ actions addressbook de Befehle
add %1 addressbook de %1 hinzufügen
add a contact to this organisation addressbook de Einen Kontakt zu dieser Organisation hinzufügen
add a new contact addressbook de Neuen Kontakt anlegen
add a new infolog addressbook de Neuen Infolog Eintrag 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 business email of whole distribution list? addressbook de E-Mail geschäftl. der kompletten Liste hinzufügen?
@ -36,6 +37,7 @@ addressbook csv export addressbook de Adressbuch CSV Export
addressbook menu addressbook de Adressbuch Menü
addressbook preferences addressbook de Adressbuch Einstellungen
addressbook the contact should be saved to addressbook de Adressbuch in das der Kontakt gespeichert werden soll
addressbook the contact should be shown addressbook de Adressbuch in dem der Kontakt angezeit werden soll
addressbook-fieldname addressbook de Adressbuch Feldname
addvcard addressbook de VCard hinzufügen
advanced search addressbook de Erweiterte Suche
@ -263,6 +265,7 @@ name for the distribution list addressbook de Name für die Verteilerliste
name of current user, all other contact fields are valid too addressbook de Name des aktuellen Benutzers, auch alle anderen Kontaktfelder sind erlaubt
name, address addressbook de Name, Adresse
new contact submitted by %1 at %2 addressbook de Neuer Kontakt eingetragen von %1 am %2
new window opened to edit infolog for your selection addressbook de Es wird ein neues Fenster zum erstellen des Infolog Eintrags geöffnet
next date addressbook de Nächster Termin
no categories selected addressbook de keine Kategorien ausgewählt
no vcard addressbook de Keine VCard
@ -340,9 +343,11 @@ thank you for contacting us. addressbook de Danke das Sie uns kontaktierten.
that field name has been used already ! addressbook de Dieser Feldname wird bereits benutzt!
the anonymous user has probably no add rights for this addressbook. addressbook de Der anonyme Benutzer hat vermutlich keine Hinzufügen Rechte für diese Adressbuch.
the anonymous user needs add rights for it! addressbook de Der anonyme Benutzer benötigt Hinzufügen Rechte dafür!
the anonymous user needs read it! addressbook de Der Anonymous Benutzer muss dies lesen können
the document can contain placeholder like $$n_fn$$, to be replaced with the contact data (%1full list of placeholder names%2). addressbook de Das Dokument kann Platzhalter wie $$n_fn$$ enthalten, die mit den Kontaktdaten ersetzt werden (%1komplette Liste der Platzhalter%2).
there was an error saving your data :-( addressbook de Beim Speichern ihrer Daten ist ein Fehler aufgetreten :-(
this module displays a contactform, that stores direct into the addressbook. addressbook de Diese Module ist ein Kontaktformular, das direkt in das Adressbuch speichert.
this module displays block from a adddressbook group. addressbook de Dieses Modul zeigt einen Block vom Adressbuch an.
this person's first name was not in the address book. addressbook de Der Vorname dieser Person ist nicht im Adressbuch.
this person's last name was not in the address book. addressbook de Der Nachname dieser Person ist nicht im Adressbuch.
timezone addressbook de Zeitzone
@ -357,6 +362,7 @@ updated addressbook de Aktualisiert
upload or delete the photo addressbook de Foto hochladen oder löschen
url to link telephone numbers to (use %1 = number to call, %u = account name, %t = account phone) admin de URL mit denen Telefonnummern verlinkt werden sollen (verwenden Sie %1 = anzurufende Nummer, %u = Benutzernamen, %t = Telefon des Benutzers)
use an extra category tab? addressbook de Separaten Reiter für Kategorien verwenden?
use an extra tab for private custom fields? admin de Soll ein extra Tab für private Benutzerdefinierte Felder benutzt werden?
use country list addressbook de Länderliste benutzen
use setup for a full account-migration admin de für eine komplette Benutzer Migration setup verwenden
used for links and for the own sorting of the list addressbook de wird für Verküpfungen und die eigene Sortierung der Liste benützt

View File

@ -15,6 +15,7 @@ actions addressbook en Actions
add %1 addressbook en Add %1
add a contact to this organisation addressbook en Add a contact to this organisation
add a new contact addressbook en Add a new contact
add a new infolog addressbook en Add a new Infolog
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 business email of whole distribution list? addressbook en Add business email of whole distribution list?
@ -36,6 +37,7 @@ addressbook csv export addressbook en Addressbook CSV export
addressbook menu addressbook en Addressbook menu
addressbook preferences addressbook en Addressbook preferences
addressbook the contact should be saved to addressbook en Addressbook the contact should be saved to
addressbook the contact should be shown addressbook en Addressbook the contact should be shown
addressbook-fieldname addressbook en Addressbook-Fieldname
addvcard addressbook en Add VCard
advanced search addressbook en Advanced search
@ -263,6 +265,7 @@ name for the distribution list addressbook en Name for the distribution list
name of current user, all other contact fields are valid too addressbook en Name of current user, all other contact fields are valid too
name, address addressbook en Name, Address
new contact submitted by %1 at %2 addressbook en New contact submitted by %1 at %2
new window opened to edit infolog for your selection addressbook en New window opened to edit Infolog for your selection
next date addressbook en Next date
no categories selected addressbook en no categories selected
no vcard addressbook en No VCard
@ -340,9 +343,11 @@ thank you for contacting us. addressbook en Thank you for contacting us.
that field name has been used already ! addressbook en That field name has been used already !
the anonymous user has probably no add rights for this addressbook. addressbook en The anonymous user has probably no add rights for this addressbook.
the anonymous user needs add rights for it! addressbook en The anonymous user needs add rights for it!
the anonymous user needs read it! addressbook en The anonymous user needs read it!
the document can contain placeholder like $$n_fn$$, to be replaced with the contact data (%1full list of placeholder names%2). addressbook en The document can contain placeholder like $$n_fn$$, to be replaced with the contact data (%1full list of placeholder names%2).
there was an error saving your data :-( addressbook en There was an error saving your data :-(
this module displays a contactform, that stores direct into the addressbook. addressbook en This module displays a contactform, that stores direct into the addressbook.
this module displays block from a adddressbook group. addressbook en This module displays Block from a Adddressbook Group.
this person's first name was not in the address book. addressbook en This person's first name was not in the address book.
this person's last name was not in the address book. addressbook en This person's last name was not in the address book.
timezone addressbook en Timezone
@ -357,6 +362,7 @@ updated addressbook en Updated
upload or delete the photo addressbook en Upload or delete the photo
url to link telephone numbers to (use %1 = number to call, %u = account name, %t = account phone) admin en URL to link telephone numbers to (use %1 = number to call, %u = account name, %t = account phone)
use an extra category tab? addressbook en Use an extra category tab?
use an extra tab for private custom fields? admin en Use an extra tab for private custom fields?
use country list addressbook en Use Country List
use setup for a full account-migration admin en use setup for a full account-migration
used for links and for the own sorting of the list addressbook en used for links and for the own sorting of the list

File diff suppressed because one or more lines are too long

View File

@ -14,7 +14,7 @@
</hbox>
<styles>.rightPadAdd { width: 30px; }</styles>
</template>
<template id="addressbook.index.rows" template="" lang="" group="0" version="1.5.002">
<template id="addressbook.index.rows" template="" lang="" group="0" version="1.5.003">
<grid width="100%">
<columns>
<column/>
@ -26,6 +26,7 @@
<column/>
<column/>
<column disabled="@no_customfields"/>
<column disabled="@no_distribution_list"/>
<column/>
<column/>
<column width="90"/>
@ -82,6 +83,7 @@
<nextmatch-header id="email_home" label="Home email"/>
</vbox>
<nextmatch-customfields id="customfields"/>
<nextmatch-header label="Distribution lists" id="distribution_list"/>
<vbox options="0,0">
<nextmatch-header label="Last date" id="calendar"/>
<nextmatch-header label="Next date" id="calendar"/>
@ -141,6 +143,7 @@
<description options=",@${row}[email_home_link],,,_blank,$row_cont[email_home_popup]" class="fixedHeight" id="${row}[email_home]" no_lang="1"/>
</vbox>
<customfields-list rows="1" cols="1" id="$row" class="customfields"/>
<description id="${row}[distrib_lists]"/>
<vbox options="0,0">
<link id="${row}[last_link]"/>
<link id="${row}[next_link]"/>
@ -166,7 +169,7 @@
</rows>
</grid>
</template>
<template id="addressbook.index" template="" lang="" group="0" version="1.3.001">
<template id="addressbook.index" template="" lang="" group="0" version="1.5.002">
<grid width="100%">
<columns>
<column/>
@ -189,7 +192,7 @@
<hbox align="right">
<checkbox id="use_all" label="whole query" onchange="if (this.checked==true &amp;&amp; !confirm('Apply the action on the whole query, NOT only the shown contacts!!!')) this.checked=false;" statustext="Apply the action on the whole query, NOT only the shown contacts!!!"/>
<menulist>
<menupopup onchange="if (this.value != '') { this.form.submit(); this.value=''; }" options="Select an action or addressbook to move to..." no_lang="1" id="action" statustext="Select an action or addressbook to move to"/>
<menupopup onchange="if (this.value != '') {if (this.value == 'infolog_add') {ids=get_selected(this.form,'[rows][checked][]');win=window.open(egw::link('/index.php','menuaction=infolog.uiinfolog.edit&amp;type=task&amp;action=addressbook&amp;action_id=')+ids,'_blank','width=750,height=550,left=100,top=200'); win.focus();}if (this.value == 'cat_add'){win=window.open(egw::link('/etemplate/process_exec.php','menuaction=addressbook.uicontacts.cat_add'),'_blank','width=300,height=400,left=100,top=200'); win.focus();} else {this.form.submit(); } this.value=''; }" options="Select an action or addressbook to move to..." no_lang="1" id="action" statustext="Select an action or addressbook to move to"/>
</menulist>
<button image="arrow_ltr" label="Check all" id="check_all" statustext="Check all" onclick="toggle_all(this.form,form::name('nm[rows][checked][]')); return false;" needed="1" class="checkAllArrow"/>
</hbox>