# -*-s2-*- layerinfo type = "layout"; layerinfo name = "Magazine"; layerinfo redist_uniq = "magazine/layout"; layerinfo previews = "magazine/magazine.jpg"; propgroup colors { property Color main_bgcolor { des = "Main Background color"; s1color = "page_back"; } property Color main_fgcolor { des = "Main text color"; s1color = "page_text"; } property Color sidebar_color { des = "Sidebar color"; s1color = "stronger_back"; } property Color headerbar_bgcolor { des = "Headerbar background color"; s1color = "strong_back"; } property Color headerbar_fgcolor { des = "Text color on headerbar"; s1color = "strong_text"; } property Color headerbar_bevel_color { des = "Accent line color for headerbar"; s1color = "stronger_back"; } property Color highlight_bgcolor { des = "Highlighting color for accented text"; s1color = "weak_back"; } property Color highlight_fgcolor { des = "Highlighted text color"; s1color = "weak_text"; } property Color border_color { des = "Color of borders"; s1color = "weak_text"; } property Color title_color { des = "Text color of top title"; s1color = "page_text_title"; } property Color meta_color { des = "Text color of meta descriptions"; s1color = "page_text_em"; } property Color link_color { des = "Text color of links"; s1color = "page_link"; } property Color vlink_color { des = "Text color of visited links"; s1color = "page_vlink"; } property Color alink_color { des = "Text color of active links"; s1color = "page_alink"; } property Color comment_bar_one_bgcolor { des = "Alternating background color for comment bars (one)"; } property Color comment_bar_two_fgcolor { des = "Text color on alternating comment bars (one)"; } property Color comment_bar_two_bgcolor { des = "Alternating background color for comment bars (two)"; } property Color comment_bar_one_fgcolor { des = "Text color on alternating comment bars (two)"; } property Color comment_bar_screened_bgcolor { des = "Background bar color for screened comments"; } property Color comment_bar_screened_fgcolor { des = "Text color on background bar for screened comments"; } } set main_bgcolor = "#ffffff"; set main_fgcolor = "#000000"; set sidebar_color = "#6666cc"; set headerbar_bgcolor = "#c0c0ff"; set headerbar_fgcolor = "#000000"; set headerbar_bevel_color = "#6666cc"; set highlight_bgcolor = "#eeeeff"; set highlight_fgcolor = "#000000"; set border_color = "#000000"; set title_color = "#8b1a1"; set meta_color = "#c00000"; set link_color = "#000050"; set vlink_color = "#500050"; set alink_color = "#ff00c0"; set comment_bar_one_bgcolor = "#c0c0ff"; set comment_bar_one_fgcolor = "#000000"; set comment_bar_two_bgcolor = "#eeeeff"; set comment_bar_two_fgcolor = "#000000"; set comment_bar_screened_bgcolor = "#dddddd"; set comment_bar_screened_fgcolor = "#000000"; propgroup presentation { property bool show_entry_userpic { des = "Show the userpic on the journal entries? [Excludes friends page]"; } property use page_recent_items; property use page_friends_items; property use use_shared_pic; property use view_entry_disabled; property bool show_entrynav_icons { des = "Toggle to show the next, memory, edit, etc icons on the entry view page"; } property string page_background_image { des = "URL to an image to be used for the page background"; } property use external_stylesheet; } set show_entry_userpic = false; set view_entry_disabled = false; set show_entrynav_icons = true; set page_background_image = ""; propgroup text { property use text_post_comment; property use text_read_comments; property use text_post_comment_friends; property use text_read_comments_friends; } set tags_aware = true; function Page::lay_skip_navigation() {} function Page::lay_bottom_navigation() {} function print_stylesheet () { print clean_url($*page_background_image) != "" ? "body { background-image: url($*page_background_image); }" : ""; """HTML { border-left: 1cm solid $*sidebar_color; padding: 1cm; } BODY { line-height: 1.3; margin: 0; background-color: $*main_bgcolor; color: $*main_fgcolor; } P { margin-top: 0; text-align: justify; } H1 { font: x-large Verdana, sans-serif; text-align: center; letter-spacing: -0.09em; color: $*title_color; } H2 { background-color: $*headerbar_bgcolor; color: $*headerbar_fgcolor; border-bottom: thin solid $*headerbar_bevel_color; font: normal 1.3em Georgia, serif; } H3 { color: $*highlight_fgcolor; font: medium sans-serif; } H3 SPAN { background-color: $*highlight_bgcolor; border-right: thin solid $*border_color; border-bottom: thin solid $*border_color; padding-right: 0.5ex; } H3 EM { color: $*meta_color; font-style: normal; } .H3Holder { clear: both; padding-left: 2ex; border-left: thin solid $*border_color; border-bottom: thin solid $*border_color; margin-bottom: 1em; } A:link { color: $*link_color; } A:visited { color: $*vlink_color; } A:active { color: $*alink_color; } .Navigation { text-align: center; font-family: sans-serif; } .Comment { font-size: 0.7em; margin-top: -1em; text-align: right; } .Comment, .Current { margin-bottom: 1em; clear: right; } .Picture { border-left: thin solid $*border_color; border-top: thin solid $*border_color; float: right; margin: 0 0 0.5em 0.5em; padding: 0.2em; } .Picture DIV { text-align: center; } .Active { background-color: $*highlight_bgcolor; } ACRONYM { border-bottom: thin dashed $*border_color; cursor: help; } .Bottom { border-top: thin solid $*border_color; text-align: center; } .Empty { background-color: $*highlight_bgcolor; } .Month { margin-top: 1em; } .MonthHeader { color: $*headerbar_fgcolor; background-color: $*headerbar_bgcolor ! important; line-height: 1.5; } .Month TD { color: $*highlight_fgcolor; width: 14%; border: thin outset; } .Month TH { background-color: $*highlight_bgcolor; font-family: Verdana, sans-serif; border: thin outset; }"""; } function Page::print () { var string title = $this->title(); """\n\n
\n"""; if ($*external_stylesheet) { println """"""; } else { println """"; } $this->print_head(); """$e.text
"; # Tags if ($e.tags) { var int tcount = 0; " "; } # Metadata if (size $e.metadata) { foreach var string k ($e.metadata) { ""; $this->lay_skip_navigation(); "
"; } function RecentPage::print_body { foreach var Entry e ($.entries) { $this->print_entry($e); } } function FriendsPage::lay_skip_navigation() { var int total = size $.entries; var string nav = ""; if ($.nav.backward_url != "") { $nav = """Previous $total Friends"""; } if ($.nav.forward_url != "" and $.nav.backward_url != "") { $nav = "$nav | "; } if ($.nav.forward_url != "") { $nav = """$navNext $total Friends"""; } if ($nav != "") { print "Navigate: ($nav)"; } } function FriendsPage::print_entry (Entry e) { var Friend f = $.friends{$e.journal.username}; print_entry($this, $e, $f.bgcolor, $f.fgcolor, false); } function FriendsPage::print_body { foreach var Entry e ($.entries) { $this->print_entry($e); } } function YearPage::lay_skip_navigation () { $this->print_year_links(); } function YearPage::lay_bottom_navigation() { } function YearPage::print_body() { ""; ""; print $m->month_format(); " | ||||||
---|---|---|---|---|---|---|
"+$*lang_dayname_short[$d]+ " | \n"; } "
← Previous day | (Calendar) | Next day → |
(No journal entries for this day.)
"; } else { foreach var Entry e ($.entries) { $this->print_entry($e); } } } function EntryPage::print_body () { set_handler("unscreen_comment_#", [ [ "style_bgcolor", "cmtbar#", "$*comment_bar_one_bgcolor", ], [ "style_color", "cmtbar#", "$*comment_bar_one_fgcolor", ], ]); set_handler("screen_comment_#", [ [ "style_bgcolor", "cmtbar#", "$*comment_bar_screened_bgcolor", ], [ "style_color", "cmtbar#", "$*comment_bar_screened_fgcolor", ], ]); print_entry($this, $.entry, null Color, null Color, $.viewing_thread); if ($.entry.comments.enabled and $.comment_pages.total_subitems > 0) { $this->print_multiform_start(); print ""; } " |
|
$*text_reply_nocomments
"; return; } "$.replyto.text
"; ""; "
Dec. 22nd, 200208:46 pm - subjectWords words words words words words words words words words words words words words words words words words words words words words words words words words words words words words words words words words words words words words words words words words words words words words words words words words words words words words words words words words words words words |