mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-27 07:12:50 +00:00
f49b74c5f6
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)
23 lines
No EOL
756 B
Smarty
23 lines
No EOL
756 B
Smarty
<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> |