From 03c7bf3c7c58e509325f62fa5c8002cd2e29ef24 Mon Sep 17 00:00:00 2001 From: Mohamad Fahmi Date: Sat, 20 Sep 2014 17:53:06 +0700 Subject: [PATCH 1/4] Small fix, userscalable --- system/includes/functions.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/system/includes/functions.php b/system/includes/functions.php index 40a7072..417ea3c 100644 --- a/system/includes/functions.php +++ b/system/includes/functions.php @@ -1579,11 +1579,11 @@ function head_contents($title, $description, $canonical) { $wmt_id = config('google.wmt.id'); $title = '' . $title . ''; - $favicon = ''; + $favicon = ''; $charset = ''; - $generator = ''; + $generator = ''; $xua = ''; - $viewport = ''; + $viewport = ''; $description = ''; $sitemap = ''; $canonical = ''; @@ -1599,12 +1599,12 @@ function head_contents($title, $description, $canonical) { } if ($styleImage == 'on') { - $output .= $title . "\n" . $favicon . "\n" . $charset . "\n" . $generator . "\n" . $xua . "\n" . $viewport . "\n" . $description . "\n" . $sitemap . "\n" . $canonical . "\n" . $feed . "\n" . $lightboxcss . "\n" . $jquery . "\n" . $lightbox . "\n" . $corejs . "\n" . $webmasterTools . "\n"; + $output .= $charset . "\n" . $xua . "\n" . $title . "\n" . $description . "\n" . $viewport . "\n" . $generator . "\n" . $webmasterTools . "\n" . $favicon . "\n" . $canonical . "\n" . $sitemap . "\n" . $feed . "\n" . $lightboxcss . "\n" . $jquery . "\n" . $lightbox . "\n" . $corejs . "\n"; } else { if ($jq == 'enable') { - $output .= $title . "\n" . $favicon . "\n" . $charset . "\n" . $generator . "\n" . $xua . "\n" . $viewport . "\n" . $description . "\n" . $sitemap . "\n" . $canonical . "\n" . $feed . "\n" . $jquery . "\n" . $webmasterTools . "\n"; + $output .= $charset . "\n" . $xua . "\n" . $title . "\n" . $description . "\n" . $viewport . "\n" . $generator . "\n" . $webmasterTools . "\n" . $favicon . "\n" . $canonical . "\n" . $sitemap . "\n" . $feed . "\n" . $jquery . "\n"; } else { - $output .= $title . "\n" . $favicon . "\n" . $charset . "\n" . $generator . "\n" . $xua . "\n" . $viewport . "\n" . $description . "\n" . $sitemap . "\n" . $canonical . "\n" . $feed . "\n" . $webmasterTools . "\n"; + $output .= $charset . "\n" . $xua . "\n" . $title . "\n" . $description . "\n" . $viewport . "\n" . $generator . "\n" . $webmasterTools . "\n" . $favicon . "\n" . $canonical . "\n" . $sitemap . "\n" . $feed . "\n"; } } From 318127754e690d0967350d3d73390d580bca0121 Mon Sep 17 00:00:00 2001 From: Danang Probo Sayekti Date: Sun, 21 Sep 2014 13:20:22 +0700 Subject: [PATCH 2/4] Update style.css --- themes/logs/css/style.css | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/themes/logs/css/style.css b/themes/logs/css/style.css index d350e0f..e1fc5f4 100644 --- a/themes/logs/css/style.css +++ b/themes/logs/css/style.css @@ -585,13 +585,13 @@ ul li, ol li{ .about, .social, .archive, .comments, .tagcloud, .recent { margin-bottom: 2em; } + +#sidebar .recent ul { + margin: 0.25em 0 0.25em 1.3em; +} -.recent li:before { - content: "►"; - font-size: 12px; - -webkit-font-smoothing: antialiased; - margin-right: 5px; - color: #21759B; +#sidebar .recent li { + list-style-type: circle; } /*------------------------- @@ -888,4 +888,4 @@ ul.archivegroup{ } .archivegroup li.expanded,.archivegroup li.collapsed{ list-style:none; -} \ No newline at end of file +} From 1db29126cad593398dd2f9b78a98daefd85e07ff Mon Sep 17 00:00:00 2001 From: Danang Probo Sayekti Date: Sun, 21 Sep 2014 13:30:26 +0700 Subject: [PATCH 3/4] Update README.md --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c8ea38c..2477684 100644 --- a/README.md +++ b/README.md @@ -38,6 +38,7 @@ Features - User role - Online backup - File cache +- Auto Update Requirements ------------ @@ -173,7 +174,7 @@ So wrap the title with HTML comment with `t` for both side. Demo ---- -Visit a real blog powered by HTMLy at [Danlogs](http://www.danlogs.com). +Visit [HTMLy Demo](http://demo.htmly.com). Credit ------ @@ -185,7 +186,7 @@ Contribute 1. Fork and edit 2. Submit pull request for consideration -Contributers +Contributors ---------- - [danpros](https://github.com/danpros) - [Weblog](http://www.danpros.com) - [Kanti](https://github.com/Kanti) - [Weblog](https://kanti.de) From 4cde193e2aa10cf424294fccf509f1839e648b55 Mon Sep 17 00:00:00 2001 From: Danang Probo Sayekti Date: Sun, 28 Sep 2014 08:41:38 +0700 Subject: [PATCH 4/4] Compatibility with previous versions --- system/admin/admin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/admin/admin.php b/system/admin/admin.php index e3e52ac..fe17acd 100644 --- a/system/admin/admin.php +++ b/system/admin/admin.php @@ -47,7 +47,7 @@ function edit_post($title, $tag, $url, $content, $oldfile, $destination = null, $oldurl = explode('_', $oldfile); if($date !== null) { - $oldurl[0] = substr($oldurl[0],0,-19) . date('Y-m-d-h-i-s',strtotime($date)); + $oldurl[0] = substr($oldurl[0], 0, strrpos($oldurl[0], '/')) . '/' . date('Y-m-d-h-i-s',strtotime($date)); } $post_title = $title;