summaryrefslogtreecommitdiff
path: root/src/views/includes/header-include.php
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-01-07 08:21:00 -0800
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-01-07 10:20:28 -0800
commit464f4d3497617fadb9d7752868f1175849cfa6d2 (patch)
tree0771bd935b30971bf2c244b6f158ed7496b644e5 /src/views/includes/header-include.php
parent3d64793a1ee45857856be1cd71c3a0a040a3e869 (diff)
Refactor to separate the framework from the app; drop message stuff, this app is just user management. Add a json view for individual usersHEADmaster
Diffstat (limited to 'src/views/includes/header-include.php')
-rw-r--r--src/views/includes/header-include.php51
1 files changed, 0 insertions, 51 deletions
diff --git a/src/views/includes/header-include.php b/src/views/includes/header-include.php
deleted file mode 100644
index 3826b3a..0000000
--- a/src/views/includes/header-include.php
+++ /dev/null
@@ -1,51 +0,0 @@
-<?php
-function language_attributes() {
- echo 'dir="ltr" lang="en-US"';
-}
-
-function bloginfo($param) {
- switch ($param) {
- case 'charset': echo 'UTF-8'; break;
- case 'stylesheet_url': echo "/wp/wp-content/themes/kilabytes/style.css"; break;
- case 'pingback_url': echo 'http://www.mckenzierobotics.org/wp/xmlrpc.php'; break;
- default: echo ''; break;
- }
-}
-
-function wp_title($foo, $bar, $baz) {
- global $_title_;
- echo $_title_;
-}
-
-function get_bloginfo($foo, $bar) {
- return false;
-}
-
-function get_template_directory_uri() {
- return 'http://www.mckenzierobotics.org/wp/wp-content/themes/twentyeleven';
-}
-
-function is_singular() {
- return false;
-}
-
-function wp_head() {
- echo '';
-}
-
-global $paged, $page;
-$paged = 0;
-$page = 0;
-
-$username = Auth::getInstance(Login::isLoggedIn())->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