[theme] - [3 column] - [give Page::print() a little more order]

Oct 19, 2005 17:04


function Page::print () {
var string title = $this->title();
"""

$title
""";
if ($*external_stylesheet) {
println """""";
} else {
println """""";
}
$this->print_head();
"""


""";
$this->print_control_strip();
"""

""";
$this->lay_print_subnav();
$this->print_body();
$this->lay_print_subnav();
"""

""";

# right bar
"""

""";

# view links
"""

$*nav_title


    """;
    foreach var string vl ($.views_order) {
    var string text = lang_viewname($vl);
    var string url = $.view_url{$vl};
    """
  • $text
  • """;
    }
    """

""";
#/view links

# linklist
$this->print_linklist();
#/linklist

"""

""";
#/right bar

# left bar
"""

""";

# profile
"""

$*about_title

""";
$this->lay_print_userpic();
"""

$.journal








""";
#/profile

# blurb
"""

$*blurb_title

$*blurb_text

""";
#/blurb

# calendar
$this->lay_print_calendar();
#/calendar

"""

""";
#/left bar

"""

""";
}

layout 3column, function print, class page

Previous post Next post
Up