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:
Klaus Weidenbach 2014-06-27 01:30:12 +02:00
parent 253f2cde9f
commit f49b74c5f6
2 changed files with 609 additions and 433 deletions

File diff suppressed because it is too large Load diff

View file

@ -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>