S2 header navlinks cleanup (#3149)
* remove redundant navlinks override code from bannering, hibiscus, marginless, modular, nouveau oleanders and palettable
This commit is contained in:
parent
723e090f77
commit
8f1cff14f6
|
@ -92,18 +92,6 @@ propgroup images_child {
|
|||
des = "The height of your second header image, in pixels. Use 0 for default."; }
|
||||
}
|
||||
|
||||
##===============================
|
||||
## Modules
|
||||
##===============================
|
||||
|
||||
property string module_navlinks_section_override {
|
||||
values = "none|(none)|header|Header|one|Main Module Section|two|Secondary Module Section";
|
||||
grouped = 1;
|
||||
}
|
||||
|
||||
set grouped_property_override = { "module_navlinks_section" => "module_navlinks_section_override" };
|
||||
set module_navlinks_section = "header";
|
||||
|
||||
##===============================
|
||||
##Text
|
||||
##===============================
|
||||
|
@ -121,98 +109,6 @@ set text_post_comment_friends = "Reply";
|
|||
## Functions
|
||||
##============
|
||||
|
||||
|
||||
# Give a title to the navlinks module
|
||||
function print_module_navlinks() {
|
||||
var Page p = get_page();
|
||||
var string title = "Navigation";
|
||||
open_module("navlinks", "$title", "");
|
||||
var string[] links = [];
|
||||
foreach var string k ($p.views_order) {
|
||||
var string css = """ class="$k" """;
|
||||
if ($p.view == $k) { $css = """ class="current $k" """; }
|
||||
$links[size $links] = """<a href="$p.view_url{$k}"$css>""" + lang_viewname($k) + """</a>""";
|
||||
}
|
||||
print_module_list($links);
|
||||
close_module();
|
||||
}
|
||||
|
||||
function Page::print() {
|
||||
"""<!DOCTYPE html>\n<html lang="en">\n<head profile="http://www.w3.org/2006/03/hcard http://purl.org/uF/hAtom/0.1/ http://gmpg.org/xfn/11">\n""";
|
||||
$this->print_meta_tags();
|
||||
$this->print_head();
|
||||
$this->print_stylesheets();
|
||||
$this->print_head_title();
|
||||
"""</head>""";
|
||||
$this->print_wrapper_start();
|
||||
$this->print_control_strip();
|
||||
"""
|
||||
<div id="canvas">
|
||||
<div class="inner">
|
||||
<div id="header">
|
||||
<div class="inner">
|
||||
""";
|
||||
$this->print_module_section("header");
|
||||
$this->print_header();
|
||||
"""
|
||||
</div><!-- end header>inner -->
|
||||
</div><!-- end header -->
|
||||
<div id="content">
|
||||
<div class="inner">
|
||||
""";
|
||||
if ($*layout_type == "one-column-split") {
|
||||
"""
|
||||
<div id="secondary"><div class="inner">
|
||||
""";
|
||||
$this->print_module_section("one");
|
||||
"""
|
||||
</div></div><!-- end secondary and secondary>inner -->
|
||||
""";
|
||||
}
|
||||
"""
|
||||
<div id="primary"><div class="inner">
|
||||
""";
|
||||
$this->print_body();
|
||||
"""
|
||||
</div></div><!-- end primary and primary>inner -->
|
||||
""";
|
||||
if ($*layout_type != "one-column-split") {
|
||||
"""
|
||||
<div id="secondary"><div class="inner">
|
||||
""";
|
||||
$this->print_module_section("one");
|
||||
"""
|
||||
</div></div><!-- end secondary and secondary>inner -->
|
||||
""";
|
||||
}
|
||||
"""
|
||||
<div id="invisible-separator" style="float: left; width: 1px;"></div> <!-- this is a hack for IE7 + two-columns-right -->
|
||||
<div id="tertiary"><div class="inner">
|
||||
""";
|
||||
$this->print_module_section("two");
|
||||
"""
|
||||
</div></div><!-- end tertiary and tertiary>inner -->
|
||||
<div id="content-footer"></div>
|
||||
</div><!-- end content>inner -->
|
||||
</div> <!-- end content -->
|
||||
</div> <!-- end canvas>inner -->
|
||||
""";
|
||||
|
||||
"""
|
||||
<div id="footer">
|
||||
<div class="inner">
|
||||
""";
|
||||
print safe """
|
||||
<div class="page-top"><a href="#">$*text_page_top</a></div>
|
||||
</div><!-- end footer>inner -->
|
||||
</div><!-- end footer -->
|
||||
|
||||
</div> <!-- end canvas -->
|
||||
""";
|
||||
$this->print_wrapper_end();
|
||||
"""</html>""";
|
||||
}
|
||||
|
||||
function print_stylesheet () {
|
||||
var string medium_media_query = generate_medium_media_query();
|
||||
|
||||
|
|
|
@ -34,14 +34,6 @@ set image_background_header_height = 185;
|
|||
##===============================
|
||||
## Modules
|
||||
##===============================
|
||||
|
||||
property string module_navlinks_section_override {
|
||||
values = "none|(none)|header|Header|one|Main Module Section|two|Secondary Module Section";
|
||||
grouped = 1;
|
||||
}
|
||||
|
||||
set grouped_property_override = { "module_navlinks_section" => "module_navlinks_section_override" };
|
||||
set module_navlinks_section = "header";
|
||||
set module_tags_opts_count_type = "title";
|
||||
|
||||
##===============================
|
||||
|
@ -58,102 +50,6 @@ set text_tell_friend = "Share";
|
|||
set text_watch_comments = "Track";
|
||||
set text_unwatch_comments = "Untrack";
|
||||
|
||||
##===============================
|
||||
## Functions
|
||||
##===============================
|
||||
|
||||
# Give a title to the navlinks module
|
||||
function print_module_navlinks() {
|
||||
var Page p = get_page();
|
||||
var string title = "Navigation";
|
||||
open_module("navlinks", "$title", "");
|
||||
var string{}[] links = [];
|
||||
foreach var string k ($p.views_order) {
|
||||
var string class = "list-item-$k";
|
||||
var string css = """ class="$k" """;
|
||||
if ($p.view == $k) { $css = """ class="current $k" """; }
|
||||
$links[size $links] = { "class" => $class, "item" => """<a href="$p.view_url{$k}"$css>"""+lang_viewname($k)+"""</a>""" };
|
||||
}
|
||||
print_module_list($links);
|
||||
close_module();
|
||||
}
|
||||
|
||||
function Page::print() {
|
||||
"""<!DOCTYPE html>\n<html lang="en">\n<head profile="http://www.w3.org/2006/03/hcard http://purl.org/uF/hAtom/0.1/ http://gmpg.org/xfn/11">\n""";
|
||||
$this->print_meta_tags();
|
||||
$this->print_head();
|
||||
$this->print_stylesheets();
|
||||
$this->print_head_title();
|
||||
"""</head>""";
|
||||
$this->print_wrapper_start();
|
||||
$this->print_control_strip();
|
||||
"""
|
||||
<div id="canvas">
|
||||
<div class="inner">
|
||||
<div id="header">
|
||||
<div class="inner">
|
||||
""";
|
||||
$this->print_module_section("header");
|
||||
$this->print_header();
|
||||
"""
|
||||
</div><!-- end header>inner -->
|
||||
</div><!-- end header -->
|
||||
<div id="content">
|
||||
<div class="inner">
|
||||
""";
|
||||
if ($*layout_type == "one-column-split") {
|
||||
"""
|
||||
<div id="secondary"><div class="inner">
|
||||
""";
|
||||
$this->print_module_section("one");
|
||||
"""
|
||||
</div></div><!-- end secondary and secondary>inner -->
|
||||
""";
|
||||
}
|
||||
"""
|
||||
<div id="primary"><div class="inner">
|
||||
""";
|
||||
$this->print_body();
|
||||
"""
|
||||
</div></div><!-- end primary and primary>inner -->
|
||||
""";
|
||||
if ($*layout_type != "one-column-split") {
|
||||
"""
|
||||
<div id="secondary"><div class="inner">
|
||||
""";
|
||||
$this->print_module_section("one");
|
||||
"""
|
||||
</div></div><!-- end secondary and secondary>inner -->
|
||||
""";
|
||||
}
|
||||
"""
|
||||
<div id="invisible-separator" style="float: left; width: 1px;"></div> <!-- this is a hack for IE7 + two-columns-right -->
|
||||
<div id="tertiary"><div class="inner">
|
||||
""";
|
||||
$this->print_module_section("two");
|
||||
"""
|
||||
</div></div><!-- end tertiary and tertiary>inner -->
|
||||
<div id="content-footer"></div>
|
||||
</div><!-- end content>inner -->
|
||||
</div> <!-- end content -->
|
||||
</div> <!-- end canvas>inner -->
|
||||
""";
|
||||
|
||||
"""
|
||||
<div id="footer">
|
||||
<div class="inner">
|
||||
""";
|
||||
print safe """
|
||||
<div class="page-top"><a href="#">$*text_page_top</a></div>
|
||||
</div><!-- end footer>inner -->
|
||||
</div><!-- end footer -->
|
||||
|
||||
</div> <!-- end canvas -->
|
||||
""";
|
||||
$this->print_wrapper_end();
|
||||
"""</html>""";
|
||||
}
|
||||
|
||||
function print_stylesheet () {
|
||||
var string medium_media_query = generate_medium_media_query();
|
||||
|
||||
|
|
|
@ -41,115 +41,6 @@ propgroup colors_child {
|
|||
property Color color_userpic_background { des = "Icon border color"; }
|
||||
}
|
||||
|
||||
##===============================
|
||||
## Modules
|
||||
##===============================
|
||||
|
||||
property string module_navlinks_section_override {
|
||||
values = "none|(none)|header|Header|one|Main Module Section|two|Secondary Module Section";
|
||||
grouped = 1;
|
||||
}
|
||||
|
||||
set grouped_property_override = { "module_navlinks_section" => "module_navlinks_section_override" };
|
||||
set module_navlinks_section = "one";
|
||||
|
||||
##===============================
|
||||
## Functions
|
||||
##===============================
|
||||
|
||||
# Give a title to the navlinks module
|
||||
function print_module_navlinks() {
|
||||
var Page p = get_page();
|
||||
var string title = "Navigation";
|
||||
open_module("navlinks", "$title", "");
|
||||
var string{}[] links = [];
|
||||
foreach var string k ($p.views_order) {
|
||||
var string class = "list-item-$k";
|
||||
var string css = """ class="$k" """;
|
||||
if ($p.view == $k) { $css = """ class="current $k" """; }
|
||||
$links[size $links] = { "class" => $class, "item" => """<a href="$p.view_url{$k}"$css>"""+lang_viewname($k)+"""</a>""" };
|
||||
}
|
||||
print_module_list($links);
|
||||
close_module();
|
||||
}
|
||||
|
||||
# Add section for navlinks module
|
||||
function Page::print() {
|
||||
"""<!DOCTYPE html>\n<html lang="en">\n<head profile="http://www.w3.org/2006/03/hcard http://purl.org/uF/hAtom/0.1/ http://gmpg.org/xfn/11">\n""";
|
||||
$this->print_meta_tags();
|
||||
$this->print_head();
|
||||
$this->print_stylesheets();
|
||||
$this->print_head_title();
|
||||
"""</head>""";
|
||||
$this->print_wrapper_start();
|
||||
$this->print_control_strip();
|
||||
"""
|
||||
<div id="canvas">
|
||||
<div class="inner">
|
||||
<div id="header">
|
||||
<div class="inner">
|
||||
""";
|
||||
$this->print_module_section("header");
|
||||
$this->print_header();
|
||||
"""
|
||||
</div><!-- end header>inner -->
|
||||
</div><!-- end header -->
|
||||
<div id="content">
|
||||
<div class="inner">
|
||||
""";
|
||||
if ($*layout_type == "one-column-split") {
|
||||
"""
|
||||
<div id="secondary"><div class="inner">
|
||||
""";
|
||||
$this->print_module_section("one");
|
||||
"""
|
||||
</div></div><!-- end secondary and secondary>inner -->
|
||||
""";
|
||||
}
|
||||
"""
|
||||
<div id="primary"><div class="inner">
|
||||
""";
|
||||
$this->print_body();
|
||||
"""
|
||||
</div></div><!-- end primary and primary>inner -->
|
||||
""";
|
||||
if ($*layout_type != "one-column-split") {
|
||||
"""
|
||||
<div id="secondary"><div class="inner">
|
||||
""";
|
||||
$this->print_module_section("one");
|
||||
"""
|
||||
</div></div><!-- end secondary and secondary>inner -->
|
||||
""";
|
||||
}
|
||||
"""
|
||||
<div id="invisible-separator" style="float: left; width: 1px;"></div> <!-- this is a hack for IE7 + two-columns-right -->
|
||||
<div id="tertiary"><div class="inner">
|
||||
""";
|
||||
$this->print_module_section("two");
|
||||
"""
|
||||
</div></div><!-- end tertiary and tertiary>inner -->
|
||||
<div id="content-footer"></div>
|
||||
</div><!-- end content>inner -->
|
||||
</div> <!-- end content -->
|
||||
</div> <!-- end canvas>inner -->
|
||||
""";
|
||||
|
||||
"""
|
||||
<div id="footer">
|
||||
<div class="inner">
|
||||
""";
|
||||
print safe """
|
||||
<div class="page-top"><a href="#">$*text_page_top</a></div>
|
||||
</div><!-- end footer>inner -->
|
||||
</div><!-- end footer -->
|
||||
|
||||
</div> <!-- end canvas -->
|
||||
""";
|
||||
$this->print_wrapper_end();
|
||||
"""</html>""";
|
||||
}
|
||||
|
||||
##===============================
|
||||
## Stylesheet
|
||||
##===============================
|
||||
|
|
|
@ -36,114 +36,6 @@ set font_entry_title = "'Century Gothic', Verdana, sans-serif";
|
|||
set font_comment_title = "'Century Gothic', Verdana, sans-serif";
|
||||
set font_module_heading = "'Century Gothic', Verdana, sans-serif";
|
||||
|
||||
##===============================
|
||||
## Module
|
||||
##===============================
|
||||
|
||||
property string module_navlinks_section_override {
|
||||
values = "none|(none)|header|Header|one|Main Module Section|two|Secondary Module Section";
|
||||
grouped = 1;
|
||||
}
|
||||
|
||||
set grouped_property_override = { "module_navlinks_section" => "module_navlinks_section_override" };
|
||||
set module_navlinks_section = "header";
|
||||
|
||||
##===============================
|
||||
## Functions
|
||||
##===============================
|
||||
|
||||
# Give a title to the navlinks module
|
||||
function print_module_navlinks() {
|
||||
var Page p = get_page();
|
||||
var string title = "Navigation";
|
||||
open_module("navlinks", "$title", "");
|
||||
var string{}[] links = [];
|
||||
foreach var string k ($p.views_order) {
|
||||
var string class = "list-item-$k";
|
||||
var string css = """ class="$k" """;
|
||||
if ($p.view == $k) { $css = """ class="current $k" """; }
|
||||
$links[size $links] = { "class" => $class, "item" => """<a href="$p.view_url{$k}"$css>"""+lang_viewname($k)+"""</a>""" };
|
||||
}
|
||||
print_module_list($links);
|
||||
close_module();
|
||||
}
|
||||
|
||||
function Page::print() {
|
||||
"""<!DOCTYPE html>\n<html lang="en">\n<head profile="http://www.w3.org/2006/03/hcard http://purl.org/uF/hAtom/0.1/ http://gmpg.org/xfn/11">\n""";
|
||||
$this->print_meta_tags();
|
||||
$this->print_head();
|
||||
$this->print_stylesheets();
|
||||
$this->print_head_title();
|
||||
"""</head>""";
|
||||
$this->print_wrapper_start();
|
||||
$this->print_control_strip();
|
||||
"""
|
||||
<div id="canvas">
|
||||
<div class="inner">
|
||||
<div id="header">
|
||||
<div class="inner">
|
||||
""";
|
||||
$this->print_module_section("header");
|
||||
$this->print_header();
|
||||
"""
|
||||
</div><!-- end header>inner -->
|
||||
</div><!-- end header -->
|
||||
<div id="content">
|
||||
<div class="inner">
|
||||
""";
|
||||
if ($*layout_type == "one-column-split") {
|
||||
"""
|
||||
<div id="secondary"><div class="inner">
|
||||
""";
|
||||
$this->print_module_section("one");
|
||||
"""
|
||||
</div></div><!-- end secondary and secondary>inner -->
|
||||
""";
|
||||
}
|
||||
"""
|
||||
<div id="primary"><div class="inner">
|
||||
""";
|
||||
$this->print_body();
|
||||
"""
|
||||
</div></div><!-- end primary and primary>inner -->
|
||||
""";
|
||||
if ($*layout_type != "one-column-split") {
|
||||
"""
|
||||
<div id="secondary"><div class="inner">
|
||||
""";
|
||||
$this->print_module_section("one");
|
||||
"""
|
||||
</div></div><!-- end secondary and secondary>inner -->
|
||||
""";
|
||||
}
|
||||
"""
|
||||
<div id="invisible-separator" style="float: left; width: 1px;"></div> <!-- this is a hack for IE7 + two-columns-right -->
|
||||
<div id="tertiary"><div class="inner">
|
||||
""";
|
||||
$this->print_module_section("two");
|
||||
"""
|
||||
</div></div><!-- end tertiary and tertiary>inner -->
|
||||
<div id="content-footer"></div>
|
||||
</div><!-- end content>inner -->
|
||||
</div> <!-- end content -->
|
||||
</div> <!-- end canvas>inner -->
|
||||
""";
|
||||
|
||||
"""
|
||||
<div id="footer">
|
||||
<div class="inner">
|
||||
""";
|
||||
print safe """
|
||||
<div class="page-top"><a href="#">$*text_page_top</a></div>
|
||||
</div><!-- end footer>inner -->
|
||||
</div><!-- end footer -->
|
||||
|
||||
</div> <!-- end canvas -->
|
||||
""";
|
||||
$this->print_wrapper_end();
|
||||
"""</html>""";
|
||||
}
|
||||
|
||||
##===============================
|
||||
## Stylesheet
|
||||
##===============================
|
||||
|
|
|
@ -200,18 +200,6 @@ set image_comment_border_end_even_url = "nouveauoleanders/comment_border_end_lef
|
|||
set image_comment_border_end_even_position = "top left";
|
||||
set image_comment_border_end_even_repeat = "no-repeat";
|
||||
|
||||
##===============================
|
||||
## Modules
|
||||
##===============================
|
||||
|
||||
property string module_navlinks_section_override {
|
||||
values = "none|(none)|header|Header|one|Main Module Section|two|Main Module Section";
|
||||
grouped = 1;
|
||||
}
|
||||
|
||||
set grouped_property_override = { "module_navlinks_section" => "module_navlinks_section_override" };
|
||||
set module_navlinks_section = "header";
|
||||
|
||||
##===============================
|
||||
## Text
|
||||
##===============================
|
||||
|
@ -226,86 +214,6 @@ set text_tell_friend = "Share";
|
|||
set text_watch_comments = "Track";
|
||||
set text_unwatch_comments = "Untrack";
|
||||
|
||||
##===============================
|
||||
## Style Features
|
||||
##===============================
|
||||
|
||||
function Page::print() {
|
||||
"""<!DOCTYPE html>\n<html lang="en">\n<head profile="http://www.w3.org/2006/03/hcard http://purl.org/uF/hAtom/0.1/ http://gmpg.org/xfn/11">\n""";
|
||||
$this->print_meta_tags();
|
||||
$this->print_head();
|
||||
$this->print_stylesheets();
|
||||
$this->print_head_title();
|
||||
"""</head>""";
|
||||
$this->print_wrapper_start();
|
||||
$this->print_control_strip();
|
||||
"""
|
||||
<div id="canvas">
|
||||
<div class="inner">
|
||||
<div id="header">
|
||||
<div class="inner">
|
||||
""";
|
||||
$this->print_module_section("header");
|
||||
$this->print_header();
|
||||
"""
|
||||
</div><!-- end header>inner -->
|
||||
</div><!-- end header -->
|
||||
<div id="content">
|
||||
<div class="inner">
|
||||
""";
|
||||
if ($*layout_type == "one-column-split") {
|
||||
"""
|
||||
<div id="secondary"><div class="inner">
|
||||
""";
|
||||
$this->print_module_section("one");
|
||||
"""
|
||||
</div></div><!-- end secondary and secondary>inner -->
|
||||
""";
|
||||
}
|
||||
"""
|
||||
<div id="primary"><div class="inner">
|
||||
""";
|
||||
$this->print_body();
|
||||
"""
|
||||
</div></div><!-- end primary and primary>inner -->
|
||||
""";
|
||||
if ($*layout_type != "one-column-split") {
|
||||
"""
|
||||
<div id="secondary"><div class="inner">
|
||||
""";
|
||||
$this->print_module_section("one");
|
||||
"""
|
||||
</div></div><!-- end secondary and secondary>inner -->
|
||||
""";
|
||||
}
|
||||
"""
|
||||
<div id="invisible-separator" style="float: left; width: 1px;"></div> <!-- this is a hack for IE7 + two-columns-right -->
|
||||
<div id="tertiary"><div class="inner">
|
||||
""";
|
||||
$this->print_module_section("two");
|
||||
"""
|
||||
</div></div><!-- end tertiary and tertiary>inner -->
|
||||
<div id="content-footer"></div>
|
||||
</div><!-- end content>inner -->
|
||||
</div> <!-- end content -->
|
||||
</div> <!-- end canvas>inner -->
|
||||
""";
|
||||
|
||||
"""
|
||||
<div id="footer">
|
||||
<div class="inner">
|
||||
""";
|
||||
print safe """
|
||||
<div class="page-top"><a href="#">$*text_page_top</a></div>
|
||||
</div><!-- end footer>inner -->
|
||||
</div><!-- end footer -->
|
||||
|
||||
</div> <!-- end canvas -->
|
||||
""";
|
||||
$this->print_wrapper_end();
|
||||
"""</html>""";
|
||||
}
|
||||
|
||||
##===============================
|
||||
## Stylesheet
|
||||
##===============================
|
||||
|
|
|
@ -27,115 +27,6 @@ propgroup colors_child {
|
|||
property Color color_comment_title_background_even { des = "Comment title alternate background color"; }
|
||||
}
|
||||
|
||||
##===============================
|
||||
## Modules
|
||||
##===============================
|
||||
|
||||
property string module_navlinks_section_override {
|
||||
values = "none|(none)|header|Header|one|Main Module Section|two|Secondary Module Section";
|
||||
grouped = 1;
|
||||
}
|
||||
|
||||
set grouped_property_override = { "module_navlinks_section" => "module_navlinks_section_override" };
|
||||
set module_navlinks_section = "one";
|
||||
|
||||
##===============================
|
||||
## Functions
|
||||
##===============================
|
||||
|
||||
# Give a title to the navlinks module
|
||||
function print_module_navlinks() {
|
||||
var Page p = get_page();
|
||||
var string title = "Navigation";
|
||||
open_module("navlinks", "$title", "");
|
||||
var string{}[] links = [];
|
||||
foreach var string k ($p.views_order) {
|
||||
var string class = "list-item-$k";
|
||||
var string css = """ class="$k" """;
|
||||
if ($p.view == $k) { $css = """ class="current $k" """; }
|
||||
$links[size $links] = { "class" => $class, "item" => """<a href="$p.view_url{$k}"$css>"""+lang_viewname($k)+"""</a>""" };
|
||||
}
|
||||
print_module_list($links);
|
||||
close_module();
|
||||
}
|
||||
|
||||
# Add section for navlinks module
|
||||
function Page::print() {
|
||||
"""<!DOCTYPE html>\n<html lang="en">\n<head profile="http://www.w3.org/2006/03/hcard http://purl.org/uF/hAtom/0.1/ http://gmpg.org/xfn/11">\n""";
|
||||
$this->print_meta_tags();
|
||||
$this->print_head();
|
||||
$this->print_stylesheets();
|
||||
$this->print_head_title();
|
||||
"""</head>""";
|
||||
$this->print_wrapper_start();
|
||||
$this->print_control_strip();
|
||||
"""
|
||||
<div id="canvas">
|
||||
<div class="inner">
|
||||
<div id="header">
|
||||
<div class="inner">
|
||||
""";
|
||||
$this->print_module_section("header");
|
||||
$this->print_header();
|
||||
"""
|
||||
</div><!-- end header>inner -->
|
||||
</div><!-- end header -->
|
||||
<div id="content">
|
||||
<div class="inner">
|
||||
""";
|
||||
if ($*layout_type == "one-column-split") {
|
||||
"""
|
||||
<div id="secondary"><div class="inner">
|
||||
""";
|
||||
$this->print_module_section("one");
|
||||
"""
|
||||
</div></div><!-- end secondary and secondary>inner -->
|
||||
""";
|
||||
}
|
||||
"""
|
||||
<div id="primary"><div class="inner">
|
||||
""";
|
||||
$this->print_body();
|
||||
"""
|
||||
</div></div><!-- end primary and primary>inner -->
|
||||
""";
|
||||
if ($*layout_type != "one-column-split") {
|
||||
"""
|
||||
<div id="secondary"><div class="inner">
|
||||
""";
|
||||
$this->print_module_section("one");
|
||||
"""
|
||||
</div></div><!-- end secondary and secondary>inner -->
|
||||
""";
|
||||
}
|
||||
"""
|
||||
<div id="invisible-separator" style="float: left; width: 1px;"></div> <!-- this is a hack for IE7 + two-columns-right -->
|
||||
<div id="tertiary"><div class="inner">
|
||||
""";
|
||||
$this->print_module_section("two");
|
||||
"""
|
||||
</div></div><!-- end tertiary and tertiary>inner -->
|
||||
<div id="content-footer"></div>
|
||||
</div><!-- end content>inner -->
|
||||
</div> <!-- end content -->
|
||||
</div> <!-- end canvas>inner -->
|
||||
""";
|
||||
|
||||
"""
|
||||
<div id="footer">
|
||||
<div class="inner">
|
||||
""";
|
||||
print safe """
|
||||
<div class="page-top"><a href="#">$*text_page_top</a></div>
|
||||
</div><!-- end footer>inner -->
|
||||
</div><!-- end footer -->
|
||||
|
||||
</div> <!-- end canvas -->
|
||||
""";
|
||||
$this->print_wrapper_end();
|
||||
"""</html>""";
|
||||
}
|
||||
|
||||
##===============================
|
||||
## Stylesheet
|
||||
##===============================
|
||||
|
|
Loading…
Reference in New Issue