diff options
author | Arthur <arthur@hoa.ro> | 2016-11-30 09:13:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-30 09:13:38 +0100 |
commit | 2a543983716e37cf1ea600e7485b0b69cf719053 (patch) | |
tree | e6c6de633072e210e7a54d908249d83c73619f61 | |
parent | fd7d9cad2bb6622400736b9dd4e22a38e63d9ee6 (diff) | |
parent | 870541f1121e5750f015b407e692cf171d54e899 (diff) | |
download | Shaarli-2a543983716e37cf1ea600e7485b0b69cf719053.tar.gz Shaarli-2a543983716e37cf1ea600e7485b0b69cf719053.tar.zst Shaarli-2a543983716e37cf1ea600e7485b0b69cf719053.zip |
Merge pull request #700 from teromene/firefox-social-title
Show page title when sharing via Firefox Social.
-rw-r--r-- | tpl/editlink.html | 32 |
1 files changed, 17 insertions, 15 deletions
diff --git a/tpl/editlink.html b/tpl/editlink.html index 441b5302..9e7621db 100644 --- a/tpl/editlink.html +++ b/tpl/editlink.html | |||
@@ -8,13 +8,15 @@ | |||
8 | {elseif="$link.description==''"}onload="document.linkform.lf_description.focus();" | 8 | {elseif="$link.description==''"}onload="document.linkform.lf_description.focus();" |
9 | {else}onload="document.linkform.lf_tags.focus();"{/if} > | 9 | {else}onload="document.linkform.lf_tags.focus();"{/if} > |
10 | <div id="pageheader"> | 10 | <div id="pageheader"> |
11 | {if="$source !== 'firefoxsocialapi'"} | 11 | {if="$source !== 'firefoxsocialapi'"} |
12 | {include="page.header"} | 12 | {include="page.header"} |
13 | {/if} | 13 | {else} |
14 | <div id="editlinkform"> | 14 | <div id="shaarli_title"><a href="{$titleLink}">{$shaarlititle}</a></div> |
15 | <form method="post" name="linkform"> | 15 | {/if} |
16 | <input type="hidden" name="lf_linkdate" value="{$link.linkdate}"> | 16 | <div id="editlinkform"> |
17 | <label for="lf_url"><i>URL</i></label><br><input type="text" name="lf_url" id="lf_url" value="{$link.url}" class="lf_input"><br> | 17 | <form method="post" name="linkform"> |
18 | <input type="hidden" name="lf_linkdate" value="{$link.linkdate}"> | ||
19 | <label for="lf_url"><i>URL</i></label><br><input type="text" name="lf_url" id="lf_url" value="{$link.url}" class="lf_input"><br> | ||
18 | <label for="lf_title"><i>Title</i></label><br><input type="text" name="lf_title" id="lf_title" value="{$link.title}" class="lf_input"><br> | 20 | <label for="lf_title"><i>Title</i></label><br><input type="text" name="lf_title" id="lf_title" value="{$link.title}" class="lf_input"><br> |
19 | <label for="lf_description"><i>Description</i></label><br><textarea name="lf_description" id="lf_description" rows="4" cols="25">{$link.description}</textarea><br> | 21 | <label for="lf_description"><i>Description</i></label><br><textarea name="lf_description" id="lf_description" rows="4" cols="25">{$link.description}</textarea><br> |
20 | <label for="lf_tags"><i>Tags</i></label><br> | 22 | <label for="lf_tags"><i>Tags</i></label><br> |
@@ -25,20 +27,20 @@ | |||
25 | {$value} | 27 | {$value} |
26 | {/loop} | 28 | {/loop} |
27 | 29 | ||
28 | {if="($link_is_new && $default_private_links) || $link.private == true"} | 30 | {if="($link_is_new && $default_private_links) || $link.private == true"} |
29 | <input type="checkbox" checked="checked" name="lf_private" id="lf_private"> | 31 | <input type="checkbox" checked="checked" name="lf_private" id="lf_private"> |
30 | <label for="lf_private"><i>Private</i></label><br> | 32 | <label for="lf_private"><i>Private</i></label><br> |
31 | {else} | 33 | {else} |
32 | <input type="checkbox" name="lf_private" id="lf_private"> | 34 | <input type="checkbox" name="lf_private" id="lf_private"> |
33 | <label for="lf_private"><i>Private</i></label><br> | 35 | <label for="lf_private"><i>Private</i></label><br> |
34 | {/if} | 36 | {/if} |
35 | <input type="submit" value="Save" name="save_edit" class="bigbutton"> | 37 | <input type="submit" value="Save" name="save_edit" class="bigbutton"> |
36 | <input type="submit" value="Cancel" name="cancel_edit" class="bigbutton"> | 38 | <input type="submit" value="Cancel" name="cancel_edit" class="bigbutton"> |
37 | {if="!$link_is_new"}<input type="submit" value="Delete" name="delete_link" class="bigbutton delete" onClick="return confirmDeleteLink();">{/if} | 39 | {if="!$link_is_new"}<input type="submit" value="Delete" name="delete_link" class="bigbutton delete" onClick="return confirmDeleteLink();">{/if} |
38 | <input type="hidden" name="token" value="{$token}"> | 40 | <input type="hidden" name="token" value="{$token}"> |
39 | {if="$http_referer"}<input type="hidden" name="returnurl" value="{$http_referer}">{/if} | 41 | {if="$http_referer"}<input type="hidden" name="returnurl" value="{$http_referer}">{/if} |
40 | </form> | 42 | </form> |
41 | </div> | 43 | </div> |
42 | </div> | 44 | </div> |
43 | {if="$source !== 'firefoxsocialapi'"} | 45 | {if="$source !== 'firefoxsocialapi'"} |
44 | {include="page.footer"} | 46 | {include="page.footer"} |