mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-24 23:59:39 +01:00
reorganized tabs in addressbook edit
This commit is contained in:
parent
9e5ba08ecb
commit
1c1e2d49b1
@ -209,6 +209,7 @@ class uicontacts extends bocontacts
|
||||
if (count($this->content_types) <= 1)
|
||||
{
|
||||
$content['nm']['col_filter']['tid'] = 'n';
|
||||
$content['nm']['header_right'] = 'addressbook.index.right_add';
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -880,6 +881,8 @@ class uicontacts extends bocontacts
|
||||
*/
|
||||
function edit($content=null)
|
||||
{
|
||||
$tabs = 'general|cats|home|details|links|custom';
|
||||
|
||||
if (!is_object($this->link))
|
||||
{
|
||||
if (!is_object($GLOBALS['egw']->link))
|
||||
@ -1081,7 +1084,10 @@ class uicontacts extends bocontacts
|
||||
{
|
||||
$readonlys[$field] = true;
|
||||
}
|
||||
// for editing the own account (by a non-admin), enable only the fields allowed via the "onw_account_acl"
|
||||
// disable not needed tabs
|
||||
$readonlys[$tabs]['cats'] = !($content['cat_tab'] = $this->config['cat_tab']);
|
||||
$readonlys[$tabs]['custom'] = !$this->customfields;
|
||||
// for editing the own account (by a non-admin), enable only the fields allowed via the "own_account_acl"
|
||||
if (!$content['owner'] && !$this->is_admin($content))
|
||||
{
|
||||
foreach($this->get_fields('supported',$content['id'],$content['owner']) as $field)
|
||||
@ -1448,7 +1454,7 @@ $readonlys['button[vcard]'] = true;
|
||||
}
|
||||
}
|
||||
|
||||
function setFileasOptions(input)
|
||||
function setName(input)
|
||||
{
|
||||
var prefix = document.getElementById("exec[n_prefix]").value;
|
||||
var given = document.getElementById("exec[n_given]").value;
|
||||
@ -1457,6 +1463,15 @@ $readonlys['button[vcard]'] = true;
|
||||
var suffix = document.getElementById("exec[n_suffix]").value;
|
||||
var org = document.getElementById("exec[org_name]").value;
|
||||
|
||||
var name = document.getElementById("exec[n_fn]");
|
||||
|
||||
name.value = "";
|
||||
if (prefix) name.value += prefix+" ";
|
||||
if (given) name.value += given+" ";
|
||||
if (middle) name.value += middle+" ";
|
||||
if (family) name.value += family+" ";
|
||||
if (suffix) name.value += suffix;
|
||||
|
||||
xajax_doXMLHTTP("addressbook.uicontacts.ajax_setFileasOptions",prefix,given,middle,family,suffix,org);
|
||||
}
|
||||
|
||||
|
File diff suppressed because one or more lines are too long
@ -55,6 +55,7 @@ business zip code addressbook de PLZ gesch
|
||||
calendar uri addressbook de Kalender URI
|
||||
can be changed via setup >> configuration admin de Kann über Setup >> Konfiguration geändert werden
|
||||
car phone addressbook de Autotelefon
|
||||
categories, notes, ... addressbook de Kategorien, Notizen, ...
|
||||
cell phone addressbook de Mobiltelefon
|
||||
change all organisation members addressbook de Alle Mitglieder der Organisation ändern
|
||||
charset for the csv export addressbook de Zeichensatz für den CSV Export
|
||||
@ -139,11 +140,13 @@ fieldseparator addressbook de Feldtrenner
|
||||
for read only ldap admin de für nur lesendes LDAP
|
||||
freebusy uri addressbook de Freebusy URI
|
||||
full name addressbook de vollständiger Name
|
||||
general addressbook de Allgemein
|
||||
geo addressbook de GEO
|
||||
global categories addressbook de Globale Kategorien
|
||||
grant addressbook access common de Berechtigungen
|
||||
group %1 addressbook de Gruppe %1
|
||||
home address addressbook de Privatadresse
|
||||
home address, birthday, ... addressbook de Privatadresse, Geburtstag, ...
|
||||
home city addressbook de Stadt privat
|
||||
home country addressbook de Land privat
|
||||
home email addressbook de E-Mail privat
|
||||
@ -191,6 +194,7 @@ modem phone addressbook de Modem
|
||||
more ... addressbook de Mehr ...
|
||||
moved addressbook de verschoben
|
||||
multiple vcard addressbook de Mehrere VCards
|
||||
name, address addressbook de Name, Adresse
|
||||
no vcard addressbook de Keine VCard
|
||||
number addressbook de Nummer
|
||||
number of records to read (%1) addressbook de Anzahl der einzulesenden Datensätze (%1)
|
||||
@ -265,6 +269,7 @@ type addressbook de Typ
|
||||
update a single entry by passing the fields. addressbook de Aktualisiert einen einzelnen Eintrag durch Übergabe seiner Felder.
|
||||
upload or delete the photo addressbook de Foto hochladen oder löschen
|
||||
url to link telephone numbers to (use %1 for the number) admin de URL mit denen Telefonnummern verlinkt werden sollen (%1 für die Nummber verwenden)
|
||||
use an extra category tab? addressbook de Separaten Reiter für Kategorien verwenden?
|
||||
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
|
||||
|
@ -55,6 +55,7 @@ business zip code addressbook en Business Postal Code
|
||||
calendar uri addressbook en Calendar URI
|
||||
can be changed via setup >> configuration admin en Can be changed via Setup >> Configuration
|
||||
car phone addressbook en Car Phone
|
||||
categories, notes, ... addressbook en Categories, Notes, ...
|
||||
cell phone addressbook en Mobile phone
|
||||
change all organisation members addressbook en change all organisation members
|
||||
charset for the csv export addressbook en Charset for the CSV export
|
||||
@ -139,11 +140,13 @@ fieldseparator addressbook en Fieldseparator
|
||||
for read only ldap admin en for read only LDAP
|
||||
freebusy uri addressbook en Freebusy URI
|
||||
full name addressbook en Full Name
|
||||
general addressbook en General
|
||||
geo addressbook en GEO
|
||||
global categories addressbook en Global Categories
|
||||
grant addressbook access common en Grant Addressbook Access
|
||||
group %1 addressbook en Group %1
|
||||
home address addressbook en Home address
|
||||
home address, birthday, ... addressbook en Home address, Birthday, ...
|
||||
home city addressbook en Home City
|
||||
home country addressbook en Home Country
|
||||
home email addressbook en Home EMail
|
||||
@ -191,6 +194,7 @@ modem phone addressbook en Modem Phone
|
||||
more ... addressbook en More ...
|
||||
moved addressbook en moved
|
||||
multiple vcard addressbook en Multiple VCard
|
||||
name, address addressbook en Name, Address
|
||||
no vcard addressbook en No VCard
|
||||
number addressbook en Number
|
||||
number of records to read (%1) addressbook en Number of records to read (%1)
|
||||
@ -265,6 +269,7 @@ type addressbook en Type
|
||||
update a single entry by passing the fields. addressbook en Update a single entry by passing the fields.
|
||||
upload or delete the photo addressbook en Upload or delete the photo
|
||||
url to link telephone numbers to (use %1 for the number) admin en URL to link telephone numbers to (use %1 for the number)
|
||||
use an extra category tab? addressbook en Use an extra category tab?
|
||||
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
|
||||
|
@ -1,3 +1,5 @@
|
||||
.cursorHand { cursor: hand; }
|
||||
.countrySelect select { width: 150px; }
|
||||
.emailCol div { width: 100%; overflow: hidden; }
|
||||
.redItalic { color: red; font-style: italic; }
|
||||
.fixedHeight,.telNumbers { height: 12px; }
|
||||
@ -11,6 +13,7 @@
|
||||
.photo img {
|
||||
width: 60px;
|
||||
min-height: 80px;
|
||||
cursor: hand;
|
||||
}
|
||||
.uploadphoto{
|
||||
position: absolute;
|
||||
@ -23,7 +26,7 @@
|
||||
}
|
||||
.checkAllArrow { padding-right: 5px; }
|
||||
.typeIcon { height: 16px; width: 16px; }
|
||||
.editphones{
|
||||
.editphones,.editname{
|
||||
position: absolute;
|
||||
top: 10%;
|
||||
left: 30%;
|
||||
@ -32,6 +35,10 @@
|
||||
background-color: #ffffff;
|
||||
padding: 4px;
|
||||
}
|
||||
.editname{
|
||||
top: 97px;
|
||||
left: 173px;
|
||||
}
|
||||
.windowheader{
|
||||
background-image:url(../../../phpgwapi/templates/idots/images/appbox-header-background.png);
|
||||
background-repeat:repeat-x;
|
||||
|
@ -32,6 +32,20 @@
|
||||
{hook_own_account_acl}
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="th">
|
||||
<td colspan="2">
|
||||
<b>{lang_General}</b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="row_on">
|
||||
<td> {lang_Use_an_extra_category_tab?}</td>
|
||||
<td>
|
||||
<select name="newsettings[cat_tab]">
|
||||
<option value="">{lang_No}</option>
|
||||
<option value="True"{selected_cat_tab_True}>{lang_Yes}</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="th">
|
||||
<td colspan="2"> <b>{lang_Contact_repository}</b></td>
|
||||
</tr>
|
||||
|
@ -1,7 +1,59 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- $Id$ -->
|
||||
<overlay>
|
||||
<template id="addressbook.edit.personal" template="" lang="" group="0" version="1.3.002">
|
||||
<template id="addressbook.edit.upload" template="" lang="" group="0" version="1.3.004">
|
||||
<grid class="uploadphoto">
|
||||
<columns>
|
||||
<column/>
|
||||
</columns>
|
||||
<rows>
|
||||
<row disabled="!@jpegphoto">
|
||||
<checkbox label="delete" id="delete_photo" statustext="Deletes the photo"/>
|
||||
</row>
|
||||
<row>
|
||||
<file id="upload_photo" class="photo" statustext="Select a portrait format jpeg photo. It will be resized to 60 pixel width."/>
|
||||
</row>
|
||||
<row>
|
||||
<button label="Ok" align="center" onclick="set_style_by_class('table','uploadphoto','display','none'); return false;"/>
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
</template>
|
||||
<template id="addressbook.edit.name" template="" lang="" group="0" version="1.3.004">
|
||||
<grid width="310" height="160" class="editname">
|
||||
<columns>
|
||||
<column width="20%"/>
|
||||
<column/>
|
||||
</columns>
|
||||
<rows>
|
||||
<row>
|
||||
<description options=",,,n_prefix" value="prefix"/>
|
||||
<textbox id="n_prefix" size="35" maxlength="64" onchange="setName(this);"/>
|
||||
</row>
|
||||
<row>
|
||||
<description value="first name" options=",,,n_given"/>
|
||||
<textbox id="n_given" size="35" maxlength="64" onchange="setName(this);"/>
|
||||
</row>
|
||||
<row>
|
||||
<description options=",,,n_middle" value="middle name"/>
|
||||
<textbox id="n_middle" size="35" maxlength="64" onchange="setName(this);"/>
|
||||
</row>
|
||||
<row>
|
||||
<description options=",,,n_family" value="last name"/>
|
||||
<textbox id="n_family" size="35" maxlength="64" onchange="setName(this);"/>
|
||||
</row>
|
||||
<row>
|
||||
<description options=",,,n_suffix" value="suffix"/>
|
||||
<textbox id="n_suffix" size="35" maxlength="64" onchange="setName(this);"/>
|
||||
</row>
|
||||
<row>
|
||||
<description/>
|
||||
<button label="Ok" onclick="set_style_by_class('table','editname','display','none'); document.getElementById(form::name('title')).focus(); return false;"/>
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
</template>
|
||||
<template id="addressbook.edit.general" template="" lang="" group="0" version="1.3.004">
|
||||
<grid height="258">
|
||||
<columns>
|
||||
<column/>
|
||||
@ -12,52 +64,78 @@
|
||||
<row valign="top">
|
||||
<image src="accounts"/>
|
||||
<vbox>
|
||||
<image src="photo" class="photo"/>
|
||||
<button label="change" id="change_photo" statustext="Upload or delete the photo" onclick="set_style_by_class('table','uploadphoto','display','inline'); return false;"/>
|
||||
<template id="addressbook.edit"/>
|
||||
<image src="photo" class="photo" onclick="set_style_by_class('table','uploadphoto','display','inline'); return false;"/>
|
||||
<template id="addressbook.edit.upload"/>
|
||||
</vbox>
|
||||
<grid>
|
||||
<columns>
|
||||
<column width="20%"/>
|
||||
<column/>
|
||||
<column/>
|
||||
<column/>
|
||||
</columns>
|
||||
<rows>
|
||||
<row>
|
||||
<description options=",,,n_prefix" value="prefix"/>
|
||||
<textbox id="n_prefix" size="35" maxlength="64" onchange="setFileasOptions(this);"/>
|
||||
<description value="Name"/>
|
||||
<textbox rows="1" cols="3" id="n_fn" no_lang="1" onclick="set_style_by_class('table','editname','display','inline');" size="36" span="2" class="cursorHand"/>
|
||||
</row>
|
||||
<row>
|
||||
<description value="first name" options=",,,n_given"/>
|
||||
<textbox id="n_given" size="35" maxlength="64" onchange="setFileasOptions(this);"/>
|
||||
<description/>
|
||||
<template id="addressbook.edit.name"/>
|
||||
<description/>
|
||||
</row>
|
||||
<row>
|
||||
<description options=",,,n_middle" value="middle name"/>
|
||||
<textbox id="n_middle" size="35" maxlength="64" onchange="setFileasOptions(this);"/>
|
||||
<description options=",,,title" value="Title"/>
|
||||
<textbox size="36" maxlength="64" id="title" span="2"/>
|
||||
</row>
|
||||
<row>
|
||||
<description options=",,,n_family" value="last name"/>
|
||||
<textbox id="n_family" size="35" maxlength="64" onchange="setFileasOptions(this);"/>
|
||||
</row>
|
||||
<row>
|
||||
<description options=",,,n_suffix" value="suffix"/>
|
||||
<textbox id="n_suffix" size="35" maxlength="64" onchange="setFileasOptions(this);"/>
|
||||
<description options=",,,role" value="Role"/>
|
||||
<textbox size="20" maxlength="64" id="role"/>
|
||||
<textbox size="5" label="Room" id="room"/>
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
</row>
|
||||
<row height="28">
|
||||
<row>
|
||||
<image src="home"/>
|
||||
<description value="organisation" options=",,,org_name"/>
|
||||
<textbox size="45" maxlength="64" id="org_name" onchange="setFileasOptions(this);"/>
|
||||
</row>
|
||||
<row valign="top" height="70">
|
||||
<image src="folder"/>
|
||||
<description value="category"/>
|
||||
<listbox type="select-cat" id="cat_id" rows="3" options=",width:99%" span="4"/>
|
||||
<description value="Organisation"/>
|
||||
<textbox id="org_name" size="45" maxlength="64" onchange="setName(this);"/>
|
||||
</row>
|
||||
<row>
|
||||
<description/>
|
||||
<description value="department" options=",,,org_unit"/>
|
||||
<textbox id="org_unit" size="45" maxlength="64"/>
|
||||
</row>
|
||||
<row>
|
||||
<image src="gohome"/>
|
||||
<description value="street" options=",,,adr_one_street"/>
|
||||
<textbox size="45" maxlength="64" id="adr_one_street"/>
|
||||
</row>
|
||||
<row>
|
||||
<description/>
|
||||
<description/>
|
||||
<textbox size="45" maxlength="64" id="adr_one_street2" statustext="address line 2"/>
|
||||
</row>
|
||||
<row>
|
||||
<description/>
|
||||
<description value="city" options=",,,adr_one_locality"/>
|
||||
<hbox options="0,0">
|
||||
<textbox size="5" maxlength="64" id="adr_one_postalcode" statustext="ZIP Code"/>
|
||||
<textbox size="35" maxlength="64" id="adr_one_locality" statustext="City" class="leftPad5"/>
|
||||
</hbox>
|
||||
</row>
|
||||
<row>
|
||||
<description/>
|
||||
<description value="country" options=",,,adr_one_countryname"/>
|
||||
<hbox options="0,0">
|
||||
<menulist class="countrySelect">
|
||||
<menupopup type="select-country" options="Select one,1" id="adr_one_countryname"/>
|
||||
</menulist>
|
||||
<textbox class="leftPad5" size="19" maxlength="64" id="adr_one_region" statustext="State"/>
|
||||
</hbox>
|
||||
</row>
|
||||
<row valign="bottom" height="25">
|
||||
<image src="private.png"/>
|
||||
<description value="Addressbook" options=",,,owner"/>
|
||||
<description value="Addressbook"/>
|
||||
<menulist class="owner">
|
||||
<menupopup id="owner" statustext="Addressbook the contact should be saved to" no_lang="1"/>
|
||||
</menulist>
|
||||
@ -65,78 +143,18 @@
|
||||
</rows>
|
||||
</grid>
|
||||
</template>
|
||||
<template id="addressbook.edit.organisation" template="" lang="" group="0" version="1.3.002">
|
||||
<grid height="258">
|
||||
<template id="addressbook.edit.cats" template="" lang="" group="0" version="1.3.004">
|
||||
<grid width="100%" height="258" overflow="auto">
|
||||
<columns>
|
||||
<column/>
|
||||
<column/>
|
||||
<column/>
|
||||
<column/>
|
||||
</columns>
|
||||
<rows>
|
||||
<row>
|
||||
<image src="gear"/>
|
||||
<description value="title" options=",,,title"/>
|
||||
<textbox size="45" maxlength="64" id="title"/>
|
||||
<description/>
|
||||
</row>
|
||||
<row>
|
||||
<description/>
|
||||
<description options=",,,role" value="Role"/>
|
||||
<hbox options="0,0">
|
||||
<textbox id="role" size="25" maxlength="64"/>
|
||||
<textbox size="8" maxlength="64" label="Room" align="right" id="room"/>
|
||||
</hbox>
|
||||
<description/>
|
||||
</row>
|
||||
<row valign="bottom" height="30">
|
||||
<image src="home"/>
|
||||
<description value="department" options=",,,org_unit"/>
|
||||
<textbox id="org_unit" size="45" maxlength="64"/>
|
||||
<description/>
|
||||
</row>
|
||||
<row>
|
||||
<image src="gohome"/>
|
||||
<description value="street" options=",,,adr_one_street"/>
|
||||
<textbox size="45" maxlength="64" id="adr_one_street"/>
|
||||
<description/>
|
||||
</row>
|
||||
<row>
|
||||
<description/>
|
||||
<description value="address line 2" options=",,,adr_one_street2"/>
|
||||
<textbox size="45" maxlength="64" id="adr_one_street2"/>
|
||||
<description/>
|
||||
</row>
|
||||
<row>
|
||||
<description/>
|
||||
<description value="city" options=",,,adr_one_locality"/>
|
||||
<textbox size="45" maxlength="64" id="adr_one_locality"/>
|
||||
<description/>
|
||||
</row>
|
||||
<row>
|
||||
<description/>
|
||||
<description value="zip code" options=",,,adr_one_postalcode"/>
|
||||
<textbox size="45" maxlength="64" id="adr_one_postalcode"/>
|
||||
<description/>
|
||||
</row>
|
||||
<row>
|
||||
<description/>
|
||||
<description value="state" options=",,,adr_one_region"/>
|
||||
<textbox size="45" maxlength="64" id="adr_one_region"/>
|
||||
<description/>
|
||||
</row>
|
||||
<row>
|
||||
<description/>
|
||||
<description value="country" options=",,,adr_one_countryname"/>
|
||||
<menulist class="fullWidth">
|
||||
<menupopup type="select-country" options="Select one,1" id="adr_one_countryname"/>
|
||||
</menulist>
|
||||
<description/>
|
||||
</row>
|
||||
<row disabled="@disable_change_org">
|
||||
<image src="check"/>
|
||||
<description/>
|
||||
<checkbox label="change all organisation members" id="change_org" span="all" statustext="Apply changes to all members, whose fields have the same previous content"/>
|
||||
<row valign="top">
|
||||
<image src="folder"/>
|
||||
<description value="Categories"/>
|
||||
<listbox type="select-cat" id="cat_id" rows="13" options=",width:99%"/>
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
@ -156,30 +174,26 @@
|
||||
</row>
|
||||
<row>
|
||||
<description/>
|
||||
<description options=",,,adr_two_street2" value="address line 2"/>
|
||||
<textbox size="45" maxlength="64" id="adr_two_street2"/>
|
||||
<description options=",,,adr_two_street2"/>
|
||||
<textbox size="45" maxlength="64" id="adr_two_street2" statustext="address line 2"/>
|
||||
</row>
|
||||
<row>
|
||||
<description/>
|
||||
<description value="city" options=",,,adr_two_locality"/>
|
||||
<textbox size="45" maxlength="64" id="adr_two_locality"/>
|
||||
</row>
|
||||
<row>
|
||||
<description/>
|
||||
<description value="zip code" options=",,,adr_two_postalcode"/>
|
||||
<textbox size="45" maxlength="64" id="adr_two_postalcode"/>
|
||||
</row>
|
||||
<row>
|
||||
<description/>
|
||||
<description value="state" options=",,,adr_two_region"/>
|
||||
<textbox size="45" maxlength="64" id="adr_two_region"/>
|
||||
<hbox options="0,0">
|
||||
<textbox size="5" maxlength="64" id="adr_two_postalcode" statustext="ZIP Code"/>
|
||||
<textbox size="35" maxlength="64" id="adr_two_locality" statustext="City" class="leftPad5"/>
|
||||
</hbox>
|
||||
</row>
|
||||
<row>
|
||||
<description/>
|
||||
<description value="country" options=",,,adr_two_countryname"/>
|
||||
<menulist class="fullWidth">
|
||||
<menupopup type="select-country" options="Select one,1" id="adr_two_countryname"/>
|
||||
</menulist>
|
||||
<hbox options="0,0">
|
||||
<menulist class="countrySelect">
|
||||
<menupopup type="select-country" options="Select one,1" id="adr_two_countryname"/>
|
||||
</menulist>
|
||||
<textbox class="leftPad5" size="19" maxlength="64" id="adr_two_region" statustext="State"/>
|
||||
</hbox>
|
||||
</row>
|
||||
<row height="30">
|
||||
<image src="gear"/>
|
||||
@ -191,31 +205,53 @@
|
||||
</menulist>
|
||||
</hbox>
|
||||
</row>
|
||||
<row>
|
||||
<row valign="top">
|
||||
<image src="private.png"/>
|
||||
<description value="Public key" options=",,,pubkey"/>
|
||||
<textbox multiline="true" rows="2" cols="40" id="pubkey"/>
|
||||
<textbox multiline="true" rows="4" cols="40" id="pubkey"/>
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
</template>
|
||||
<template id="addressbook.edit.details" template="" lang="" group="0" version="1.3.001">
|
||||
<template id="addressbook.edit.details" template="" lang="" group="0" version="1.3.004">
|
||||
<grid width="100%" height="258" overflow="auto">
|
||||
<columns>
|
||||
<column/>
|
||||
<column/>
|
||||
<column/>
|
||||
</columns>
|
||||
<rows>
|
||||
<row>
|
||||
<description value="Notes" options=",,,note"/>
|
||||
<row valign="top" disabled="@cat_tab">
|
||||
<image src="folder"/>
|
||||
<description value="Categories"/>
|
||||
<listbox type="select-cat" id="cat_id" rows="3" options=",width:99%"/>
|
||||
</row>
|
||||
<row valign="top">
|
||||
<textbox multiline="true" rows="4" cols="50" id="note"/>
|
||||
<image src="edit"/>
|
||||
<description value="Notes"/>
|
||||
<textbox multiline="true" rows="6" cols="50" id="note"/>
|
||||
</row>
|
||||
<row class="th">
|
||||
<description value="Custom fields"/>
|
||||
<row valign="top">
|
||||
<image src="gear"/>
|
||||
<menulist>
|
||||
<menupopup type="select-account" readonly="true" label="Created"/>
|
||||
</menulist>
|
||||
<hbox readonly="true" options="0,0">
|
||||
<menulist>
|
||||
<menupopup type="select-account" id="creator" readonly="true"/>
|
||||
</menulist>
|
||||
<date-time id="created" class="leftPad5" readonly="true"/>
|
||||
</hbox>
|
||||
</row>
|
||||
<row valign="top" height="100%">
|
||||
<customfields id="customfields"/>
|
||||
<row>
|
||||
<description/>
|
||||
<description value="Last modified"/>
|
||||
<hbox readonly="true" options="0,0">
|
||||
<menulist>
|
||||
<menupopup type="select-account" id="modifier" readonly="true"/>
|
||||
</menulist>
|
||||
<date-time id="modified" class="leftPad5" readonly="true"/>
|
||||
</hbox>
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
@ -226,7 +262,7 @@
|
||||
<column/>
|
||||
</columns>
|
||||
<rows>
|
||||
<row disabled="@view">
|
||||
<row class="th" disabled="@view">
|
||||
<description value="Create new links"/>
|
||||
</row>
|
||||
<row>
|
||||
@ -241,6 +277,21 @@
|
||||
</rows>
|
||||
</grid>
|
||||
</template>
|
||||
<template id="addressbook.edit.custom" template="" lang="" group="0" version="1.3.004">
|
||||
<grid width="100%" height="258" class="row_on" spacing="0" padding="0" overflow="auto">
|
||||
<columns>
|
||||
<column/>
|
||||
</columns>
|
||||
<rows>
|
||||
<row class="th" height="20">
|
||||
<description value="Custom fields"/>
|
||||
</row>
|
||||
<row height="100%">
|
||||
<customfields id="customfields"/>
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
</template>
|
||||
<template id="addressbook.editphones" template="" lang="" group="0" version="1.3.002">
|
||||
<grid class="editphones">
|
||||
<columns>
|
||||
@ -328,7 +379,7 @@
|
||||
</rows>
|
||||
</grid>
|
||||
</template>
|
||||
<template id="addressbook.edit" template="" lang="" group="0" version="1.3.003">
|
||||
<template id="addressbook.edit" template="" lang="" group="0" version="1.3.004">
|
||||
<grid>
|
||||
<columns>
|
||||
<column width="450"/>
|
||||
@ -341,7 +392,7 @@
|
||||
</row>
|
||||
<row>
|
||||
<menulist class="fileas">
|
||||
<menupopup data="" rows="1" cols="3" id="fileas_type" no_lang="1"/>
|
||||
<menupopup rows="1" cols="3" id="fileas_type" no_lang="1" blur="Name" statustext="own sorting"/>
|
||||
</menulist>
|
||||
<grid>
|
||||
<columns>
|
||||
@ -361,18 +412,20 @@
|
||||
<row valign="top">
|
||||
<tabbox>
|
||||
<tabs>
|
||||
<tab label="Personal" statustext=""/>
|
||||
<tab label="Organisation" statustext=""/>
|
||||
<tab label="Private" statustext=""/>
|
||||
<tab label="Details" statustext=""/>
|
||||
<tab label="Links" statustext=""/>
|
||||
<tab label="General" statustext="Name, Address"/>
|
||||
<tab label="Categories" statustext="Categories"/>
|
||||
<tab label="Private" statustext="Home address, Birthday, ..."/>
|
||||
<tab label="Details" statustext="Categories, Notes, ..."/>
|
||||
<tab label="Links" statustext="Links"/>
|
||||
<tab label="Extra" statustext="Custom fields"/>
|
||||
</tabs>
|
||||
<tabpanels>
|
||||
<template id="addressbook.edit.personal"/>
|
||||
<template id="addressbook.edit.organisation"/>
|
||||
<template id="addressbook.edit.general"/>
|
||||
<template id="addressbook.edit.cats"/>
|
||||
<template id="addressbook.edit.home"/>
|
||||
<template id="addressbook.edit.details"/>
|
||||
<template id="addressbook.edit.links"/>
|
||||
<template id="addressbook.edit.custom"/>
|
||||
</tabpanels>
|
||||
</tabbox>
|
||||
<vbox>
|
||||
@ -448,21 +501,6 @@
|
||||
</groupbox>
|
||||
</vbox>
|
||||
</row>
|
||||
<row>
|
||||
<hbox options="0,0">
|
||||
<menulist class="leftPad5">
|
||||
<menupopup type="select-account" id="creator" readonly="true" label="Created"/>
|
||||
</menulist>
|
||||
<date-time id="created" class="leftPad5" readonly="true"/>
|
||||
</hbox>
|
||||
<hbox align="right">
|
||||
<description value="Last modified"/>
|
||||
<menulist>
|
||||
<menupopup type="select-account" id="modifier" readonly="true"/>
|
||||
</menulist>
|
||||
<date-time id="modified" readonly="true"/>
|
||||
</hbox>
|
||||
</row>
|
||||
<row disabled="@hidebuttons">
|
||||
<hbox>
|
||||
<button label="Edit" id="button[edit]" onclick="window.open(egw::link('/index.php','menuaction=addressbook.uicontacts.edit&contact_id=$cont[id]'),'_blank','dependent=yes,width=850,height=440,scrollbars=yes,status=yes'); return false;"/>
|
||||
|
Loading…
Reference in New Issue
Block a user