diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2012-08-26 15:43:34 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2012-08-26 15:43:34 +0200 |
commit | bcd86bfd02d4ec07a3fcadf5507d7dcdbb1f6638 (patch) | |
tree | 859a1eef22a49998c87579cf6fa58a412db01467 /apps | |
parent | 726be04e5f047ff9b98b7d84bf4244d1908a3e33 (diff) | |
download | nextcloud-server-bcd86bfd02d4ec07a3fcadf5507d7dcdbb1f6638.tar.gz nextcloud-server-bcd86bfd02d4ec07a3fcadf5507d7dcdbb1f6638.zip |
Remove some empty lines
Diffstat (limited to 'apps')
-rwxr-xr-x | apps/impress/templates/presentations.php | 21 |
1 files changed, 4 insertions, 17 deletions
diff --git a/apps/impress/templates/presentations.php b/apps/impress/templates/presentations.php index ab75802b359..532d3660dfc 100755 --- a/apps/impress/templates/presentations.php +++ b/apps/impress/templates/presentations.php @@ -1,30 +1,17 @@ <?php - - // show toolbar echo('<div id="controls"> <a href="'.\OCP\Util::linkToAbsolute('impress','documentation.php').'" class="button docu">'.$l->t('Documentation').'</a> </div> -'); - + '); if(empty($_['list'])) { - - echo('<div id="emptyfolder">No Impress files are found in your ownCloud. Please upload a .impress file.</div>'); - -}else{ - + echo('<div id="emptyfolder">No Impress files are found in your ownCloud. Please upload a .impress file.</div>'); +} else { echo('<table class="impresslist" >'); 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('</table>'); - - - -} - - +}
\ No newline at end of file |