aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorKlaus Weidenbach <Klaus.Weidenbach@gmx.net>2014-06-27 01:30:12 +0200
committerKlaus Weidenbach <Klaus.Weidenbach@gmx.net>2014-06-29 01:17:06 +0200
commitf49b74c5f6ebe57937fb6dfea7d2e917f4680ce9 (patch)
tree48d2dcb20a2ba91b25e9f8b800ed3fcafedf9245 /view/tpl
parent253f2cde9f7108dcdd3071a9fc15d8c785dea956 (diff)
downloadvolse-hubzilla-f49b74c5f6ebe57937fb6dfea7d2e917f4680ce9.tar.gz
volse-hubzilla-f49b74c5f6ebe57937fb6dfea7d2e917f4680ce9.tar.bz2
volse-hubzilla-f49b74c5f6ebe57937fb6dfea7d2e917f4680ce9.zip
Some documentation for include/reddav.php and a new tpl-file.
Documented include/reddav.php a bit more to understand what it is about to try to clean up some parts. Still a lot to be done here. I put serveral @todo markers that need to be checked. Moved some more HTML to template file. Changed getETag() return format according to documentation. (ETag MUST be surrounded by double-quotes)
Diffstat (limited to 'view/tpl')
-rw-r--r--view/tpl/cloud_actionspanel.tpl23
1 files changed, 23 insertions, 0 deletions
diff --git a/view/tpl/cloud_actionspanel.tpl b/view/tpl/cloud_actionspanel.tpl
new file mode 100644
index 000000000..69931b292
--- /dev/null
+++ b/view/tpl/cloud_actionspanel.tpl
@@ -0,0 +1,23 @@
+<table>
+ <tr>
+ <td><strong>{{$folder_header}}</strong>&nbsp;&nbsp;&nbsp;</td>
+ <td>
+ <form method="post" action="">
+ <input type="hidden" name="sabreAction" value="mkcol">
+ <input type="text" name="name">
+ <input type="submit" value="{{$folder_submit}}">
+ </form>
+ </td>
+ </tr>
+ <tr>
+ <td><strong>{{$upload_header}}</strong>&nbsp;&nbsp;&nbsp;</td>
+ <td>
+ <form method="post" action="" enctype="multipart/form-data">
+ <input type="hidden" name="sabreAction" value="put">
+ <input type="file" name="file" style="display: inline;">
+ <input type="submit" value="{{$upload_submit}}">
+ <!-- Name (optional): <input type="text" name="name"> we should rather provide a rename action in edit form-->
+ </form>
+ </td>
+ </tr>
+</table> \ No newline at end of file