]> source.dussan.org Git - nextcloud-server.git/commitdiff
Remove some empty lines
authorLukas Reschke <lukas@statuscode.ch>
Sun, 26 Aug 2012 13:43:34 +0000 (15:43 +0200)
committerLukas Reschke <lukas@statuscode.ch>
Sun, 26 Aug 2012 13:43:34 +0000 (15:43 +0200)
apps/impress/templates/presentations.php

index ab75802b3597c0c1b6179a678d3d8933f029bfca..532d3660dfca1d19ada9fc58489334c7482730d2 100755 (executable)
@@ -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