diff --git a/index.php b/index.php index 823eb8de..2ff2505a 100644 --- a/index.php +++ b/index.php @@ -1425,7 +1425,7 @@ function renderPage($conf, $pluginManager, $LINKSDB, $history) 'url' => $url, 'description' => $description, 'tags' => $tags, - 'private' => $private + 'private' => $private, ); } else { $link['linkdate'] = $link['created']->format(LinkDB::LINK_DATE_FORMAT); diff --git a/tpl/default/css/shaarli.css b/tpl/default/css/shaarli.css index 3391fa05..39bbd0a3 100644 --- a/tpl/default/css/shaarli.css +++ b/tpl/default/css/shaarli.css @@ -992,6 +992,14 @@ form[name="linkform"].page-form { color: #3f3f3f; } +/** + * EDIT LINK + */ +#editlinkform .created-date { + color: #767676; + margin-bottom: 10px; +} + /** * LOGIN */ diff --git a/tpl/default/editlink.html b/tpl/default/editlink.html index 354499a4..d03fd72f 100644 --- a/tpl/default/editlink.html +++ b/tpl/default/editlink.html @@ -8,11 +8,15 @@
-

{'Shaare'|t}

+

+ {if="!$link_is_new"}{'Edit'|t}{/if} + {'Shaare'|t} +

{if="isset($link.id)"} {/if} + {if="!$link_is_new"}
{'Created:'|t} {$link.created|format_date}
{/if}
@@ -55,7 +59,8 @@

{'Shaare'|t}

- + {if="!$link_is_new"}