diff options
Diffstat (limited to 'tpl/default')
-rw-r--r-- | tpl/default/editlink.html | 1 | ||||
-rw-r--r-- | tpl/default/tools.html | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/tpl/default/editlink.html b/tpl/default/editlink.html index 15edb00d..568545bd 100644 --- a/tpl/default/editlink.html +++ b/tpl/default/editlink.html | |||
@@ -81,6 +81,7 @@ | |||
81 | </div> | 81 | </div> |
82 | 82 | ||
83 | <input type="hidden" name="token" value="{$token}"> | 83 | <input type="hidden" name="token" value="{$token}"> |
84 | <input type="hidden" name="source" value="{$source}"> | ||
84 | {if="$http_referer"} | 85 | {if="$http_referer"} |
85 | <input type="hidden" name="returnurl" value="{$http_referer}"> | 86 | <input type="hidden" name="returnurl" value="{$http_referer}"> |
86 | {/if} | 87 | {/if} |
diff --git a/tpl/default/tools.html b/tpl/default/tools.html index fd58cca9..d07dabd0 100644 --- a/tpl/default/tools.html +++ b/tpl/default/tools.html | |||
@@ -86,7 +86,7 @@ | |||
86 | alert('{function="str_replace(' ', '%20', t('The selected text is too long, it will be truncated.'))"}'); | 86 | alert('{function="str_replace(' ', '%20', t('The selected text is too long, it will be truncated.'))"}'); |
87 | } | 87 | } |
88 | window.open( | 88 | window.open( |
89 | '{$pageabsaddr}?post='%20+%20encodeURIComponent(url)+ | 89 | '{$pageabsaddr}admin/shaare?post='%20+%20encodeURIComponent(url)+ |
90 | '&title='%20+%20encodeURIComponent(title)+ | 90 | '&title='%20+%20encodeURIComponent(title)+ |
91 | '&description='%20+%20encodeURIComponent(desc)+ | 91 | '&description='%20+%20encodeURIComponent(desc)+ |
92 | '&source=bookmarklet','_blank','menubar=no,height=800,width=600,toolbar=no,scrollbars=yes,status=no,dialog=1' | 92 | '&source=bookmarklet','_blank','menubar=no,height=800,width=600,toolbar=no,scrollbars=yes,status=no,dialog=1' |