From 3d64793a1ee45857856be1cd71c3a0a040a3e869 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Thu, 5 Jan 2012 02:39:55 -0800 Subject: This was sitting on the server --- src/views/includes/header-include.php | 51 +++++++++++++++++++++ src/views/includes/header.php | 84 +++++++++++++++++++++++++++++++++++ 2 files changed, 135 insertions(+) create mode 100644 src/views/includes/header-include.php create mode 100644 src/views/includes/header.php (limited to 'src/views') diff --git a/src/views/includes/header-include.php b/src/views/includes/header-include.php new file mode 100644 index 0000000..3826b3a --- /dev/null +++ b/src/views/includes/header-include.php @@ -0,0 +1,51 @@ +getName(); +$logged_in = ($username!==false); + +$ret = $this->ret; +$this->ret = true; + +function body_class() { + $body_class = 'logged'.($logged_in?'in':'out'); + echo 'class="'+$body_class+'"'; +} + +require(dirname(__FILE__)+"/header.php"); \ No newline at end of file diff --git a/src/views/includes/header.php b/src/views/includes/header.php new file mode 100644 index 0000000..0a3e161 --- /dev/null +++ b/src/views/includes/header.php @@ -0,0 +1,84 @@ + section and everything up till
+ * + * @package WordPress + * @subpackage Twenty_Eleven + * @since Twenty Eleven 1.0 + */ +?> + + + + +> + + + + +<?php + /* + * Print the <title> tag based on what is being viewed. + */ + global $_title_; + echo $_title_; + ?> + + + + + + * tag of your theme, or you will break many plugins, which + * generally use this hook to add elements to such + * as styles, scripts, and meta tags. + */ + wp_head(); +?> + + +> +
+ + + +
\ No newline at end of file -- cgit v1.2.3-2-g168b