You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
1.3 KiB
PHP
36 lines
1.3 KiB
PHP
<div id="controls">
|
|
<div id="invite-block" style="display:none">
|
|
<input id="inivite-input" type="text" />
|
|
<ul id="invitee-list"></ul>
|
|
<button id="invite-send"><?php p('Send Invitation') ?></button>
|
|
</div>
|
|
</div>
|
|
<div id="office-content">
|
|
<div id="editing-sessions">
|
|
<?php \OCA\Office\Controller::listSessionsHtml() ?>
|
|
</div>
|
|
<?php if(empty($_['list'])) { ?>
|
|
<div id="emptyfolder"><?php p('No documents are found. Please upload a document into your ownCloud');?></div>
|
|
<?php } else { ?>
|
|
<div id="editor-content">
|
|
<table class="documentslist" >
|
|
<?php foreach($_['list'] as $entry) { ?>
|
|
<tr data-file="<?php p($entry['fileid']) ?>">
|
|
<td width="1">
|
|
<img align="left" src="<?php p(\OCP\Util::linkToAbsolute('office','ajax/thumbnail.php').'?filepath='.\OCP\Util::encodePath($entry['path'])) ?>" />
|
|
</td>
|
|
<!-- <td width="1">
|
|
<img align="left" src="<?php p( \OCP\Util::linkToAbsolute('office','img/office.png')) ?>" />
|
|
</td> -->
|
|
<td width="100%">
|
|
<a target="_blank" href="<?php p(\OCP\Util::linkToRoute('download', array('file' => $entry['path']))) ?>"><?php p($entry['name'])?></a>
|
|
</td>
|
|
<td><?php p(\OCP\Util::formatDate(intval($entry['mtime']))); ?></td>
|
|
<td><?php p(\OCP\Util::humanFileSize($entry['size'])); ?></td>
|
|
</tr>
|
|
<?php } ?>
|
|
</table>
|
|
</div>
|
|
<?php } ?>
|
|
</div>
|