diff options
Diffstat (limited to 'apps/contacts/templates/index.php')
-rw-r--r-- | apps/contacts/templates/index.php | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/apps/contacts/templates/index.php b/apps/contacts/templates/index.php index 46e85a09d11..6d67584b29e 100644 --- a/apps/contacts/templates/index.php +++ b/apps/contacts/templates/index.php @@ -3,15 +3,16 @@ OC_Util::addScript('contacts','interface'); OC_Util::addStyle('contacts','styles'); ?> +<div id="controls"> + <form> + <input type="button" id="contacts_newcontact" value="<?php echo $l->t('Add Contact'); ?>"> + </form> +</div> <div id="leftcontent" class="leftcontent"> <ul> <?php echo $this->inc("part.contacts"); ?> </ul> - <a id="contacts_newcontact"><?php echo $l->t('Add Contact'); ?></a> </div> <div id="rightcontent" class="rightcontent" data-id="<?php echo $_['id']; ?>"> <?php echo $this->inc("part.details"); ?> </div> -<?php if(count($_['addressbooks']) == 1 ): ?> - <?php echo $l->t('The path to this addressbook is %s', array(((isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') ? 'https' : 'http').'://'.$_SERVER['HTTP_HOST'].OC::$WEBROOT.'/apps/contacts/carddav.php/addressbooks/'.OC_User::getUser().'/'.$_['addressbooks'][0]['uri'])); ?> -<?php endif; ?> |