DAY_PAGE

DAY_PAGE — The HTML for the day view, after somebody clicks a day on the calendar.

View Types:

day

Overrideable:

No; users of the style cannot override this. It may only be defined in the style.

Variable Type

HTML

Properties

username The username of the user.
title The base title of the user's journal, which is normally used in the HTML title tags and headings, alongside a reference to the date being viewed.
name The name of the user whose journal it is.
name-'s An apostrophe followed by an "s" if the user's name does not end in "s", else just an apostrophe. Used in conjunction with the "name" property, can be used to show possession. For instance, "%%name%%%%name-'s%% Journal" could translate to "Bob's Journal".
website If the user has specified their website, this block is filled with the contents of DAY_WEBSITE.
skyscraper_ad HTML for printing a skyscraper ad, if available. See DAY_SKYSCRAPER_AD.
open_skyscraper_ad HTML for printing a wrapper around a skyscraper ad and user content. See DAY_OPEN_SKYSCRAPER_AD.
close_skyscraper_ad HTML for printing a wrapper around a skyscraper ad and user content. See DAY_CLOSE_SKYSCRAPER_AD.
control_strip HTML for printing a control strip along the top of the page.
5linkunit_ad HTML for printing an ad with 5 link units. See DAY_5LINKUNIT_AD.
events If events occurred on this day, then this is equal to DAY_EVENTS, else it is equal to DAY_NOEVENTS. [required]
prevday_url A URL to the day view for the previous day.
nextday_url A URL to the day view for the next day.
dayshort Day of week. Short form. Example: Mon, Tue, Wed...
daylong Day of week. Long form. Example: Monday, Tuesday, Wednesday...
monshort Month. Short form. Example: Jan, Feb, Mar...
monlong Month. Long form. Example: January, February, March...
yy Year, two digit.
yyyy Year, four digit.
m Month. 1-12.
mm Month. 01-12.
d Day. 1-31.
dd Day. 01-31.
dth Day plus ordinal. 1st, 2nd, 3rd, 4th, 5th...
head Any user-specified content to go inside the document's <HEAD>, like CSS or META tags. The value is GLOBAL_HEAD followed by DAY_HEAD. You shouldn't define the *_HEAD variables in the style, as users should set them themselves.
urllastn URL to user's lastn view.
urlcalendar URL to user's calendar view.
urlfriends URL to user's friends view.