nextcloud/apps/settings/templates/help.php

41 lines
1.0 KiB
PHP
Raw Permalink Normal View History

<?php
\OC_Util::addStyle('settings', 'help');
?>
<div id="app-navigation">
<ul>
<li>
<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 if ($_['mode'] === 'admin') {
p('active');
} ?>"
href="<?php print_unescaped($_['urlAdminDocs']); ?>">
<?php p($l->t('Administrator documentation')); ?>
</a>
</li>
2012-12-14 17:41:09 +04:00
<?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>