parent
6439fdf5b6
commit
e5b11ced4a
@ -1,28 +1,75 @@
|
|||||||
<?php
|
<?php
|
||||||
\OC_Util::addStyle('settings', 'help');
|
\OC_Util::addStyle('settings', 'help');
|
||||||
?>
|
?>
|
||||||
|
<?php if ($_['knowledgebaseEmbedded'] === true) : ?>
|
||||||
|
<div id="app-navigation" role="navigation" tabindex="0">
|
||||||
|
<ul>
|
||||||
|
<li>
|
||||||
|
<a class="icon-user <?php if ($_['mode'] === 'user') {
|
||||||
|
p('active');
|
||||||
|
} ?>" <?php if ($_['mode'] === 'user') { print_unescaped('aria-current="page"'); } ?>
|
||||||
|
href="<?php print_unescaped($_['urlUserDocs']); ?>">
|
||||||
|
<span class="help-list__text">
|
||||||
|
<?php p($l->t('User documentation')); ?>
|
||||||
|
</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<?php if ($_['admin']) { ?>
|
||||||
|
<li>
|
||||||
|
<a class="icon-user-admin <?php if ($_['mode'] === 'admin') {
|
||||||
|
p('active');
|
||||||
|
} ?>" <?php if ($_['mode'] === 'admin') { print_unescaped('aria-current="page"'); } ?>
|
||||||
|
href="<?php print_unescaped($_['urlAdminDocs']); ?>">
|
||||||
|
<span class="help-list__text">
|
||||||
|
<?php p($l->t('Administrator documentation')); ?>
|
||||||
|
</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<?php } ?>
|
||||||
|
|
||||||
<div id="app-content">
|
<li>
|
||||||
<div class="help-wrapper">
|
<a href="https://docs.nextcloud.com" class="icon-category-office" target="_blank" rel="noreferrer noopener">
|
||||||
<div class="help-content">
|
<span class="help-list__text">
|
||||||
<h2 class="help-content__heading">
|
<?php p($l->t('Documentation')); ?> ↗
|
||||||
<?php p($l->t('Nextcloud help overview')); ?>
|
</span>
|
||||||
</h2>
|
</a>
|
||||||
<div class="help-content__body">
|
</li>
|
||||||
<a class="button" target="_blank" rel="noreferrer noopener"
|
<li>
|
||||||
href="<?php print_unescaped($_['urlAdminDocs']); ?>">
|
<a href="https://help.nextcloud.com" class="icon-comment" target="_blank" rel="noreferrer noopener">
|
||||||
<?php p($l->t('Administration documentation')); ?> ↗
|
<span class="help-list__text">
|
||||||
</a>
|
<?php p($l->t('Forum')); ?> ↗
|
||||||
<a class="button" target="_blank" rel="noreferrer noopener"
|
</span>
|
||||||
href="<?php print_unescaped($_['urlUserDocs']); ?>">
|
</a>
|
||||||
<?php p($l->t('Account documentation')); ?> ↗
|
</li>
|
||||||
</a>
|
</div>
|
||||||
<a href="https://docs.nextcloud.com" class="button" target="_blank" rel="noreferrer noopener">
|
|
||||||
<?php p($l->t('General documentation')); ?> ↗
|
<div id="app-content" class="help-includes">
|
||||||
</a>
|
<iframe src="<?php print_unescaped($_['url']); ?>" class="help-iframe" tabindex="0">
|
||||||
<a href="https://help.nextcloud.com" class="button" target="_blank" rel="noreferrer noopener">
|
</iframe>
|
||||||
<?php p($l->t('Forum')); ?> ↗
|
</div>
|
||||||
</a>
|
<?php else: ?>
|
||||||
|
<div id="app-content">
|
||||||
|
<div class="help-wrapper">
|
||||||
|
<div class="help-content">
|
||||||
|
<h2 class="help-content__heading">
|
||||||
|
<?php p($l->t('Nextcloud help overview')); ?>
|
||||||
|
</h2>
|
||||||
|
<div class="help-content__body">
|
||||||
|
<a class="button" target="_blank" rel="noreferrer noopener"
|
||||||
|
href="<?php print_unescaped($_['urlUserDocs']); ?>">
|
||||||
|
<?php p($l->t('Account documentation')); ?> ↗
|
||||||
|
</a>
|
||||||
|
<a class="button" target="_blank" rel="noreferrer noopener"
|
||||||
|
href="<?php print_unescaped($_['urlAdminDocs']); ?>">
|
||||||
|
<?php p($l->t('Administration documentation')); ?> ↗
|
||||||
|
</a>
|
||||||
|
<a href="https://docs.nextcloud.com" class="button" target="_blank" rel="noreferrer noopener">
|
||||||
|
<?php p($l->t('General documentation')); ?> ↗
|
||||||
|
</a>
|
||||||
|
<a href="https://help.nextcloud.com" class="button" target="_blank" rel="noreferrer noopener">
|
||||||
|
<?php p($l->t('Forum')); ?> ↗
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<?php endif; ?>
|
||||||
|
|||||||
@ -0,0 +1,2 @@
|
|||||||
|
Here goes the admin documentation.
|
||||||
|
In the meantime go to <a href="https://nextcloud.com/support/" target="_blank">nextcloud.com/support/</a>
|
||||||
@ -0,0 +1,2 @@
|
|||||||
|
Here goes the user documentation
|
||||||
|
In the meantime go to <a href="https://nextcloud.com/support/" target="_blank">nextcloud.com/support/</a>
|
||||||
Loading…
Reference in New Issue