From 895c9411d9393776f2ae4846935e42c31fde41af Mon Sep 17 00:00:00 2001 From: friendica Date: Sun, 2 Mar 2014 16:46:34 -0800 Subject: [PATCH] add choklet template with several defined flavours, two and three column fluid layouts with optional side margins and a region for a blog-style header photo --- include/nav.php | 39 +++++++++++++---------- view/css/choklet.css | 33 ++++++++++---------- view/css/choklet_edgesthree.css | 55 +++++++++++++++++++++++++++++++++ view/css/choklet_edgestwo.css | 48 ++++++++++++++++++++++++++++ view/css/choklet_full.css | 49 +++++++++++++++++++++++++++++ view/css/choklet_three.css | 51 ++++++++++++++++++++++++++++++ view/php/choklet.php | 3 +- view/php/default.php | 3 +- view/php/full.php | 3 +- view/tpl/nav.tpl | 12 ------- 10 files changed, 248 insertions(+), 48 deletions(-) create mode 100644 view/css/choklet_edgesthree.css create mode 100644 view/css/choklet_edgestwo.css create mode 100644 view/css/choklet_full.css create mode 100644 view/css/choklet_three.css diff --git a/include/nav.php b/include/nav.php index dd15ff411..4e3d9fbec 100644 --- a/include/nav.php +++ b/include/nav.php @@ -8,12 +8,10 @@ function nav(&$a) { * */ - $ssl_state = ((local_user()) ? true : false); - if(!(x($a->page,'nav'))) $a->page['nav'] = ''; - $base = $a->get_baseurl($ssl_state); + $base = z_root(); $a->page['htmlhead'] .= <<< EOT