From 9f1370a6d11ffe63ad4bc610baa7a1ddcf65a322 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. --- apps/contacts/ajax/saveproperty.php | 4 ++-- apps/contacts/dynphoto.php | 2 +- apps/contacts/js/contacts.js | 2 ++ apps/contacts/templates/part.contact.php | 16 ++++------------ 4 files changed, 9 insertions(+), 15 deletions(-) diff --git a/apps/contacts/ajax/saveproperty.php b/apps/contacts/ajax/saveproperty.php index fd1aa9e35f..8f575c6b81 100644 --- a/apps/contacts/ajax/saveproperty.php +++ b/apps/contacts/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/apps/contacts/dynphoto.php b/apps/contacts/dynphoto.php index 8025f559c3..2beac15e14 100644 --- a/apps/contacts/dynphoto.php +++ b/apps/contacts/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/apps/contacts/js/contacts.js b/apps/contacts/js/contacts.js index c2130e08b5..45130dd048 100644 --- a/apps/contacts/js/contacts.js +++ b/apps/contacts/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/apps/contacts/templates/part.contact.php b/apps/contacts/templates/part.contact.php index 0e3611b2e4..1c7b7b9067 100644 --- a/apps/contacts/templates/part.contact.php +++ b/apps/contacts/templates/part.contact.php @@ -21,18 +21,10 @@ $card['ADR'] = (array_key_exists('ADR',$_['details'])) ? $_['details']['ADR'] :