server/settings/templates/help.php

48 lines
1.2 KiB
PHP
Raw Normal View History

<div id="app-navigation">
<ul>
2013-01-14 19:30:28 +00:00
<?php if($_['admin']) { ?>
<li>
<a class="<?php p($_['style1']); ?>"
href="<?php print_unescaped($_['url1']); ?>">
<?php p($l->t('User documentation')); ?>
</a>
</li>
<li>
<a class="<?php p($_['style2']); ?>"
href="<?php print_unescaped($_['url2']); ?>">
<?php p($l->t('Administrator documentation')); ?>
</a>
</li>
2012-12-14 13:41:09 +00:00
<?php } ?>
<li>
<a href="https://docs.nextcloud.org" target="_blank" rel="noreferrer noopener">
<?php p($l->t('Online documentation')); ?>
</a>
</li>
<li>
<a href="https://help.nextcloud.com" target="_blank" rel="noreferrer noopener">
<?php p($l->t('Forum')); ?>
</a>
</li>
2013-01-14 19:30:28 +00:00
<?php if($_['admin']) { ?>
<li>
<a href="https://nextcloud.com/support/" target="_blank" rel="noreferrer noopener">
<?php p($l->t('Getting help')); ?>
</a>
</li>
2012-12-14 13:41:09 +00:00
<?php } ?>
<li>
<a href="https://nextcloud.com/enterprise/" target="_blank" rel="noreferrer noopener">
<?php p($l->t('Commercial support')); ?>
</a>
</li>
</div>
<div id="app-content" class="help-includes">
<iframe src="<?php print_unescaped($_['url']); ?>" class="help-iframe">
</iframe>
</div>