Localization of Pagination

This commit is contained in:
mmk2410 2015-12-21 15:56:18 +01:00
parent 23f9765b3a
commit 2586db7a6f
6 changed files with 18 additions and 31 deletions

View file

@ -1,20 +1,11 @@
<?php
/**
* PHP Version 5.6
*
* Rangitaki Project
*
* Language File: German / Deutsch
*
* @category Language_File
* @package Rbe
* @author Marcel Kapfer (mmk2410) <marcelmichaelkapfer@yahoo.co.nz>
* @license MIT License
* @link http://marcel-kapfer.de/rangitaki
*/
// Rangitaki Project
// LANGUAGE: GERMAN
$BLOGLANG = [
"Blogs on" => "Blogs auf",
"Check out this blog" => "Schau dir diesen Blog an:",
"Check out" => "Schau dir das an:"
"Check out" => "Schau dir das an:",
"Next Page" => "Nächste Seite",
"Previous Page" => "Vorherige Seite",
];

View file

@ -1,20 +1,11 @@
<?php
/**
* PHP Version 5.6
*
* Rangitaki Project
*
* Language File: German / Deutsch
*
* @category Language_File
* @package Rbe
* @author Marcel Kapfer (mmk2410) <marcelmichaelkapfer@yahoo.co.nz>
* @license MIT License
* @link http://marcel-kapfer.de/rangitaki
*/
// Rangitaki Project
// LANGUAGE: ENGLISH
$BLOGLANG = [
"Blogs on" => "Blogs on",
"Check out this blog" => "Check out this blog:",
"Check out" => "Check out:",
"Next Page" => "Next Page",
"Previous Page" => "Previous Page",
];

View file

@ -11,6 +11,8 @@
* @link http://marcel-kapfer.de/rangitaki
*/
require_once "BlogListGenerator.php";
require_once "config.php";
require_once "lang/" . $language . ".php";
if ($pagination) {
?>
@ -21,13 +23,13 @@ if ($pagination) {
?>
<a href="<?php
echo "?blog=" . $getblog . "&page=" . ($pagenumber - 1);
?>" class="pag_prev button">PREVIOUS PAGE</a>
?>" class="pag_prev button"><?php echo $BLOGLANG["Previous Page"]; ?></a>
<?php
} else {
?>
<a href="<?php
echo "?page=" . ($pagenumber - 1);
?>" class="pag_prev button">PREVIOUS PAGE</a>
?>" class="pag_prev button"><?php echo $BLOGLANG['Previous Page']; ?></a>
<?php
}
}
@ -41,13 +43,13 @@ if ($pagination) {
?>
<a href="<?php
echo "?blog=" . $getblog . "&page=" . ($pagenumber + 1);
?>" class="pag_next button">NEXT PAGE</a>
?>" class="pag_next button"><?php echo $BLOGLANG["Next Page"]; ?></a>
<?php
} else {
?>
<a href="<?php
echo "?page=" . ($pagenumber + 1);
?>" class="pag_next button">NEXT PAGE</a>
?>" class="pag_next button"><?php echo $BLOGLANG["Next Page"];?></a>
<?php
}
}

View file

@ -140,6 +140,7 @@ body{
.button {
border-width: 1px;
border-style: solid;
text-transform: uppercase;
box-shadow: 0px 1px 1.5px 1.5px rgba(42, 42, 42, 0.65);
-moz-box-shadow: 0px 1px 1.5px 1.5px rgba(42, 42, 42, 0.65);
-webkit-box-shadow: 0px 1px 1.5px 1.5px rgba(42, 42, 42, 0.65);

View file

@ -134,6 +134,7 @@ body{
}
.button{
text-transform: uppercase;
border-width: 1px;
border-style: solid;
box-shadow: 0px 1px 1.5px 1.5px rgba(42, 42, 42, 0.65);

View file

@ -138,6 +138,7 @@ body{
}
.button {
text-transform: uppercase;
border-width: 1px;
border-style: solid;
box-shadow: 0.4px 1px 1.5px 1px #aaa;