# This page defines various style elements that are used by
# SurgePlus, NetAuth, and the SurgeMail admin interface.
# The \ at the end of each line prevents blanks lines appearing in web page source.
\
\
# Define the date formatting according to the C strftime function (see http://developer.futuresource.com/xml/strf.htm )
||define((sp_datetime_format),(%x %I:%M %p))||\
||define((sp_datetime_format_long),(%A, %B %d, %Y, %I:%M %p))||\
||define((sp_time_format),(%I:%M %p))||\
||define((sp_date_format),(%x))||\
||define((sp_date_format_long),(%A, %B %d, %Y))||\
||define((sp_weekday_format),(%A))||\
||define((sp_day_month_format),(%B %d))||\
\
# %c in above function uses current locale day/month ordering. If users web browser specified their language in the headers, use that instead.
||define((locale),())||\
||ifdef||web_user_locale||||define((locale),web_user_locale))||||endif||\
#||set_locale(locale)||\
# Above line would be nice, but it causes a nasty bug on some versions on linux.
# vsnprintf with high-ascii data is interpreted as multi-byte causing vsnprintf to return -1.
||define((button_options),(onmouseover="MO(event)" onmouseout="MU(event)"))||\
||define((button_options2),(onmouseover="MO(event)" onmouseout="MU(event)" onclick="return MC2(event)"))||\
||define((button_style),(class=spbutton onmouseover="MO(event)" onmouseout="MU(event)"))||\
||define((button_styleg),(class=spbuttong onmouseover="MO(event)" onmouseout="MU(event)"))||\
||define((button_style_confirm),(class=spbutton onmouseover="MO(event)" onmouseout="MU(event)" onclick="return MC2(event)"))||\
||define((button100),(style="width:100px"))||\
\
# Make sure the following line is never change to end with something other than "class=spbutton" as code in some places just appends a 'g' to it
||define((button_href),(onmouseover="MO(event)" onmouseout="MU(event)" onclick="MC3(event)" class=spbutton))||\
||define((img_left_arrow),concatenate((src="/web/),web_ref_path,(LeftArrow1.gif" onmouseover="ImageO(event)" onmouseout="ImageU(event)" border=0)))||\
||define((img_right_arrow),concatenate((src="/web/),web_ref_path,(RightArrow1.gif" onmouseover="ImageO(event)" onmouseout="ImageU(event)" border=0)))||\
||define((img_left_arrow2),concatenate((src="/web/),web_ref_path,(LeftArrow2.gif" onmouseover="ImageO(event)" onmouseout="ImageU(event)" border=0)))||\
||define((img_right_arrow2),concatenate((src="/web/),web_ref_path,(RightArrow2.gif" onmouseover="ImageO(event)" onmouseout="ImageU(event)" border=0)))||\