summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap
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 /apps/user_ldap
parent046506dd146f823499098d0d2b0042072e436469 (diff)
downloadnextcloud-server-22898fa1077377f0010470b54d490659245a0931.tar.gz
nextcloud-server-22898fa1077377f0010470b54d490659245a0931.zip
Use proper shortcut methods in templates
Diffstat (limited to 'apps/user_ldap')
-rw-r--r--apps/user_ldap/templates/part.settingcontrols.php4
-rw-r--r--apps/user_ldap/templates/part.wizardcontrols.php4
-rw-r--r--apps/user_ldap/templates/settings.php2
3 files changed, 5 insertions, 5 deletions
diff --git a/apps/user_ldap/templates/part.settingcontrols.php b/apps/user_ldap/templates/part.settingcontrols.php
index fb5deb1897d..4dc57eae6d2 100644
--- a/apps/user_ldap/templates/part.settingcontrols.php
+++ b/apps/user_ldap/templates/part.settingcontrols.php
@@ -2,9 +2,9 @@
<button type="button" class="ldap_action_test_connection" name="ldap_action_test_connection">
<?php p($l->t('Test Configuration'));?>
</button>
- <a href="<?php p(\OC::$server->getURLGenerator()->linkToDocs('admin-ldap')); ?>"
+ <a href="<?php p(link_to_docs('admin-ldap')); ?>"
target="_blank" rel="noreferrer">
- <img src="<?php print_unescaped(OCP\Util::imagePath('', 'actions/info.png')); ?>"
+ <img src="<?php print_unescaped(image_path('', 'actions/info.png')); ?>"
style="height:1.75ex" />
<?php p($l->t('Help'));?>
</a>
diff --git a/apps/user_ldap/templates/part.wizardcontrols.php b/apps/user_ldap/templates/part.wizardcontrols.php
index 19d6de94ebe..4760aa0d8ef 100644
--- a/apps/user_ldap/templates/part.wizardcontrols.php
+++ b/apps/user_ldap/templates/part.wizardcontrols.php
@@ -8,9 +8,9 @@
<button class="ldap_action_continue" name="ldap_action_continue" type="button">
<?php p($l->t('Continue'));?>
</button>
- <a href="<?php p(\OC::$server->getURLGenerator()->linkToDocs('admin-ldap')); ?>"
+ <a href="<?php p(link_to_docs('admin-ldap')); ?>"
target="_blank" rel="noreferrer">
- <img src="<?php print_unescaped(OCP\Util::imagePath('', 'actions/info.png')); ?>"
+ <img src="<?php print_unescaped(image_path('', 'actions/info.png')); ?>"
style="height:1.75ex" />
<span class="ldap_grey"><?php p($l->t('Help'));?></span>
</a>
diff --git a/apps/user_ldap/templates/settings.php b/apps/user_ldap/templates/settings.php
index 23e6d5591a9..bae16691ba0 100644
--- a/apps/user_ldap/templates/settings.php
+++ b/apps/user_ldap/templates/settings.php
@@ -120,5 +120,5 @@ style('user_ldap', 'settings');
</fieldset>
</div>
<!-- Spinner Template -->
- <img class="ldapSpinner hidden" src="<?php p(\OCP\Util::imagePath('core', 'loading.gif')); ?>">
+ <img class="ldapSpinner hidden" src="<?php p(image_path('core', 'loading.gif')); ?>">
</form>