Skip to content
Snippets Groups Projects
Commit bcd86bfd authored by Lukas Reschke's avatar Lukas Reschke
Browse files

Remove some empty lines

parent 726be04e
Branches
No related tags found
No related merge requests found
<?php <?php
// show toolbar // show toolbar
echo('<div id="controls"> echo('<div id="controls">
<a href="'.\OCP\Util::linkToAbsolute('impress','documentation.php').'" class="button docu">'.$l->t('Documentation').'</a> <a href="'.\OCP\Util::linkToAbsolute('impress','documentation.php').'" class="button docu">'.$l->t('Documentation').'</a>
</div> </div>
'); ');
if(empty($_['list'])) { if(empty($_['list'])) {
echo('<div id="emptyfolder">No Impress files are found in your ownCloud. Please upload a .impress file.</div>'); echo('<div id="emptyfolder">No Impress files are found in your ownCloud. Please upload a .impress file.</div>');
} else { } else {
echo('<table class="impresslist" >'); echo('<table class="impresslist" >');
foreach($_['list'] as $entry) { foreach($_['list'] as $entry) {
echo('<tr><td width="1"><a target="_blank" href="'.\OCP\Util::linkToAbsolute('impress','player.php').'&file='.urlencode($entry['url']).'&name='.urlencode($entry['name']).'"><img align="left" src="'.\OCP\Util::linkToAbsolute('impress','img/impressbig.png').'"></a></td><td><a target="_blank" href="'.\OCP\Util::linkToAbsolute('impress','player.php').'&file='.urlencode($entry['url']).'&name='.urlencode($entry['name']).'">'.$entry['name'].'</a></td><td>'.\OCP\Util::formatDate($entry['mtime']).'</td><td>'.\OCP\Util::humanFileSize($entry['size']).'</td></tr>'); echo('<tr><td width="1"><a target="_blank" href="'.\OCP\Util::linkToAbsolute('impress','player.php').'&file='.urlencode($entry['url']).'&name='.urlencode($entry['name']).'"><img align="left" src="'.\OCP\Util::linkToAbsolute('impress','img/impressbig.png').'"></a></td><td><a target="_blank" href="'.\OCP\Util::linkToAbsolute('impress','player.php').'&file='.urlencode($entry['url']).'&name='.urlencode($entry['name']).'">'.$entry['name'].'</a></td><td>'.\OCP\Util::formatDate($entry['mtime']).'</td><td>'.\OCP\Util::humanFileSize($entry['size']).'</td></tr>');
} }
echo('</table>'); echo('</table>');
} }
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment