help.php 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <?php
  2. \OC_Util::addStyle('settings', 'help');
  3. ?>
  4. <div id="app-navigation" role="navigation" tabindex="0">
  5. <ul>
  6. <li>
  7. <a class="icon-user <?php if ($_['mode'] === 'user') {
  8. p('active');
  9. } ?>" <?php if ($_['mode'] === 'user') { print_unescaped('aria-current="page"'); } ?>
  10. href="<?php print_unescaped($_['urlUserDocs']); ?>">
  11. <span class="help-list__text">
  12. <?php p($l->t('User documentation')); ?>
  13. </span>
  14. </a>
  15. </li>
  16. <?php if ($_['admin']) { ?>
  17. <li>
  18. <a class="icon-user-admin <?php if ($_['mode'] === 'admin') {
  19. p('active');
  20. } ?>" <?php if ($_['mode'] === 'admin') { print_unescaped('aria-current="page"'); } ?>
  21. href="<?php print_unescaped($_['urlAdminDocs']); ?>">
  22. <span class="help-list__text">
  23. <?php p($l->t('Administrator documentation')); ?>
  24. </span>
  25. </a>
  26. </li>
  27. <?php } ?>
  28. <li>
  29. <a href="https://docs.nextcloud.com" class="icon-category-office" target="_blank" rel="noreferrer noopener">
  30. <span class="help-list__text">
  31. <?php p($l->t('Documentation')); ?> ↗
  32. </span>
  33. </a>
  34. </li>
  35. <li>
  36. <a href="https://help.nextcloud.com" class="icon-comment" target="_blank" rel="noreferrer noopener">
  37. <span class="help-list__text">
  38. <?php p($l->t('Forum')); ?> ↗
  39. </span>
  40. </a>
  41. </li>
  42. </div>
  43. <div id="app-content" class="help-includes">
  44. <iframe src="<?php print_unescaped($_['url']); ?>" class="help-iframe" tabindex="0">
  45. </iframe>
  46. </div>