diff options
author | ArthurHoaro <arthur@hoa.ro> | 2016-12-18 12:40:27 +0100 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2016-12-18 12:40:27 +0100 |
commit | 8147ff76a49206a08999f420206d971de10db12e (patch) | |
tree | dea3412c8e30cfab464557bcbe4c5c3fb08bc33e /tpl/linklist.html | |
parent | 9eba6ff469bdea8f341af06ef23c8bb4bd3a6869 (diff) | |
parent | e3ffc8fdee30be41046b985fe6e7034fb580b0c8 (diff) | |
download | Shaarli-8147ff76a49206a08999f420206d971de10db12e.tar.gz Shaarli-8147ff76a49206a08999f420206d971de10db12e.tar.zst Shaarli-8147ff76a49206a08999f420206d971de10db12e.zip |
merge
Diffstat (limited to 'tpl/linklist.html')
-rw-r--r-- | tpl/linklist.html | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/tpl/linklist.html b/tpl/linklist.html index 70c9cf79..0f1a5e8c 100644 --- a/tpl/linklist.html +++ b/tpl/linklist.html | |||
@@ -29,10 +29,8 @@ | |||
29 | </form> | 29 | </form> |
30 | {loop="$plugins_header.fields_toolbar"} | 30 | {loop="$plugins_header.fields_toolbar"} |
31 | <form | 31 | <form |
32 | {loop="$value"} | 32 | {loop="$value.attr"} |
33 | {if="$key!='inputs'"} | 33 | {$key}="{$value}" |
34 | {$key}="{$value}" | ||
35 | {/if} | ||
36 | {/loop}> | 34 | {/loop}> |
37 | {loop="$value.inputs"} | 35 | {loop="$value.inputs"} |
38 | <input | 36 | <input |
@@ -83,12 +81,13 @@ | |||
83 | {if="isLoggedIn()"} | 81 | {if="isLoggedIn()"} |
84 | <div class="linkeditbuttons"> | 82 | <div class="linkeditbuttons"> |
85 | <form method="GET" class="buttoneditform"> | 83 | <form method="GET" class="buttoneditform"> |
86 | <input type="hidden" name="edit_link" value="{$value.linkdate}"> | 84 | <input type="hidden" name="edit_link" value="{$value.id}"> |
87 | <input type="image" alt="Edit" src="images/edit_icon.png#" title="Edit" class="button_edit"> | 85 | <input type="image" alt="Edit" src="images/edit_icon.png#" title="Edit" class="button_edit"> |
88 | </form><br> | 86 | </form><br> |
89 | <form method="GET" class="buttoneditform"> | 87 | <form method="POST" class="buttoneditform"> |
88 | <input type="hidden" name="lf_linkdate" value="{$value.id}"> | ||
90 | <input type="hidden" name="token" value="{$token}"> | 89 | <input type="hidden" name="token" value="{$token}"> |
91 | <input type="hidden" name="delete_link" value="{$value.linkdate}"> | 90 | <input type="hidden" name="delete_link"> |
92 | <input type="image" alt="Delete" src="images/delete_icon.png#" title="Delete" | 91 | <input type="image" alt="Delete" src="images/delete_icon.png#" title="Delete" |
93 | class="button_delete" onClick="return confirmDeleteLink();"> | 92 | class="button_delete" onClick="return confirmDeleteLink();"> |
94 | </form> | 93 | </form> |
@@ -102,7 +101,7 @@ | |||
102 | {if="!$hide_timestamps || isLoggedIn()"} | 101 | {if="!$hide_timestamps || isLoggedIn()"} |
103 | {$updated=$value.updated_timestamp ? 'Edited: '. strftime('%c', $value.updated_timestamp) : 'Permalink'} | 102 | {$updated=$value.updated_timestamp ? 'Edited: '. strftime('%c', $value.updated_timestamp) : 'Permalink'} |
104 | <span class="linkdate" title="Permalink"> | 103 | <span class="linkdate" title="Permalink"> |
105 | <a href="?{$value.linkdate|smallHash}"> | 104 | <a href="?{$value.shorturl}"> |
106 | <span title="{$updated}"> | 105 | <span title="{$updated}"> |
107 | {function="strftime('%c', $value.timestamp)"} | 106 | {function="strftime('%c', $value.timestamp)"} |
108 | {if="$value.updated_timestamp"}*{/if} | 107 | {if="$value.updated_timestamp"}*{/if} |