diff options
author | kondou <kondou@ts.unde.re> | 2013-08-18 22:10:23 +0200 |
---|---|---|
committer | kondou <kondou@ts.unde.re> | 2013-08-25 21:06:01 +0200 |
commit | 0a4febf1eba98366d70331512b02aa9e515a782d (patch) | |
tree | 08ae4295774e4097576bee687f340ca95960f3e6 /settings/templates | |
parent | 4a9c89fb3323e26fb88559e658136af4bbc7a3c8 (diff) | |
download | nextcloud-server-0a4febf1eba98366d70331512b02aa9e515a782d.tar.gz nextcloud-server-0a4febf1eba98366d70331512b02aa9e515a782d.zip |
Integrate newavatar.php into avatar.php by using GET, POST & DELETE
Diffstat (limited to 'settings/templates')
-rw-r--r-- | settings/templates/personal.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/templates/personal.php b/settings/templates/personal.php index 8d0667f9564..7832c79894b 100644 --- a/settings/templates/personal.php +++ b/settings/templates/personal.php @@ -84,7 +84,7 @@ if($_['passwordChangeSupported']) { ?> <?php if ($_['avatar'] !== "none"): ?> -<form id="avatar" method="post" action="<?php p(\OC_Helper::linkToRoute('settings_ajax_newavatar')); ?>"> +<form id="avatar" method="post" action="<?php p(\OC_Helper::linkTo('', 'avatar.php')); ?>"> <fieldset class="personalblock"> <legend><strong><?php p($l->t('Profile Image')); ?></strong></legend> <img src="<?php print_unescaped(link_to('', 'avatar.php').'?user='.OC_User::getUser().'&size=128'); ?>"><br> |