From ff18dd34c3c213835e40755e1b789f8daf640e99 Mon Sep 17 00:00:00 2001 From: Thomas Tanghus Date: Mon, 6 Feb 2012 08:04:06 +0100 Subject: [PATCH] Updated copyrights. Element menu didn't update. --- ajax/saveproperty.php | 4 ++-- dynphoto.php | 2 +- js/contacts.js | 2 ++ templates/part.contact.php | 16 ++++------------ 4 files changed, 9 insertions(+), 15 deletions(-) diff --git a/ajax/saveproperty.php b/ajax/saveproperty.php index fd1aa9e3..8f575c6b 100644 --- a/ajax/saveproperty.php +++ b/ajax/saveproperty.php @@ -2,8 +2,8 @@ /** * ownCloud - Addressbook * - * @author Jakob Sack - * @copyright 2011 Jakob Sack mail@jakobsack.de + * @author Thomas Tanghus + * @copyright 2012 Thomas Tanghus * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE diff --git a/dynphoto.php b/dynphoto.php index 8025f559..2beac15e 100644 --- a/dynphoto.php +++ b/dynphoto.php @@ -3,7 +3,7 @@ * ownCloud - Image generator for contacts. * * @author Thomas Tanghus - * @copyright 2011 Thomas Tanghus + * @copyright 2012 Thomas Tanghus * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE diff --git a/js/contacts.js b/js/contacts.js index c2130e08..45130dd0 100644 --- a/js/contacts.js +++ b/js/contacts.js @@ -310,6 +310,8 @@ Contacts={ $('#contact_identity').find('#org_value').show(); break; } + } else { + $('#contacts_propertymenu a[data-type="'+props[prop]+'"]').parent().show(); } } }, diff --git a/templates/part.contact.php b/templates/part.contact.php index 0e3611b2..1c7b7b90 100644 --- a/templates/part.contact.php +++ b/templates/part.contact.php @@ -21,18 +21,10 @@ $card['ADR'] = (array_key_exists('ADR',$_['details'])) ? $_['details']['ADR'] :