summaryrefslogtreecommitdiffstats
path: root/apps/contacts/templates/part.contactphoto.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.contactphoto.php
parent31e32e3c10ace169e0d841ff6e4b17d11fe64f1b (diff)
downloadnextcloud-server-e48f511606a1ef64aa39099055dd6ae437f45d03.tar.gz
nextcloud-server-e48f511606a1ef64aa39099055dd6ae437f45d03.zip
port linkto and serverHost
Diffstat (limited to 'apps/contacts/templates/part.contactphoto.php')
-rwxr-xr-x[-rw-r--r--]apps/contacts/templates/part.contactphoto.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/contacts/templates/part.contactphoto.php b/apps/contacts/templates/part.contactphoto.php
index 3c11e4d1582..bddf4cc8a81 100644..100755
--- a/apps/contacts/templates/part.contactphoto.php
+++ b/apps/contacts/templates/part.contactphoto.php
@@ -10,7 +10,7 @@ $rand = isset($_['refresh'])?'&refresh='.rand():'';
<li><a class="svg upload" title="<?php echo $l->t('Upload new photo'); ?>"></a></li>
<li><a class="svg cloud" title="<?php echo $l->t('Select photo from ownCloud'); ?>"></a></li>
</ul>
-<img class="loading" id="contacts_details_photo" <?php echo $wattr; ?> <?php echo $hattr; ?> src="<?php echo OC_Helper::linkToAbsolute('contacts', 'photo.php'); ?>?id=<?php echo $id.$rand; ?>" />
+<img class="loading" id="contacts_details_photo" <?php echo $wattr; ?> <?php echo $hattr; ?> src="<?php echo OCP\Util::linkToAbsolute('contacts', 'photo.php'); ?>?id=<?php echo $id.$rand; ?>" />
<progress id="contacts_details_photo_progress" style="display:none;" value="0" max="100">0 %</progress>