diff --git a/bl-kernel/dbpages.class.php b/bl-kernel/dbpages.class.php index a91f07c1..84636218 100644 --- a/bl-kernel/dbpages.class.php +++ b/bl-kernel/dbpages.class.php @@ -126,10 +126,9 @@ class dbPages extends dbJSON $newKey = $this->generateKey($args['slug'], $args['parent'], false, $args['key']); // If the page is draft then the created time is the current - if( $this->db[$args['key']]['status']=='draft' ) { + if ($this->db[$args['key']]['status']=='draft') { $args['date'] = Date::current(DB_DATE_FORMAT); - } - else { + } elseif (!Valid::date($args['date'], DB_DATE_FORMAT)) { $args['date'] = $this->db[$args['key']]['date']; } diff --git a/bl-themes/lingonberry/favicon.png b/bl-themes/lingonberry/favicon.png new file mode 100644 index 00000000..60349a2b Binary files /dev/null and b/bl-themes/lingonberry/favicon.png differ diff --git a/bl-themes/lingonberry/php/head.php b/bl-themes/lingonberry/php/head.php index ffaa178f..d356f3bc 100644 --- a/bl-themes/lingonberry/php/head.php +++ b/bl-themes/lingonberry/php/head.php @@ -5,6 +5,8 @@ echo Theme::headTitle(); echo Theme::headDescription(); + echo Theme::favicon('favicon.png'); + echo Theme::css(array( 'css/style.css', 'css/bludit.css'