1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2024-12-01 13:24:10 +01:00

Updated copyrights.

Element menu didn't update.
This commit is contained in:
Thomas Tanghus 2012-02-06 08:04:06 +01:00
parent 27963f2983
commit 5356a83219
4 changed files with 9 additions and 15 deletions

View File

@ -2,8 +2,8 @@
/**
* ownCloud - Addressbook
*
* @author Jakob Sack
* @copyright 2011 Jakob Sack mail@jakobsack.de
* @author Thomas Tanghus
* @copyright 2012 Thomas Tanghus <thomas@tanghus.net>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE

View File

@ -3,7 +3,7 @@
* ownCloud - Image generator for contacts.
*
* @author Thomas Tanghus
* @copyright 2011 Thomas Tanghus <thomas@tanghus.net>
* @copyright 2012 Thomas Tanghus <thomas@tanghus.net>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE

View File

@ -310,6 +310,8 @@ Contacts={
$('#contact_identity').find('#org_value').show();
break;
}
} else {
$('#contacts_propertymenu a[data-type="'+props[prop]+'"]').parent().show();
}
}
},

View File

@ -21,18 +21,10 @@ $card['ADR'] = (array_key_exists('ADR',$_['details'])) ? $_['details']['ADR'] :
<div id="actionbar">
<a id="contacts_propertymenu_button"></a>
<ul id="contacts_propertymenu">
<li <?php echo (!is_null($card['PHOTO'])?'style="display:none;"':''); ?>>
<a data-type="PHOTO"><?php echo $l->t('Profile picture'); ?></a>
</li>
<li <?php echo (!is_null($card['ORG'])?'style="display:none;"':''); ?>>
<a data-type="ORG"><?php echo $l->t('Organization'); ?></a>
</li>
<li <?php echo (!is_null($card['NICKNAME'])?'style="display:none;"':''); ?>>
<a data-type="NICKNAME"><?php echo $l->t('Nickname'); ?></a>
</li>
<li <?php echo (!is_null($card['BDAY'])?'style="display:none;"':''); ?>>
<a data-type="BDAY"><?php echo $l->t('Birthday'); ?></a>
</li>
<li><a data-type="PHOTO"><?php echo $l->t('Profile picture'); ?></a></li>
<li><a data-type="ORG"><?php echo $l->t('Organization'); ?></a></li>
<li><a data-type="NICKNAME"><?php echo $l->t('Nickname'); ?></a></li>
<li><a data-type="BDAY"><?php echo $l->t('Birthday'); ?></a></li>
<li><a data-type="TEL"><?php echo $l->t('Phone'); ?></a></li>
<li><a data-type="EMAIL"><?php echo $l->t('Email'); ?></a></li>
<li><a data-type="ADR"><?php echo $l->t('Address'); ?></a></li>