Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'apps/settings/templates/help.php')
-rw-r--r--apps/settings/templates/help.php33
1 files changed, 33 insertions, 0 deletions
diff --git a/apps/settings/templates/help.php b/apps/settings/templates/help.php
new file mode 100644
index 00000000000..f58fc66f1b2
--- /dev/null
+++ b/apps/settings/templates/help.php
@@ -0,0 +1,33 @@
+<div id="app-navigation">
+ <ul>
+ <?php if($_['admin']) { ?>
+ <li>
+ <a class="icon-user <?php p($_['style1']); ?>"
+ href="<?php print_unescaped($_['url1']); ?> class= "">
+ <?php p($l->t('User documentation')); ?>
+ </a>
+ </li>
+ <li>
+ <a class="icon-user-admin <?php p($_['style2']); ?>"
+ href="<?php print_unescaped($_['url2']); ?>">
+ <?php p($l->t('Administrator documentation')); ?>
+ </a>
+ </li>
+ <?php } ?>
+
+ <li>
+ <a href="https://docs.nextcloud.com" class="icon-category-office" target="_blank" rel="noreferrer noopener">
+ <?php p($l->t('Documentation')); ?> ↗
+ </a>
+ </li>
+ <li>
+ <a href="https://help.nextcloud.com" class="icon-comment" target="_blank" rel="noreferrer noopener">
+ <?php p($l->t('Forum')); ?> ↗
+ </a>
+ </li>
+</div>
+
+<div id="app-content" class="help-includes">
+ <iframe src="<?php print_unescaped($_['url']); ?>" class="help-iframe">
+ </iframe>
+</div>