server/apps/settings/templates/help.php
Julius Härtl a307bb285e
Move help to controller
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-10-17 11:05:54 +02:00

36 lines
1 KiB
PHP

<?php
\OC_Util::addStyle( 'settings', "settings" );
?>
<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>
<?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>