Skip to content

Commit

Permalink
Fixed some pages that were not full-width but could/should be.
Browse files Browse the repository at this point in the history
  • Loading branch information
morrisonlevi committed Sep 17, 2013
1 parent e6e2f1f commit 57c0325
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 5 deletions.
8 changes: 7 additions & 1 deletion mirroring.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,13 @@
';
*/

site_header("Mirroring The PHP Website", array("current" => "community"));
site_header(
'Mirroring The PHP Website',
array(
'current' => 'community',
'layout_span' => 12,
)
);

// Get a minute to print out for the cron example
function make_seed()
Expand Down
11 changes: 9 additions & 2 deletions results.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

function exit_with_pretty_error($title, $header, $msg) {
if ($title) {
site_header($title, array("noindex"));
site_header($title, array("noindex", 'layout_span' => 12));
}
echo '<h2>' .$header. '</h2>';
echo '<p>' .$msg. '</p>';
Expand Down Expand Up @@ -55,7 +55,14 @@ function exit_with_pretty_error($title, $header, $msg) {
$res = unserialize($data);

// HTTP status line is passed on, signifies an error
site_header('Search results', array("noindex", "current" => "docs"));
site_header(
'Search results',
array(
'noindex',
'current' => 'docs',
'layout_span' => 12,
)
);

if (!is_array($res)) {
exit_with_pretty_error(null, 'Internal error', 'Please try again later');
Expand Down
2 changes: 1 addition & 1 deletion styles/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -1020,7 +1020,7 @@ body.downloads #layout .span6 {
body.docs .row-fluid .layout-menu.span3 {
width:18%;
}
body.docs .row-fluid #layout-content {
body.docs .row-fluid #layout-content.span9 {
width:81%;
margin-left:1%;
}
Expand Down
8 changes: 7 additions & 1 deletion support.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,13 @@
// $Id$
$_SERVER['BASE_PAGE'] = 'support.php';
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
site_header("Getting Help", array("current" => "help"));
site_header(
'Getting Help',
array(
'current' => 'help',
'layout_span' => 12,
)
);
?>

<h1>Documentation</h1>
Expand Down

0 comments on commit 57c0325

Please sign in to comment.