diff options
author | Thomas Tanghus <thomas@tanghus.net> | 2012-05-04 16:36:45 +0200 |
---|---|---|
committer | Thomas Tanghus <thomas@tanghus.net> | 2012-05-04 16:36:45 +0200 |
commit | 01da64caf7bd8bcf2ef5653dd47c58017e87637d (patch) | |
tree | 731e40c313b3a83a3b31f949483087f212a7bdb2 /apps/contacts/templates/part.contact.php | |
parent | 248eae2d0ff7227c1df5db5b875f6756c31e579b (diff) | |
download | nextcloud-server-01da64caf7bd8bcf2ef5653dd47c58017e87637d.tar.gz nextcloud-server-01da64caf7bd8bcf2ef5653dd47c58017e87637d.zip |
Contacts: Changed the Add property button to not fixed and use plain button.
Diffstat (limited to 'apps/contacts/templates/part.contact.php')
-rwxr-xr-x | apps/contacts/templates/part.contact.php | 33 |
1 files changed, 17 insertions, 16 deletions
diff --git a/apps/contacts/templates/part.contact.php b/apps/contacts/templates/part.contact.php index a549369059b..4c23dac783b 100755 --- a/apps/contacts/templates/part.contact.php +++ b/apps/contacts/templates/part.contact.php @@ -9,22 +9,8 @@ $id = isset($_['id']) ? $_['id'] : ''; <input id="file_upload_start" type="file" accept="image/*" name="imagefile" /> </form> <div id="actionbar"> - <button title="<?php echo $l->t('Add field'); ?>" class="svg action" id="contacts_propertymenu_button"></button> - <div id="contacts_propertymenu" class="hidden"> - <ul role="menu"> - <li><a role="menuitem" data-type="PHOTO"><?php echo $l->t('Profile picture'); ?></a></li> - <li><a role="menuitem" data-type="ORG"><?php echo $l->t('Organization'); ?></a></li> - <li><a role="menuitem" data-type="NICKNAME"><?php echo $l->t('Nickname'); ?></a></li> - <li><a role="menuitem" data-type="BDAY"><?php echo $l->t('Birthday'); ?></a></li> - <li><a role="menuitem" data-type="TEL"><?php echo $l->t('Phone'); ?></a></li> - <li><a role="menuitem" data-type="EMAIL"><?php echo $l->t('Email'); ?></a></li> - <li><a role="menuitem" data-type="ADR"><?php echo $l->t('Address'); ?></a></li> - <li><a role="menuitem" data-type="NOTE"><?php echo $l->t('Note'); ?></a></li> - <li><a role="menuitem" data-type="CATEGORIES"><?php echo $l->t('Groups'); ?></a></li> - </ul> - </div> - <button class="svg action" id="contacts_downloadcard" title="<?php echo $l->t('Download contact');?>"></button> - <button class="svg action" id="contacts_deletecard" title="<?php echo $l->t('Delete contact');?>"></button> + <button class="svg action" id="contacts_downloadcard" title="<?php echo $l->t('Download contact');?>"></button> + <button class="svg action" id="contacts_deletecard" title="<?php echo $l->t('Delete contact');?>"></button> </div> <div id="contact_photo" class="contactsection"> @@ -111,6 +97,21 @@ $id = isset($_['id']) ? $_['id'] : ''; </form> </div> <!-- contact_note --> + <div id="contacts_propertymenu"> + <button class="button" id="contacts_propertymenu_button"><?php echo $l->t('Add field'); ?></button> + <ul id="contacts_propertymenu_dropdown" role="menu" class="hidden"> + <li><a role="menuitem" data-type="PHOTO"><?php echo $l->t('Profile picture'); ?></a></li> + <li><a role="menuitem" data-type="ORG"><?php echo $l->t('Organization'); ?></a></li> + <li><a role="menuitem" data-type="NICKNAME"><?php echo $l->t('Nickname'); ?></a></li> + <li><a role="menuitem" data-type="BDAY"><?php echo $l->t('Birthday'); ?></a></li> + <li><a role="menuitem" data-type="TEL"><?php echo $l->t('Phone'); ?></a></li> + <li><a role="menuitem" data-type="EMAIL"><?php echo $l->t('Email'); ?></a></li> + <li><a role="menuitem" data-type="ADR"><?php echo $l->t('Address'); ?></a></li> + <li><a role="menuitem" data-type="NOTE"><?php echo $l->t('Note'); ?></a></li> + <li><a role="menuitem" data-type="CATEGORIES"><?php echo $l->t('Groups'); ?></a></li> + </ul> + </div> + </div> <!-- card --> <div id="edit_photo_dialog" title="Edit photo"> <div id="edit_photo_dialog_img"></div> |