commit 53767190d92b2d03e00d35ab5d3415f8da6c944c
parent d9fc048d2156eda24100da6e56e1d331cdd24431
Author: markseu <mark2011@mayberg.se>
Date: Thu, 24 Nov 2016 00:38:47 +0100
System update (winter remix)
Diffstat:
6 files changed, 11 insertions(+), 10 deletions(-)
diff --git a/system/plugins/core.php b/system/plugins/core.php
@@ -115,7 +115,7 @@ class YellowCore
$this->pages->requestHandler = "core";
$statusCode = $this->processRequest($serverScheme, $serverName, $base, $location, $fileName, true);
}
- if($this->page->isError()) $statusCode = $this->processRequestError();
+ if($this->page->isExisting("pageError")) $statusCode = $this->processRequestError();
$this->toolbox->timerStop($time);
ob_end_flush();
if(defined("DEBUG") && DEBUG>=1)
@@ -970,7 +970,7 @@ class YellowPage
// Check if page with error
function isError()
{
- return $this->isExisting("pageError");
+ return $this->statusCode>=400;
}
// Check if response header exists
diff --git a/system/plugins/language-de.txt b/system/plugins/language-de.txt
@@ -25,10 +25,10 @@ DateFormatShort: F Y
DateFormatMedium: d.m.Y
DateFormatLong: d.m.Y H:i
DateFormatTime: H:i
+PagePrevious: ← Zurück: @title
+PageNext: Weiter: @title →
PaginationPrevious: ← Zurück
-PaginationNext: Vor →
-PagePrevious: ← @title
-PageNext: @title →
+PaginationNext: Weiter →
SearchQuery: Suche:
SearchResultsNone: Bitte einen Suchbegriff eingeben.
SearchResultsEmpty: Keine Treffer für diese Suchanfrage.
diff --git a/system/plugins/language-en.txt b/system/plugins/language-en.txt
@@ -25,10 +25,10 @@ DateFormatShort: F Y
DateFormatMedium: Y-m-d
DateFormatLong: Y-m-d H:i
DateFormatTime: H:i
+PagePrevious: ← Previous: @title
+PageNext: Next: @title →
PaginationPrevious: ← Previous
PaginationNext: Next →
-PagePrevious: ← @title
-PageNext: @title →
SearchQuery: Search:
SearchResultsNone: Enter a search term.
SearchResultsEmpty: No results found.
diff --git a/system/plugins/language-fr.txt b/system/plugins/language-fr.txt
@@ -25,10 +25,10 @@ DateFormatShort: F Y
DateFormatMedium: d/m/Y
DateFormatLong: d/m/Y H:i
DateFormatTime: H:i
+PagePrevious: ← Précédent: @title
+PageNext: Suivant: @title →
PaginationPrevious: ← Précédent
PaginationNext: Suivant →
-PagePrevious: ← @title
-PageNext: @title →
SearchQuery: Rechercher:
SearchResultsNone: Entrez un mot dans le champ de recherche.
SearchResultsEmpty: Pas de résultats.
diff --git a/system/plugins/yellow-blog.zip.download b/system/plugins/yellow-blog.zip.download
Binary files differ.
diff --git a/system/themes/flatsite.css b/system/themes/flatsite.css
@@ -1,5 +1,5 @@
/* Theme: Flatsite theme */
-/* Version: 0.6.10 */
+/* Version: 0.6.11 */
/* Designer: Mark Mayberg */
@import url(https://fonts.googleapis.com/css?family=Open+Sans:300,400,700);
@@ -39,6 +39,7 @@ a:hover { color:#07d; text-decoration:underline; }
.content .stretchable li { margin:0; padding:1em 0; display:inline-block; text-align:center; vertical-align:top; }
.content .stretchable a { color:#717171; text-decoration:none; }
.content .toc { margin:0; padding:0; list-style:none; }
+.content .links { margin:1em 0; }
.content .pagination { margin:1em 0; }
.content .left { float:left; margin:0 1em 0 0; }
.content .center { display:block; margin:0 auto; }