diff options
author | neodarz <neodarz@neodarz.net> | 2019-08-28 12:21:29 +0200 |
---|---|---|
committer | neodarz <neodarz@neodarz.net> | 2019-08-28 12:21:29 +0200 |
commit | e1e025823c6e868e59cde9ecc8fa495ee45de7bc (patch) | |
tree | ae3450c92daec3b99059a569510a24d6ab6753a6 /editlink.html | |
parent | 03588331342e2a401ae4a8617f6225325d099fa7 (diff) | |
download | shaarli_ascii-bafbcc736d96ed1715048a4ed8e41448622b1a8a.tar.xz shaarli_ascii-bafbcc736d96ed1715048a4ed8e41448622b1a8a.zip |
Diffstat (limited to '')
-rw-r--r-- | editlink.html | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/editlink.html b/editlink.html index 354499a..df14535 100644 --- a/editlink.html +++ b/editlink.html @@ -1,18 +1,21 @@ <!DOCTYPE html> -<html> +<html{if="$language !== 'auto'"} lang="{$language}"{/if}> <head> {include="includes"} </head> <body> {include="page.header"} - <div id="editlinkform" class="pure-g"> + <div id="editlinkform" class="edit-link-container" class="pure-g"> <div class="pure-u-lg-1-5 pure-u-1-24"></div> <form method="post" name="linkform" class="page-form pure-u-lg-3-5 pure-u-22-24 page-form page-form-light"> - <h2 class="window-title">{'Shaare'|t}</h2> + <h2 class="window-title"> + {if="!$link_is_new"}{'Edit Shaare'|t}{else}{'New Shaare'|t}{/if} + </h2> <input type="hidden" name="lf_linkdate" value="{$link.linkdate}"> {if="isset($link.id)"} <input type="hidden" name="lf_id" value="{$link.id}"> {/if} + {if="!$link_is_new"}<div class="created-date">{'Created:'|t} {$link.created|format_date}</div>{/if} <div> <label for="lf_url">{'URL'|t}</label> </div> @@ -55,7 +58,8 @@ <div class="submit-buttons center"> - <input type="submit" value="{'Save'|t}" name="save_edit" class="" id="button-save-edit"> + <input type="submit" name="save_edit" class="" id="button-save-edit" + value="{if="$link_is_new"}{'Save'|t}{else}{'Apply Changes'|t}{/if}"> {if="!$link_is_new"} <a href="?delete_link&lf_linkdate={$link.id}&token={$token}" title="" name="delete_link" class="button button-red confirm-delete"> |