summaryrefslogtreecommitdiffstats
path: root/apps/contacts/templates/part.contact.php
diff options
context:
space:
mode:
authorThomas Tanghus <thomas@tanghus.net>2012-04-30 01:48:01 +0200
committerThomas Tanghus <thomas@tanghus.net>2012-04-30 01:48:01 +0200
commit9c520c70a8df5057ab20db8282e8fb63520bde88 (patch)
treed932ed96e9538c093f26f04563ea22cd01deb48d /apps/contacts/templates/part.contact.php
parenta8b6fdd3964724b2ac91ba1d177dcf4f0e7e1a2f (diff)
downloadnextcloud-server-9c520c70a8df5057ab20db8282e8fb63520bde88.tar.gz
nextcloud-server-9c520c70a8df5057ab20db8282e8fb63520bde88.zip
Various file path fixes.
Diffstat (limited to 'apps/contacts/templates/part.contact.php')
-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 a35d38e8867..bbe20143325 100644
--- 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="ajax/uploadphoto.php" method="post" enctype="multipart/form-data" target="file_upload_target">
+ <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">
<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>