Theme language and minor changes on Blogme

This commit is contained in:
dignajar 2016-01-24 14:45:35 -03:00
parent 619661f18b
commit a9405e5d28
8 changed files with 29 additions and 6 deletions

View File

@ -64,9 +64,9 @@ function buildThemes()
// ============================================================================
// Load the language file
$languageFilename = PATH_THEME.DS.'languages'.DS.$Site->locale().'.json';
$languageFilename = PATH_THEME.'languages'.DS.$Site->locale().'.json';
if( !Sanitize::pathFile($languageFilename) ) {
$languageFilename = PATH_THEME.DS.'languages'.DS.'en_US.json';
$languageFilename = PATH_THEME.'languages'.DS.'en_US.json';
}
if( Sanitize::pathFile($languageFilename) )

View File

@ -62,4 +62,18 @@ h2 {
img {
width: 100%;
}
#menu-bottom {
bottom: 0;
display: block;
margin: 20px;
background: rgba(220, 220, 220, 0.52);
position: fixed;
right: 0;
border-radius: 3px;
}
#menu-bottom > a {
margin: 0 10px;
}

View File

@ -1,4 +1,3 @@
@import url(font-awesome.min.css);
@import url("http://fonts.googleapis.com/css?family=Source+Sans+Pro:400,700|Raleway:400,800,900");
/*

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1005 B

View File

@ -51,5 +51,12 @@
<!-- Plugins Site Body End -->
<?php Theme::plugins('siteBodyEnd') ?>
<div id="menu-bottom">
<?php
//echo '<a href="'.HTML_PATH_THEME.'">'.$L->g('Home').'</a>';
echo '<a href="#">'.$L->g('Top').'</a>';
?>
</div>
</body>
</html>

View File

@ -3,5 +3,6 @@
{
"name": "Blogme",
"description": "Minimalist and clean, with cover image supported, based on Future Imperfect."
}
},
"top": "Top"
}

View File

@ -10,11 +10,13 @@
<!--[if lte IE 8]><link rel="stylesheet" href="<?php echo HTML_PATH_THEME ?>assets/css/ie8.css" /><![endif]-->
<link rel="stylesheet" href="<?php echo HTML_PATH_THEME ?>assets/css/bludit.css">
<link rel="shortcut icon" href="<?php echo HTML_PATH_THEME ?>img/favicon.png" type="image/x-icon">
<?php
Theme::fontAwesome();
// Plugins for head
Theme::plugins('siteHead');
Theme::fontAwesome();
?>