Browse Source

Cleaning up

pull/436/head
danpros 4 years ago
parent
commit
e2192f774d
20 changed files with 4 additions and 15 deletions
  1. +0
    -11
      config/config.ini.example
  2. +1
    -1
      system/admin/views/update.html.php
  3. +2
    -2
      system/includes/functions.php
  4. +0
    -0
      themes/readable/404-search.html.php
  5. +0
    -0
      themes/readable/404.html.php
  6. +0
    -0
      themes/readable/css/style.css
  7. +0
    -0
      themes/readable/img/facebook.png
  8. +0
    -0
      themes/readable/img/googleplus.png
  9. +0
    -0
      themes/readable/img/rss.png
  10. +0
    -0
      themes/readable/img/share-facebook.png
  11. +0
    -0
      themes/readable/img/share-googleplus.png
  12. +0
    -0
      themes/readable/img/share-twitter.png
  13. +0
    -0
      themes/readable/img/tumblr.png
  14. +0
    -0
      themes/readable/img/twitter.png
  15. +1
    -1
      themes/readable/layout.html.php
  16. +0
    -0
      themes/readable/main.html.php
  17. +0
    -0
      themes/readable/no-posts.html.php
  18. +0
    -0
      themes/readable/post.html.php
  19. +0
    -0
      themes/readable/profile.html.php
  20. +0
    -0
      themes/readable/static.html.php

+ 0
- 11
config/config.ini.example View File

@ -28,7 +28,6 @@ blog.enable = "false"
; Social account ; Social account
social.twitter = "https://twitter.com" social.twitter = "https://twitter.com"
social.facebook = "https://www.facebook.com" social.facebook = "https://www.facebook.com"
social.tumblr = "http://www.tumblr.com"
; Breadcrumb home text. Useful when installed on subfolder. ; Breadcrumb home text. Useful when installed on subfolder.
breadcrumb.home = "Home" breadcrumb.home = "Home"
@ -47,9 +46,6 @@ disqus.shortname = ""
; Google Web Master Tool ID verification ; Google Web Master Tool ID verification
google.wmt.id = "" google.wmt.id = ""
; Google+ publisher
google.publisher = ""
; Google analytics ; Google analytics
google.analytics.id = "" google.analytics.id = ""
@ -82,9 +78,6 @@ recent.count = "5"
; Popular posts ; Popular posts
popular.count = "5" popular.count = "5"
; Author info on blog post. Set "true" or "false".
author.info = "true"
; Teaser type: set "trimmed" or "full". ; Teaser type: set "trimmed" or "full".
teaser.type = "full" teaser.type = "full"
@ -103,10 +96,6 @@ rss.count = "10"
; RSS feed description length. If left empty we will use full page. ; RSS feed description length. If left empty we will use full page.
rss.char = "200" rss.char = "200"
; Enable image thumbnail on teaser, the options is "true" and "false". If set to "true", you can specify the default thumbnail also.
img.thumbnail = "false"
default.thumbnail = ""
; Enable views Counter, the options is "true" and "false". If set to "true", you can see the Counts in Admin page and popular posts. ; Enable views Counter, the options is "true" and "false". If set to "true", you can see the Counts in Admin page and popular posts.
views.counter = "false" views.counter = "false"


+ 1
- 1
system/admin/views/update.html.php View File

@ -29,5 +29,5 @@ if ($updater->able()) {
echo '<div style="background-color:#f9f9f9;border:1px solid #ccc;border-radius:4px;color:#333;display:block;font-size:13px;margin:20px 0;padding:0 1em;">'; echo '<div style="background-color:#f9f9f9;border:1px solid #ccc;border-radius:4px;color:#333;display:block;font-size:13px;margin:20px 0;padding:0 1em;">';
echo \Michelf\MarkdownExtra::defaultTransform($info['body']); echo \Michelf\MarkdownExtra::defaultTransform($info['body']);
echo '</div>'; echo '</div>';
echo '<p><a class="btn btn-primary" target="_blank" href="' . $info['html_url'] . '">Read on Github</a>.</p>';
echo '<p><a class="btn btn-primary" target="_blank" href="' . $info['html_url'] . '">Read on Github</a></p>';
} }

+ 2
- 2
system/includes/functions.php View File

@ -1813,7 +1813,7 @@ function base64_encode_image($filename = string, $filetype = string)
} }
} }
// Social links
// Social links. Deprecated
function social($imgDir = null) function social($imgDir = null)
{ {
$twitter = config('social.twitter'); $twitter = config('social.twitter');
@ -1822,7 +1822,7 @@ function social($imgDir = null)
$rss = site_url() . 'feed/rss'; $rss = site_url() . 'feed/rss';
if ($imgDir === null) { if ($imgDir === null) {
$imgDir = "default/img/";
$imgDir = "readable/img/";
} }
if (!empty($twitter)) { if (!empty($twitter)) {


themes/default/404-search.html.php → themes/readable/404-search.html.php View File


themes/default/404.html.php → themes/readable/404.html.php View File


themes/default/css/style.css → themes/readable/css/style.css View File


themes/default/img/facebook.png → themes/readable/img/facebook.png View File


themes/default/img/googleplus.png → themes/readable/img/googleplus.png View File


themes/default/img/rss.png → themes/readable/img/rss.png View File


themes/default/img/share-facebook.png → themes/readable/img/share-facebook.png View File


themes/default/img/share-googleplus.png → themes/readable/img/share-googleplus.png View File


themes/default/img/share-twitter.png → themes/readable/img/share-twitter.png View File


themes/default/img/tumblr.png → themes/readable/img/tumblr.png View File


themes/default/img/twitter.png → themes/readable/img/twitter.png View File


themes/default/layout.html.php → themes/readable/layout.html.php View File

@ -5,7 +5,7 @@
<title><?php echo $title;?></title> <title><?php echo $title;?></title>
<meta name="description" content="<?php echo $description; ?>"/> <meta name="description" content="<?php echo $description; ?>"/>
<link rel="canonical" href="<?php echo $canonical; ?>" /> <link rel="canonical" href="<?php echo $canonical; ?>" />
<link href="<?php echo site_url() ?>themes/default/css/style.css" rel="stylesheet"/>
<link href="<?php echo site_url() ?>themes/readable/css/style.css" rel="stylesheet"/>
<link href="//fonts.googleapis.com/css?family=Open+Sans:400,700" rel="stylesheet" type="text/css"> <link href="//fonts.googleapis.com/css?family=Open+Sans:400,700" rel="stylesheet" type="text/css">
<?php if (publisher()): ?> <?php if (publisher()): ?>
<link href="<?php echo publisher() ?>" rel="publisher" /> <link href="<?php echo publisher() ?>" rel="publisher" />

themes/default/main.html.php → themes/readable/main.html.php View File


themes/default/no-posts.html.php → themes/readable/no-posts.html.php View File


themes/default/post.html.php → themes/readable/post.html.php View File


themes/default/profile.html.php → themes/readable/profile.html.php View File


themes/default/static.html.php → themes/readable/static.html.php View File


Loading…
Cancel
Save