2011-06-02 04:45:35 +04:00
|
|
|
<input type='hidden' id='baseUrl' value='<?php echo $_['baseUrl'];?>'/>
|
|
|
|
<table id='linklist'>
|
|
|
|
<thead>
|
|
|
|
<tr>
|
2011-06-20 02:17:49 +04:00
|
|
|
<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>
|
2011-06-02 04:45:35 +04:00
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<?php foreach($_['links'] as $link):?>
|
|
|
|
<tr class='link' id='<?php echo $link['token'];?>'>
|
|
|
|
<td class='path'><?php echo $link['path'];?></td>
|
2011-07-20 02:55:47 +04:00
|
|
|
<td class='expire'><?php echo ($link['expire_time']==0)?'Never':$l->l('date', $link['expire_time']);?></td>
|
2011-06-02 04:45:35 +04:00
|
|
|
<td class='link'><a href='get.php?token=<?php echo $link['token'];?>'><?php echo $_['baseUrl'];?>?token=<?php echo $link['token'];?></a></td>
|
2011-06-20 02:17:49 +04:00
|
|
|
<td><button class='delete fancybutton' data-token='<?php echo $link['token'];?>'><?php echo $l->t( 'Delete' ); ?></button></td>
|
2011-06-02 04:45:35 +04:00
|
|
|
</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>
|
|
|
|
</tbody>
|
2011-07-29 06:24:02 +04:00
|
|
|
</table>
|