System update (winter remix)

This commit is contained in:
markseu 2016-11-24 00:38:47 +01:00
parent d9fc048d21
commit 53767190d9
6 changed files with 11 additions and 10 deletions

View file

@ -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

View file

@ -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.

View file

@ -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.

View file

@ -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.

View file

@ -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; }