Correct spelling of Syntaxtic

This commit is contained in:
Starbeamrainbowlabs 2015-09-30 07:09:56 +01:00
parent 756814a160
commit c10e0fbe29
2 changed files with 3 additions and 3 deletions

View File

@ -533,7 +533,7 @@ else
$pageindex = json_decode(file_get_contents("./pageindex.json"));
}
// Work around an Opera + Syntastic bug where there is no margin at the left hand side if there isn't a query string when accessing a .php file
// Work around an Opera + Syntaxtic bug where there is no margin at the left hand side if there isn't a query string when accessing a .php file
if(!isset($_GET["action"]) and !isset($_GET["page"]))
{
http_response_code(302);
@ -901,7 +901,7 @@ register_module([
$state = ($pageindex->$page->protect ? "enabled" : "disabled");
$title = "Page protection $state.";
exit(page_renderer::render_main($title, "<p>Page protection for $env->page has been $state.</p>"));
exit(page_renderer::render_main($title, "<p>Page protection for $env->page has been $state.</p><p><a href='?action=$env->defaultaction&page=$env->page'>Go back</a>."));
}
else
{

View File

@ -300,7 +300,7 @@ else
$pageindex = json_decode(file_get_contents("./pageindex.json"));
}
// Work around an Opera + Syntastic bug where there is no margin at the left hand side if there isn't a query string when accessing a .php file
// Work around an Opera + Syntaxtic bug where there is no margin at the left hand side if there isn't a query string when accessing a .php file
if(!isset($_GET["action"]) and !isset($_GET["page"]))
{
http_response_code(302);