2011-08-08 15:19:22 +04:00
|
|
|
<input type="hidden" id="baseUrl" value="<?php echo $_['baseUrl'];?>"/>
|
|
|
|
<table id="linklist">
|
2011-08-11 13:10:34 +04:00
|
|
|
<thead id="controls">
|
2011-08-11 22:59:17 +04:00
|
|
|
<tr id="newlink_row"><form action="#" id="newlink">
|
|
|
|
<td class="path"><input placeholder="Path" id="path"/></td>
|
|
|
|
<td><input type="submit" value="Share" /></td>
|
|
|
|
</form></tr>
|
2011-08-11 13:10:34 +04:00
|
|
|
</thead>
|
|
|
|
<tbody>
|
2011-06-02 04:45:35 +04:00
|
|
|
<?php foreach($_['links'] as $link):?>
|
2011-08-11 13:10:34 +04:00
|
|
|
<tr class="link" id="<?php echo $link['token'];?>">
|
|
|
|
<td class="path"><?php echo $link['path'];?></td>
|
|
|
|
<td class="link"><input type="text" value="<?php echo $_['baseUrl'];?>?token=<?php echo $link['token'];?>" /></td>
|
|
|
|
<td><input type="submit" class="delete" data-token="<?php echo $link['token'];?>" value="<?php echo $l->t( 'Delete' ); ?>" /></td>
|
|
|
|
</tr>
|
2011-06-02 04:45:35 +04:00
|
|
|
<?php endforeach;?>
|
|
|
|
</tbody>
|
2011-07-29 06:24:02 +04:00
|
|
|
</table>
|