示例#1
0
function thesis_html_framework()
{
    global $thesis_design;
    echo apply_filters('thesis_doctype', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">') . "\n";
    ?>
<html xmlns="http://www.w3.org/1999/xhtml" <?php 
    language_attributes();
    ?>
>
<?php 
    thesis_head::build();
    echo "<body" . thesis_body_classes() . ">\n";
    #filter
    thesis_hook_before_html();
    #hook
    if ($thesis_design->layout['framework'] == 'page') {
        thesis_framework_page();
    } elseif ($thesis_design->layout['framework'] == 'full-width') {
        thesis_framework_full_width();
    } else {
        thesis_framework_page();
    }
    thesis_ie_clear();
    thesis_javascript::output_scripts();
    thesis_hook_after_html();
    #hook
    echo "</body>\n</html>";
}
示例#2
0
function page_header_footer_sidebar_18()
{
    global $thesis_design;
    echo apply_filters('thesis_doctype', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">') . "\n";
    ?>
<html xmlns="http://www.w3.org/1999/xhtml" <?php 
    language_attributes();
    ?>
>
<?php 
    thesis_head::build();
    echo "<body" . thesis_body_classes() . ">\n";
    #filter
    thesis_hook_before_html();
    #hook
    #thesis_18/lib/html/frameworks.php Line 28
    echo "<div id=\"container\">\n";
    echo "<div id=\"page\">\n";
    thesis_wrap_header();
    thesis_wrap_footer();
    thesis_ie_clear();
    thesis_javascript::output_scripts();
    thesis_hook_after_html();
    #hook
    echo "</body>\n</html>";
}