From 85efd50db4b04dfd01adde07c44c41dfb86093e8 Mon Sep 17 00:00:00 2001 From: Zacharie Date: Wed, 12 Aug 2020 14:53:51 +0200 Subject: [PATCH] Issue #1208 : Minor design fixes --- admin/cat_modify.php | 4 +- admin/themes/default/template/cat_modify.tpl | 61 +++++++++++--------- admin/themes/default/theme.css | 27 ++++++--- 3 files changed, 55 insertions(+), 37 deletions(-) diff --git a/admin/cat_modify.php b/admin/cat_modify.php index 64ffe55c4..0cef6fc1b 100644 --- a/admin/cat_modify.php +++ b/admin/cat_modify.php @@ -357,7 +357,7 @@ $result = query2array($query); if (count($result) > 0) { $template->assign( array( - 'INFO_CREATION' => l10n('Created on %s',format_date($result[0]['occured_on'])) + 'INFO_CREATION' => l10n('Created on %s',format_date($result[0]['occured_on'], array('month','year'))) ) ); } @@ -380,7 +380,7 @@ if ($result[0]['COUNT(*)'] > 0) { $template->assign(array( 'INFO_ID' => l10n('Numeric identifier : %d',$category['id']), - 'INFO_LAST_MODIFIED'=> l10n('Edited on %s',format_date($category['lastmodified'])) + 'INFO_LAST_MODIFIED'=> l10n('Edited on %s',format_date($category['lastmodified'], array('month','year'))) ) ); diff --git a/admin/themes/default/template/cat_modify.tpl b/admin/themes/default/template/cat_modify.tpl index 3f349c75a..aac99ad14 100644 --- a/admin/themes/default/template/cat_modify.tpl +++ b/admin/themes/default/template/cat_modify.tpl @@ -231,17 +231,19 @@ function cropImage() { {/if}
- {if isset($INFO_CREATION)} - {$INFO_CREATION} - {/if} - {$INFO_LAST_MODIFIED} - {if isset($INFO_PHOTO)} - {$INFO_PHOTO} - {/if} - {if isset($INFO_DIRECT_SUB)} - {$INFO_DIRECT_SUB} - {/if} - {$INFO_ID} +
+ {if isset($INFO_CREATION)} + {$INFO_CREATION} + {/if} + {$INFO_LAST_MODIFIED} + {if isset($INFO_PHOTO)} + {$INFO_PHOTO} + {/if} + {if isset($INFO_DIRECT_SUB)} + {$INFO_DIRECT_SUB} + {/if} + {$INFO_ID} +
@@ -271,25 +273,28 @@ function cropImage() {
- {'Publication'|@translate}
- {'Unlock'|@translate} - - {'Lock'|@translate} + {'Publication'|@translate} +
+ {'Unlock'|@translate} + + {'Lock'|@translate} +
{if isset($CAT_COMMENTABLE)} - {'Comments'|@translate}
- {'Forbidden'|@translate} - - {'Authorized'|@translate} -
+ {'Comments'|@translate} +
+ {'Forbidden'|@translate} + + {'Authorized'|@translate} +