mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 04:15:12 +00:00
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)
This commit is contained in:
parent
253f2cde9f
commit
f49b74c5f6
2 changed files with 609 additions and 433 deletions
1019
include/reddav.php
1019
include/reddav.php
File diff suppressed because it is too large
Load diff
23
view/tpl/cloud_actionspanel.tpl
Normal file
23
view/tpl/cloud_actionspanel.tpl
Normal file
|
@ -0,0 +1,23 @@
|
|||
<table>
|
||||
<tr>
|
||||
<td><strong>{{$folder_header}}</strong> </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> </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>
|
Loading…
Reference in a new issue