diff --git a/bl-kernel/abstract/dblist.class.php b/bl-kernel/abstract/dblist.class.php index 4bb870a8..1fabc6b6 100644 --- a/bl-kernel/abstract/dblist.class.php +++ b/bl-kernel/abstract/dblist.class.php @@ -64,7 +64,12 @@ class dbList extends dbJSON public function generateKey($name) { + global $L; + $key = Text::cleanUrl($name); + if (Text::isEmpty($key)) { + $key = $L->g('empty'); + } while (isset($this->db[$key])) { $key++; } diff --git a/bl-kernel/admin/views/content.php b/bl-kernel/admin/views/content.php index 5048a360..fa5d45de 100644 --- a/bl-kernel/admin/views/content.php +++ b/bl-kernel/admin/views/content.php @@ -118,7 +118,7 @@ function table($type) { .'
-

'.( ((ORDER_BY=='position') || ($type!='published'))?'Position: '.$page->position():$page->relativeTime() ).'

+

'.( ((ORDER_BY=='position') || ($type!='published'))?'Position: '.$page->position():$page->date(MANAGE_CONTENT_DATE_FORMAT) ).'

'; diff --git a/bl-kernel/admin/views/edit-content.php b/bl-kernel/admin/views/edit-content.php index fe6f0be5..2b12462c 100644 --- a/bl-kernel/admin/views/edit-content.php +++ b/bl-kernel/admin/views/edit-content.php @@ -6,7 +6,7 @@ p('Editor') ?>