diff --git a/kernel/boot/rules/70.build_posts.php b/kernel/boot/rules/70.build_posts.php index 10207918..bfdd20dd 100644 --- a/kernel/boot/rules/70.build_posts.php +++ b/kernel/boot/rules/70.build_posts.php @@ -74,7 +74,7 @@ function build_posts_per_page($pageNumber=0, $amount=5, $draftPosts=false) $list = $dbPosts->getPage($pageNumber, $amount, $draftPosts); - // There are not post for the pageNumber then NotFound page + // There are not post for the pageNumber then true Not found page if(empty($list) && $pageNumber>0) { $Url->setNotFound(true); } @@ -115,6 +115,10 @@ if( ($Url->whereAmI()==='post') && ($Url->notFound()===false) ) $posts[0] = $Post; } +} +elseif( ($Url->whereAmI()==='tag') && ($Url->notFound()===false) ) +{ + } // Build post per page else diff --git a/plugins/simplemde/plugin.php b/plugins/simplemde/plugin.php index d3dbae91..75b29d92 100755 --- a/plugins/simplemde/plugin.php +++ b/plugins/simplemde/plugin.php @@ -57,7 +57,7 @@ class pluginsimpleMDE extends Plugin { status: false, toolbarTips: true, toolbarGuideIcon: true, - autofocus: true, + autofocus: false, lineWrapping: false, indentWithTabs: true, tabSize: 4, diff --git a/plugins/tags/plugin.php b/plugins/tags/plugin.php index 10f37185..52902cc4 100755 --- a/plugins/tags/plugin.php +++ b/plugins/tags/plugin.php @@ -25,6 +25,7 @@ class pluginTags extends Plugin { { global $Language; global $dbTags; + global $Url; $html = '