aboutsummaryrefslogtreecommitdiff
path: root/editlink.html
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2019-08-28 12:21:29 +0200
committerneodarz <neodarz@neodarz.net>2019-08-28 12:21:29 +0200
commite1e025823c6e868e59cde9ecc8fa495ee45de7bc (patch)
treeae3450c92daec3b99059a569510a24d6ab6753a6 /editlink.html
parent03588331342e2a401ae4a8617f6225325d099fa7 (diff)
downloadshaarli_ascii-e1e025823c6e868e59cde9ecc8fa495ee45de7bc.tar.xz
shaarli_ascii-e1e025823c6e868e59cde9ecc8fa495ee45de7bc.zip
Update theme to current shaarli versionHEAD0.11master0.11
Diffstat (limited to 'editlink.html')
-rw-r--r--editlink.html12
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&amp;lf_linkdate={$link.id}&amp;token={$token}"
title="" name="delete_link" class="button button-red confirm-delete">