summaryrefslogtreecommitdiffstats
path: root/apps/settings/templates
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2019-10-21 11:15:04 +0200
committerGitHub <noreply@github.com>2019-10-21 11:15:04 +0200
commit7dcf9479556ea5f8df715f0e270b43d55f044fe5 (patch)
treea353679f9a307515a557f38993cda8215977a5e3 /apps/settings/templates
parent2276cb12c42a9373e2b59a508ae1cb6b29efb6f4 (diff)
parenta307bb285ee6f01982dbc7fde05ff34d038cf1d6 (diff)
downloadnextcloud-server-7dcf9479556ea5f8df715f0e270b43d55f044fe5.tar.gz
nextcloud-server-7dcf9479556ea5f8df715f0e270b43d55f044fe5.zip
Merge pull request #17577 from nextcloud/bugfix/noid/about-help
Migrate help to a Controller
Diffstat (limited to 'apps/settings/templates')
-rw-r--r--apps/settings/templates/help.php13
1 files changed, 8 insertions, 5 deletions
diff --git a/apps/settings/templates/help.php b/apps/settings/templates/help.php
index f58fc66f1b2..02e84052ff4 100644
--- a/apps/settings/templates/help.php
+++ b/apps/settings/templates/help.php
@@ -1,15 +1,18 @@
+<?php
+\OC_Util::addStyle( 'settings', "settings" );
+?>
<div id="app-navigation">
<ul>
- <?php if($_['admin']) { ?>
<li>
- <a class="icon-user <?php p($_['style1']); ?>"
- href="<?php print_unescaped($_['url1']); ?> class= "">
+ <a class="icon-user <?php if ($_['mode'] === 'user') { p('active'); } ?>"
+ href="<?php print_unescaped($_['urlUserDocs']); ?>">
<?php p($l->t('User documentation')); ?>
</a>
</li>
+ <?php if($_['admin']) { ?>
<li>
- <a class="icon-user-admin <?php p($_['style2']); ?>"
- href="<?php print_unescaped($_['url2']); ?>">
+ <a class="icon-user-admin <?php if ($_['mode'] === 'admin') { p('active'); } ?>"
+ href="<?php print_unescaped($_['urlAdminDocs']); ?>">
<?php p($l->t('Administrator documentation')); ?>
</a>
</li>