diff --git a/serendipity_admin.php b/serendipity_admin.php index 591cfca5..1957d11a 100644 --- a/serendipity_admin.php +++ b/serendipity_admin.php @@ -24,7 +24,7 @@ if (isset($serendipity['GET']['adminModule']) && $serendipity['GET']['adminModul } else { if (IS_installed === true) { /* Check author token to insure session not hijacked */ - if (!isset($_SESSION['author_token']) || !isset($serendipity['COOKIE']['author_token']) || + if (!isset($_SESSION['author_token']) || !isset($serendipity['COOKIE']['author_token']) || ($_SESSION['author_token'] !== $serendipity['COOKIE']['author_token'])) { $_SESSION['serendipityAuthedUser'] = false; serendipity_session_destroy(); @@ -221,7 +221,7 @@ if (!$use_installer && $is_logged_in) { case 'maintenance': include S9Y_INCLUDE_PATH . 'include/admin/maintenance.inc.php'; - $admin_section = MAINTENANCE; + $admin_section = MENU_MAINTENANCE; break; default: diff --git a/templates/2k11/admin/media_items.tpl b/templates/2k11/admin/media_items.tpl index 1184de7b..9be00b66 100644 --- a/templates/2k11/admin/media_items.tpl +++ b/templates/2k11/admin/media_items.tpl @@ -204,7 +204,7 @@ diff --git a/templates/2k11/admin/overview.inc.tpl b/templates/2k11/admin/overview.inc.tpl index 9d021b33..5b54c2d8 100644 --- a/templates/2k11/admin/overview.inc.tpl +++ b/templates/2k11/admin/overview.inc.tpl @@ -42,7 +42,7 @@
{$comment.body|escape|truncate:100:"…"}
{$comment.fullBody|escape}
- + {if !$showFutureEntries && ($entry.timestamp >= $serverOffsetHour) && $entry.isdraft == "false"} - {$CONST.SCHEDULED} + {$entry.timestamp|@formatTime:$CONST.DATE_FORMAT_SHORT} {/if} {if $entry.ep_is_sticky} {$CONST.STICKY_POSTINGS} diff --git a/templates/2k11/comments.tpl b/templates/2k11/comments.tpl index ca8aa15f..8878d1e1 100644 --- a/templates/2k11/comments.tpl +++ b/templates/2k11/comments.tpl @@ -1,7 +1,7 @@ {foreach from=$comments item=comment name="comments"}
8}commentlevel-9{else}commentlevel-{$comment.depth}{/if}">
- {if $comment.url}{/if}{$comment.author|@default:$CONST.ANONYMOUS}{if $comment.url}{/if}{if $comment.spice_twitter_name and not $comment.spice_twitter_followme} (@{$comment.spice_twitter_name}){/if} {$CONST.ON} : + {if $comment.url}{/if}{$comment.author|default:$CONST.ANONYMOUS}{if $comment.url}{/if}{if $comment.spice_twitter_name and not $comment.spice_twitter_followme} (@{$comment.spice_twitter_name}){/if} {$CONST.ON} : {if $comment.spice_twitter_name && $comment.spice_twitter_followme}
- {if $entry.categories}{foreach from=$entry.categories item="entry_category"}{if $entry_category.category_icon}{$entry_category.category_name|@escape}{/if}{/foreach}{/if} + {if $entry.categories}{foreach from=$entry.categories item="entry_category"}{if $entry_category.category_icon}{$entry_category.category_name|escape}{/if}{/foreach}{/if} {$entry.body} {if $entry.has_extended and not $is_single_entry and not $entry.is_extended} {$CONST.VIEW_EXTENDED_ENTRY|@sprintf:$entry.title} @@ -27,7 +27,7 @@