|
|
@ -295,7 +295,7 @@ function get_posts($posts, $page = 1, $perpage = 0) |
|
|
$post->authorAbout = $profile[0]->about; |
|
|
$post->authorAbout = $profile[0]->about; |
|
|
} else { |
|
|
} else { |
|
|
$post->authorName = $author; |
|
|
$post->authorName = $author; |
|
|
$post->authorAbout = 'Just another HTMLy user'; |
|
|
|
|
|
|
|
|
$post->authorAbout = i18n('Author_Description'); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
$post->type = $type; |
|
|
$post->type = $type; |
|
|
@ -822,9 +822,9 @@ function default_profile($name) |
|
|
$author = new stdClass; |
|
|
$author = new stdClass; |
|
|
|
|
|
|
|
|
$author->name = $name; |
|
|
$author->name = $name; |
|
|
$author->about = '<p>Just another HTMLy user.</p>'; |
|
|
|
|
|
|
|
|
$author->about = '<p>' . i18n('Author_Description') . '</p>'; |
|
|
|
|
|
|
|
|
$author->description = 'Just another HTMLy user'; |
|
|
|
|
|
|
|
|
$author->description = i18n('Author_Description'); |
|
|
|
|
|
|
|
|
return $tmp[] = $author; |
|
|
return $tmp[] = $author; |
|
|
} |
|
|
} |
|
|
@ -2304,7 +2304,7 @@ function not_found() |
|
|
|
|
|
|
|
|
header($_SERVER["SERVER_PROTOCOL"] . " 404 Not Found"); |
|
|
header($_SERVER["SERVER_PROTOCOL"] . " 404 Not Found"); |
|
|
render('404', array( |
|
|
render('404', array( |
|
|
'title' => 'This page doesn\'t exist! - ' . blog_title(), |
|
|
|
|
|
|
|
|
'title' => i18n('This_page_doesnt_exist') . ' - ' . blog_title(), |
|
|
'description' => '404 Not Found', |
|
|
'description' => '404 Not Found', |
|
|
'canonical' => site_url(), |
|
|
'canonical' => site_url(), |
|
|
'breadcrumb' => '<a href="' . site_url() . '">' . config('breadcrumb.home') . '</a> » 404 Not Found', |
|
|
'breadcrumb' => '<a href="' . site_url() . '">' . config('breadcrumb.home') . '</a> » 404 Not Found', |
|
|
|