1
0

appnavigation.php 939 B

123456789101112131415161718192021
  1. <div id="app-navigation">
  2. <ul>
  3. <?php foreach ($_['navigationItems'] as $item) { ?>
  4. <li data-id="<?php p($item['id']) ?>" class="nav-<?php p($item['id']) ?>"><a href="<?php p(isset($item['href']) ? $item['href'] : '#') ?>"><?php p($item['name']);?></a></li>
  5. <?php } ?>
  6. </ul>
  7. <div id="app-settings">
  8. <div id="app-settings-header">
  9. <button class="settings-button" data-apps-slide-toggle="#app-settings-content">
  10. <span class="hidden-visually"><?php p($l->t('Settings'));?></span>
  11. </button>
  12. </div>
  13. <div id="app-settings-content">
  14. <h2>
  15. <label for="webdavurl"><?php p($l->t('WebDAV'));?></label>
  16. </h2>
  17. <input id="webdavurl" type="text" readonly="readonly" value="<?php p(\OCP\Util::linkToRemote('webdav')); ?>" />
  18. <em><?php print_unescaped($l->t('Use this address to <a href="%s" target="_blank">access your Files via WebDAV</a>', array(link_to_docs('user-webdav'))));?></em>
  19. </div>
  20. </div>
  21. </div>