Skip to content
Browse files

Update require() lines to avoid sending output before the header file…

… loads
  • Loading branch information...
1 parent fe01775 commit 1749ee0df8f2bd747871c4468b16a84e16853d35 @aaronpk committed
View
3 2/index.php
@@ -5,9 +5,8 @@
$page_secondary = "";
$page_meta_description = "Resources and information related to the OAuth 2.0 protocol.";
+require('../includes/_header.php');
?>
-<?php require('../includes/_header.php'); ?>
-
<body class="<?php echo $page_section; ?>">
<div class="container">
<div id="header" class="column first last span-20">
View
7 about/credits/index.php
@@ -5,9 +5,8 @@
$page_secondary = "credits";
$page_meta_description = "";
+require('../../includes/_header.php');
?>
-<?php require('../../includes/_header.php'); ?>
-
<body class="<?php echo $page_section; ?>">
<div class="container">
<div id="header" class="column first last span-20">
@@ -29,9 +28,9 @@
<div id="main" class="column first last span-18 prepend-1 append-1">
<h2>Credits</h2>
<p>
- This site was designed by <a href="http://factoryjoe.com">Chris Messina</a> and is administered by <a href="http://larryhalff.com/">Larry Halff</a>, <a href="http://www.hueniverse.com/">Eran Hammer-Lahav</a> and Chris Messina.
+ This site was designed by <a href="http://factoryjoe.com">Chris Messina</a> and is administered by <a href="http://aaronparecki.com/">Aaron Parecki</a>.
</p>
- <iframe id="fdbk_iframe_inline" allowTransparency="true" width="100%" height="500" scrolling="no" frameborder="0" style="margin-top:1.2em;" src="http://getsatisfaction.com/oauth/feedback/topics/new?display=inline&amp;style=idea"></iframe>
+ <?php require('../../includes/_edit_banner.php'); ?>
</div>
<?php require('../../includes/_footer.php'); ?>
View
3 about/design-goals/index.php
@@ -5,10 +5,9 @@
$page_secondary = "design-goals";
$page_meta_description = "";
+require('../../includes/_header.php');
?>
-<?php require('../../includes/_header.php'); ?>
-
<body class="<?php echo $page_section; ?>">
<div class="container">
<div id="header" class="column first last span-20">
View
4 about/index.php
@@ -4,10 +4,8 @@
$page_section = "about";
$page_secondary = "introduction";
+require('../includes/_header.php');
?>
-
-<?php require('../includes/_header.php'); ?>
-
<body class="<?php echo $page_section; ?>">
<div class="container">
<div id="header" class="column first last span-20">
View
6 advisories/2009-1/index.php
@@ -1,14 +1,10 @@
<?php
-
$page_title = "OAuth Security Advisory 2009.1 &mdash; OAuth";
$page_section = "advisories";
$page_secondary = "2009.1";
$page_meta_description = "";
-
+require('../../includes/_header.php');
?>
-
-<?php require('../../includes/_header.php'); ?>
-
<body class="<?php echo $page_section; ?>">
<div class="container">
<div id="header" class="column first last span-20">
View
3 advisories/index.php
@@ -5,10 +5,9 @@
$page_secondary = "";
$page_meta_description = "";
+require('../includes/_header.php');
?>
-<?php require('../includes/_header.php'); ?>
-
<body class="<?php echo $page_section; ?>">
<div class="container">
<div id="header" class="column first last span-20">
View
2 code/extensions/index.php
@@ -5,8 +5,8 @@
$page_secondary = "extensions";
$page_meta_description = "";
+require('../../includes/_header.php');
?>
-<?php require('../../includes/_header.php'); ?>
<body class="<?php echo $page_section; ?>">
<div class="container">
View
2 code/index.php
@@ -5,8 +5,8 @@
$page_secondary = "";
$page_meta_description = "";
+require('../includes/_header.php');
?>
-<?php require('../includes/_header.php'); ?>
<body class="<?php echo $page_section; ?>">
<div class="container">
View
2 community/index.php
@@ -5,8 +5,8 @@
$page_secondary = "";
$page_meta_description = "";
+require('../includes/_header.php');
?>
-<?php require('../includes/_header.php'); ?>
<body class="<?php echo $page_section; ?>">
<div class="container">
View
2 documentation/faq/index.php
@@ -5,8 +5,8 @@
$page_secondary = "faq";
$page_meta_description = "";
+require('../../includes/_header.php');
?>
-<?php require('../../includes/_header.php'); ?>
<body class="<?php echo $page_section; ?>">
<div class="container">
View
2 documentation/getting-started/index.php
@@ -5,8 +5,8 @@
$page_secondary = "getting-started";
$page_meta_description = "";
+require('../../includes/_header.php');
?>
-<?php require('../../includes/_header.php'); ?>
<body class="<?php echo $page_section; ?>">
<div class="container">
View
2 documentation/index.php
@@ -5,8 +5,8 @@
$page_secondary = "";
$page_meta_description = "";
+require('../includes/_header.php');
?>
-<?php require('../includes/_header.php'); ?>
<body class="<?php echo $page_section; ?>">
<div class="container">
View
2 documentation/spec/index.php
@@ -5,8 +5,8 @@
$page_secondary = "getting-started";
$page_meta_description = "";
+require('../../includes/_header.php');
?>
-<?php require('../../includes/_header.php'); ?>
<body class="<?php echo $page_section; ?>">
<div class="container">
View
6 includes/_header.php
@@ -1,11 +1,12 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+<?php
+@header('X-Pingback: http://pingback.me/aaronpk/xmlrpc');
+?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<script type="text/javascript">var _sf_startpt=(new Date()).getTime()</script>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
-
<title>
<?php if ($page_title)
{
@@ -20,6 +21,7 @@
</title>
<link href="/stylesheets/style.css" rel="stylesheet" type="text/css" />
<link href="/stylesheets/print.css" rel="stylesheet" type="text/css" media="print" />
+ <link rel="pingback" href="http://pingback.me/aaronpk/xmlrpc" />
<script type="text/javascript">
var _gaq = _gaq || [];
View
5 index.php
@@ -1,12 +1,9 @@
<?php
-
$page_section = "home";
$page_title = "OAuth Community Site";
+require('./includes/_header.php');
?>
-
-<?php require('./includes/_header.php'); ?>
-
<body class="home">
<div class="container">
<div id="header" class="column first last span-20">

0 comments on commit 1749ee0

Please sign in to comment.
Something went wrong with that request. Please try again.