summaryrefslogtreecommitdiffstats
path: root/core/templates
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2016-04-06 10:18:56 +0200
committerMorris Jobke <hey@morrisjobke.de>2016-04-06 10:25:04 +0200
commit22898fa1077377f0010470b54d490659245a0931 (patch)
tree69fc7764fd950e7fa709acf633880b5bc07d8d1b /core/templates
parent046506dd146f823499098d0d2b0042072e436469 (diff)
downloadnextcloud-server-22898fa1077377f0010470b54d490659245a0931.tar.gz
nextcloud-server-22898fa1077377f0010470b54d490659245a0931.zip
Use proper shortcut methods in templates
Diffstat (limited to 'core/templates')
-rw-r--r--core/templates/login.php2
-rw-r--r--core/templates/lostpassword/resetpassword.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/templates/login.php b/core/templates/login.php
index ef89d227d24..9934d4988d9 100644
--- a/core/templates/login.php
+++ b/core/templates/login.php
@@ -33,7 +33,7 @@ script('core', [
<?php endif; ?>
<div id="message" class="hidden">
<img class="float-spinner" alt=""
- src="<?php p(\OCP\Util::imagePath('core', 'loading-dark.gif'));?>">
+ src="<?php p(image_path('core', 'loading-dark.gif'));?>">
<span id="messageText"></span>
<!-- the following div ensures that the spinner is always inside the #message div -->
<div style="clear: both;"></div>
diff --git a/core/templates/lostpassword/resetpassword.php b/core/templates/lostpassword/resetpassword.php
index 49ced424648..02e82fe6947 100644
--- a/core/templates/lostpassword/resetpassword.php
+++ b/core/templates/lostpassword/resetpassword.php
@@ -34,7 +34,7 @@ script('core', 'lostpassword');
</p>
<input type="submit" id="submit" value="<?php p($l->t('Reset password')); ?>" />
<p class="text-center">
- <img class="hidden" id="float-spinner" src="<?php p(\OCP\Util::imagePath('core', 'loading-dark.gif'));?>"/>
+ <img class="hidden" id="float-spinner" src="<?php p(image_path('core', 'loading-dark.gif'));?>"/>
</p>
</fieldset>
</form>