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 --- .gitignore | 2 +- src/views/includes/header-include.php | 51 +++++++++++++++++++++ src/views/includes/header.php | 84 +++++++++++++++++++++++++++++++++++ 3 files changed, 136 insertions(+), 1 deletion(-) create mode 100644 src/views/includes/header-include.php create mode 100644 src/views/includes/header.php diff --git a/.gitignore b/.gitignore index 8f217a5..37c2c32 100644 --- a/.gitignore +++ b/.gitignore @@ -11,4 +11,4 @@ dev-* *.bak *~ -.sass-cache/* \ No newline at end of file +.sass-cache/* 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