mirror of
https://github.com/processwire/processwire.git
synced 2025-08-11 17:24:46 +02:00
Minor unrelated updates
This commit is contained in:
@@ -1313,7 +1313,7 @@ class Session extends Wire implements \IteratorAggregate {
|
||||
// note for 302 redirects we send no header other than 'Location: url'
|
||||
$http = new WireHttp();
|
||||
$this->wire($http);
|
||||
if($status != 302) $http->sendStatusHeader($status);
|
||||
$http->sendStatusHeader($status);
|
||||
$http->sendHeader("Location: $url");
|
||||
|
||||
exit(0);
|
||||
|
@@ -70,7 +70,7 @@ if(!isset($content)) $content = '';
|
||||
$headline = $adminTheme->getHeadline();
|
||||
$headlinePos = strpos($content, ">$headline</h1>");
|
||||
if(!$adminTheme->isModal && ($headlinePos === false || $headlinePos < 500)) {
|
||||
echo "<h1 class='uk-margin-remove-top'>$headline</h1>";
|
||||
echo "<h1 id='pw-content-title' class='uk-margin-remove-top'>$headline</h1>";
|
||||
}
|
||||
?>
|
||||
|
||||
|
Reference in New Issue
Block a user