From 75d45f811fcaafa515fc71d15badee6c56794e8d Mon Sep 17 00:00:00 2001 From: Matthias Mees Date: Fri, 31 May 2013 18:10:16 +0200 Subject: [PATCH] Replaces inline onclick handler for .status_timestamp. Also moved reference to serendipity_editor.js before the closing body element. This way, jQuery's $(document).ready() equals $(window).load(), so we don't have to use that any longer. --- templates/2k11/admin/entries.inc.tpl | 2 +- templates/2k11/admin/index.tpl | 6 ++--- .../2k11/admin/serendipity_editor.js.tpl | 27 ++++++++++--------- 3 files changed, 18 insertions(+), 17 deletions(-) diff --git a/templates/2k11/admin/entries.inc.tpl b/templates/2k11/admin/entries.inc.tpl index 0469510f..32d4ab89 100644 --- a/templates/2k11/admin/entries.inc.tpl +++ b/templates/2k11/admin/entries.inc.tpl @@ -129,7 +129,7 @@
- {$entry.timestamp|@formatTime:"{$CONST.DATE_FORMAT_SHORT}"}{if $entry.timestamp <= ($entry.last_modified - 1800)} {$CONST.LAST_UPDATED}{/if} + {$entry.timestamp|@formatTime:"{$CONST.DATE_FORMAT_SHORT}"}{if $entry.timestamp <= ($entry.last_modified - 1800)} {$CONST.LAST_UPDATED}{/if}