summaryrefslogtreecommitdiffstats
path: root/apps/files/templates/appnavigation.php
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-05-19 20:40:55 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2014-05-19 20:40:55 +0200
commitf8cb8f480346fb36ca18258b902a7157265c8ac7 (patch)
tree6445753bb12ad5d050d6397364ddd61c035ad0e8 /apps/files/templates/appnavigation.php
parente1e1009ccc304f6e527c3cc392b510f6d8868533 (diff)
parentb6d2d6329d99c47fa8a01a7a8db7f8f2de6b9f74 (diff)
downloadnextcloud-server-f8cb8f480346fb36ca18258b902a7157265c8ac7.tar.gz
nextcloud-server-f8cb8f480346fb36ca18258b902a7157265c8ac7.zip
Merge branch 'master' into csrf-on-login-and-logout
Conflicts: core/templates/login.php
Diffstat (limited to 'apps/files/templates/appnavigation.php')
-rw-r--r--apps/files/templates/appnavigation.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/apps/files/templates/appnavigation.php b/apps/files/templates/appnavigation.php
new file mode 100644
index 00000000000..86436bbe8c4
--- /dev/null
+++ b/apps/files/templates/appnavigation.php
@@ -0,0 +1,17 @@
+<div id="app-navigation">
+ <ul>
+ <?php foreach ($_['navigationItems'] as $item) { ?>
+ <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>
+ <?php } ?>
+ </ul>
+ <div id="app-settings">
+ <div id="app-settings-header">
+ <button class="settings-button"></button>
+ </div>
+ <div id="app-settings-content">
+ <h2><?php p($l->t('WebDAV'));?></h2>
+ <div><input id="webdavurl" type="text" readonly="readonly" value="<?php p(OC_Helper::linkToRemote('webdav')); ?>"></input></div>
+ <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>
+ </div>
+ </div>
+</div>