Пример #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 build()
 {
     $head = new thesis_head();
     $head->title();
     $head->meta();
     $head->conditional_styles();
     $head->stylesheets();
     $head->links();
     $head->scripts();
     echo "<head " . apply_filters('thesis_head_profile', 'profile="http://gmpg.org/xfn/11"') . ">\n";
     #filter
     echo '<meta http-equiv="Content-Type" content="' . get_bloginfo('html_type') . '; charset=' . get_bloginfo('charset') . '" />' . "\n";
     #wp
     $head->output();
     wp_head();
     #hook #wp
     echo "</head>\n";
     $head->add_ons();
     // this is bogus and will disappear once I get this all figured out
 }
Пример #3
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>";
}