server/settings/templates/help.php
Greta Doci 8507d29752 Add icons to the left sidebar on help.php
Signed-off-by: Greta Doci <gretadoci@gmail.com>
2019-07-04 12:18:16 +02:00

33 lines
919 B
PHP

<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>