minor fixes
This commit is contained in:
parent
20da75fcf3
commit
3ae41bd710
|
@ -126,10 +126,9 @@ class dbPages extends dbJSON
|
||||||
$newKey = $this->generateKey($args['slug'], $args['parent'], false, $args['key']);
|
$newKey = $this->generateKey($args['slug'], $args['parent'], false, $args['key']);
|
||||||
|
|
||||||
// If the page is draft then the created time is the current
|
// 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);
|
$args['date'] = Date::current(DB_DATE_FORMAT);
|
||||||
}
|
} elseif (!Valid::date($args['date'], DB_DATE_FORMAT)) {
|
||||||
else {
|
|
||||||
$args['date'] = $this->db[$args['key']]['date'];
|
$args['date'] = $this->db[$args['key']]['date'];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 1.0 KiB |
|
@ -5,6 +5,8 @@
|
||||||
echo Theme::headTitle();
|
echo Theme::headTitle();
|
||||||
echo Theme::headDescription();
|
echo Theme::headDescription();
|
||||||
|
|
||||||
|
echo Theme::favicon('favicon.png');
|
||||||
|
|
||||||
echo Theme::css(array(
|
echo Theme::css(array(
|
||||||
'css/style.css',
|
'css/style.css',
|
||||||
'css/bludit.css'
|
'css/bludit.css'
|
||||||
|
|
Loading…
Reference in New Issue