From fd72fd5e4ce1d570e6614f3732ef4cf8a9cf9d77 Mon Sep 17 00:00:00 2001 From: danpros Date: Sun, 10 Dec 2023 11:04:46 +0700 Subject: [PATCH] Update themes --- system/includes/functions.php | 6 ++++++ themes/blog/layout.html.php | 16 +++++++--------- themes/clean/layout.html.php | 4 ++-- themes/logs/layout.html.php | 4 ++-- themes/readable/layout.html.php | 4 ++-- themes/twentyfifteen/layout.html.php | 22 +++++++++++----------- themes/twentyfifteen/post.html.php | 2 +- themes/twentysixteen/layout.html.php | 22 +++++++++++----------- themes/twentysixteen/main.html.php | 2 +- themes/twentysixteen/post.html.php | 4 ++-- 10 files changed, 45 insertions(+), 41 deletions(-) diff --git a/system/includes/functions.php b/system/includes/functions.php index 9dd6c4e..491e10c 100644 --- a/system/includes/functions.php +++ b/system/includes/functions.php @@ -2922,6 +2922,12 @@ function blog_copyright() return config('blog.copyright'); } +// Return blog language +function blog_language() +{ + return str_replace('_', '-', config('language')); +} + // Return author info. Deprecated function authorinfo($name = null, $about = null) { diff --git a/themes/blog/layout.html.php b/themes/blog/layout.html.php index d27aa26..092df03 100644 --- a/themes/blog/layout.html.php +++ b/themes/blog/layout.html.php @@ -1,8 +1,6 @@ - - - + <?php echo $title;?> @@ -12,11 +10,11 @@ - + - + - +
- +

@@ -189,8 +187,8 @@
- - + + \ No newline at end of file diff --git a/themes/clean/layout.html.php b/themes/clean/layout.html.php index d66ed7a..24f6514 100644 --- a/themes/clean/layout.html.php +++ b/themes/clean/layout.html.php @@ -1,12 +1,12 @@ - + <?php echo $title;?> - + expand child menu<\/span>","collapse":"collapse child menu<\/span>"}; /* ]]> */ - - - - - + + + + + diff --git a/themes/twentyfifteen/post.html.php b/themes/twentyfifteen/post.html.php index c80ed80..37f9c02 100644 --- a/themes/twentyfifteen/post.html.php +++ b/themes/twentyfifteen/post.html.php @@ -40,7 +40,7 @@

- <?php echo $author->name; ?> + <?php echo $author->name; ?>

name; ?>

diff --git a/themes/twentysixteen/layout.html.php b/themes/twentysixteen/layout.html.php index 7fe9c60..e92bad6 100644 --- a/themes/twentysixteen/layout.html.php +++ b/themes/twentysixteen/layout.html.php @@ -1,22 +1,22 @@ - + <?php echo $title;?> - - + + - - - + + + - + \ No newline at end of file diff --git a/themes/twentysixteen/main.html.php b/themes/twentysixteen/main.html.php index 97767b8..f22cf41 100644 --- a/themes/twentysixteen/main.html.php +++ b/themes/twentysixteen/main.html.php @@ -50,7 +50,7 @@