layerinfo "type" = "layout"; layerinfo "name" = "s1short"; layerinfo "des" = "S2 emulation of talkread and talkpost etc..."; layerinfo "author_name" = "Mischa Spiegelmock"; layerinfo "redist_uniq" = "s1shortcomings/layout"; # S1 Shortcomings Layer by revmischa BEEEYATCH property string comment_bar_1 { des = "Comment bar color"; } property string comment_bar_screened { des = "Screened comment bar color"; } property string comment_bar_2 { des = "Alternate comment bar color"; } property string bar_color { des = "Color for various seperator bars"; } property string container_color { des = "Standout background color"; } property string container_border_color { des = "Standout border color"; } property Color background_color { des = "Page background color"; } property string text_color { des = "Text color"; } property string title_text_color { des = "Title text color"; } property string month_view_title_text { des = "The text 'Month View'"; } property string text_tags { des = "Tags title"; } property string deleted_comment_text { des = "Text to display if a comment has been deleted."; } property string month_posts_by_text { des = "Describe who wrote the posts for a month view."; } property Color grad_color { des = "Foreground color to make the background gradient at the top."; } set grad_color = "#6699CC"; set month_posts_by_text = "Here are all the posts for this month by"; set deleted_comment_text = "(Deleted comment)"; set text_tags = "Tags:"; set comment_bar_1 = "#BBDDFF"; set comment_bar_screened = "#AAAAAA"; set comment_bar_2 = "#AACCEE"; set bar_color = "#336699"; set container_color = "#c5dff9"; set container_border_color = "#8fc3f7"; set background_color = "#FFFFFF"; set text_color = "#000000"; set title_text_color = "#003366"; set month_view_title_text = "Month View"; property use tags_aware; set tags_aware = true; function Page::print { """
"""; $this->print_head(); set_handler("unscreen_comment_#", [ [ "set_class", "cmtbar#", "comment_bar_1", ], ]); set_handler("screen_comment_#", [ [ "set_class", "cmtbar#", "comment_bar_screened", ], ]); # make our palimg background gradient: var Color fg_color = $*grad_color; var Color bg_color = $*background_color; var string grad_url = palimg_tint("s1gradient.gif", $bg_color, $fg_color); print """"; $comment_pages->print(); """ |
$entry.userpic |
$journal.name - """ + lang_user_wrote($journal) + """ @ """;
print_clickable_date($entry); """
|
"""; $entry->print_linkbar(); """ |
$*month_posts_by_text "; $.journal->print(); ":
"; if (size $.months > 0) { # print a box with links to different months """