diff options
Diffstat (limited to 'tpl')
-rw-r--r-- | tpl/linklist.html | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/tpl/linklist.html b/tpl/linklist.html index bfb1fcda..267e13bc 100644 --- a/tpl/linklist.html +++ b/tpl/linklist.html | |||
@@ -32,12 +32,14 @@ | |||
32 | <li{if="$value.class"} class="{$value.class}"{/if}> | 32 | <li{if="$value.class"} class="{$value.class}"{/if}> |
33 | <div class="thumbnail">{$value.url|thumbnail}</div> | 33 | <div class="thumbnail">{$value.url|thumbnail}</div> |
34 | <div class="linkcontainer"> | 34 | <div class="linkcontainer"> |
35 | <span class="linktitle"><a href="{$redirector}{$value.url}">{$value.title|htmlspecialchars}</a></span> | ||
36 | {if="isLoggedIn()"} | 35 | {if="isLoggedIn()"} |
37 | <form method="GET" class="buttoneditform"><input type="hidden" name="edit_link" value="{$value.linkdate}"><input type="image" alt="Edit" src="images/edit_icon.png#" title="Edit" class="button_edit"></form> | 36 | <div class="linkeditbuttons"> |
38 | <form method="POST" class="buttoneditform"><input type="hidden" name="lf_linkdate" value="{$value.linkdate}"> | 37 | <form method="GET" class="buttoneditform"><input type="hidden" name="edit_link" value="{$value.linkdate}"><input type="image" alt="Edit" src="images/edit_icon.png#" title="Edit" class="button_edit"></form><br> |
39 | <input type="hidden" name="token" value="{$token}"><input type="hidden" name="delete_link"><input type="image" alt="Delete" src="images/delete_icon.png#" title="Delete" class="button_delete" onClick="return confirmDeleteLink();"></form> | 38 | <form method="POST" class="buttoneditform"><input type="hidden" name="lf_linkdate" value="{$value.linkdate}"> |
39 | <input type="hidden" name="token" value="{$token}"><input type="hidden" name="delete_link"><input type="image" alt="Delete" src="images/delete_icon.png#" title="Delete" class="button_delete" onClick="return confirmDeleteLink();"></form> | ||
40 | </div> | ||
40 | {/if} | 41 | {/if} |
42 | <span class="linktitle"><a href="{$redirector}{$value.url}">{$value.title|htmlspecialchars}</a></span> | ||
41 | <br> | 43 | <br> |
42 | {if="$value.description"}<div class="linkdescription"{if condition="$search_type=='permalink'"} style="max-height:none !important;"{/if}>{$value.description}</div>{/if} | 44 | {if="$value.description"}<div class="linkdescription"{if condition="$search_type=='permalink'"} style="max-height:none !important;"{/if}>{$value.description}</div>{/if} |
43 | {if="!$GLOBALS['config']['HIDE_TIMESTAMPS'] || isLoggedIn()"} | 45 | {if="!$GLOBALS['config']['HIDE_TIMESTAMPS'] || isLoggedIn()"} |