summaryrefslogtreecommitdiffstats
path: root/apps/files_publiclink/templates/admin.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_publiclink/templates/admin.php')
-rw-r--r--apps/files_publiclink/templates/admin.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/files_publiclink/templates/admin.php b/apps/files_publiclink/templates/admin.php
index 2483eef321a..95b99109f23 100644
--- a/apps/files_publiclink/templates/admin.php
+++ b/apps/files_publiclink/templates/admin.php
@@ -2,18 +2,18 @@
<table id='linklist'>
<thead>
<tr>
- <td class='path'>Path</td>
- <td class='expire'>Expires</td>
- <td class='link'>Link</td>
+ <td class='path'><?php echo $l->t( 'Path' ); ?></td>
+ <td class='expire'><?php echo $l->t( 'Expires' ); ?></td>
+ <td class='link'><?php echo $l->t( 'Link' ); ?></td>
</tr>
</thead>
<tbody>
<?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':OC_UTIL::formatdate($link['expire_time'],true);?></td>
+ <td class='expire'><?php echo ($link['expire_time']==0)?'Never':$l->l('datetime', $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'];?>'>Delete</button></td>
+ <td><button class='delete fancybutton' data-token='<?php echo $link['token'];?>'><?php echo $l->t( 'Delete' ); ?></button></td>
</tr>
<?php endforeach;?>
<tr id='newlink_row'>