]> source.dussan.org Git - nextcloud-server.git/commitdiff
show expire dates of public links as date and not as datetime
authorRobin Appelman <icewind1991@gmail.com>
Tue, 19 Jul 2011 22:55:47 +0000 (00:55 +0200)
committerRobin Appelman <icewind1991@gmail.com>
Tue, 19 Jul 2011 22:55:47 +0000 (00:55 +0200)
apps/files_publiclink/templates/admin.php

index 95b99109f23a71b59509078665fa53564eb0cfa2..da4586cb3df1ce8352518c197a8598724678275c 100644 (file)
@@ -11,7 +11,7 @@
                <?php foreach($_['links'] as $link):?>
                        <tr class='link' id='<?php echo $link['token'];?>'>
                                <td class='path'><?php echo $link['path'];?></td>
-                               <td class='expire'><?php echo ($link['expire_time']==0)?'Never':$l->l('datetime', $link['expire_time']);?></td>
+                               <td class='expire'><?php echo ($link['expire_time']==0)?'Never':$l->l('date', $link['expire_time']);?></td>
                                <td class='link'><a href='get.php?token=<?php echo $link['token'];?>'><?php echo $_['baseUrl'];?>?token=<?php echo $link['token'];?></a></td>
                                <td><button class='delete fancybutton' data-token='<?php echo $link['token'];?>'><?php echo $l->t( 'Delete' ); ?></button></td>
                        </tr>