/*
Puulp
Buuurp
Copyright 2014 Patrick Smith
*/
$pageDisplayer = PvlpPageDisplayer::getCurrentPageDisplayer();
?>
<!doctype html>
<html <?php 
language_attributes();
?>
>
<?php 
stirring('whole', 'into template');
stir('header');
?>
<head>
<meta http-equiv="Content-Type" content="<?php 
bloginfo('html_type');
?>
; charset=<?php 
bloginfo('charset');
?>
">
<title><?php 
bloginfo('name');
?>
 <?php 
wp_title(BURNT_ENDASH);
?>
<?php

/*
Pvlp
Copyright 2014 Patrick Smith
*/
$pageDisplayer = PvlpPageDisplayer::getCurrentPageDisplayer();
stir('footer');
?>
</div>
<?php 
stirring('footer', 'banner');
?>
<footer id="footer">
<div class="content">
<?php 
// Legals, Copyright
$pageDisplayer->displayFooterLegals();
// Footer Navigation
$mainNavigation = glazyBegin('nav#footerNavigation');
$pageDisplayer->displayFooterMenuContents();
glazyFinish($mainNavigation);
stirring('header', 'main navigation');
?>
</div>
</footer>
<?php 
wp_footer();
stirring('footer', 'wp_footer');
?>
</div>
Exemple #3
0
{
    stirred('whole');
    ?>
<div id="tidalRecordedTimes">
<?php 
    stirDisplayRecordedTimes();
    ?>
</div>
<?php 
}
function stirDisplayJSONInfo($result, $actionID = null)
{
    global $stir;
    header('Content-Type: application/json');
    if (empty($stir)) {
        $stir = array();
    }
    $stir['JSONResult'] = $result;
    $stir['actionID'] = $actionID;
    // Defer display of JSON info, to record everything including
    // after this function completes.
    register_shutdown_function('stirJSONInfoShutdown');
}
function stirJSONInfoShutdown()
{
    stirred('whole');
    stirDisplayRecordedTimes();
}
// Begin recording whole time span.
stir('whole');