diff --git a/system/admin/admin.php b/system/admin/admin.php index 48bebae..286e3d4 100644 --- a/system/admin/admin.php +++ b/system/admin/admin.php @@ -357,7 +357,9 @@ function get_recent_pages() { if (!empty($posts)) { krsort($posts); echo ''; - echo ''; + echo ''; + if (config("views.counter") == "true") echo ''; + echo ''; $i = 0; $len = count($posts); foreach ($posts as $p) { diff --git a/system/htmly.php b/system/htmly.php index e0b310a..6abbe26 100644 --- a/system/htmly.php +++ b/system/htmly.php @@ -1146,7 +1146,7 @@ get('/:static/:sub', function($static,$sub) { file_cache($_SERVER['REQUEST_URI']); } - render('static-sub', array( + render('static', array( 'head_contents' => head_contents($post->title . ' - ' . blog_title(), $description = get_description($post->body), $post->url), 'bodyclass' => 'inpage', 'breadcrumb' => '' . config('breadcrumb.home') . ' » ' . $father_post[0]->title . ' » ' . $post->title, diff --git a/themes/logs/static-sub.html.php b/themes/logs/static-sub.html.php deleted file mode 100644 index 1eb2fa5..0000000 --- a/themes/logs/static-sub.html.php +++ /dev/null @@ -1,10 +0,0 @@ - - -
-
-

title ?>

-
- body; ?> -
-
-
\ No newline at end of file
TitleViewsOperations
TitleViewsOperations