summaryrefslogtreecommitdiffstats
path: root/apps/files_publiclink/templates/admin.php
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <JanCBorchardt@fsfe.org>2011-08-08 11:17:03 +0200
committerJan-Christoph Borchardt <JanCBorchardt@fsfe.org>2011-08-08 11:17:03 +0200
commitb1a369b49f4e2d69fc3a360e9e0828f54c7e2c5a (patch)
tree5403f5f5220036ced07a4d1ffc2b8bc938f6ef65 /apps/files_publiclink/templates/admin.php
parent70a4cfd112160384a4e99b944da55975ebd9246f (diff)
downloadnextcloud-server-b1a369b49f4e2d69fc3a360e9e0828f54c7e2c5a.tar.gz
nextcloud-server-b1a369b49f4e2d69fc3a360e9e0828f54c7e2c5a.zip
quick fix for public links, removed expiration date and styled correctly
Diffstat (limited to 'apps/files_publiclink/templates/admin.php')
-rw-r--r--apps/files_publiclink/templates/admin.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/apps/files_publiclink/templates/admin.php b/apps/files_publiclink/templates/admin.php
index 04aaf5c4302..9ee5e0d0ea1 100644
--- a/apps/files_publiclink/templates/admin.php
+++ b/apps/files_publiclink/templates/admin.php
@@ -3,7 +3,6 @@
<thead>
<tr>
<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>
@@ -11,16 +10,14 @@
<?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('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>
+ <td><input type="submit" class="delete" data-token="<?php echo $link['token'];?>" value="<?php echo $l->t( 'Delete' ); ?>" /></td>
</tr>
<?php endforeach;?>
<tr id='newlink_row'>
<form action='#' id='newlink'>
<input type='hidden' id='expire_time'/>
<td class='path'><input placeholder='Path' id='path'/></td>
- <td class='expire'><input placeholder='Expires' id='expire'/></td>
<td><input type='submit' value='Share'/></td>
</form>
</tr>