# -*-s2-*- # Copyright (c) 2003-2005 Danga Interactive. All rights reserved. # # NOTICE: The Boxer style is not licensed for general use, and may not be # used in any production sites. We provide the source to The Boxer so that our # users and designers can learn the proper way to extend and customize the # style. layerinfo type = "layout"; layerinfo name = "The Boxer"; layerinfo author_name = "Kevin Phillips"; layerinfo author_email = "xevinx@livejournal.com"; layerinfo redist_uniq = "boxer/layout"; layerinfo previews = "boxer/boxer.jpg"; layerinfo source_viewable = 0; layerinfo is_public = 0; ############################################# # # Properties # ############################################# propgroup presentation = "Presentation"; propgroup presentation { property int page_width { des = "Page Width"; note = "Set in pixels what you want the page width to be."; min = 400; } property string page_align { des = "Page Alignment"; values = "left|Left|center|Center|right|Right"; } property use text_view_recent; property use text_view_friends; property use text_view_month; property use text_view_archive; property use linklist_support; property string links_name { des = "Links Title"; } property string links_divider { des = "Links Divider"; note = "This appears between each link to seperate them."; } property use page_recent_items; property use page_friends_items; property string my_date { des = "Date format"; note = "Choose the date format that will appear by each entry and each comment, followed by the time."; values = "short|2/5/80|med|Feb. 5th, 1980|med_day|Tue, Feb. 5th, 1980|long|February 5th, 1980|long_day|Tuesday, February 5th, 1980"; } property bool color_forms { des = "Form Elements"; note = "Select Yes to use customized form elements."; } property bool show_mini_calendar { des = "Enable Mini-Calendar"; } property bool show_entry_userpic { des = "Recent userpics"; note = "Select this if you want your userpic to show up on each entry of your Recent page."; } property use use_shared_pic; } propgroup color = "Colors"; propgroup colors { property Color bg_color { des = "Background Color"; } property Color color_nav_bg { des = "Navigation Background"; note = "This is the base color for the navigation bar. After selecting a color, select if you want that color to get darker or lighter (from left to right)."; } property string nav_scale { des = "Navigation Background Progression"; note = "Select if you want the background of the navigation to get lighter, darker or all the same color starting from the color you selected above."; values = "lighter|Lighter|darker|Darker|same|Same"; } property Color nav_link { des = "Navigation Text Color"; } property Color info_bg { des = "Info Background"; note = "The background to the area where the user information and calendar are presented."; } property Color info_font { des = "Info Font"; note = "The color of the font for the text in the information area."; } property Color info_link { des = "Info Link Color"; } property Color info_link_visited { des = "Visited Info Link Color"; note = "The color of a visited link in the info section."; } property Color entry_bg { des = "Entry Background"; note = "The background color for each entry."; } property Color entry_font { des = "Entry Font"; note = "The font color for color for entry text."; } property Color entry_link { des = "Entry Link Color"; } property Color entry_link_visited { des = "Visited Entry Link Color"; note = "The color of a visited link in the entries section."; } # Non-visible properties go here. property Color nav1_bg { noui = 1; } property Color nav2_bg { noui = 1; } property Color nav3_bg { noui = 1; } property Color nav4_bg { noui = 1; } property Color nav5_bg { noui = 1; } property Color nav6_bg { noui = 1; } property Color nav7_bg { noui = 1; } property string backarrow { noui = 1; } property string forwardarrow { noui = 1; } property string leave_comment { noui = 1; } property string comment { noui = 1; } property string memories { noui = 1; } property string edit { noui = 1; } property string mail { noui = 1; } property string delete { noui = 1; } property string screen { noui = 1; } property string unscreen { noui = 1; } property string freeze { noui = 1; } property string unfreeze { noui = 1; } property string parent { noui = 1; } property int half_width { noui = 1; } property int half_width_pixel { noui = 1; } property bool show_links { noui = 1; } property string bg_pattern { noui = 1; } } propgroup background = "Background"; propgroup Background { property string page_background_pattern { des = "Background Pattern"; note = "Select a premade background or enter a background image below"; values = "none|None|background-horz-stripes.gif|Horizontal Stripes|background-vert-stripes.gif|Vertical Stripes|background-diag-stripes.gif|Diagnal Stripes|background-diamond.gif|Diamonds|background-hearts.gif|Hearts|background-lg-boxes.gif|Large Boxes|background-stitched.gif|Stitched"; } property string page_background_image { des = "Background image"; note = "URL to an image to be used for the page background (leave blank for none)."; } property string background_repeat { des = "Background image repeat"; values = "repeat|Repeat|no-repeat|Don't repeat|repeat-x|Repeat across only|repeat-y|Repeat down only"; } property string background_position { des = "Background image position"; note = "Does not apply if Background Image Repeat is set to 'Repeat'."; values = "top|Top|top left|Top-left|top right|Top-right|center|Center|center left|Center-left|center right|Center-right|bottom|Bottom|bottom left|Bottom-left|bottom right|Bottom-right|left|Left|right|Right"; } property string background_scrolling { des = "Background image scrolling"; note = "Not supported in all browsers, but allows for the background image to be in a fixed position when scrolling."; values = "scroll|Scroll|fixed|Fixed"; } } propgroup fontsettings = "Font Settings"; propgroup fontsettings { property string font_family { des = "Font Family"; note = "The default font to use for all journal pages."; values = "Arial, sans-serif|Arial|Tahoma, sans-serif|Tahoma|Verdana, sans-serif|Verdana|Trebuchet MS, sans-serif|Trebuchet MS|Georgia, serif|Georgia|Times New Romans, serif|Times New Roman|sans-serif|sans-serif|serif|serif"; } property string font_size { des = "Adjust font size"; values = "small|Small|normal|Normal|large|Large|larger|Larger|hulk|Hulk!"; } property int lineheight { des = "Line Height"; note = "This specifies the distance between each text line on all pages."; } property string underline_links { des = "Show link underline"; values = "no|No|yes|Yes|hover|Only on mouse over"; } } # setting layout set page_width = 667; set page_align = "center"; set text_view_recent = "Recent Entries"; set text_view_friends = "Friends Entries"; set text_view_userinfo = "User Info"; set text_view_month = "Calendar"; set links_name = "Links"; set linklist_support = true; set links_divider = "/"; set my_date = "long_day"; set color_forms = false; set show_mini_calendar = true; set view_entry_disabled = false; set show_entry_userpic = false; set tags_aware = true; # setting colors set nav_scale = "darker"; set bg_color = "#f1ede2"; set info_bg = "#d3ccc1"; set color_nav_bg = "#da712b"; set nav_link = "#ffffff"; set entry_bg = "#275974"; set entry_font = "#bfcadd"; set entry_link = "#efe397"; set entry_link_visited = "#f0ffc0"; set info_font = "#9a927e"; set info_link = "#ffffff"; set info_link_visited = "#ffffff"; # setting Background set page_background_pattern = "background-diamond.gif"; set background_repeat = "repeat"; set background_position = "center"; set background_scrolling = "scroll"; # setting Font_Settings set font_family = "Trebuchet MS, sans-serif"; set lineheight = 17; set font_size = "normal"; set underline_links = "hover"; ############################################# # # Printing # ############################################# ############################################# # # Forward and back nav functions # ############################################# function Page::lay_viewspec_nav() { """
$*text_view_recent | $*text_view_friends | $*text_view_month | $*text_view_archive | """; if($p.journal.website_url) { """ | $p.journal.website_name | """; } $p->lay_viewspec_nav(); if($blank > 0) { """ | """; } """ |
"""; } function print_calendar_day_bottom() { """ | ||
$m | |||||||||||||||||||
$title
|
""";
if($e.journal.username != $e.poster.username) {
"""$e.poster.username: """; } """ $e.journal.username """; if($e.userpic) { """ """; } """ $e.journal.name |
""";
}
"""
|
|
||||
$*text_reply_nocomments |
"""; $.form->print(); """ |
""";
print lang_page_of_pages($.current, $.total);
""" """; foreach var int i (1..$.total) { if ($i == $.current) { "[$i] "; } else { var string url_of = $this->url_of($i); """[$i] """; } } print " |
Mass Action """; $this->print_multiform_actionline(); $this->print_multiform_end(); " |
$subj - $poster
|
$c.poster.username
""";
if(defined $c.userpic) {
""" """; } if($c.journal) { """ $poster |
""";
} else {
"""
|
""";
print $.date->date_format("long");
"""
|
""";
print $.date->date_format("long");
"""
|
$*text_noentries_day |
""";
"\n
|
"""; print lang_ordinal($d.day); """ |
"""; $d->print_subjectlist(); """ |
Years:
""";
var int count = 0;
foreach var YearYear y ($.years) {
if($count != 0) {
" | ";
}
$count = $count + 1;
if ($y.displayed) {
" $y.year ";
} else {
""" $y.year """;
}
}
"""
|
"""; $this->print_month($m); " | "; if($toggle) { """||
"""; } } } if($toggle) { """ | """; } """ |
"""; print $m->month_format(); """ |
|
|