summaryrefslogtreecommitdiffstats
path: root/apps/contacts/templates/part.contact.php
diff options
context:
space:
mode:
authorFrank Karlitschek <frank@owncloud.org>2012-05-01 23:19:39 +0200
committerFrank Karlitschek <frank@owncloud.org>2012-05-01 23:19:39 +0200
commite48f511606a1ef64aa39099055dd6ae437f45d03 (patch)
tree6ecbbc9c14cb621845fc12af9412e24d17168397 /apps/contacts/templates/part.contact.php
parent31e32e3c10ace169e0d841ff6e4b17d11fe64f1b (diff)
downloadnextcloud-server-e48f511606a1ef64aa39099055dd6ae437f45d03.tar.gz
nextcloud-server-e48f511606a1ef64aa39099055dd6ae437f45d03.zip
port linkto and serverHost
Diffstat (limited to 'apps/contacts/templates/part.contact.php')
-rwxr-xr-x[-rw-r--r--]apps/contacts/templates/part.contact.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/contacts/templates/part.contact.php b/apps/contacts/templates/part.contact.php
index bbe20143325..5e0607e3192 100644..100755
--- a/apps/contacts/templates/part.contact.php
+++ b/apps/contacts/templates/part.contact.php
@@ -23,7 +23,7 @@ $id = isset($_['id']) ? $_['id'] : '';
<div id="contact_photo" class="contactsection">
- <form class="float" id="file_upload_form" action="<?php echo OC_Helper::linkTo('contacts', 'ajax/uploadphoto.php'); ?>" method="post" enctype="multipart/form-data" target="file_upload_target">
+ <form class="float" id="file_upload_form" action="<?php echo OCP\Util::linkTo('contacts', 'ajax/uploadphoto.php'); ?>" method="post" enctype="multipart/form-data" target="file_upload_target">
<div class="tip propertycontainer" id="contacts_details_photo_wrapper" title="<?php echo $l->t('Click or drop to upload picture'); ?> (max <?php echo $_['uploadMaxHumanFilesize']; ?>)" data-element="PHOTO">
<!-- img style="padding: 1em;" id="contacts_details_photo" alt="Profile picture" src="photo.php?id=<?php echo $_['id']; ?>" / -->
<progress id="contacts_details_photo_progress" style="display:none;" value="0" max="100">0 %</progress>