@@ -0,0 +1,3 @@ | |||
Manifest-Version: 1.0 | |||
Class-Path: | |||
@@ -0,0 +1,102 @@ | |||
<?xml version="1.0" encoding="UTF-8"?> | |||
<web-app id="WebApp_ID" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"> | |||
<display-name> | |||
itmill-toolkit</display-name> | |||
<servlet> | |||
<servlet-name>web</servlet-name> | |||
<servlet-class>org.millstone.webadapter.WebAdapterServlet</servlet-class> | |||
<init-param> | |||
<param-name>application</param-name> | |||
<param-value>com.itmill.ajaxadapter.test.TestApplication</param-value> | |||
</init-param> | |||
</servlet> | |||
<servlet> | |||
<servlet-name>ajax</servlet-name> | |||
<servlet-class>com.itmill.millstone.ajaxadapter.AjaxAdapterServlet</servlet-class> | |||
<init-param> | |||
<param-name>application</param-name> | |||
<param-value>com.itmill.ajaxadapter.test.TestApplication</param-value> | |||
</init-param> | |||
</servlet> | |||
<servlet> | |||
<servlet-name>web-features</servlet-name> | |||
<servlet-class>org.millstone.webadapter.WebAdapterServlet</servlet-class> | |||
<init-param> | |||
<param-name>application</param-name> | |||
<param-value>com.itmill.ajaxadapter.test.features.FeaturesApplication</param-value> | |||
</init-param> | |||
</servlet> | |||
<servlet> | |||
<servlet-name>ajax-features</servlet-name> | |||
<servlet-class>com.itmill.millstone.ajaxadapter.AjaxAdapterServlet</servlet-class> | |||
<init-param> | |||
<param-name>application</param-name> | |||
<param-value>com.itmill.ajaxadapter.test.features.FeaturesApplication</param-value> | |||
</init-param> | |||
</servlet> | |||
<servlet> | |||
<servlet-name>demo-table</servlet-name> | |||
<servlet-class>org.millstone.webadapter.WebAdapterServlet</servlet-class> | |||
<init-param> | |||
<param-name>application</param-name> | |||
<param-value>com.itmill.millstone.ajaxadapter.demo.table.TableDemoApplication</param-value> | |||
</init-param> | |||
</servlet> | |||
<servlet> | |||
<servlet-name>ajaxdemo-table</servlet-name> | |||
<servlet-class>com.itmill.millstone.ajaxadapter.AjaxAdapterServlet</servlet-class> | |||
<init-param> | |||
<param-name>application</param-name> | |||
<param-value>com.itmill.millstone.ajaxadapter.demo.table.TableDemoApplication</param-value> | |||
</init-param> | |||
</servlet> | |||
<!-- Namespace mappings for servlets --> | |||
<servlet-mapping> | |||
<servlet-name>web</servlet-name> | |||
<url-pattern>/web/*</url-pattern> | |||
</servlet-mapping> | |||
<servlet-mapping> | |||
<servlet-name>ajax</servlet-name> | |||
<url-pattern>/ajax/*</url-pattern> | |||
</servlet-mapping> | |||
<servlet-mapping> | |||
<servlet-name>web-features</servlet-name> | |||
<url-pattern>/web-features/*</url-pattern> | |||
</servlet-mapping> | |||
<servlet-mapping> | |||
<servlet-name>ajax-features</servlet-name> | |||
<url-pattern>/ajax-features/*</url-pattern> | |||
</servlet-mapping> | |||
<servlet-mapping> | |||
<servlet-name>demo-table</servlet-name> | |||
<url-pattern>/table/*</url-pattern> | |||
</servlet-mapping> | |||
<servlet-mapping> | |||
<servlet-name>ajaxdemo-table</servlet-name> | |||
<url-pattern>/ajax-table/*</url-pattern> | |||
</servlet-mapping> | |||
<welcome-file-list> | |||
<welcome-file>index.html</welcome-file> | |||
<welcome-file>index.htm</welcome-file> | |||
<welcome-file>index.jsp</welcome-file> | |||
<welcome-file>default.html</welcome-file> | |||
<welcome-file>default.htm</welcome-file> | |||
<welcome-file>default.jsp</welcome-file> | |||
</welcome-file-list> | |||
</web-app> |
@@ -0,0 +1,51 @@ | |||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | |||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |||
<html> | |||
<head> | |||
<title>Millstone Ajax Client </title> | |||
<!-- These are the "DefaultTheme" related CSS and JS files --> | |||
<script src="client/client.js" type="text/javascript"></script> | |||
<script type="text/javascript" src="themes/default/theme.js"></script> | |||
<script type="text/javascript" src="themes/default/jscalendar/calendar.js"></script> | |||
<script type="text/javascript" src="themes/default/jscalendar/lang/calendar-en.js"></script> | |||
<script type="text/javascript" src="themes/default/jscalendar/calendar-setup.js"></script> | |||
<link rel="stylesheet" media="screen, projection" href="themes/default/calendar-default.css" type="text/css" /> | |||
<link rel="stylesheet" media="screen, projection" href="themes/default/theme.css" type="text/css" /> | |||
<!-- These are the "ExampleTheme" related CSS and JS files --> | |||
<script type="text/javascript" src="themes/example/example_theme.js"></script> | |||
<link rel="stylesheet" media="screen, projection" href="themes/example/example_styles.css" type="text/css" /> | |||
</head> | |||
<body> | |||
<DIV id="ajax-wait" class="outset" style="top:4px;right:4px;cursor:wait;z-index:10000;background:white;display:none;position:absolute;"> | |||
<DIV class="border pad">Loading...</DIV> | |||
</DIV> | |||
<div class="window" id="ajax-window" style=""></div> | |||
<script language="JavaScript"> | |||
var baseUrl = document.location.href.split("ajax-features.html")[0]; | |||
// Create ajax-client for the application | |||
var client = new MillstoneAjaxClient( | |||
document.getElementById('ajax-window'), | |||
baseUrl + "ajax-features/", | |||
baseUrl + "client/", | |||
document.getElementById('ajax-wait')); | |||
client.debugEnabled = (document.location.href.indexOf("debug")>0); | |||
// Create the default theme and register the theme to the ajax-client | |||
var defaultTheme = new DefaultTheme(baseUrl + "themes/default/"); | |||
defaultTheme.registerTo(client); | |||
var exampleTheme = new ExampleTheme(baseUrl + "themes/example/",defaultTheme); | |||
exampleTheme.registerTo(client); | |||
// Start the client | |||
client.start(); | |||
</script> | |||
</body> | |||
</html> | |||
@@ -0,0 +1,57 @@ | |||
/* | |||
Styles for ajax adapter debug window. | |||
*/ | |||
body { | |||
overflow: scroll; | |||
} | |||
* { | |||
font-size: 10pt; | |||
font-family: sans-serif; | |||
} | |||
xmp { | |||
margin: 0px; | |||
padding: 0px; | |||
} | |||
.folded { | |||
margin-top: 4px; | |||
background-color: #eeeeee; | |||
background-image: url(img/on.gif); | |||
background-repeat: no-repeat; | |||
border: 1px dotted gray; | |||
padding-left: 20px; | |||
height: 20px; | |||
width: 100%; | |||
overflow: hidden; | |||
cursor: hand; | |||
cursor: pointer; | |||
} | |||
.unfolded { | |||
margin-top: 4px; | |||
background-color: #eeeeee; | |||
background-image: url(img/off.gif); | |||
background-repeat: no-repeat; | |||
border: 1px dotted gray; | |||
padding-left: 20px; | |||
height:; | |||
width: 100%; | |||
overflow: hidden; | |||
cursor: hand; | |||
cursor: pointer; | |||
} | |||
.normal { | |||
margin-top: 4px; | |||
border-top: 1px dotted gray; | |||
width: 100%; | |||
} | |||
.error { | |||
border: 1px solid red; | |||
} |
@@ -0,0 +1,236 @@ | |||
/* The main calendar widget. DIV containing a table. */ | |||
div.calendar { position: relative; } | |||
.calendar, .calendar table { | |||
border: 1px solid #aaaaaa; | |||
font-size: 11px; | |||
color: #000000; | |||
cursor: default; | |||
background: #ffffff; | |||
font-family: tahoma,verdana,sans-serif; | |||
border-collapse: collapse; | |||
} | |||
/* Header part -- contains navigation buttons and day names. */ | |||
.calendar .button { /* "<<", "<", ">", ">>" buttons have this class */ | |||
text-align: center; /* They are the navigation buttons */ | |||
padding: 2px; /* Make the buttons seem like they're pressing */ | |||
border: 1px solid #aaaaaa; | |||
} | |||
.calendar .nav { | |||
background: #ffffff url(menuarrow.gif) no-repeat 100% 100%; | |||
} | |||
.calendar thead .title { /* This holds the current "month, year" */ | |||
font-weight: bold; /* Pressing it will take you to the current date */ | |||
text-align: center; | |||
background: #fff; | |||
background-image: url('img/bg1.gif'); | |||
background-repeat: repeat-x; color: #000; | |||
padding: 2px; | |||
} | |||
.calendar thead .headrow { /* Row <TR> containing navigation buttons */ | |||
background: #f5f5fa; | |||
color: #000000; | |||
} | |||
.calendar thead .daynames { /* Row <TR> containing the day names */ | |||
background: #ffffff; | |||
backgound-image: | |||
} | |||
.calendar thead .name { /* Cells <TD> containing the day names */ | |||
border-bottom: 1px solid #556; | |||
padding: 2px; | |||
text-align: center; | |||
color: #000; | |||
} | |||
.calendar thead .weekend { /* How a weekend day name shows in header */ | |||
color: #a66; | |||
} | |||
.calendar thead .hilite { /* How do the buttons in header appear when hover */ | |||
background-color: #bbb; | |||
background-repeat: repeat-x; | |||
color: #000; | |||
padding: 1px; | |||
} | |||
.calendar thead .active { /* Active (pressed) buttons in header */ | |||
padding: 2px 0px 0px 2px; | |||
} | |||
/* The body part -- contains all the days in month. */ | |||
.calendar tbody .day { /* Cells <TD> containing month days dates */ | |||
width: 2em; | |||
color: #456; | |||
text-align: right; | |||
padding: 2px 4px 2px 2px; | |||
} | |||
.calendar tbody .day.othermonth { | |||
font-size: 80%; | |||
color: #bbb; | |||
} | |||
.calendar tbody .day.othermonth.oweekend { | |||
color: #fbb; | |||
} | |||
.calendar table .wn { | |||
padding: 2px 3px 2px 2px; | |||
border-right: 1px solid #000; | |||
background: #ffffff; | |||
} | |||
.calendar tbody .rowhilite td { | |||
} | |||
.calendar tbody .rowhilite td.wn { | |||
} | |||
.calendar tbody td.hilite { /* Hovered cells <TD> */ | |||
Xpadding: 1px 3px 1px 1px; | |||
xborder: 1px solid #bbb; | |||
background-color: #bbb; | |||
} | |||
.calendar tbody td.active { /* Active (pressed) cells <TD> */ | |||
background: #cde; | |||
padding: 2px 2px 0px 2px; | |||
} | |||
.calendar tbody td.selected { /* Cell showing today date */ | |||
font-weight: bold; | |||
border: 1px solid #aaaaaa; | |||
padding: 1px 3px 1px 1px; | |||
background: #fff; | |||
color: #000; | |||
} | |||
.calendar tbody td.weekend { /* Cells showing weekend days */ | |||
color: #a66; | |||
} | |||
.calendar tbody td.today { /* Cell showing selected date */ | |||
font-weight: bold; | |||
color: #00f; | |||
} | |||
.calendar tbody .disabled { color: #999; } | |||
.calendar tbody .emptycell { /* Empty cells (the best is to hide them) */ | |||
visibility: hidden; | |||
} | |||
.calendar tbody .emptyrow { /* Empty row (some months need less than 6 rows) */ | |||
display: none; | |||
} | |||
/* The footer part -- status bar and "Close" button */ | |||
.calendar tfoot .footrow { /* The <TR> in footer (only one right now) */ | |||
text-align: center; | |||
background: #556; | |||
color: #fff; | |||
} | |||
.calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */ | |||
background: #fff; | |||
color: #445; | |||
border-top: 1px solid #556; | |||
padding: 1px; | |||
} | |||
.calendar tfoot .hilite { /* Hover style for buttons in footer */ | |||
background: #aaf; | |||
border: 1px solid #04f; | |||
color: #000; | |||
padding: 1px; | |||
} | |||
.calendar tfoot .active { /* Active (pressed) style for buttons in footer */ | |||
background: #77c; | |||
padding: 2px 0px 0px 2px; | |||
} | |||
/* Combo boxes (menus that display months/years for direct selection) */ | |||
.calendar .combo { | |||
position: absolute; | |||
display: none; | |||
top: 0px; | |||
left: 0px; | |||
width: 4em; | |||
cursor: default; | |||
border: 1px solid #aaaaaa; | |||
background: #ffffff; | |||
color: #000; | |||
font-size: 90%; | |||
z-index: 100; | |||
} | |||
.calendar .combo .label, | |||
.calendar .combo .label-IEfix { | |||
text-align: center; | |||
padding: 1px; | |||
} | |||
.calendar .combo .label-IEfix { | |||
width: 4em; | |||
} | |||
.calendar .combo .hilite { | |||
background: #acf; | |||
} | |||
.calendar .combo .active { | |||
border-top: 1px solid #46a; | |||
border-bottom: 1px solid #46a; | |||
background: #eef; | |||
font-weight: bold; | |||
} | |||
.calendar td.time { | |||
border-top: 1px solid #000; | |||
padding: 1px 0px; | |||
text-align: center; | |||
background-color: #f4f0e8; | |||
} | |||
.calendar td.time .hour, | |||
.calendar td.time .minute, | |||
.calendar td.time .ampm { | |||
padding: 0px 3px 0px 4px; | |||
border: 1px solid #889; | |||
font-weight: bold; | |||
background-color: #fff; | |||
} | |||
.calendar td.time .ampm { | |||
text-align: center; | |||
} | |||
.calendar td.time .colon { | |||
padding: 0px 2px 0px 3px; | |||
font-weight: bold; | |||
} | |||
.calendar td.time span.hilite { | |||
border-color: #000; | |||
background-color: #667; | |||
color: #fff; | |||
} | |||
.calendar td.time span.active { | |||
border-color: #f00; | |||
background-color: #000; | |||
color: #0f0; | |||
} |
@@ -0,0 +1,232 @@ | |||
/* The main calendar widget. DIV containing a table. */ | |||
div.calendar { position: relative; } | |||
.calendar, .calendar table { | |||
border: 1px solid #556; | |||
font-size: 11px; | |||
color: #000; | |||
cursor: default; | |||
background: #eef; | |||
font-family: tahoma,verdana,sans-serif; | |||
} | |||
/* Header part -- contains navigation buttons and day names. */ | |||
.calendar .button { /* "<<", "<", ">", ">>" buttons have this class */ | |||
text-align: center; /* They are the navigation buttons */ | |||
padding: 2px; /* Make the buttons seem like they're pressing */ | |||
} | |||
.calendar .nav { | |||
background: #778 url(menuarrow.gif) no-repeat 100% 100%; | |||
} | |||
.calendar thead .title { /* This holds the current "month, year" */ | |||
font-weight: bold; /* Pressing it will take you to the current date */ | |||
text-align: center; | |||
background: #fff; | |||
color: #000; | |||
padding: 2px; | |||
} | |||
.calendar thead .headrow { /* Row <TR> containing navigation buttons */ | |||
background: #778; | |||
color: #fff; | |||
} | |||
.calendar thead .daynames { /* Row <TR> containing the day names */ | |||
background: #bdf; | |||
} | |||
.calendar thead .name { /* Cells <TD> containing the day names */ | |||
border-bottom: 1px solid #556; | |||
padding: 2px; | |||
text-align: center; | |||
color: #000; | |||
} | |||
.calendar thead .weekend { /* How a weekend day name shows in header */ | |||
color: #a66; | |||
} | |||
.calendar thead .hilite { /* How do the buttons in header appear when hover */ | |||
background-color: #aaf; | |||
color: #000; | |||
border: 1px solid #04f; | |||
padding: 1px; | |||
} | |||
.calendar thead .active { /* Active (pressed) buttons in header */ | |||
background-color: #77c; | |||
padding: 2px 0px 0px 2px; | |||
} | |||
/* The body part -- contains all the days in month. */ | |||
.calendar tbody .day { /* Cells <TD> containing month days dates */ | |||
width: 2em; | |||
color: #456; | |||
text-align: right; | |||
padding: 2px 4px 2px 2px; | |||
} | |||
.calendar tbody .day.othermonth { | |||
font-size: 80%; | |||
color: #bbb; | |||
} | |||
.calendar tbody .day.othermonth.oweekend { | |||
color: #fbb; | |||
} | |||
.calendar table .wn { | |||
padding: 2px 3px 2px 2px; | |||
border-right: 1px solid #000; | |||
background: #bdf; | |||
} | |||
.calendar tbody .rowhilite td { | |||
background: #def; | |||
} | |||
.calendar tbody .rowhilite td.wn { | |||
background: #eef; | |||
} | |||
.calendar tbody td.hilite { /* Hovered cells <TD> */ | |||
background: #def; | |||
padding: 1px 3px 1px 1px; | |||
border: 1px solid #bbb; | |||
} | |||
.calendar tbody td.active { /* Active (pressed) cells <TD> */ | |||
background: #cde; | |||
padding: 2px 2px 0px 2px; | |||
} | |||
.calendar tbody td.selected { /* Cell showing today date */ | |||
font-weight: bold; | |||
border: 1px solid #000; | |||
padding: 1px 3px 1px 1px; | |||
background: #fff; | |||
color: #000; | |||
} | |||
.calendar tbody td.weekend { /* Cells showing weekend days */ | |||
color: #a66; | |||
} | |||
.calendar tbody td.today { /* Cell showing selected date */ | |||
font-weight: bold; | |||
color: #00f; | |||
} | |||
.calendar tbody .disabled { color: #999; } | |||
.calendar tbody .emptycell { /* Empty cells (the best is to hide them) */ | |||
visibility: hidden; | |||
} | |||
.calendar tbody .emptyrow { /* Empty row (some months need less than 6 rows) */ | |||
display: none; | |||
} | |||
/* The footer part -- status bar and "Close" button */ | |||
.calendar tfoot .footrow { /* The <TR> in footer (only one right now) */ | |||
text-align: center; | |||
background: #556; | |||
color: #fff; | |||
} | |||
.calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */ | |||
background: #fff; | |||
color: #445; | |||
border-top: 1px solid #556; | |||
padding: 1px; | |||
} | |||
.calendar tfoot .hilite { /* Hover style for buttons in footer */ | |||
background: #aaf; | |||
border: 1px solid #04f; | |||
color: #000; | |||
padding: 1px; | |||
} | |||
.calendar tfoot .active { /* Active (pressed) style for buttons in footer */ | |||
background: #77c; | |||
padding: 2px 0px 0px 2px; | |||
} | |||
/* Combo boxes (menus that display months/years for direct selection) */ | |||
.calendar .combo { | |||
position: absolute; | |||
display: none; | |||
top: 0px; | |||
left: 0px; | |||
width: 4em; | |||
cursor: default; | |||
border: 1px solid #655; | |||
background: #def; | |||
color: #000; | |||
font-size: 90%; | |||
z-index: 100; | |||
} | |||
.calendar .combo .label, | |||
.calendar .combo .label-IEfix { | |||
text-align: center; | |||
padding: 1px; | |||
} | |||
.calendar .combo .label-IEfix { | |||
width: 4em; | |||
} | |||
.calendar .combo .hilite { | |||
background: #acf; | |||
} | |||
.calendar .combo .active { | |||
border-top: 1px solid #46a; | |||
border-bottom: 1px solid #46a; | |||
background: #eef; | |||
font-weight: bold; | |||
} | |||
.calendar td.time { | |||
border-top: 1px solid #000; | |||
padding: 1px 0px; | |||
text-align: center; | |||
background-color: #f4f0e8; | |||
} | |||
.calendar td.time .hour, | |||
.calendar td.time .minute, | |||
.calendar td.time .ampm { | |||
padding: 0px 3px 0px 4px; | |||
border: 1px solid #889; | |||
font-weight: bold; | |||
background-color: #fff; | |||
} | |||
.calendar td.time .ampm { | |||
text-align: center; | |||
} | |||
.calendar td.time .colon { | |||
padding: 0px 2px 0px 3px; | |||
font-weight: bold; | |||
} | |||
.calendar td.time span.hilite { | |||
border-color: #000; | |||
background-color: #667; | |||
color: #fff; | |||
} | |||
.calendar td.time span.active { | |||
border-color: #f00; | |||
background-color: #000; | |||
color: #0f0; | |||
} |
@@ -0,0 +1,236 @@ | |||
/* The main calendar widget. DIV containing a table. */ | |||
div.calendar { position: relative; } | |||
.calendar, .calendar table { | |||
border: 1px solid #206A9B; | |||
font-size: 11px; | |||
color: #000; | |||
cursor: default; | |||
background: #F1F8FC; | |||
font-family: tahoma,verdana,sans-serif; | |||
} | |||
/* Header part -- contains navigation buttons and day names. */ | |||
.calendar .button { /* "<<", "<", ">", ">>" buttons have this class */ | |||
text-align: center; /* They are the navigation buttons */ | |||
padding: 2px; /* Make the buttons seem like they're pressing */ | |||
} | |||
.calendar .nav { | |||
background: #007ED1 url(menuarrow2.gif) no-repeat 100% 100%; | |||
} | |||
.calendar thead .title { /* This holds the current "month, year" */ | |||
font-weight: bold; /* Pressing it will take you to the current date */ | |||
text-align: center; | |||
background: #000; | |||
color: #fff; | |||
padding: 2px; | |||
} | |||
.calendar thead tr { /* Row <TR> containing navigation buttons */ | |||
background: #007ED1; | |||
color: #fff; | |||
} | |||
.calendar thead .daynames { /* Row <TR> containing the day names */ | |||
background: #C7E1F3; | |||
} | |||
.calendar thead .name { /* Cells <TD> containing the day names */ | |||
border-bottom: 1px solid #206A9B; | |||
padding: 2px; | |||
text-align: center; | |||
color: #000; | |||
} | |||
.calendar thead .weekend { /* How a weekend day name shows in header */ | |||
color: #a66; | |||
} | |||
.calendar thead .hilite { /* How do the buttons in header appear when hover */ | |||
background-color: #34ABFA; | |||
color: #000; | |||
border: 1px solid #016DC5; | |||
padding: 1px; | |||
} | |||
.calendar thead .active { /* Active (pressed) buttons in header */ | |||
background-color: #006AA9; | |||
border: 1px solid #008AFF; | |||
padding: 2px 0px 0px 2px; | |||
} | |||
/* The body part -- contains all the days in month. */ | |||
.calendar tbody .day { /* Cells <TD> containing month days dates */ | |||
width: 2em; | |||
color: #456; | |||
text-align: right; | |||
padding: 2px 4px 2px 2px; | |||
} | |||
.calendar tbody .day.othermonth { | |||
font-size: 80%; | |||
color: #bbb; | |||
} | |||
.calendar tbody .day.othermonth.oweekend { | |||
color: #fbb; | |||
} | |||
.calendar table .wn { | |||
padding: 2px 3px 2px 2px; | |||
border-right: 1px solid #000; | |||
background: #C7E1F3; | |||
} | |||
.calendar tbody .rowhilite td { | |||
background: #def; | |||
} | |||
.calendar tbody .rowhilite td.wn { | |||
background: #F1F8FC; | |||
} | |||
.calendar tbody td.hilite { /* Hovered cells <TD> */ | |||
background: #def; | |||
padding: 1px 3px 1px 1px; | |||
border: 1px solid #8FC4E8; | |||
} | |||
.calendar tbody td.active { /* Active (pressed) cells <TD> */ | |||
background: #cde; | |||
padding: 2px 2px 0px 2px; | |||
} | |||
.calendar tbody td.selected { /* Cell showing today date */ | |||
font-weight: bold; | |||
border: 1px solid #000; | |||
padding: 1px 3px 1px 1px; | |||
background: #fff; | |||
color: #000; | |||
} | |||
.calendar tbody td.weekend { /* Cells showing weekend days */ | |||
color: #a66; | |||
} | |||
.calendar tbody td.today { /* Cell showing selected date */ | |||
font-weight: bold; | |||
color: #D50000; | |||
} | |||
.calendar tbody .disabled { color: #999; } | |||
.calendar tbody .emptycell { /* Empty cells (the best is to hide them) */ | |||
visibility: hidden; | |||
} | |||
.calendar tbody .emptyrow { /* Empty row (some months need less than 6 rows) */ | |||
display: none; | |||
} | |||
/* The footer part -- status bar and "Close" button */ | |||
.calendar tfoot .footrow { /* The <TR> in footer (only one right now) */ | |||
text-align: center; | |||
background: #206A9B; | |||
color: #fff; | |||
} | |||
.calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */ | |||
background: #000; | |||
color: #fff; | |||
border-top: 1px solid #206A9B; | |||
padding: 1px; | |||
} | |||
.calendar tfoot .hilite { /* Hover style for buttons in footer */ | |||
background: #B8DAF0; | |||
border: 1px solid #178AEB; | |||
color: #000; | |||
padding: 1px; | |||
} | |||
.calendar tfoot .active { /* Active (pressed) style for buttons in footer */ | |||
background: #006AA9; | |||
padding: 2px 0px 0px 2px; | |||
} | |||
/* Combo boxes (menus that display months/years for direct selection) */ | |||
.calendar .combo { | |||
position: absolute; | |||
display: none; | |||
top: 0px; | |||
left: 0px; | |||
width: 4em; | |||
cursor: default; | |||
border: 1px solid #655; | |||
background: #def; | |||
color: #000; | |||
font-size: 90%; | |||
z-index: 100; | |||
} | |||
.calendar .combo .label, | |||
.calendar .combo .label-IEfix { | |||
text-align: center; | |||
padding: 1px; | |||
} | |||
.calendar .combo .label-IEfix { | |||
width: 4em; | |||
} | |||
.calendar .combo .hilite { | |||
background: #34ABFA; | |||
border-top: 1px solid #46a; | |||
border-bottom: 1px solid #46a; | |||
font-weight: bold; | |||
} | |||
.calendar .combo .active { | |||
border-top: 1px solid #46a; | |||
border-bottom: 1px solid #46a; | |||
background: #F1F8FC; | |||
font-weight: bold; | |||
} | |||
.calendar td.time { | |||
border-top: 1px solid #000; | |||
padding: 1px 0px; | |||
text-align: center; | |||
background-color: #E3F0F9; | |||
} | |||
.calendar td.time .hour, | |||
.calendar td.time .minute, | |||
.calendar td.time .ampm { | |||
padding: 0px 3px 0px 4px; | |||
border: 1px solid #889; | |||
font-weight: bold; | |||
background-color: #F1F8FC; | |||
} | |||
.calendar td.time .ampm { | |||
text-align: center; | |||
} | |||
.calendar td.time .colon { | |||
padding: 0px 2px 0px 3px; | |||
font-weight: bold; | |||
} | |||
.calendar td.time span.hilite { | |||
border-color: #000; | |||
background-color: #267DB7; | |||
color: #fff; | |||
} | |||
.calendar td.time span.active { | |||
border-color: red; | |||
background-color: #000; | |||
color: #A5FF00; | |||
} |
@@ -0,0 +1,225 @@ | |||
/* The main calendar widget. DIV containing a table. */ | |||
div.calendar { position: relative; } | |||
.calendar, .calendar table { | |||
border: 1px solid #655; | |||
font-size: 11px; | |||
color: #000; | |||
cursor: default; | |||
background: #ffd; | |||
font-family: tahoma,verdana,sans-serif; | |||
} | |||
/* Header part -- contains navigation buttons and day names. */ | |||
.calendar .button { /* "<<", "<", ">", ">>" buttons have this class */ | |||
text-align: center; /* They are the navigation buttons */ | |||
padding: 2px; /* Make the buttons seem like they're pressing */ | |||
} | |||
.calendar .nav { | |||
background: #edc url(menuarrow.gif) no-repeat 100% 100%; | |||
} | |||
.calendar thead .title { /* This holds the current "month, year" */ | |||
font-weight: bold; /* Pressing it will take you to the current date */ | |||
text-align: center; | |||
background: #654; | |||
color: #fed; | |||
padding: 2px; | |||
} | |||
.calendar thead .headrow { /* Row <TR> containing navigation buttons */ | |||
background: #edc; | |||
color: #000; | |||
} | |||
.calendar thead .name { /* Cells <TD> containing the day names */ | |||
border-bottom: 1px solid #655; | |||
padding: 2px; | |||
text-align: center; | |||
color: #000; | |||
} | |||
.calendar thead .weekend { /* How a weekend day name shows in header */ | |||
color: #f00; | |||
} | |||
.calendar thead .hilite { /* How do the buttons in header appear when hover */ | |||
background-color: #faa; | |||
color: #000; | |||
border: 1px solid #f40; | |||
padding: 1px; | |||
} | |||
.calendar thead .active { /* Active (pressed) buttons in header */ | |||
background-color: #c77; | |||
padding: 2px 0px 0px 2px; | |||
} | |||
.calendar thead .daynames { /* Row <TR> containing the day names */ | |||
background: #fed; | |||
} | |||
/* The body part -- contains all the days in month. */ | |||
.calendar tbody .day { /* Cells <TD> containing month days dates */ | |||
width: 2em; | |||
text-align: right; | |||
padding: 2px 4px 2px 2px; | |||
} | |||
.calendar tbody .day.othermonth { | |||
font-size: 80%; | |||
color: #bbb; | |||
} | |||
.calendar tbody .day.othermonth.oweekend { | |||
color: #fbb; | |||
} | |||
.calendar table .wn { | |||
padding: 2px 3px 2px 2px; | |||
border-right: 1px solid #000; | |||
background: #fed; | |||
} | |||
.calendar tbody .rowhilite td { | |||
background: #ddf; | |||
} | |||
.calendar tbody .rowhilite td.wn { | |||
background: #efe; | |||
} | |||
.calendar tbody td.hilite { /* Hovered cells <TD> */ | |||
background: #ffe; | |||
padding: 1px 3px 1px 1px; | |||
border: 1px solid #bbb; | |||
} | |||
.calendar tbody td.active { /* Active (pressed) cells <TD> */ | |||
background: #ddc; | |||
padding: 2px 2px 0px 2px; | |||
} | |||
.calendar tbody td.selected { /* Cell showing today date */ | |||
font-weight: bold; | |||
border: 1px solid #000; | |||
padding: 1px 3px 1px 1px; | |||
background: #fea; | |||
} | |||
.calendar tbody td.weekend { /* Cells showing weekend days */ | |||
color: #f00; | |||
} | |||
.calendar tbody td.today { font-weight: bold; } | |||
.calendar tbody .disabled { color: #999; } | |||
.calendar tbody .emptycell { /* Empty cells (the best is to hide them) */ | |||
visibility: hidden; | |||
} | |||
.calendar tbody .emptyrow { /* Empty row (some months need less than 6 rows) */ | |||
display: none; | |||
} | |||
/* The footer part -- status bar and "Close" button */ | |||
.calendar tfoot .footrow { /* The <TR> in footer (only one right now) */ | |||
text-align: center; | |||
background: #988; | |||
color: #000; | |||
} | |||
.calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */ | |||
border-top: 1px solid #655; | |||
background: #dcb; | |||
color: #840; | |||
} | |||
.calendar tfoot .hilite { /* Hover style for buttons in footer */ | |||
background: #faa; | |||
border: 1px solid #f40; | |||
padding: 1px; | |||
} | |||
.calendar tfoot .active { /* Active (pressed) style for buttons in footer */ | |||
background: #c77; | |||
padding: 2px 0px 0px 2px; | |||
} | |||
/* Combo boxes (menus that display months/years for direct selection) */ | |||
.calendar .combo { | |||
position: absolute; | |||
display: none; | |||
top: 0px; | |||
left: 0px; | |||
width: 4em; | |||
cursor: default; | |||
border: 1px solid #655; | |||
background: #ffe; | |||
color: #000; | |||
font-size: 90%; | |||
z-index: 100; | |||
} | |||
.calendar .combo .label, | |||
.calendar .combo .label-IEfix { | |||
text-align: center; | |||
padding: 1px; | |||
} | |||
.calendar .combo .label-IEfix { | |||
width: 4em; | |||
} | |||
.calendar .combo .hilite { | |||
background: #fc8; | |||
} | |||
.calendar .combo .active { | |||
border-top: 1px solid #a64; | |||
border-bottom: 1px solid #a64; | |||
background: #fee; | |||
font-weight: bold; | |||
} | |||
.calendar td.time { | |||
border-top: 1px solid #a88; | |||
padding: 1px 0px; | |||
text-align: center; | |||
background-color: #fed; | |||
} | |||
.calendar td.time .hour, | |||
.calendar td.time .minute, | |||
.calendar td.time .ampm { | |||
padding: 0px 3px 0px 4px; | |||
border: 1px solid #988; | |||
font-weight: bold; | |||
background-color: #fff; | |||
} | |||
.calendar td.time .ampm { | |||
text-align: center; | |||
} | |||
.calendar td.time .colon { | |||
padding: 0px 2px 0px 3px; | |||
font-weight: bold; | |||
} | |||
.calendar td.time span.hilite { | |||
border-color: #000; | |||
background-color: #866; | |||
color: #fff; | |||
} | |||
.calendar td.time span.active { | |||
border-color: #f00; | |||
background-color: #000; | |||
color: #0f0; | |||
} |
@@ -0,0 +1,229 @@ | |||
/* The main calendar widget. DIV containing a table. */ | |||
div.calendar { position: relative; } | |||
.calendar, .calendar table { | |||
border: 1px solid #565; | |||
font-size: 11px; | |||
color: #000; | |||
cursor: default; | |||
background: #efe; | |||
font-family: tahoma,verdana,sans-serif; | |||
} | |||
/* Header part -- contains navigation buttons and day names. */ | |||
.calendar .button { /* "<<", "<", ">", ">>" buttons have this class */ | |||
text-align: center; /* They are the navigation buttons */ | |||
padding: 2px; /* Make the buttons seem like they're pressing */ | |||
background: #676; | |||
color: #fff; | |||
font-size: 90%; | |||
} | |||
.calendar .nav { | |||
background: #676 url(menuarrow.gif) no-repeat 100% 100%; | |||
} | |||
.calendar thead .title { /* This holds the current "month, year" */ | |||
font-weight: bold; /* Pressing it will take you to the current date */ | |||
text-align: center; | |||
padding: 2px; | |||
background: #250; | |||
color: #efa; | |||
} | |||
.calendar thead .headrow { /* Row <TR> containing navigation buttons */ | |||
} | |||
.calendar thead .name { /* Cells <TD> containing the day names */ | |||
border-bottom: 1px solid #565; | |||
padding: 2px; | |||
text-align: center; | |||
color: #000; | |||
} | |||
.calendar thead .weekend { /* How a weekend day name shows in header */ | |||
color: #a66; | |||
} | |||
.calendar thead .hilite { /* How do the buttons in header appear when hover */ | |||
background-color: #afa; | |||
color: #000; | |||
border: 1px solid #084; | |||
padding: 1px; | |||
} | |||
.calendar thead .active { /* Active (pressed) buttons in header */ | |||
background-color: #7c7; | |||
padding: 2px 0px 0px 2px; | |||
} | |||
.calendar thead .daynames { /* Row <TR> containing the day names */ | |||
background: #dfb; | |||
} | |||
/* The body part -- contains all the days in month. */ | |||
.calendar tbody .day { /* Cells <TD> containing month days dates */ | |||
width: 2em; | |||
color: #564; | |||
text-align: right; | |||
padding: 2px 4px 2px 2px; | |||
} | |||
.calendar tbody .day.othermonth { | |||
font-size: 80%; | |||
color: #bbb; | |||
} | |||
.calendar tbody .day.othermonth.oweekend { | |||
color: #fbb; | |||
} | |||
.calendar table .wn { | |||
padding: 2px 3px 2px 2px; | |||
border-right: 1px solid #8a8; | |||
background: #dfb; | |||
} | |||
.calendar tbody .rowhilite td { | |||
background: #dfd; | |||
} | |||
.calendar tbody .rowhilite td.wn { | |||
background: #efe; | |||
} | |||
.calendar tbody td.hilite { /* Hovered cells <TD> */ | |||
background: #efd; | |||
padding: 1px 3px 1px 1px; | |||
border: 1px solid #bbb; | |||
} | |||
.calendar tbody td.active { /* Active (pressed) cells <TD> */ | |||
background: #dec; | |||
padding: 2px 2px 0px 2px; | |||
} | |||
.calendar tbody td.selected { /* Cell showing today date */ | |||
font-weight: bold; | |||
border: 1px solid #000; | |||
padding: 1px 3px 1px 1px; | |||
background: #f8fff8; | |||
color: #000; | |||
} | |||
.calendar tbody td.weekend { /* Cells showing weekend days */ | |||
color: #a66; | |||
} | |||
.calendar tbody td.today { font-weight: bold; color: #0a0; } | |||
.calendar tbody .disabled { color: #999; } | |||
.calendar tbody .emptycell { /* Empty cells (the best is to hide them) */ | |||
visibility: hidden; | |||
} | |||
.calendar tbody .emptyrow { /* Empty row (some months need less than 6 rows) */ | |||
display: none; | |||
} | |||
/* The footer part -- status bar and "Close" button */ | |||
.calendar tfoot .footrow { /* The <TR> in footer (only one right now) */ | |||
text-align: center; | |||
background: #565; | |||
color: #fff; | |||
} | |||
.calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */ | |||
padding: 2px; | |||
background: #250; | |||
color: #efa; | |||
} | |||
.calendar tfoot .hilite { /* Hover style for buttons in footer */ | |||
background: #afa; | |||
border: 1px solid #084; | |||
color: #000; | |||
padding: 1px; | |||
} | |||
.calendar tfoot .active { /* Active (pressed) style for buttons in footer */ | |||
background: #7c7; | |||
padding: 2px 0px 0px 2px; | |||
} | |||
/* Combo boxes (menus that display months/years for direct selection) */ | |||
.calendar .combo { | |||
position: absolute; | |||
display: none; | |||
top: 0px; | |||
left: 0px; | |||
width: 4em; | |||
cursor: default; | |||
border: 1px solid #565; | |||
background: #efd; | |||
color: #000; | |||
font-size: 90%; | |||
z-index: 100; | |||
} | |||
.calendar .combo .label, | |||
.calendar .combo .label-IEfix { | |||
text-align: center; | |||
padding: 1px; | |||
} | |||
.calendar .combo .label-IEfix { | |||
width: 4em; | |||
} | |||
.calendar .combo .hilite { | |||
background: #af8; | |||
} | |||
.calendar .combo .active { | |||
border-top: 1px solid #6a4; | |||
border-bottom: 1px solid #6a4; | |||
background: #efe; | |||
font-weight: bold; | |||
} | |||
.calendar td.time { | |||
border-top: 1px solid #8a8; | |||
padding: 1px 0px; | |||
text-align: center; | |||
background-color: #dfb; | |||
} | |||
.calendar td.time .hour, | |||
.calendar td.time .minute, | |||
.calendar td.time .ampm { | |||
padding: 0px 3px 0px 4px; | |||
border: 1px solid #898; | |||
font-weight: bold; | |||
background-color: #fff; | |||
} | |||
.calendar td.time .ampm { | |||
text-align: center; | |||
} | |||
.calendar td.time .colon { | |||
padding: 0px 2px 0px 3px; | |||
font-weight: bold; | |||
} | |||
.calendar td.time span.hilite { | |||
border-color: #000; | |||
background-color: #686; | |||
color: #fff; | |||
} | |||
.calendar td.time span.active { | |||
border-color: #f00; | |||
background-color: #000; | |||
color: #0f0; | |||
} |
@@ -0,0 +1,200 @@ | |||
/* Copyright Mihai Bazon, 2002, 2003 | http://dynarch.com/mishoo/ | |||
* --------------------------------------------------------------------------- | |||
* | |||
* The DHTML Calendar | |||
* | |||
* Details and latest version at: | |||
* http://dynarch.com/mishoo/calendar.epl | |||
* | |||
* This script is distributed under the GNU Lesser General Public License. | |||
* Read the entire license text here: http://www.gnu.org/licenses/lgpl.html | |||
* | |||
* This file defines helper functions for setting up the calendar. They are | |||
* intended to help non-programmers get a working calendar on their site | |||
* quickly. This script should not be seen as part of the calendar. It just | |||
* shows you what one can do with the calendar, while in the same time | |||
* providing a quick and simple method for setting it up. If you need | |||
* exhaustive customization of the calendar creation process feel free to | |||
* modify this code to suit your needs (this is recommended and much better | |||
* than modifying calendar.js itself). | |||
*/ | |||
// $Id: calendar-setup.js,v 1.1 2005/09/28 10:04:05 se Exp $ | |||
/** | |||
* This function "patches" an input field (or other element) to use a calendar | |||
* widget for date selection. | |||
* | |||
* The "params" is a single object that can have the following properties: | |||
* | |||
* prop. name | description | |||
* ------------------------------------------------------------------------------------------------- | |||
* inputField | the ID of an input field to store the date | |||
* displayArea | the ID of a DIV or other element to show the date | |||
* button | ID of a button or other element that will trigger the calendar | |||
* eventName | event that will trigger the calendar, without the "on" prefix (default: "click") | |||
* ifFormat | date format that will be stored in the input field | |||
* daFormat | the date format that will be used to display the date in displayArea | |||
* singleClick | (true/false) wether the calendar is in single click mode or not (default: true) | |||
* firstDay | numeric: 0 to 6. "0" means display Sunday first, "1" means display Monday first, etc. | |||
* align | alignment (default: "Br"); if you don't know what's this see the calendar documentation | |||
* range | array with 2 elements. Default: [1900, 2999] -- the range of years available | |||
* weekNumbers | (true/false) if it's true (default) the calendar will display week numbers | |||
* flat | null or element ID; if not null the calendar will be a flat calendar having the parent with the given ID | |||
* flatCallback | function that receives a JS Date object and returns an URL to point the browser to (for flat calendar) | |||
* disableFunc | function that receives a JS Date object and should return true if that date has to be disabled in the calendar | |||
* onSelect | function that gets called when a date is selected. You don't _have_ to supply this (the default is generally okay) | |||
* onClose | function that gets called when the calendar is closed. [default] | |||
* onUpdate | function that gets called after the date is updated in the input field. Receives a reference to the calendar. | |||
* date | the date that the calendar will be initially displayed to | |||
* showsTime | default: false; if true the calendar will include a time selector | |||
* timeFormat | the time format; can be "12" or "24", default is "12" | |||
* electric | if true (default) then given fields/date areas are updated for each move; otherwise they're updated only on close | |||
* step | configures the step of the years in drop-down boxes; default: 2 | |||
* position | configures the calendar absolute position; default: null | |||
* cache | if "true" (but default: "false") it will reuse the same calendar object, where possible | |||
* showOthers | if "true" (but default: "false") it will show days from other months too | |||
* | |||
* None of them is required, they all have default values. However, if you | |||
* pass none of "inputField", "displayArea" or "button" you'll get a warning | |||
* saying "nothing to setup". | |||
*/ | |||
Calendar.setup = function (params) { | |||
function param_default(pname, def) { if (typeof params[pname] == "undefined") { params[pname] = def; } }; | |||
param_default("inputField", null); | |||
param_default("displayArea", null); | |||
param_default("button", null); | |||
param_default("eventName", "click"); | |||
param_default("ifFormat", "%Y/%m/%d"); | |||
param_default("daFormat", "%Y/%m/%d"); | |||
param_default("singleClick", true); | |||
param_default("disableFunc", null); | |||
param_default("dateStatusFunc", params["disableFunc"]); // takes precedence if both are defined | |||
param_default("dateText", null); | |||
param_default("firstDay", null); | |||
param_default("align", "Br"); | |||
param_default("range", [1900, 2999]); | |||
param_default("weekNumbers", true); | |||
param_default("flat", null); | |||
param_default("flatCallback", null); | |||
param_default("onSelect", null); | |||
param_default("onClose", null); | |||
param_default("onUpdate", null); | |||
param_default("date", null); | |||
param_default("showsTime", false); | |||
param_default("timeFormat", "24"); | |||
param_default("electric", true); | |||
param_default("step", 2); | |||
param_default("position", null); | |||
param_default("cache", false); | |||
param_default("showOthers", false); | |||
param_default("multiple", null); | |||
var tmp = ["inputField", "displayArea", "button"]; | |||
for (var i in tmp) { | |||
if (typeof params[tmp[i]] == "string") { | |||
params[tmp[i]] = document.getElementById(params[tmp[i]]); | |||
} | |||
} | |||
if (!(params.flat || params.multiple || params.inputField || params.displayArea || params.button)) { | |||
alert("Calendar.setup:\n Nothing to setup (no fields found). Please check your code"); | |||
return false; | |||
} | |||
function onSelect(cal) { | |||
var p = cal.params; | |||
var update = (cal.dateClicked || p.electric); | |||
if (update && p.inputField) { | |||
p.inputField.value = cal.date.print(p.ifFormat); | |||
if (typeof p.inputField.onchange == "function") | |||
p.inputField.onchange(); | |||
} | |||
if (update && p.displayArea) | |||
p.displayArea.innerHTML = cal.date.print(p.daFormat); | |||
if (update && typeof p.onUpdate == "function") | |||
p.onUpdate(cal); | |||
if (update && p.flat) { | |||
if (typeof p.flatCallback == "function") | |||
p.flatCallback(cal); | |||
} | |||
if (update && p.singleClick && cal.dateClicked) | |||
cal.callCloseHandler(); | |||
}; | |||
if (params.flat != null) { | |||
if (typeof params.flat == "string") | |||
params.flat = document.getElementById(params.flat); | |||
if (!params.flat) { | |||
alert("Calendar.setup:\n Flat specified but can't find parent."); | |||
return false; | |||
} | |||
var cal = new Calendar(params.firstDay, params.date, params.onSelect || onSelect); | |||
cal.showsOtherMonths = params.showOthers; | |||
cal.showsTime = params.showsTime; | |||
cal.time24 = (params.timeFormat == "24"); | |||
cal.params = params; | |||
cal.weekNumbers = params.weekNumbers; | |||
cal.setRange(params.range[0], params.range[1]); | |||
cal.setDateStatusHandler(params.dateStatusFunc); | |||
cal.getDateText = params.dateText; | |||
if (params.ifFormat) { | |||
cal.setDateFormat(params.ifFormat); | |||
} | |||
if (params.inputField && typeof params.inputField.value == "string") { | |||
cal.parseDate(params.inputField.value); | |||
} | |||
cal.create(params.flat); | |||
cal.show(); | |||
return false; | |||
} | |||
var triggerEl = params.button || params.displayArea || params.inputField; | |||
triggerEl["on" + params.eventName] = function() { | |||
var dateEl = params.inputField || params.displayArea; | |||
var dateFmt = params.inputField ? params.ifFormat : params.daFormat; | |||
var mustCreate = false; | |||
var cal = window.calendar; | |||
if (dateEl) | |||
params.date = Date.parseDate(dateEl.value || dateEl.innerHTML, dateFmt); | |||
if (!(cal && params.cache)) { | |||
window.calendar = cal = new Calendar(params.firstDay, | |||
params.date, | |||
params.onSelect || onSelect, | |||
params.onClose || function(cal) { cal.hide(); }); | |||
cal.showsTime = params.showsTime; | |||
cal.time24 = (params.timeFormat == "24"); | |||
cal.weekNumbers = params.weekNumbers; | |||
mustCreate = true; | |||
} else { | |||
if (params.date) | |||
cal.setDate(params.date); | |||
cal.hide(); | |||
} | |||
if (params.multiple) { | |||
cal.multiple = {}; | |||
for (var i = params.multiple.length; --i >= 0;) { | |||
var d = params.multiple[i]; | |||
var ds = d.print("%Y%m%d"); | |||
cal.multiple[ds] = d; | |||
} | |||
} | |||
cal.showsOtherMonths = params.showOthers; | |||
cal.yearStep = params.step; | |||
cal.setRange(params.range[0], params.range[1]); | |||
cal.params = params; | |||
cal.setDateStatusHandler(params.dateStatusFunc); | |||
cal.getDateText = params.dateText; | |||
cal.setDateFormat(dateFmt); | |||
if (mustCreate) | |||
cal.create(); | |||
cal.refresh(); | |||
if (!params.position) | |||
cal.showAtElement(params.button || params.displayArea || params.inputField, params.align); | |||
else | |||
cal.showAt(params.position[0], params.position[1]); | |||
return false; | |||
}; | |||
return cal; | |||
}; |
@@ -0,0 +1,21 @@ | |||
/* Copyright Mihai Bazon, 2002, 2003 | http://dynarch.com/mishoo/ | |||
* --------------------------------------------------------------------------- | |||
* | |||
* The DHTML Calendar | |||
* | |||
* Details and latest version at: | |||
* http://dynarch.com/mishoo/calendar.epl | |||
* | |||
* This script is distributed under the GNU Lesser General Public License. | |||
* Read the entire license text here: http://www.gnu.org/licenses/lgpl.html | |||
* | |||
* This file defines helper functions for setting up the calendar. They are | |||
* intended to help non-programmers get a working calendar on their site | |||
* quickly. This script should not be seen as part of the calendar. It just | |||
* shows you what one can do with the calendar, while in the same time | |||
* providing a quick and simple method for setting it up. If you need | |||
* exhaustive customization of the calendar creation process feel free to | |||
* modify this code to suit your needs (this is recommended and much better | |||
* than modifying calendar.js itself). | |||
*/ | |||
Calendar.setup=function(params){function param_default(pname,def){if(typeof params[pname]=="undefined"){params[pname]=def;}};param_default("inputField",null);param_default("displayArea",null);param_default("button",null);param_default("eventName","click");param_default("ifFormat","%Y/%m/%d");param_default("daFormat","%Y/%m/%d");param_default("singleClick",true);param_default("disableFunc",null);param_default("dateStatusFunc",params["disableFunc"]);param_default("dateText",null);param_default("firstDay",null);param_default("align","Br");param_default("range",[1900,2999]);param_default("weekNumbers",true);param_default("flat",null);param_default("flatCallback",null);param_default("onSelect",null);param_default("onClose",null);param_default("onUpdate",null);param_default("date",null);param_default("showsTime",false);param_default("timeFormat","24");param_default("electric",true);param_default("step",2);param_default("position",null);param_default("cache",false);param_default("showOthers",false);param_default("multiple",null);var tmp=["inputField","displayArea","button"];for(var i in tmp){if(typeof params[tmp[i]]=="string"){params[tmp[i]]=document.getElementById(params[tmp[i]]);}}if(!(params.flat||params.multiple||params.inputField||params.displayArea||params.button)){alert("Calendar.setup:\n Nothing to setup (no fields found). Please check your code");return false;}function onSelect(cal){var p=cal.params;var update=(cal.dateClicked||p.electric);if(update&&p.inputField){p.inputField.value=cal.date.print(p.ifFormat);if(typeof p.inputField.onchange=="function")p.inputField.onchange();}if(update&&p.displayArea)p.displayArea.innerHTML=cal.date.print(p.daFormat);if(update&&typeof p.onUpdate=="function")p.onUpdate(cal);if(update&&p.flat){if(typeof p.flatCallback=="function")p.flatCallback(cal);}if(update&&p.singleClick&&cal.dateClicked)cal.callCloseHandler();};if(params.flat!=null){if(typeof params.flat=="string")params.flat=document.getElementById(params.flat);if(!params.flat){alert("Calendar.setup:\n Flat specified but can't find parent.");return false;}var cal=new Calendar(params.firstDay,params.date,params.onSelect||onSelect);cal.showsOtherMonths=params.showOthers;cal.showsTime=params.showsTime;cal.time24=(params.timeFormat=="24");cal.params=params;cal.weekNumbers=params.weekNumbers;cal.setRange(params.range[0],params.range[1]);cal.setDateStatusHandler(params.dateStatusFunc);cal.getDateText=params.dateText;if(params.ifFormat){cal.setDateFormat(params.ifFormat);}if(params.inputField&&typeof params.inputField.value=="string"){cal.parseDate(params.inputField.value);}cal.create(params.flat);cal.show();return false;}var triggerEl=params.button||params.displayArea||params.inputField;triggerEl["on"+params.eventName]=function(){var dateEl=params.inputField||params.displayArea;var dateFmt=params.inputField?params.ifFormat:params.daFormat;var mustCreate=false;var cal=window.calendar;if(dateEl)params.date=Date.parseDate(dateEl.value||dateEl.innerHTML,dateFmt);if(!(cal&¶ms.cache)){window.calendar=cal=new Calendar(params.firstDay,params.date,params.onSelect||onSelect,params.onClose||function(cal){cal.hide();});cal.showsTime=params.showsTime;cal.time24=(params.timeFormat=="24");cal.weekNumbers=params.weekNumbers;mustCreate=true;}else{if(params.date)cal.setDate(params.date);cal.hide();}if(params.multiple){cal.multiple={};for(var i=params.multiple.length;--i>=0;){var d=params.multiple[i];var ds=d.print("%Y%m%d");cal.multiple[ds]=d;}}cal.showsOtherMonths=params.showOthers;cal.yearStep=params.step;cal.setRange(params.range[0],params.range[1]);cal.params=params;cal.setDateStatusHandler(params.dateStatusFunc);cal.getDateText=params.dateText;cal.setDateFormat(dateFmt);if(mustCreate)cal.create();cal.refresh();if(!params.position)cal.showAtElement(params.button||params.displayArea||params.inputField,params.align);else cal.showAt(params.position[0],params.position[1]);return false;};return cal;}; |
@@ -0,0 +1,251 @@ | |||
/* The main calendar widget. DIV containing a table. */ | |||
.calendar { | |||
position: relative; | |||
display: none; | |||
border: 1px solid; | |||
border-color: #fff #000 #000 #fff; | |||
font-size: 11px; | |||
cursor: default; | |||
background: Window; | |||
color: WindowText; | |||
font-family: tahoma,verdana,sans-serif; | |||
} | |||
.calendar table { | |||
border: 1px solid; | |||
border-color: #fff #000 #000 #fff; | |||
font-size: 11px; | |||
cursor: default; | |||
background: Window; | |||
color: WindowText; | |||
font-family: tahoma,verdana,sans-serif; | |||
} | |||
/* Header part -- contains navigation buttons and day names. */ | |||
.calendar .button { /* "<<", "<", ">", ">>" buttons have this class */ | |||
text-align: center; | |||
padding: 1px; | |||
border: 1px solid; | |||
border-color: ButtonHighlight ButtonShadow ButtonShadow ButtonHighlight; | |||
background: ButtonFace; | |||
} | |||
.calendar .nav { | |||
background: ButtonFace url(menuarrow.gif) no-repeat 100% 100%; | |||
} | |||
.calendar thead .title { /* This holds the current "month, year" */ | |||
font-weight: bold; | |||
padding: 1px; | |||
border: 1px solid #000; | |||
background: ActiveCaption; | |||
color: CaptionText; | |||
text-align: center; | |||
} | |||
.calendar thead .headrow { /* Row <TR> containing navigation buttons */ | |||
} | |||
.calendar thead .daynames { /* Row <TR> containing the day names */ | |||
} | |||
.calendar thead .name { /* Cells <TD> containing the day names */ | |||
border-bottom: 1px solid ButtonShadow; | |||
padding: 2px; | |||
text-align: center; | |||
background: ButtonFace; | |||
color: ButtonText; | |||
} | |||
.calendar thead .weekend { /* How a weekend day name shows in header */ | |||
color: #f00; | |||
} | |||
.calendar thead .hilite { /* How do the buttons in header appear when hover */ | |||
border: 2px solid; | |||
padding: 0px; | |||
border-color: ButtonHighlight ButtonShadow ButtonShadow ButtonHighlight; | |||
} | |||
.calendar thead .active { /* Active (pressed) buttons in header */ | |||
border-width: 1px; | |||
padding: 2px 0px 0px 2px; | |||
border-color: ButtonShadow ButtonHighlight ButtonHighlight ButtonShadow; | |||
} | |||
/* The body part -- contains all the days in month. */ | |||
.calendar tbody .day { /* Cells <TD> containing month days dates */ | |||
width: 2em; | |||
text-align: right; | |||
padding: 2px 4px 2px 2px; | |||
} | |||
.calendar tbody .day.othermonth { | |||
font-size: 80%; | |||
color: #aaa; | |||
} | |||
.calendar tbody .day.othermonth.oweekend { | |||
color: #faa; | |||
} | |||
.calendar table .wn { | |||
padding: 2px 3px 2px 2px; | |||
border-right: 1px solid ButtonShadow; | |||
background: ButtonFace; | |||
color: ButtonText; | |||
} | |||
.calendar tbody .rowhilite td { | |||
background: Highlight; | |||
color: HighlightText; | |||
} | |||
.calendar tbody td.hilite { /* Hovered cells <TD> */ | |||
padding: 1px 3px 1px 1px; | |||
border-top: 1px solid #fff; | |||
border-right: 1px solid #000; | |||
border-bottom: 1px solid #000; | |||
border-left: 1px solid #fff; | |||
} | |||
.calendar tbody td.active { /* Active (pressed) cells <TD> */ | |||
padding: 2px 2px 0px 2px; | |||
border: 1px solid; | |||
border-color: ButtonShadow ButtonHighlight ButtonHighlight ButtonShadow; | |||
} | |||
.calendar tbody td.selected { /* Cell showing selected date */ | |||
font-weight: bold; | |||
border: 1px solid; | |||
border-color: ButtonShadow ButtonHighlight ButtonHighlight ButtonShadow; | |||
padding: 2px 2px 0px 2px; | |||
background: ButtonFace; | |||
color: ButtonText; | |||
} | |||
.calendar tbody td.weekend { /* Cells showing weekend days */ | |||
color: #f00; | |||
} | |||
.calendar tbody td.today { /* Cell showing today date */ | |||
font-weight: bold; | |||
color: #00f; | |||
} | |||
.calendar tbody td.disabled { color: GrayText; } | |||
.calendar tbody .emptycell { /* Empty cells (the best is to hide them) */ | |||
visibility: hidden; | |||
} | |||
.calendar tbody .emptyrow { /* Empty row (some months need less than 6 rows) */ | |||
display: none; | |||
} | |||
/* The footer part -- status bar and "Close" button */ | |||
.calendar tfoot .footrow { /* The <TR> in footer (only one right now) */ | |||
} | |||
.calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */ | |||
background: ButtonFace; | |||
padding: 1px; | |||
border: 1px solid; | |||
border-color: ButtonShadow ButtonHighlight ButtonHighlight ButtonShadow; | |||
color: ButtonText; | |||
text-align: center; | |||
} | |||
.calendar tfoot .hilite { /* Hover style for buttons in footer */ | |||
border-top: 1px solid #fff; | |||
border-right: 1px solid #000; | |||
border-bottom: 1px solid #000; | |||
border-left: 1px solid #fff; | |||
padding: 1px; | |||
background: #e4e0d8; | |||
} | |||
.calendar tfoot .active { /* Active (pressed) style for buttons in footer */ | |||
padding: 2px 0px 0px 2px; | |||
border-top: 1px solid #000; | |||
border-right: 1px solid #fff; | |||
border-bottom: 1px solid #fff; | |||
border-left: 1px solid #000; | |||
} | |||
/* Combo boxes (menus that display months/years for direct selection) */ | |||
.calendar .combo { | |||
position: absolute; | |||
display: none; | |||
width: 4em; | |||
top: 0px; | |||
left: 0px; | |||
cursor: default; | |||
border: 1px solid; | |||
border-color: ButtonHighlight ButtonShadow ButtonShadow ButtonHighlight; | |||
background: Menu; | |||
color: MenuText; | |||
font-size: 90%; | |||
padding: 1px; | |||
z-index: 100; | |||
} | |||
.calendar .combo .label, | |||
.calendar .combo .label-IEfix { | |||
text-align: center; | |||
padding: 1px; | |||
} | |||
.calendar .combo .label-IEfix { | |||
width: 4em; | |||
} | |||
.calendar .combo .active { | |||
padding: 0px; | |||
border: 1px solid #000; | |||
} | |||
.calendar .combo .hilite { | |||
background: Highlight; | |||
color: HighlightText; | |||
} | |||
.calendar td.time { | |||
border-top: 1px solid ButtonShadow; | |||
padding: 1px 0px; | |||
text-align: center; | |||
background-color: ButtonFace; | |||
} | |||
.calendar td.time .hour, | |||
.calendar td.time .minute, | |||
.calendar td.time .ampm { | |||
padding: 0px 3px 0px 4px; | |||
border: 1px solid #889; | |||
font-weight: bold; | |||
background-color: Menu; | |||
} | |||
.calendar td.time .ampm { | |||
text-align: center; | |||
} | |||
.calendar td.time .colon { | |||
padding: 0px 2px 0px 3px; | |||
font-weight: bold; | |||
} | |||
.calendar td.time span.hilite { | |||
border-color: #000; | |||
background-color: Highlight; | |||
color: HighlightText; | |||
} | |||
.calendar td.time span.active { | |||
border-color: #f00; | |||
background-color: #000; | |||
color: #0f0; | |||
} |
@@ -0,0 +1,239 @@ | |||
/* The main calendar widget. DIV containing a table. */ | |||
div.calendar { position: relative; } | |||
.calendar, .calendar table { | |||
border: 1px solid #655; | |||
font-size: 11px; | |||
color: #000; | |||
cursor: default; | |||
background: #ffd; | |||
font-family: tahoma,verdana,sans-serif; | |||
filter: | |||
progid:DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr=#DDDCCC,EndColorStr=#FFFFFF); | |||
} | |||
/* Header part -- contains navigation buttons and day names. */ | |||
.calendar .button { /* "<<", "<", ">", ">>" buttons have this class */ | |||
text-align: center; /* They are the navigation buttons */ | |||
padding: 2px; /* Make the buttons seem like they're pressing */ | |||
color:#363636; | |||
} | |||
.calendar .nav { | |||
background: #edc url(menuarrow.gif) no-repeat 100% 100%; | |||
} | |||
.calendar thead .title { /* This holds the current "month, year" */ | |||
font-weight: bold; /* Pressing it will take you to the current date */ | |||
text-align: center; | |||
background: #654; | |||
color: #363636; | |||
padding: 2px; | |||
filter: | |||
progid:DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr=#ffffff,EndColorStr=#dddccc); | |||
} | |||
.calendar thead .headrow { /* Row <TR> containing navigation buttons */ | |||
/*background: #3B86A0;*/ | |||
color: #363636; | |||
font-weight: bold; | |||
filter: | |||
progid:DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr=#ffffff,EndColorStr=#3b86a0); | |||
} | |||
.calendar thead .name { /* Cells <TD> containing the day names */ | |||
border-bottom: 1px solid #655; | |||
padding: 2px; | |||
text-align: center; | |||
color: #363636; | |||
filter: | |||
progid:DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr=#DDDCCC,EndColorStr=#FFFFFF); | |||
} | |||
.calendar thead .weekend { /* How a weekend day name shows in header */ | |||
color: #f00; | |||
} | |||
.calendar thead .hilite { /* How do the buttons in header appear when hover */ | |||
background-color: #ffcc86; | |||
color: #000; | |||
border: 1px solid #b59345; | |||
padding: 1px; | |||
} | |||
.calendar thead .active { /* Active (pressed) buttons in header */ | |||
background-color: #c77; | |||
padding: 2px 0px 0px 2px; | |||
} | |||
.calendar thead .daynames { /* Row <TR> containing the day names */ | |||
background: #fed; | |||
} | |||
/* The body part -- contains all the days in month. */ | |||
.calendar tbody .day { /* Cells <TD> containing month days dates */ | |||
width: 2em; | |||
text-align: right; | |||
padding: 2px 4px 2px 2px; | |||
} | |||
.calendar tbody .day.othermonth { | |||
font-size: 80%; | |||
color: #aaa; | |||
} | |||
.calendar tbody .day.othermonth.oweekend { | |||
color: #faa; | |||
} | |||
.calendar table .wn { | |||
padding: 2px 3px 2px 2px; | |||
border-right: 1px solid #000; | |||
background: #fed; | |||
} | |||
.calendar tbody .rowhilite td { | |||
background: #ddf; | |||
} | |||
.calendar tbody .rowhilite td.wn { | |||
background: #efe; | |||
} | |||
.calendar tbody td.hilite { /* Hovered cells <TD> */ | |||
background: #ffe; | |||
padding: 1px 3px 1px 1px; | |||
border: 1px solid #bbb; | |||
} | |||
.calendar tbody td.active { /* Active (pressed) cells <TD> */ | |||
background: #ddc; | |||
padding: 2px 2px 0px 2px; | |||
} | |||
.calendar tbody td.selected { /* Cell showing today date */ | |||
font-weight: bold; | |||
border: 1px solid #000; | |||
padding: 1px 3px 1px 1px; | |||
background: #fea; | |||
} | |||
.calendar tbody td.weekend { /* Cells showing weekend days */ | |||
color: #f00; | |||
} | |||
.calendar tbody td.today { font-weight: bold; } | |||
.calendar tbody .disabled { color: #999; } | |||
.calendar tbody .emptycell { /* Empty cells (the best is to hide them) */ | |||
visibility: hidden; | |||
} | |||
.calendar tbody .emptyrow { /* Empty row (some months need less than 6 rows) */ | |||
display: none; | |||
} | |||
/* The footer part -- status bar and "Close" button */ | |||
.calendar tfoot .footrow { /* The <TR> in footer (only one right now) */ | |||
text-align: center; | |||
background: #988; | |||
color: #000; | |||
} | |||
.calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */ | |||
border-top: 1px solid #655; | |||
background: #dcb; | |||
color: #363636; | |||
font-weight: bold; | |||
filter: | |||
progid:DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr=#FFFFFF,EndColorStr=#DDDCCC); | |||
} | |||
.calendar tfoot .hilite { /* Hover style for buttons in footer */ | |||
background: #faa; | |||
border: 1px solid #f40; | |||
padding: 1px; | |||
} | |||
.calendar tfoot .active { /* Active (pressed) style for buttons in footer */ | |||
background: #c77; | |||
padding: 2px 0px 0px 2px; | |||
} | |||
/* Combo boxes (menus that display months/years for direct selection) */ | |||
.combo { | |||
position: absolute; | |||
display: none; | |||
top: 0px; | |||
left: 0px; | |||
width: 4em; | |||
cursor: default; | |||
border: 1px solid #655; | |||
background: #ffe; | |||
color: #000; | |||
font-size: smaller; | |||
z-index: 100; | |||
} | |||
.combo .label, | |||
.combo .label-IEfix { | |||
text-align: center; | |||
padding: 1px; | |||
} | |||
.combo .label-IEfix { | |||
width: 4em; | |||
} | |||
.combo .hilite { | |||
background: #fc8; | |||
} | |||
.combo .active { | |||
border-top: 1px solid #a64; | |||
border-bottom: 1px solid #a64; | |||
background: #fee; | |||
font-weight: bold; | |||
} | |||
.calendar td.time { | |||
border-top: 1px solid #a88; | |||
padding: 1px 0px; | |||
text-align: center; | |||
background-color: #fed; | |||
} | |||
.calendar td.time .hour, | |||
.calendar td.time .minute, | |||
.calendar td.time .ampm { | |||
padding: 0px 3px 0px 4px; | |||
border: 1px solid #988; | |||
font-weight: bold; | |||
background-color: #fff; | |||
} | |||
.calendar td.time .ampm { | |||
text-align: center; | |||
} | |||
.calendar td.time .colon { | |||
padding: 0px 2px 0px 3px; | |||
font-weight: bold; | |||
} | |||
.calendar td.time span.hilite { | |||
border-color: #000; | |||
background-color: #866; | |||
color: #fff; | |||
} | |||
.calendar td.time span.active { | |||
border-color: #f00; | |||
background-color: #000; | |||
color: #0f0; | |||
} |
@@ -0,0 +1,271 @@ | |||
/* The main calendar widget. DIV containing a table. */ | |||
.calendar { | |||
position: relative; | |||
display: none; | |||
border-top: 2px solid #fff; | |||
border-right: 2px solid #000; | |||
border-bottom: 2px solid #000; | |||
border-left: 2px solid #fff; | |||
font-size: 11px; | |||
color: #000; | |||
cursor: default; | |||
background: #d4d0c8; | |||
font-family: tahoma,verdana,sans-serif; | |||
} | |||
.calendar table { | |||
border-top: 1px solid #000; | |||
border-right: 1px solid #fff; | |||
border-bottom: 1px solid #fff; | |||
border-left: 1px solid #000; | |||
font-size: 11px; | |||
color: #000; | |||
cursor: default; | |||
background: #d4d0c8; | |||
font-family: tahoma,verdana,sans-serif; | |||
} | |||
/* Header part -- contains navigation buttons and day names. */ | |||
.calendar .button { /* "<<", "<", ">", ">>" buttons have this class */ | |||
text-align: center; | |||
padding: 1px; | |||
border-top: 1px solid #fff; | |||
border-right: 1px solid #000; | |||
border-bottom: 1px solid #000; | |||
border-left: 1px solid #fff; | |||
} | |||
.calendar .nav { | |||
background: transparent url(menuarrow.gif) no-repeat 100% 100%; | |||
} | |||
.calendar thead .title { /* This holds the current "month, year" */ | |||
font-weight: bold; | |||
padding: 1px; | |||
border: 1px solid #000; | |||
background: #848078; | |||
color: #fff; | |||
text-align: center; | |||
} | |||
.calendar thead .headrow { /* Row <TR> containing navigation buttons */ | |||
} | |||
.calendar thead .daynames { /* Row <TR> containing the day names */ | |||
} | |||
.calendar thead .name { /* Cells <TD> containing the day names */ | |||
border-bottom: 1px solid #000; | |||
padding: 2px; | |||
text-align: center; | |||
background: #f4f0e8; | |||
} | |||
.calendar thead .weekend { /* How a weekend day name shows in header */ | |||
color: #f00; | |||
} | |||
.calendar thead .hilite { /* How do the buttons in header appear when hover */ | |||
border-top: 2px solid #fff; | |||
border-right: 2px solid #000; | |||
border-bottom: 2px solid #000; | |||
border-left: 2px solid #fff; | |||
padding: 0px; | |||
background-color: #e4e0d8; | |||
} | |||
.calendar thead .active { /* Active (pressed) buttons in header */ | |||
padding: 2px 0px 0px 2px; | |||
border-top: 1px solid #000; | |||
border-right: 1px solid #fff; | |||
border-bottom: 1px solid #fff; | |||
border-left: 1px solid #000; | |||
background-color: #c4c0b8; | |||
} | |||
/* The body part -- contains all the days in month. */ | |||
.calendar tbody .day { /* Cells <TD> containing month days dates */ | |||
width: 2em; | |||
text-align: right; | |||
padding: 2px 4px 2px 2px; | |||
} | |||
.calendar tbody .day.othermonth { | |||
font-size: 80%; | |||
color: #aaa; | |||
} | |||
.calendar tbody .day.othermonth.oweekend { | |||
color: #faa; | |||
} | |||
.calendar table .wn { | |||
padding: 2px 3px 2px 2px; | |||
border-right: 1px solid #000; | |||
background: #f4f0e8; | |||
} | |||
.calendar tbody .rowhilite td { | |||
background: #e4e0d8; | |||
} | |||
.calendar tbody .rowhilite td.wn { | |||
background: #d4d0c8; | |||
} | |||
.calendar tbody td.hilite { /* Hovered cells <TD> */ | |||
padding: 1px 3px 1px 1px; | |||
border-top: 1px solid #fff; | |||
border-right: 1px solid #000; | |||
border-bottom: 1px solid #000; | |||
border-left: 1px solid #fff; | |||
} | |||
.calendar tbody td.active { /* Active (pressed) cells <TD> */ | |||
padding: 2px 2px 0px 2px; | |||
border-top: 1px solid #000; | |||
border-right: 1px solid #fff; | |||
border-bottom: 1px solid #fff; | |||
border-left: 1px solid #000; | |||
} | |||
.calendar tbody td.selected { /* Cell showing selected date */ | |||
font-weight: bold; | |||
border-top: 1px solid #000; | |||
border-right: 1px solid #fff; | |||
border-bottom: 1px solid #fff; | |||
border-left: 1px solid #000; | |||
padding: 2px 2px 0px 2px; | |||
background: #e4e0d8; | |||
} | |||
.calendar tbody td.weekend { /* Cells showing weekend days */ | |||
color: #f00; | |||
} | |||
.calendar tbody td.today { /* Cell showing today date */ | |||
font-weight: bold; | |||
color: #00f; | |||
} | |||
.calendar tbody .disabled { color: #999; } | |||
.calendar tbody .emptycell { /* Empty cells (the best is to hide them) */ | |||
visibility: hidden; | |||
} | |||
.calendar tbody .emptyrow { /* Empty row (some months need less than 6 rows) */ | |||
display: none; | |||
} | |||
/* The footer part -- status bar and "Close" button */ | |||
.calendar tfoot .footrow { /* The <TR> in footer (only one right now) */ | |||
} | |||
.calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */ | |||
background: #f4f0e8; | |||
padding: 1px; | |||
border: 1px solid #000; | |||
background: #848078; | |||
color: #fff; | |||
text-align: center; | |||
} | |||
.calendar tfoot .hilite { /* Hover style for buttons in footer */ | |||
border-top: 1px solid #fff; | |||
border-right: 1px solid #000; | |||
border-bottom: 1px solid #000; | |||
border-left: 1px solid #fff; | |||
padding: 1px; | |||
background: #e4e0d8; | |||
} | |||
.calendar tfoot .active { /* Active (pressed) style for buttons in footer */ | |||
padding: 2px 0px 0px 2px; | |||
border-top: 1px solid #000; | |||
border-right: 1px solid #fff; | |||
border-bottom: 1px solid #fff; | |||
border-left: 1px solid #000; | |||
} | |||
/* Combo boxes (menus that display months/years for direct selection) */ | |||
.calendar .combo { | |||
position: absolute; | |||
display: none; | |||
width: 4em; | |||
top: 0px; | |||
left: 0px; | |||
cursor: default; | |||
border-top: 1px solid #fff; | |||
border-right: 1px solid #000; | |||
border-bottom: 1px solid #000; | |||
border-left: 1px solid #fff; | |||
background: #e4e0d8; | |||
font-size: 90%; | |||
padding: 1px; | |||
z-index: 100; | |||
} | |||
.calendar .combo .label, | |||
.calendar .combo .label-IEfix { | |||
text-align: center; | |||
padding: 1px; | |||
} | |||
.calendar .combo .label-IEfix { | |||
width: 4em; | |||
} | |||
.calendar .combo .active { | |||
background: #c4c0b8; | |||
padding: 0px; | |||
border-top: 1px solid #000; | |||
border-right: 1px solid #fff; | |||
border-bottom: 1px solid #fff; | |||
border-left: 1px solid #000; | |||
} | |||
.calendar .combo .hilite { | |||
background: #048; | |||
color: #fea; | |||
} | |||
.calendar td.time { | |||
border-top: 1px solid #000; | |||
padding: 1px 0px; | |||
text-align: center; | |||
background-color: #f4f0e8; | |||
} | |||
.calendar td.time .hour, | |||
.calendar td.time .minute, | |||
.calendar td.time .ampm { | |||
padding: 0px 3px 0px 4px; | |||
border: 1px solid #889; | |||
font-weight: bold; | |||
background-color: #fff; | |||
} | |||
.calendar td.time .ampm { | |||
text-align: center; | |||
} | |||
.calendar td.time .colon { | |||
padding: 0px 2px 0px 3px; | |||
font-weight: bold; | |||
} | |||
.calendar td.time span.hilite { | |||
border-color: #000; | |||
background-color: #766; | |||
color: #fff; | |||
} | |||
.calendar td.time span.active { | |||
border-color: #f00; | |||
background-color: #000; | |||
color: #0f0; | |||
} |
@@ -0,0 +1,271 @@ | |||
/* The main calendar widget. DIV containing a table. */ | |||
.calendar { | |||
position: relative; | |||
display: none; | |||
border-top: 2px solid #fff; | |||
border-right: 2px solid #000; | |||
border-bottom: 2px solid #000; | |||
border-left: 2px solid #fff; | |||
font-size: 11px; | |||
color: #000; | |||
cursor: default; | |||
background: #d4c8d0; | |||
font-family: tahoma,verdana,sans-serif; | |||
} | |||
.calendar table { | |||
border-top: 1px solid #000; | |||
border-right: 1px solid #fff; | |||
border-bottom: 1px solid #fff; | |||
border-left: 1px solid #000; | |||
font-size: 11px; | |||
color: #000; | |||
cursor: default; | |||
background: #d4c8d0; | |||
font-family: tahoma,verdana,sans-serif; | |||
} | |||
/* Header part -- contains navigation buttons and day names. */ | |||
.calendar .button { /* "<<", "<", ">", ">>" buttons have this class */ | |||
text-align: center; | |||
padding: 1px; | |||
border-top: 1px solid #fff; | |||
border-right: 1px solid #000; | |||
border-bottom: 1px solid #000; | |||
border-left: 1px solid #fff; | |||
} | |||
.calendar .nav { | |||
background: transparent url(menuarrow.gif) no-repeat 100% 100%; | |||
} | |||
.calendar thead .title { /* This holds the current "month, year" */ | |||
font-weight: bold; | |||
padding: 1px; | |||
border: 1px solid #000; | |||
background: #847880; | |||
color: #fff; | |||
text-align: center; | |||
} | |||
.calendar thead .headrow { /* Row <TR> containing navigation buttons */ | |||
} | |||
.calendar thead .daynames { /* Row <TR> containing the day names */ | |||
} | |||
.calendar thead .name { /* Cells <TD> containing the day names */ | |||
border-bottom: 1px solid #000; | |||
padding: 2px; | |||
text-align: center; | |||
background: #f4e8f0; | |||
} | |||
.calendar thead .weekend { /* How a weekend day name shows in header */ | |||
color: #f00; | |||
} | |||
.calendar thead .hilite { /* How do the buttons in header appear when hover */ | |||
border-top: 2px solid #fff; | |||
border-right: 2px solid #000; | |||
border-bottom: 2px solid #000; | |||
border-left: 2px solid #fff; | |||
padding: 0px; | |||
background-color: #e4d8e0; | |||
} | |||
.calendar thead .active { /* Active (pressed) buttons in header */ | |||
padding: 2px 0px 0px 2px; | |||
border-top: 1px solid #000; | |||
border-right: 1px solid #fff; | |||
border-bottom: 1px solid #fff; | |||
border-left: 1px solid #000; | |||
background-color: #c4b8c0; | |||
} | |||
/* The body part -- contains all the days in month. */ | |||
.calendar tbody .day { /* Cells <TD> containing month days dates */ | |||
width: 2em; | |||
text-align: right; | |||
padding: 2px 4px 2px 2px; | |||
} | |||
.calendar tbody .day.othermonth { | |||
font-size: 80%; | |||
color: #aaa; | |||
} | |||
.calendar tbody .day.othermonth.oweekend { | |||
color: #faa; | |||
} | |||
.calendar table .wn { | |||
padding: 2px 3px 2px 2px; | |||
border-right: 1px solid #000; | |||
background: #f4e8f0; | |||
} | |||
.calendar tbody .rowhilite td { | |||
background: #e4d8e0; | |||
} | |||
.calendar tbody .rowhilite td.wn { | |||
background: #d4c8d0; | |||
} | |||
.calendar tbody td.hilite { /* Hovered cells <TD> */ | |||
padding: 1px 3px 1px 1px; | |||
border-top: 1px solid #fff; | |||
border-right: 1px solid #000; | |||
border-bottom: 1px solid #000; | |||
border-left: 1px solid #fff; | |||
} | |||
.calendar tbody td.active { /* Active (pressed) cells <TD> */ | |||
padding: 2px 2px 0px 2px; | |||
border-top: 1px solid #000; | |||
border-right: 1px solid #fff; | |||
border-bottom: 1px solid #fff; | |||
border-left: 1px solid #000; | |||
} | |||
.calendar tbody td.selected { /* Cell showing selected date */ | |||
font-weight: bold; | |||
border-top: 1px solid #000; | |||
border-right: 1px solid #fff; | |||
border-bottom: 1px solid #fff; | |||
border-left: 1px solid #000; | |||
padding: 2px 2px 0px 2px; | |||
background: #e4d8e0; | |||
} | |||
.calendar tbody td.weekend { /* Cells showing weekend days */ | |||
color: #f00; | |||
} | |||
.calendar tbody td.today { /* Cell showing today date */ | |||
font-weight: bold; | |||
color: #00f; | |||
} | |||
.calendar tbody .disabled { color: #999; } | |||
.calendar tbody .emptycell { /* Empty cells (the best is to hide them) */ | |||
visibility: hidden; | |||
} | |||
.calendar tbody .emptyrow { /* Empty row (some months need less than 6 rows) */ | |||
display: none; | |||
} | |||
/* The footer part -- status bar and "Close" button */ | |||
.calendar tfoot .footrow { /* The <TR> in footer (only one right now) */ | |||
} | |||
.calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */ | |||
background: #f4e8f0; | |||
padding: 1px; | |||
border: 1px solid #000; | |||
background: #847880; | |||
color: #fff; | |||
text-align: center; | |||
} | |||
.calendar tfoot .hilite { /* Hover style for buttons in footer */ | |||
border-top: 1px solid #fff; | |||
border-right: 1px solid #000; | |||
border-bottom: 1px solid #000; | |||
border-left: 1px solid #fff; | |||
padding: 1px; | |||
background: #e4d8e0; | |||
} | |||
.calendar tfoot .active { /* Active (pressed) style for buttons in footer */ | |||
padding: 2px 0px 0px 2px; | |||
border-top: 1px solid #000; | |||
border-right: 1px solid #fff; | |||
border-bottom: 1px solid #fff; | |||
border-left: 1px solid #000; | |||
} | |||
/* Combo boxes (menus that display months/years for direct selection) */ | |||
.calendar .combo { | |||
position: absolute; | |||
display: none; | |||
width: 4em; | |||
top: 0px; | |||
left: 0px; | |||
cursor: default; | |||
border-top: 1px solid #fff; | |||
border-right: 1px solid #000; | |||
border-bottom: 1px solid #000; | |||
border-left: 1px solid #fff; | |||
background: #e4d8e0; | |||
font-size: 90%; | |||
padding: 1px; | |||
z-index: 100; | |||
} | |||
.calendar .combo .label, | |||
.calendar .combo .label-IEfix { | |||
text-align: center; | |||
padding: 1px; | |||
} | |||
.calendar .combo .label-IEfix { | |||
width: 4em; | |||
} | |||
.calendar .combo .active { | |||
background: #d4c8d0; | |||
padding: 0px; | |||
border-top: 1px solid #000; | |||
border-right: 1px solid #fff; | |||
border-bottom: 1px solid #fff; | |||
border-left: 1px solid #000; | |||
} | |||
.calendar .combo .hilite { | |||
background: #408; | |||
color: #fea; | |||
} | |||
.calendar td.time { | |||
border-top: 1px solid #000; | |||
padding: 1px 0px; | |||
text-align: center; | |||
background-color: #f4f0e8; | |||
} | |||
.calendar td.time .hour, | |||
.calendar td.time .minute, | |||
.calendar td.time .ampm { | |||
padding: 0px 3px 0px 4px; | |||
border: 1px solid #889; | |||
font-weight: bold; | |||
background-color: #fff; | |||
} | |||
.calendar td.time .ampm { | |||
text-align: center; | |||
} | |||
.calendar td.time .colon { | |||
padding: 0px 2px 0px 3px; | |||
font-weight: bold; | |||
} | |||
.calendar td.time span.hilite { | |||
border-color: #000; | |||
background-color: #766; | |||
color: #fff; | |||
} | |||
.calendar td.time span.active { | |||
border-color: #f00; | |||
background-color: #000; | |||
color: #0f0; | |||
} |
@@ -0,0 +1,265 @@ | |||
/* The main calendar widget. DIV containing a table. */ | |||
.calendar { | |||
position: relative; | |||
display: none; | |||
border-top: 2px solid #fff; | |||
border-right: 2px solid #000; | |||
border-bottom: 2px solid #000; | |||
border-left: 2px solid #fff; | |||
font-size: 11px; | |||
color: #000; | |||
cursor: default; | |||
background: #c8d0d4; | |||
font-family: tahoma,verdana,sans-serif; | |||
} | |||
.calendar table { | |||
border-top: 1px solid #000; | |||
border-right: 1px solid #fff; | |||
border-bottom: 1px solid #fff; | |||
border-left: 1px solid #000; | |||
font-size: 11px; | |||
color: #000; | |||
cursor: default; | |||
background: #c8d0d4; | |||
font-family: tahoma,verdana,sans-serif; | |||
} | |||
/* Header part -- contains navigation buttons and day names. */ | |||
.calendar .button { /* "<<", "<", ">", ">>" buttons have this class */ | |||
text-align: center; | |||
padding: 1px; | |||
border-top: 1px solid #fff; | |||
border-right: 1px solid #000; | |||
border-bottom: 1px solid #000; | |||
border-left: 1px solid #fff; | |||
} | |||
.calendar .nav { | |||
background: transparent url(menuarrow.gif) no-repeat 100% 100%; | |||
} | |||
.calendar thead .title { /* This holds the current "month, year" */ | |||
font-weight: bold; | |||
padding: 1px; | |||
border: 1px solid #000; | |||
background: #788084; | |||
color: #fff; | |||
text-align: center; | |||
} | |||
.calendar thead .headrow { /* Row <TR> containing navigation buttons */ | |||
} | |||
.calendar thead .daynames { /* Row <TR> containing the day names */ | |||
} | |||
.calendar thead .name { /* Cells <TD> containing the day names */ | |||
border-bottom: 1px solid #000; | |||
padding: 2px; | |||
text-align: center; | |||
background: #e8f0f4; | |||
} | |||
.calendar thead .weekend { /* How a weekend day name shows in header */ | |||
color: #f00; | |||
} | |||
.calendar thead .hilite { /* How do the buttons in header appear when hover */ | |||
border-top: 2px solid #fff; | |||
border-right: 2px solid #000; | |||
border-bottom: 2px solid #000; | |||
border-left: 2px solid #fff; | |||
padding: 0px; | |||
background-color: #d8e0e4; | |||
} | |||
.calendar thead .active { /* Active (pressed) buttons in header */ | |||
padding: 2px 0px 0px 2px; | |||
border-top: 1px solid #000; | |||
border-right: 1px solid #fff; | |||
border-bottom: 1px solid #fff; | |||
border-left: 1px solid #000; | |||
background-color: #b8c0c4; | |||
} | |||
/* The body part -- contains all the days in month. */ | |||
.calendar tbody .day { /* Cells <TD> containing month days dates */ | |||
width: 2em; | |||
text-align: right; | |||
padding: 2px 4px 2px 2px; | |||
} | |||
.calendar tbody .day.othermonth { | |||
font-size: 80%; | |||
color: #aaa; | |||
} | |||
.calendar tbody .day.othermonth.oweekend { | |||
color: #faa; | |||
} | |||
.calendar table .wn { | |||
padding: 2px 3px 2px 2px; | |||
border-right: 1px solid #000; | |||
background: #e8f4f0; | |||
} | |||
.calendar tbody .rowhilite td { | |||
background: #d8e4e0; | |||
} | |||
.calendar tbody .rowhilite td.wn { | |||
background: #c8d4d0; | |||
} | |||
.calendar tbody td.hilite { /* Hovered cells <TD> */ | |||
padding: 1px 3px 1px 1px; | |||
border: 1px solid; | |||
border-color: #fff #000 #000 #fff; | |||
} | |||
.calendar tbody td.active { /* Active (pressed) cells <TD> */ | |||
padding: 2px 2px 0px 2px; | |||
border: 1px solid; | |||
border-color: #000 #fff #fff #000; | |||
} | |||
.calendar tbody td.selected { /* Cell showing selected date */ | |||
font-weight: bold; | |||
padding: 2px 2px 0px 2px; | |||
border: 1px solid; | |||
border-color: #000 #fff #fff #000; | |||
background: #d8e0e4; | |||
} | |||
.calendar tbody td.weekend { /* Cells showing weekend days */ | |||
color: #f00; | |||
} | |||
.calendar tbody td.today { /* Cell showing today date */ | |||
font-weight: bold; | |||
color: #00f; | |||
} | |||
.calendar tbody .disabled { color: #999; } | |||
.calendar tbody .emptycell { /* Empty cells (the best is to hide them) */ | |||
visibility: hidden; | |||
} | |||
.calendar tbody .emptyrow { /* Empty row (some months need less than 6 rows) */ | |||
display: none; | |||
} | |||
/* The footer part -- status bar and "Close" button */ | |||
.calendar tfoot .footrow { /* The <TR> in footer (only one right now) */ | |||
} | |||
.calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */ | |||
background: #e8f0f4; | |||
padding: 1px; | |||
border: 1px solid #000; | |||
background: #788084; | |||
color: #fff; | |||
text-align: center; | |||
} | |||
.calendar tfoot .hilite { /* Hover style for buttons in footer */ | |||
border-top: 1px solid #fff; | |||
border-right: 1px solid #000; | |||
border-bottom: 1px solid #000; | |||
border-left: 1px solid #fff; | |||
padding: 1px; | |||
background: #d8e0e4; | |||
} | |||
.calendar tfoot .active { /* Active (pressed) style for buttons in footer */ | |||
padding: 2px 0px 0px 2px; | |||
border-top: 1px solid #000; | |||
border-right: 1px solid #fff; | |||
border-bottom: 1px solid #fff; | |||
border-left: 1px solid #000; | |||
} | |||
/* Combo boxes (menus that display months/years for direct selection) */ | |||
.calendar .combo { | |||
position: absolute; | |||
display: none; | |||
width: 4em; | |||
top: 0px; | |||
left: 0px; | |||
cursor: default; | |||
border-top: 1px solid #fff; | |||
border-right: 1px solid #000; | |||
border-bottom: 1px solid #000; | |||
border-left: 1px solid #fff; | |||
background: #d8e0e4; | |||
font-size: 90%; | |||
padding: 1px; | |||
z-index: 100; | |||
} | |||
.calendar .combo .label, | |||
.calendar .combo .label-IEfix { | |||
text-align: center; | |||
padding: 1px; | |||
} | |||
.calendar .combo .label-IEfix { | |||
width: 4em; | |||
} | |||
.calendar .combo .active { | |||
background: #c8d0d4; | |||
padding: 0px; | |||
border-top: 1px solid #000; | |||
border-right: 1px solid #fff; | |||
border-bottom: 1px solid #fff; | |||
border-left: 1px solid #000; | |||
} | |||
.calendar .combo .hilite { | |||
background: #048; | |||
color: #aef; | |||
} | |||
.calendar td.time { | |||
border-top: 1px solid #000; | |||
padding: 1px 0px; | |||
text-align: center; | |||
background-color: #e8f0f4; | |||
} | |||
.calendar td.time .hour, | |||
.calendar td.time .minute, | |||
.calendar td.time .ampm { | |||
padding: 0px 3px 0px 4px; | |||
border: 1px solid #889; | |||
font-weight: bold; | |||
background-color: #fff; | |||
} | |||
.calendar td.time .ampm { | |||
text-align: center; | |||
} | |||
.calendar td.time .colon { | |||
padding: 0px 2px 0px 3px; | |||
font-weight: bold; | |||
} | |||
.calendar td.time span.hilite { | |||
border-color: #000; | |||
background-color: #667; | |||
color: #fff; | |||
} | |||
.calendar td.time span.active { | |||
border-color: #f00; | |||
background-color: #000; | |||
color: #0f0; | |||
} |
@@ -0,0 +1,271 @@ | |||
/* The main calendar widget. DIV containing a table. */ | |||
.calendar { | |||
position: relative; | |||
display: none; | |||
border-top: 2px solid #fff; | |||
border-right: 2px solid #000; | |||
border-bottom: 2px solid #000; | |||
border-left: 2px solid #fff; | |||
font-size: 11px; | |||
color: #000; | |||
cursor: default; | |||
background: #c8d4d0; | |||
font-family: tahoma,verdana,sans-serif; | |||
} | |||
.calendar table { | |||
border-top: 1px solid #000; | |||
border-right: 1px solid #fff; | |||
border-bottom: 1px solid #fff; | |||
border-left: 1px solid #000; | |||
font-size: 11px; | |||
color: #000; | |||
cursor: default; | |||
background: #c8d4d0; | |||
font-family: tahoma,verdana,sans-serif; | |||
} | |||
/* Header part -- contains navigation buttons and day names. */ | |||
.calendar .button { /* "<<", "<", ">", ">>" buttons have this class */ | |||
text-align: center; | |||
padding: 1px; | |||
border-top: 1px solid #fff; | |||
border-right: 1px solid #000; | |||
border-bottom: 1px solid #000; | |||
border-left: 1px solid #fff; | |||
} | |||
.calendar .nav { | |||
background: transparent url(menuarrow.gif) no-repeat 100% 100%; | |||
} | |||
.calendar thead .title { /* This holds the current "month, year" */ | |||
font-weight: bold; | |||
padding: 1px; | |||
border: 1px solid #000; | |||
background: #788480; | |||
color: #fff; | |||
text-align: center; | |||
} | |||
.calendar thead .headrow { /* Row <TR> containing navigation buttons */ | |||
} | |||
.calendar thead .daynames { /* Row <TR> containing the day names */ | |||
} | |||
.calendar thead .name { /* Cells <TD> containing the day names */ | |||
border-bottom: 1px solid #000; | |||
padding: 2px; | |||
text-align: center; | |||
background: #e8f4f0; | |||
} | |||
.calendar thead .weekend { /* How a weekend day name shows in header */ | |||
color: #f00; | |||
} | |||
.calendar thead .hilite { /* How do the buttons in header appear when hover */ | |||
border-top: 2px solid #fff; | |||
border-right: 2px solid #000; | |||
border-bottom: 2px solid #000; | |||
border-left: 2px solid #fff; | |||
padding: 0px; | |||
background-color: #d8e4e0; | |||
} | |||
.calendar thead .active { /* Active (pressed) buttons in header */ | |||
padding: 2px 0px 0px 2px; | |||
border-top: 1px solid #000; | |||
border-right: 1px solid #fff; | |||
border-bottom: 1px solid #fff; | |||
border-left: 1px solid #000; | |||
background-color: #b8c4c0; | |||
} | |||
/* The body part -- contains all the days in month. */ | |||
.calendar tbody .day { /* Cells <TD> containing month days dates */ | |||
width: 2em; | |||
text-align: right; | |||
padding: 2px 4px 2px 2px; | |||
} | |||
.calendar tbody .day.othermonth { | |||
font-size: 80%; | |||
color: #aaa; | |||
} | |||
.calendar tbody .day.othermonth.oweekend { | |||
color: #faa; | |||
} | |||
.calendar table .wn { | |||
padding: 2px 3px 2px 2px; | |||
border-right: 1px solid #000; | |||
background: #e8f4f0; | |||
} | |||
.calendar tbody .rowhilite td { | |||
background: #d8e4e0; | |||
} | |||
.calendar tbody .rowhilite td.wn { | |||
background: #c8d4d0; | |||
} | |||
.calendar tbody td.hilite { /* Hovered cells <TD> */ | |||
padding: 1px 3px 1px 1px; | |||
border-top: 1px solid #fff; | |||
border-right: 1px solid #000; | |||
border-bottom: 1px solid #000; | |||
border-left: 1px solid #fff; | |||
} | |||
.calendar tbody td.active { /* Active (pressed) cells <TD> */ | |||
padding: 2px 2px 0px 2px; | |||
border-top: 1px solid #000; | |||
border-right: 1px solid #fff; | |||
border-bottom: 1px solid #fff; | |||
border-left: 1px solid #000; | |||
} | |||
.calendar tbody td.selected { /* Cell showing selected date */ | |||
font-weight: bold; | |||
border-top: 1px solid #000; | |||
border-right: 1px solid #fff; | |||
border-bottom: 1px solid #fff; | |||
border-left: 1px solid #000; | |||
padding: 2px 2px 0px 2px; | |||
background: #d8e4e0; | |||
} | |||
.calendar tbody td.weekend { /* Cells showing weekend days */ | |||
color: #f00; | |||
} | |||
.calendar tbody td.today { /* Cell showing today date */ | |||
font-weight: bold; | |||
color: #00f; | |||
} | |||
.calendar tbody .disabled { color: #999; } | |||
.calendar tbody .emptycell { /* Empty cells (the best is to hide them) */ | |||
visibility: hidden; | |||
} | |||
.calendar tbody .emptyrow { /* Empty row (some months need less than 6 rows) */ | |||
display: none; | |||
} | |||
/* The footer part -- status bar and "Close" button */ | |||
.calendar tfoot .footrow { /* The <TR> in footer (only one right now) */ | |||
} | |||
.calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */ | |||
background: #e8f4f0; | |||
padding: 1px; | |||
border: 1px solid #000; | |||
background: #788480; | |||
color: #fff; | |||
text-align: center; | |||
} | |||
.calendar tfoot .hilite { /* Hover style for buttons in footer */ | |||
border-top: 1px solid #fff; | |||
border-right: 1px solid #000; | |||
border-bottom: 1px solid #000; | |||
border-left: 1px solid #fff; | |||
padding: 1px; | |||
background: #d8e4e0; | |||
} | |||
.calendar tfoot .active { /* Active (pressed) style for buttons in footer */ | |||
padding: 2px 0px 0px 2px; | |||
border-top: 1px solid #000; | |||
border-right: 1px solid #fff; | |||
border-bottom: 1px solid #fff; | |||
border-left: 1px solid #000; | |||
} | |||
/* Combo boxes (menus that display months/years for direct selection) */ | |||
.calendar .combo { | |||
position: absolute; | |||
display: none; | |||
width: 4em; | |||
top: 0px; | |||
left: 0px; | |||
cursor: default; | |||
border-top: 1px solid #fff; | |||
border-right: 1px solid #000; | |||
border-bottom: 1px solid #000; | |||
border-left: 1px solid #fff; | |||
background: #d8e4e0; | |||
font-size: 90%; | |||
padding: 1px; | |||
z-index: 100; | |||
} | |||
.calendar .combo .label, | |||
.calendar .combo .label-IEfix { | |||
text-align: center; | |||
padding: 1px; | |||
} | |||
.calendar .combo .label-IEfix { | |||
width: 4em; | |||
} | |||
.calendar .combo .active { | |||
background: #c8d4d0; | |||
padding: 0px; | |||
border-top: 1px solid #000; | |||
border-right: 1px solid #fff; | |||
border-bottom: 1px solid #fff; | |||
border-left: 1px solid #000; | |||
} | |||
.calendar .combo .hilite { | |||
background: #048; | |||
color: #aef; | |||
} | |||
.calendar td.time { | |||
border-top: 1px solid #000; | |||
padding: 1px 0px; | |||
text-align: center; | |||
background-color: #e8f0f4; | |||
} | |||
.calendar td.time .hour, | |||
.calendar td.time .minute, | |||
.calendar td.time .ampm { | |||
padding: 0px 3px 0px 4px; | |||
border: 1px solid #889; | |||
font-weight: bold; | |||
background-color: #fff; | |||
} | |||
.calendar td.time .ampm { | |||
text-align: center; | |||
} | |||
.calendar td.time .colon { | |||
padding: 0px 2px 0px 3px; | |||
font-weight: bold; | |||
} | |||
.calendar td.time span.hilite { | |||
border-color: #000; | |||
background-color: #667; | |||
color: #fff; | |||
} | |||
.calendar td.time span.active { | |||
border-color: #f00; | |||
background-color: #000; | |||
color: #0f0; | |||
} |
@@ -0,0 +1,109 @@ | |||
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> | |||
<html> <head> | |||
<title>How to include additional info in day cells</title> | |||
<script type="text/javascript" src="calendar.js"></script> | |||
<script type="text/javascript" src="lang/calendar-en.js"></script> | |||
<script type="text/javascript" src="calendar-setup.js"></script> | |||
<script type="text/javascript"> | |||
// define info for dates in this table: | |||
var dateInfo = { | |||
"20050308" : "Mishoo's birthday", | |||
"20050310" : "foo", | |||
"20050315" : "bar", | |||
"20050318" : "25$", | |||
"20050324" : "60$" | |||
}; | |||
</script> | |||
<style type="text/css"> | |||
@import url(calendar-win2k-1.css); | |||
.calendar .inf { font-size: 80%; color: #444; } | |||
.calendar .wn { font-weight: bold; vertical-align: top; } | |||
</style> | |||
</head> | |||
<body> | |||
<h1>How to include additional info in day cells</h1> | |||
<div id="flatcal" style="float: right"></div> | |||
<script type="text/javascript"> | |||
function getDateText(date, d) { | |||
var inf = dateInfo[date.print("%Y%m%d")]; | |||
if (!inf) { | |||
return d + "<div class='inf'> </div>"; | |||
} else { | |||
return d + "<div class='inf'>" + inf + "</div>"; | |||
} | |||
}; | |||
function flatCallback(cal) { | |||
if (cal.dateClicked) { | |||
// do something here | |||
window.status = "Selected: " + cal.date; | |||
var inf = dateInfo[cal.date.print("%Y%m%d")]; | |||
if (inf) { | |||
window.status += ". Additional info: " + inf; | |||
} | |||
} | |||
}; | |||
Calendar.setup({ | |||
flat: "flatcal", | |||
dateText: getDateText, | |||
flatCallback: flatCallback | |||
}); | |||
</script> | |||
<p>The idea is simple:</p> | |||
<ol> | |||
<li> | |||
<p>Define a callback that takes two parameters like this:</p> | |||
<pre>function getDateText(date, d)</pre> | |||
<p> | |||
This function will receive the date object as the first | |||
parameter and the current date number (1..31) as the second (you | |||
can get it as well by calling date.getDate() but since it's very | |||
probably useful I thought I'd pass it too so that we can avoid a | |||
function call). | |||
</p> | |||
<p> | |||
This function <em>must</em> return the text to be inserted in | |||
the cell of the passed date. That is, one should at least | |||
"return d;". | |||
</p> | |||
</li> | |||
<li> | |||
Pass the above function as the "dateText" parameter to | |||
Calendar.setup. | |||
</li> | |||
</ol> | |||
<p> | |||
The function could simply look like: | |||
</p> | |||
<pre | |||
> function getDateText(date, d) { | |||
if (d == 12) { | |||
return "12th"; | |||
} else if (d == 13) { | |||
return "bad luck"; | |||
} /* ... etc ... */ | |||
}</pre> | |||
<p> | |||
but it's easy to imagine that this approach sucks. For a better | |||
way, see the source of this page and note the usage of an externally | |||
defined "dateText" object which maps "date" to "date info", also | |||
taking into account the year and month. This object can be easily | |||
generated from a database, and the getDateText function becomes | |||
extremely simple (and static). | |||
</p> | |||
<p> | |||
Cheers! | |||
</p> | |||
<hr /> | |||
<address><a href="http://dynarch.com/mishoo/">mishoo</a></address> | |||
<!-- hhmts start --> Last modified: Sat Mar 5 17:18:06 EET 2005 <!-- hhmts end --> | |||
</body> </html> |
@@ -0,0 +1,39 @@ | |||
// ** I18N Afrikaans | |||
Calendar._DN = new Array | |||
("Sondag", | |||
"Maandag", | |||
"Dinsdag", | |||
"Woensdag", | |||
"Donderdag", | |||
"Vrydag", | |||
"Saterdag", | |||
"Sondag"); | |||
Calendar._MN = new Array | |||
("Januarie", | |||
"Februarie", | |||
"Maart", | |||
"April", | |||
"Mei", | |||
"Junie", | |||
"Julie", | |||
"Augustus", | |||
"September", | |||
"Oktober", | |||
"November", | |||
"Desember"); | |||
// tooltips | |||
Calendar._TT = {}; | |||
Calendar._TT["TOGGLE"] = "Verander eerste dag van die week"; | |||
Calendar._TT["PREV_YEAR"] = "Vorige jaar (hou vir keuselys)"; | |||
Calendar._TT["PREV_MONTH"] = "Vorige maand (hou vir keuselys)"; | |||
Calendar._TT["GO_TODAY"] = "Gaan na vandag"; | |||
Calendar._TT["NEXT_MONTH"] = "Volgende maand (hou vir keuselys)"; | |||
Calendar._TT["NEXT_YEAR"] = "Volgende jaar (hou vir keuselys)"; | |||
Calendar._TT["SEL_DATE"] = "Kies datum"; | |||
Calendar._TT["DRAG_TO_MOVE"] = "Sleep om te skuif"; | |||
Calendar._TT["PART_TODAY"] = " (vandag)"; | |||
Calendar._TT["MON_FIRST"] = "Vertoon Maandag eerste"; | |||
Calendar._TT["SUN_FIRST"] = "Display Sunday first"; | |||
Calendar._TT["CLOSE"] = "Close"; | |||
Calendar._TT["TODAY"] = "Today"; |
@@ -0,0 +1,101 @@ | |||
// Calendar ALBANIAN language | |||
//author Rigels Gordani rige@hotmail.com | |||
// ditet | |||
Calendar._DN = new Array | |||
("E Diele", | |||
"E Hene", | |||
"E Marte", | |||
"E Merkure", | |||
"E Enjte", | |||
"E Premte", | |||
"E Shtune", | |||
"E Diele"); | |||
//ditet shkurt | |||
Calendar._SDN = new Array | |||
("Die", | |||
"Hen", | |||
"Mar", | |||
"Mer", | |||
"Enj", | |||
"Pre", | |||
"Sht", | |||
"Die"); | |||
// muajt | |||
Calendar._MN = new Array | |||
("Janar", | |||
"Shkurt", | |||
"Mars", | |||
"Prill", | |||
"Maj", | |||
"Qeshor", | |||
"Korrik", | |||
"Gusht", | |||
"Shtator", | |||
"Tetor", | |||
"Nentor", | |||
"Dhjetor"); | |||
// muajte shkurt | |||
Calendar._SMN = new Array | |||
("Jan", | |||
"Shk", | |||
"Mar", | |||
"Pri", | |||
"Maj", | |||
"Qes", | |||
"Kor", | |||
"Gus", | |||
"Sht", | |||
"Tet", | |||
"Nen", | |||
"Dhj"); | |||
// ndihmesa | |||
Calendar._TT = {}; | |||
Calendar._TT["INFO"] = "Per kalendarin"; | |||
Calendar._TT["ABOUT"] = | |||
"Zgjedhes i ores/dates ne DHTML \n" + | |||
"\n\n" +"Zgjedhja e Dates:\n" + | |||
"- Perdor butonat \xab, \xbb per te zgjedhur vitin\n" + | |||
"- Perdor butonat" + String.fromCharCode(0x2039) + ", " + | |||
String.fromCharCode(0x203a) + | |||
" per te zgjedhur muajin\n" + | |||
"- Mbani shtypur butonin e mousit per nje zgjedje me te shpejte."; | |||
Calendar._TT["ABOUT_TIME"] = "\n\n" + | |||
"Zgjedhja e kohes:\n" + | |||
"- Kliko tek ndonje nga pjeset e ores per ta rritur ate\n" + | |||
"- ose kliko me Shift per ta zvogeluar ate\n" + | |||
"- ose cliko dhe terhiq per zgjedhje me te shpejte."; | |||
Calendar._TT["PREV_YEAR"] = "Viti i shkuar (prit per menune)"; | |||
Calendar._TT["PREV_MONTH"] = "Muaji i shkuar (prit per menune)"; | |||
Calendar._TT["GO_TODAY"] = "Sot"; | |||
Calendar._TT["NEXT_MONTH"] = "Muaji i ardhshem (prit per menune)"; | |||
Calendar._TT["NEXT_YEAR"] = "Viti i ardhshem (prit per menune)"; | |||
Calendar._TT["SEL_DATE"] = "Zgjidh daten"; | |||
Calendar._TT["DRAG_TO_MOVE"] = "Terhiqe per te levizur"; | |||
Calendar._TT["PART_TODAY"] = " (sot)"; | |||
// "%s" eshte dita e pare e javes | |||
// %s do te zevendesohet me emrin e dite | |||
Calendar._TT["DAY_FIRST"] = "Trego te %s te paren"; | |||
Calendar._TT["WEEKEND"] = "0,6"; | |||
Calendar._TT["CLOSE"] = "Mbyll"; | |||
Calendar._TT["TODAY"] = "Sot"; | |||
Calendar._TT["TIME_PART"] = "Kliko me (Shift-)ose terhiqe per te ndryshuar | |||
vleren"; | |||
// date formats | |||
Calendar._TT["DEF_DATE_FORMAT"] = "%Y-%m-%d"; | |||
Calendar._TT["TT_DATE_FORMAT"] = "%a, %b %e"; | |||
Calendar._TT["WK"] = "Java"; | |||
Calendar._TT["TIME"] = "Koha:"; | |||
@@ -0,0 +1,124 @@ | |||
// ** I18N | |||
// Calendar BG language | |||
// Author: Mihai Bazon, <mihai_bazon@yahoo.com> | |||
// Translator: Valentin Sheiretsky, <valio@valio.eu.org> | |||
// Encoding: Windows-1251 | |||
// Distributed under the same terms as the calendar itself. | |||
// For translators: please use UTF-8 if possible. We strongly believe that | |||
// Unicode is the answer to a real internationalized world. Also please | |||
// include your contact information in the header, as can be seen above. | |||
// full day names | |||
Calendar._DN = new Array | |||
("Íåäåëÿ", | |||
"Ïîíåäåëíèê", | |||
"Âòîðíèê", | |||
"Ñðÿäà", | |||
"×åòâúðòúê", | |||
"Ïåòúê", | |||
"Ñúáîòà", | |||
"Íåäåëÿ"); | |||
// Please note that the following array of short day names (and the same goes | |||
// for short month names, _SMN) isn't absolutely necessary. We give it here | |||
// for exemplification on how one can customize the short day names, but if | |||
// they are simply the first N letters of the full name you can simply say: | |||
// | |||
// Calendar._SDN_len = N; // short day name length | |||
// Calendar._SMN_len = N; // short month name length | |||
// | |||
// If N = 3 then this is not needed either since we assume a value of 3 if not | |||
// present, to be compatible with translation files that were written before | |||
// this feature. | |||
// short day names | |||
Calendar._SDN = new Array | |||
("Íåä", | |||
"Ïîí", | |||
"Âòî", | |||
"Ñðÿ", | |||
"×åò", | |||
"Ïåò", | |||
"Ñúá", | |||
"Íåä"); | |||
// full month names | |||
Calendar._MN = new Array | |||
("ßíóàðè", | |||
"Ôåâðóàðè", | |||
"Ìàðò", | |||
"Àïðèë", | |||
"Ìàé", | |||
"Þíè", | |||
"Þëè", | |||
"Àâãóñò", | |||
"Ñåïòåìâðè", | |||
"Îêòîìâðè", | |||
"Íîåìâðè", | |||
"Äåêåìâðè"); | |||
// short month names | |||
Calendar._SMN = new Array | |||
("ßíó", | |||
"Ôåâ", | |||
"Ìàð", | |||
"Àïð", | |||
"Ìàé", | |||
"Þíè", | |||
"Þëè", | |||
"Àâã", | |||
"Ñåï", | |||
"Îêò", | |||
"Íîå", | |||
"Äåê"); | |||
// tooltips | |||
Calendar._TT = {}; | |||
Calendar._TT["INFO"] = "Èíôîðìàöèÿ çà êàëåíäàðà"; | |||
Calendar._TT["ABOUT"] = | |||
"DHTML Date/Time Selector\n" + | |||
"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-) | |||
"For latest version visit: http://www.dynarch.com/projects/calendar/\n" + | |||
"Distributed under GNU LGPL. See http://gnu.org/licenses/lgpl.html for details." + | |||
"\n\n" + | |||
"Date selection:\n" + | |||
"- Use the \xab, \xbb buttons to select year\n" + | |||
"- Use the " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + " buttons to select month\n" + | |||
"- Hold mouse button on any of the above buttons for faster selection."; | |||
Calendar._TT["ABOUT_TIME"] = "\n\n" + | |||
"Time selection:\n" + | |||
"- Click on any of the time parts to increase it\n" + | |||
"- or Shift-click to decrease it\n" + | |||
"- or click and drag for faster selection."; | |||
Calendar._TT["PREV_YEAR"] = "Ïðåäíà ãîäèíà (çàäðúæòå çà ìåíþ)"; | |||
Calendar._TT["PREV_MONTH"] = "Ïðåäåí ìåñåö (çàäðúæòå çà ìåíþ)"; | |||
Calendar._TT["GO_TODAY"] = "Èçáåðåòå äíåñ"; | |||
Calendar._TT["NEXT_MONTH"] = "Ñëåäâàù ìåñåö (çàäðúæòå çà ìåíþ)"; | |||
Calendar._TT["NEXT_YEAR"] = "Ñëåäâàùà ãîäèíà (çàäðúæòå çà ìåíþ)"; | |||
Calendar._TT["SEL_DATE"] = "Èçáåðåòå äàòà"; | |||
Calendar._TT["DRAG_TO_MOVE"] = "Ïðåìåñòâàíå"; | |||
Calendar._TT["PART_TODAY"] = " (äíåñ)"; | |||
// the following is to inform that "%s" is to be the first day of week | |||
// %s will be replaced with the day name. | |||
Calendar._TT["DAY_FIRST"] = "%s êàòî ïúðâè äåí"; | |||
// This may be locale-dependent. It specifies the week-end days, as an array | |||
// of comma-separated numbers. The numbers are from 0 to 6: 0 means Sunday, 1 | |||
// means Monday, etc. | |||
Calendar._TT["WEEKEND"] = "0,6"; | |||
Calendar._TT["CLOSE"] = "Çàòâîðåòå"; | |||
Calendar._TT["TODAY"] = "Äíåñ"; | |||
Calendar._TT["TIME_PART"] = "(Shift-)Click èëè drag çà äà ïðîìåíèòå ñòîéíîñòòà"; | |||
// date formats | |||
Calendar._TT["DEF_DATE_FORMAT"] = "%Y-%m-%d"; | |||
Calendar._TT["TT_DATE_FORMAT"] = "%A - %e %B %Y"; | |||
Calendar._TT["WK"] = "Ñåäì"; | |||
Calendar._TT["TIME"] = "×àñ:"; |
@@ -0,0 +1,123 @@ | |||
// ** I18N | |||
// Calendar big5-utf8 language | |||
// Author: Gary Fu, <gary@garyfu.idv.tw> | |||
// Encoding: utf8 | |||
// Distributed under the same terms as the calendar itself. | |||
// For translators: please use UTF-8 if possible. We strongly believe that | |||
// Unicode is the answer to a real internationalized world. Also please | |||
// include your contact information in the header, as can be seen above. | |||
// full day names | |||
Calendar._DN = new Array | |||
("星期日", | |||
"星期一", | |||
"星期二", | |||
"星期三", | |||
"星期四", | |||
"星期五", | |||
"星期六", | |||
"星期日"); | |||
// Please note that the following array of short day names (and the same goes | |||
// for short month names, _SMN) isn't absolutely necessary. We give it here | |||
// for exemplification on how one can customize the short day names, but if | |||
// they are simply the first N letters of the full name you can simply say: | |||
// | |||
// Calendar._SDN_len = N; // short day name length | |||
// Calendar._SMN_len = N; // short month name length | |||
// | |||
// If N = 3 then this is not needed either since we assume a value of 3 if not | |||
// present, to be compatible with translation files that were written before | |||
// this feature. | |||
// short day names | |||
Calendar._SDN = new Array | |||
("日", | |||
"一", | |||
"二", | |||
"三", | |||
"四", | |||
"五", | |||
"六", | |||
"日"); | |||
// full month names | |||
Calendar._MN = new Array | |||
("一月", | |||
"二月", | |||
"三月", | |||
"四月", | |||
"五月", | |||
"六月", | |||
"七月", | |||
"八月", | |||
"九月", | |||
"十月", | |||
"十一月", | |||
"十二月"); | |||
// short month names | |||
Calendar._SMN = new Array | |||
("一月", | |||
"二月", | |||
"三月", | |||
"四月", | |||
"五月", | |||
"六月", | |||
"七月", | |||
"八月", | |||
"九月", | |||
"十月", | |||
"十一月", | |||
"十二月"); | |||
// tooltips | |||
Calendar._TT = {}; | |||
Calendar._TT["INFO"] = "關於"; | |||
Calendar._TT["ABOUT"] = | |||
"DHTML Date/Time Selector\n" + | |||
"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-) | |||
"For latest version visit: http://www.dynarch.com/projects/calendar/\n" + | |||
"Distributed under GNU LGPL. See http://gnu.org/licenses/lgpl.html for details." + | |||
"\n\n" + | |||
"日期選擇方法:\n" + | |||
"- 使用 \xab, \xbb 按鈕可選擇年份\n" + | |||
"- 使用 " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + " 按鈕可選擇月份\n" + | |||
"- 按住上面的按鈕可以加快選取"; | |||
Calendar._TT["ABOUT_TIME"] = "\n\n" + | |||
"時間選擇方法:\n" + | |||
"- 點擊任何的時間部份可增加其值\n" + | |||
"- 同時按Shift鍵再點擊可減少其值\n" + | |||
"- 點擊並拖曳可加快改變的值"; | |||
Calendar._TT["PREV_YEAR"] = "上一年 (按住選單)"; | |||
Calendar._TT["PREV_MONTH"] = "下一年 (按住選單)"; | |||
Calendar._TT["GO_TODAY"] = "到今日"; | |||
Calendar._TT["NEXT_MONTH"] = "上一月 (按住選單)"; | |||
Calendar._TT["NEXT_YEAR"] = "下一月 (按住選單)"; | |||
Calendar._TT["SEL_DATE"] = "選擇日期"; | |||
Calendar._TT["DRAG_TO_MOVE"] = "拖曳"; | |||
Calendar._TT["PART_TODAY"] = " (今日)"; | |||
// the following is to inform that "%s" is to be the first day of week | |||
// %s will be replaced with the day name. | |||
Calendar._TT["DAY_FIRST"] = "將 %s 顯示在前"; | |||
// This may be locale-dependent. It specifies the week-end days, as an array | |||
// of comma-separated numbers. The numbers are from 0 to 6: 0 means Sunday, 1 | |||
// means Monday, etc. | |||
Calendar._TT["WEEKEND"] = "0,6"; | |||
Calendar._TT["CLOSE"] = "關閉"; | |||
Calendar._TT["TODAY"] = "今日"; | |||
Calendar._TT["TIME_PART"] = "點擊or拖曳可改變時間(同時按Shift為減)"; | |||
// date formats | |||
Calendar._TT["DEF_DATE_FORMAT"] = "%Y-%m-%d"; | |||
Calendar._TT["TT_DATE_FORMAT"] = "%a, %b %e"; | |||
Calendar._TT["WK"] = "週"; | |||
Calendar._TT["TIME"] = "Time:"; |
@@ -0,0 +1,123 @@ | |||
// ** I18N | |||
// Calendar big5 language | |||
// Author: Gary Fu, <gary@garyfu.idv.tw> | |||
// Encoding: big5 | |||
// Distributed under the same terms as the calendar itself. | |||
// For translators: please use UTF-8 if possible. We strongly believe that | |||
// Unicode is the answer to a real internationalized world. Also please | |||
// include your contact information in the header, as can be seen above. | |||
// full day names | |||
Calendar._DN = new Array | |||
("星期日", | |||
"星期一", | |||
"星期二", | |||
"星期三", | |||
"星期四", | |||
"星期五", | |||
"星期六", | |||
"星期日"); | |||
// Please note that the following array of short day names (and the same goes | |||
// for short month names, _SMN) isn't absolutely necessary. We give it here | |||
// for exemplification on how one can customize the short day names, but if | |||
// they are simply the first N letters of the full name you can simply say: | |||
// | |||
// Calendar._SDN_len = N; // short day name length | |||
// Calendar._SMN_len = N; // short month name length | |||
// | |||
// If N = 3 then this is not needed either since we assume a value of 3 if not | |||
// present, to be compatible with translation files that were written before | |||
// this feature. | |||
// short day names | |||
Calendar._SDN = new Array | |||
("日", | |||
"一", | |||
"二", | |||
"三", | |||
"四", | |||
"五", | |||
"六", | |||
"日"); | |||
// full month names | |||
Calendar._MN = new Array | |||
("一月", | |||
"二月", | |||
"三月", | |||
"四月", | |||
"五月", | |||
"六月", | |||
"七月", | |||
"八月", | |||
"九月", | |||
"十月", | |||
"十一月", | |||
"十二月"); | |||
// short month names | |||
Calendar._SMN = new Array | |||
("一月", | |||
"二月", | |||
"三月", | |||
"四月", | |||
"五月", | |||
"六月", | |||
"七月", | |||
"八月", | |||
"九月", | |||
"十月", | |||
"十一月", | |||
"十二月"); | |||
// tooltips | |||
Calendar._TT = {}; | |||
Calendar._TT["INFO"] = "關於"; | |||
Calendar._TT["ABOUT"] = | |||
"DHTML Date/Time Selector\n" + | |||
"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-) | |||
"For latest version visit: http://www.dynarch.com/projects/calendar/\n" + | |||
"Distributed under GNU LGPL. See http://gnu.org/licenses/lgpl.html for details." + | |||
"\n\n" + | |||
"日期選擇方法:\n" + | |||
"- 使用 \xab, \xbb 按鈕可選擇年份\n" + | |||
"- 使用 " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + " 按鈕可選擇月份\n" + | |||
"- 按住上面的按鈕可以加快選取"; | |||
Calendar._TT["ABOUT_TIME"] = "\n\n" + | |||
"時間選擇方法:\n" + | |||
"- 點擊任何的時間部份可增加其值\n" + | |||
"- 同時按Shift鍵再點擊可減少其值\n" + | |||
"- 點擊並拖曳可加快改變的值"; | |||
Calendar._TT["PREV_YEAR"] = "上一年 (按住選單)"; | |||
Calendar._TT["PREV_MONTH"] = "下一年 (按住選單)"; | |||
Calendar._TT["GO_TODAY"] = "到今日"; | |||
Calendar._TT["NEXT_MONTH"] = "上一月 (按住選單)"; | |||
Calendar._TT["NEXT_YEAR"] = "下一月 (按住選單)"; | |||
Calendar._TT["SEL_DATE"] = "選擇日期"; | |||
Calendar._TT["DRAG_TO_MOVE"] = "拖曳"; | |||
Calendar._TT["PART_TODAY"] = " (今日)"; | |||
// the following is to inform that "%s" is to be the first day of week | |||
// %s will be replaced with the day name. | |||
Calendar._TT["DAY_FIRST"] = "將 %s 顯示在前"; | |||
// This may be locale-dependent. It specifies the week-end days, as an array | |||
// of comma-separated numbers. The numbers are from 0 to 6: 0 means Sunday, 1 | |||
// means Monday, etc. | |||
Calendar._TT["WEEKEND"] = "0,6"; | |||
Calendar._TT["CLOSE"] = "關閉"; | |||
Calendar._TT["TODAY"] = "今日"; | |||
Calendar._TT["TIME_PART"] = "點擊or拖曳可改變時間(同時按Shift為減)"; | |||
// date formats | |||
Calendar._TT["DEF_DATE_FORMAT"] = "%Y-%m-%d"; | |||
Calendar._TT["TT_DATE_FORMAT"] = "%a, %b %e"; | |||
Calendar._TT["WK"] = "週"; | |||
Calendar._TT["TIME"] = "Time:"; |
@@ -0,0 +1,108 @@ | |||
// ** I18N | |||
// Calendar pt-BR language | |||
// Author: Fernando Dourado, <fernando.dourado@ig.com.br> | |||
// Encoding: any | |||
// Distributed under the same terms as the calendar itself. | |||
// For translators: please use UTF-8 if possible. We strongly believe that | |||
// Unicode is the answer to a real internationalized world. Also please | |||
// include your contact information in the header, as can be seen above. | |||
// full day names | |||
Calendar._DN = new Array | |||
("Domingo", | |||
"Segunda", | |||
"Terça", | |||
"Quarta", | |||
"Quinta", | |||
"Sexta", | |||
"Sabádo", | |||
"Domingo"); | |||
// Please note that the following array of short day names (and the same goes | |||
// for short month names, _SMN) isn't absolutely necessary. We give it here | |||
// for exemplification on how one can customize the short day names, but if | |||
// they are simply the first N letters of the full name you can simply say: | |||
// | |||
// Calendar._SDN_len = N; // short day name length | |||
// Calendar._SMN_len = N; // short month name length | |||
// | |||
// If N = 3 then this is not needed either since we assume a value of 3 if not | |||
// present, to be compatible with translation files that were written before | |||
// this feature. | |||
// short day names | |||
// [No changes using default values] | |||
// full month names | |||
Calendar._MN = new Array | |||
("Janeiro", | |||
"Fevereiro", | |||
"Março", | |||
"Abril", | |||
"Maio", | |||
"Junho", | |||
"Julho", | |||
"Agosto", | |||
"Setembro", | |||
"Outubro", | |||
"Novembro", | |||
"Dezembro"); | |||
// short month names | |||
// [No changes using default values] | |||
// tooltips | |||
Calendar._TT = {}; | |||
Calendar._TT["INFO"] = "Sobre o calendário"; | |||
Calendar._TT["ABOUT"] = | |||
"DHTML Date/Time Selector\n" + | |||
"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-) | |||
"For latest version visit: http://www.dynarch.com/projects/calendar/\n" + | |||
"Distributed under GNU LGPL. See http://gnu.org/licenses/lgpl.html for details." + | |||
"\n\n" + | |||
"Translate to portuguese Brazil (pt-BR) by Fernando Dourado (fernando.dourado@ig.com.br)\n" + | |||
"Tradução para o português Brasil (pt-BR) por Fernando Dourado (fernando.dourado@ig.com.br)" + | |||
"\n\n" + | |||
"Selecionar data:\n" + | |||
"- Use as teclas \xab, \xbb para selecionar o ano\n" + | |||
"- Use as teclas " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + " para selecionar o mês\n" + | |||
"- Clique e segure com o mouse em qualquer botão para selecionar rapidamente."; | |||
Calendar._TT["ABOUT_TIME"] = "\n\n" + | |||
"Selecionar hora:\n" + | |||
"- Clique em qualquer uma das partes da hora para aumentar\n" + | |||
"- ou Shift-clique para diminuir\n" + | |||
"- ou clique e arraste para selecionar rapidamente."; | |||
Calendar._TT["PREV_YEAR"] = "Ano anterior (clique e segure para menu)"; | |||
Calendar._TT["PREV_MONTH"] = "Mês anterior (clique e segure para menu)"; | |||
Calendar._TT["GO_TODAY"] = "Ir para a data atual"; | |||
Calendar._TT["NEXT_MONTH"] = "Próximo mês (clique e segure para menu)"; | |||
Calendar._TT["NEXT_YEAR"] = "Próximo ano (clique e segure para menu)"; | |||
Calendar._TT["SEL_DATE"] = "Selecione uma data"; | |||
Calendar._TT["DRAG_TO_MOVE"] = "Clique e segure para mover"; | |||
Calendar._TT["PART_TODAY"] = " (hoje)"; | |||
// the following is to inform that "%s" is to be the first day of week | |||
// %s will be replaced with the day name. | |||
Calendar._TT["DAY_FIRST"] = "Exibir %s primeiro"; | |||
// This may be locale-dependent. It specifies the week-end days, as an array | |||
// of comma-separated numbers. The numbers are from 0 to 6: 0 means Sunday, 1 | |||
// means Monday, etc. | |||
Calendar._TT["WEEKEND"] = "0,6"; | |||
Calendar._TT["CLOSE"] = "Fechar"; | |||
Calendar._TT["TODAY"] = "Hoje"; | |||
Calendar._TT["TIME_PART"] = "(Shift-)Clique ou arraste para mudar o valor"; | |||
// date formats | |||
Calendar._TT["DEF_DATE_FORMAT"] = "%d/%m/%Y"; | |||
Calendar._TT["TT_DATE_FORMAT"] = "%d de %B de %Y"; | |||
Calendar._TT["WK"] = "sem"; | |||
Calendar._TT["TIME"] = "Hora:"; | |||
@@ -0,0 +1,123 @@ | |||
// ** I18N | |||
// Calendar CA language | |||
// Author: Mihai Bazon, <mihai_bazon@yahoo.com> | |||
// Encoding: any | |||
// Distributed under the same terms as the calendar itself. | |||
// For translators: please use UTF-8 if possible. We strongly believe that | |||
// Unicode is the answer to a real internationalized world. Also please | |||
// include your contact information in the header, as can be seen above. | |||
// full day names | |||
Calendar._DN = new Array | |||
("Diumenge", | |||
"Dilluns", | |||
"Dimarts", | |||
"Dimecres", | |||
"Dijous", | |||
"Divendres", | |||
"Dissabte", | |||
"Diumenge"); | |||
// Please note that the following array of short day names (and the same goes | |||
// for short month names, _SMN) isn't absolutely necessary. We give it here | |||
// for exemplification on how one can customize the short day names, but if | |||
// they are simply the first N letters of the full name you can simply say: | |||
// | |||
// Calendar._SDN_len = N; // short day name length | |||
// Calendar._SMN_len = N; // short month name length | |||
// | |||
// If N = 3 then this is not needed either since we assume a value of 3 if not | |||
// present, to be compatible with translation files that were written before | |||
// this feature. | |||
// short day names | |||
Calendar._SDN = new Array | |||
("Diu", | |||
"Dil", | |||
"Dmt", | |||
"Dmc", | |||
"Dij", | |||
"Div", | |||
"Dis", | |||
"Diu"); | |||
// full month names | |||
Calendar._MN = new Array | |||
("Gener", | |||
"Febrer", | |||
"Març", | |||
"Abril", | |||
"Maig", | |||
"Juny", | |||
"Juliol", | |||
"Agost", | |||
"Setembre", | |||
"Octubre", | |||
"Novembre", | |||
"Desembre"); | |||
// short month names | |||
Calendar._SMN = new Array | |||
("Gen", | |||
"Feb", | |||
"Mar", | |||
"Abr", | |||
"Mai", | |||
"Jun", | |||
"Jul", | |||
"Ago", | |||
"Set", | |||
"Oct", | |||
"Nov", | |||
"Des"); | |||
// tooltips | |||
Calendar._TT = {}; | |||
Calendar._TT["INFO"] = "Sobre el calendari"; | |||
Calendar._TT["ABOUT"] = | |||
"DHTML Selector de Data/Hora\n" + | |||
"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-) | |||
"For latest version visit: http://www.dynarch.com/projects/calendar/\n" + | |||
"Distributed under GNU LGPL. See http://gnu.org/licenses/lgpl.html for details." + | |||
"\n\n" + | |||
"Sel.lecció de Dates:\n" + | |||
"- Fes servir els botons \xab, \xbb per sel.leccionar l'any\n" + | |||
"- Fes servir els botons " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + " per se.lecciconar el mes\n" + | |||
"- Manté el ratolí apretat en qualsevol dels anteriors per sel.lecció ràpida."; | |||
Calendar._TT["ABOUT_TIME"] = "\n\n" + | |||
"Time selection:\n" + | |||
"- claca en qualsevol de les parts de la hora per augmentar-les\n" + | |||
"- o Shift-click per decrementar-la\n" + | |||
"- or click and arrastra per sel.lecció ràpida."; | |||
Calendar._TT["PREV_YEAR"] = "Any anterior (Mantenir per menu)"; | |||
Calendar._TT["PREV_MONTH"] = "Mes anterior (Mantenir per menu)"; | |||
Calendar._TT["GO_TODAY"] = "Anar a avui"; | |||
Calendar._TT["NEXT_MONTH"] = "Mes següent (Mantenir per menu)"; | |||
Calendar._TT["NEXT_YEAR"] = "Any següent (Mantenir per menu)"; | |||
Calendar._TT["SEL_DATE"] = "Sel.leccionar data"; | |||
Calendar._TT["DRAG_TO_MOVE"] = "Arrastrar per moure"; | |||
Calendar._TT["PART_TODAY"] = " (avui)"; | |||
// the following is to inform that "%s" is to be the first day of week | |||
// %s will be replaced with the day name. | |||
Calendar._TT["DAY_FIRST"] = "Mostra %s primer"; | |||
// This may be locale-dependent. It specifies the week-end days, as an array | |||
// of comma-separated numbers. The numbers are from 0 to 6: 0 means Sunday, 1 | |||
// means Monday, etc. | |||
Calendar._TT["WEEKEND"] = "0,6"; | |||
Calendar._TT["CLOSE"] = "Tanca"; | |||
Calendar._TT["TODAY"] = "Avui"; | |||
Calendar._TT["TIME_PART"] = "(Shift-)Click a arrastra per canviar el valor"; | |||
// date formats | |||
Calendar._TT["DEF_DATE_FORMAT"] = "%Y-%m-%d"; | |||
Calendar._TT["TT_DATE_FORMAT"] = "%a, %b %e"; | |||
Calendar._TT["WK"] = "st"; | |||
Calendar._TT["TIME"] = "Hora:"; |
@@ -0,0 +1,65 @@ | |||
/* | |||
calendar-cs-win.js | |||
language: Czech | |||
encoding: windows-1250 | |||
author: Lubos Jerabek (xnet@seznam.cz) | |||
Jan Uhlir (espinosa@centrum.cz) | |||
*/ | |||
// ** I18N | |||
Calendar._DN = new Array('Neděle','Pondělí','Úterý','Středa','Čtvrtek','Pátek','Sobota','Neděle'); | |||
Calendar._SDN = new Array('Ne','Po','Út','St','Čt','Pá','So','Ne'); | |||
Calendar._MN = new Array('Leden','Únor','Březen','Duben','Květen','Červen','Červenec','Srpen','Září','Říjen','Listopad','Prosinec'); | |||
Calendar._SMN = new Array('Led','Úno','Bře','Dub','Kvě','Črv','Čvc','Srp','Zář','Říj','Lis','Pro'); | |||
// tooltips | |||
Calendar._TT = {}; | |||
Calendar._TT["INFO"] = "O komponentě kalendář"; | |||
Calendar._TT["TOGGLE"] = "Změna prvního dne v týdnu"; | |||
Calendar._TT["PREV_YEAR"] = "Předchozí rok (přidrž pro menu)"; | |||
Calendar._TT["PREV_MONTH"] = "Předchozí měsíc (přidrž pro menu)"; | |||
Calendar._TT["GO_TODAY"] = "Dnešní datum"; | |||
Calendar._TT["NEXT_MONTH"] = "Další měsíc (přidrž pro menu)"; | |||
Calendar._TT["NEXT_YEAR"] = "Další rok (přidrž pro menu)"; | |||
Calendar._TT["SEL_DATE"] = "Vyber datum"; | |||
Calendar._TT["DRAG_TO_MOVE"] = "Chyť a táhni, pro přesun"; | |||
Calendar._TT["PART_TODAY"] = " (dnes)"; | |||
Calendar._TT["MON_FIRST"] = "Ukaž jako první Pondělí"; | |||
//Calendar._TT["SUN_FIRST"] = "Ukaž jako první Neděli"; | |||
Calendar._TT["ABOUT"] = | |||
"DHTML Date/Time Selector\n" + | |||
"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-) | |||
"For latest version visit: http://www.dynarch.com/projects/calendar/\n" + | |||
"Distributed under GNU LGPL. See http://gnu.org/licenses/lgpl.html for details." + | |||
"\n\n" + | |||
"Výběr datumu:\n" + | |||
"- Use the \xab, \xbb buttons to select year\n" + | |||
"- Použijte tlačítka " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + " k výběru měsíce\n" + | |||
"- Podržte tlačítko myši na jakémkoliv z těch tlačítek pro rychlejší výběr."; | |||
Calendar._TT["ABOUT_TIME"] = "\n\n" + | |||
"Výběr času:\n" + | |||
"- Klikněte na jakoukoliv z částí výběru času pro zvýšení.\n" + | |||
"- nebo Shift-click pro snížení\n" + | |||
"- nebo klikněte a táhněte pro rychlejší výběr."; | |||
// the following is to inform that "%s" is to be the first day of week | |||
// %s will be replaced with the day name. | |||
Calendar._TT["DAY_FIRST"] = "Zobraz %s první"; | |||
// This may be locale-dependent. It specifies the week-end days, as an array | |||
// of comma-separated numbers. The numbers are from 0 to 6: 0 means Sunday, 1 | |||
// means Monday, etc. | |||
Calendar._TT["WEEKEND"] = "0,6"; | |||
Calendar._TT["CLOSE"] = "Zavřít"; | |||
Calendar._TT["TODAY"] = "Dnes"; | |||
Calendar._TT["TIME_PART"] = "(Shift-)Klikni nebo táhni pro změnu hodnoty"; | |||
// date formats | |||
Calendar._TT["DEF_DATE_FORMAT"] = "d.m.yy"; | |||
Calendar._TT["TT_DATE_FORMAT"] = "%a, %b %e"; | |||
Calendar._TT["WK"] = "wk"; | |||
Calendar._TT["TIME"] = "Čas:"; |
@@ -0,0 +1,65 @@ | |||
/* | |||
calendar-cs-win.js | |||
language: Czech | |||
encoding: windows-1250 | |||
author: Lubos Jerabek (xnet@seznam.cz) | |||
Jan Uhlir (espinosa@centrum.cz) | |||
*/ | |||
// ** I18N | |||
Calendar._DN = new Array('Nedìle','Pondìlí','Úterý','Støeda','Ètvrtek','Pátek','Sobota','Nedìle'); | |||
Calendar._SDN = new Array('Ne','Po','Út','St','Èt','Pá','So','Ne'); | |||
Calendar._MN = new Array('Leden','Únor','Bøezen','Duben','Kvìten','Èerven','Èervenec','Srpen','Záøí','Øíjen','Listopad','Prosinec'); | |||
Calendar._SMN = new Array('Led','Úno','Bøe','Dub','Kvì','Èrv','Èvc','Srp','Záø','Øíj','Lis','Pro'); | |||
// tooltips | |||
Calendar._TT = {}; | |||
Calendar._TT["INFO"] = "O komponentì kalendáø"; | |||
Calendar._TT["TOGGLE"] = "Zmìna prvního dne v týdnu"; | |||
Calendar._TT["PREV_YEAR"] = "Pøedchozí rok (pøidrž pro menu)"; | |||
Calendar._TT["PREV_MONTH"] = "Pøedchozí mìsíc (pøidrž pro menu)"; | |||
Calendar._TT["GO_TODAY"] = "Dnešní datum"; | |||
Calendar._TT["NEXT_MONTH"] = "Další mìsíc (pøidrž pro menu)"; | |||
Calendar._TT["NEXT_YEAR"] = "Další rok (pøidrž pro menu)"; | |||
Calendar._TT["SEL_DATE"] = "Vyber datum"; | |||
Calendar._TT["DRAG_TO_MOVE"] = "Chy� a táhni, pro pøesun"; | |||
Calendar._TT["PART_TODAY"] = " (dnes)"; | |||
Calendar._TT["MON_FIRST"] = "Ukaž jako první Pondìlí"; | |||
//Calendar._TT["SUN_FIRST"] = "Ukaž jako první Nedìli"; | |||
Calendar._TT["ABOUT"] = | |||
"DHTML Date/Time Selector\n" + | |||
"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-) | |||
"For latest version visit: http://www.dynarch.com/projects/calendar/\n" + | |||
"Distributed under GNU LGPL. See http://gnu.org/licenses/lgpl.html for details." + | |||
"\n\n" + | |||
"Výbìr datumu:\n" + | |||
"- Use the \xab, \xbb buttons to select year\n" + | |||
"- Použijte tlaèítka " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + " k výbìru mìsíce\n" + | |||
"- Podržte tlaèítko myši na jakémkoliv z tìch tlaèítek pro rychlejší výbìr."; | |||
Calendar._TT["ABOUT_TIME"] = "\n\n" + | |||
"Výbìr èasu:\n" + | |||
"- Kliknìte na jakoukoliv z èástí výbìru èasu pro zvýšení.\n" + | |||
"- nebo Shift-click pro snížení\n" + | |||
"- nebo kliknìte a táhnìte pro rychlejší výbìr."; | |||
// the following is to inform that "%s" is to be the first day of week | |||
// %s will be replaced with the day name. | |||
Calendar._TT["DAY_FIRST"] = "Zobraz %s první"; | |||
// This may be locale-dependent. It specifies the week-end days, as an array | |||
// of comma-separated numbers. The numbers are from 0 to 6: 0 means Sunday, 1 | |||
// means Monday, etc. | |||
Calendar._TT["WEEKEND"] = "0,6"; | |||
Calendar._TT["CLOSE"] = "Zavøít"; | |||
Calendar._TT["TODAY"] = "Dnes"; | |||
Calendar._TT["TIME_PART"] = "(Shift-)Klikni nebo táhni pro zmìnu hodnoty"; | |||
// date formats | |||
Calendar._TT["DEF_DATE_FORMAT"] = "d.m.yy"; | |||
Calendar._TT["TT_DATE_FORMAT"] = "%a, %b %e"; | |||
Calendar._TT["WK"] = "wk"; | |||
Calendar._TT["TIME"] = "Èas:"; |
@@ -0,0 +1,123 @@ | |||
// ** I18N | |||
// Calendar DA language | |||
// Author: Michael Thingmand Henriksen, <michael (a) thingmand dot dk> | |||
// Encoding: any | |||
// Distributed under the same terms as the calendar itself. | |||
// For translators: please use UTF-8 if possible. We strongly believe that | |||
// Unicode is the answer to a real internationalized world. Also please | |||
// include your contact information in the header, as can be seen above. | |||
// full day names | |||
Calendar._DN = new Array | |||
("Søndag", | |||
"Mandag", | |||
"Tirsdag", | |||
"Onsdag", | |||
"Torsdag", | |||
"Fredag", | |||
"Lørdag", | |||
"Søndag"); | |||
// Please note that the following array of short day names (and the same goes | |||
// for short month names, _SMN) isn't absolutely necessary. We give it here | |||
// for exemplification on how one can customize the short day names, but if | |||
// they are simply the first N letters of the full name you can simply say: | |||
// | |||
// Calendar._SDN_len = N; // short day name length | |||
// Calendar._SMN_len = N; // short month name length | |||
// | |||
// If N = 3 then this is not needed either since we assume a value of 3 if not | |||
// present, to be compatible with translation files that were written before | |||
// this feature. | |||
// short day names | |||
Calendar._SDN = new Array | |||
("Søn", | |||
"Man", | |||
"Tir", | |||
"Ons", | |||
"Tor", | |||
"Fre", | |||
"Lør", | |||
"Søn"); | |||
// full month names | |||
Calendar._MN = new Array | |||
("Januar", | |||
"Februar", | |||
"Marts", | |||
"April", | |||
"Maj", | |||
"Juni", | |||
"Juli", | |||
"August", | |||
"September", | |||
"Oktober", | |||
"November", | |||
"December"); | |||
// short month names | |||
Calendar._SMN = new Array | |||
("Jan", | |||
"Feb", | |||
"Mar", | |||
"Apr", | |||
"Maj", | |||
"Jun", | |||
"Jul", | |||
"Aug", | |||
"Sep", | |||
"Okt", | |||
"Nov", | |||
"Dec"); | |||
// tooltips | |||
Calendar._TT = {}; | |||
Calendar._TT["INFO"] = "Om Kalenderen"; | |||
Calendar._TT["ABOUT"] = | |||
"DHTML Date/Time Selector\n" + | |||
"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-) | |||
"For den seneste version besøg: http://www.dynarch.com/projects/calendar/\n"; + | |||
"Distribueret under GNU LGPL. Se http://gnu.org/licenses/lgpl.html for detajler." + | |||
"\n\n" + | |||
"Valg af dato:\n" + | |||
"- Brug \xab, \xbb knapperne for at vælge år\n" + | |||
"- Brug " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + " knapperne for at vælge måned\n" + | |||
"- Hold knappen på musen nede på knapperne ovenfor for hurtigere valg."; | |||
Calendar._TT["ABOUT_TIME"] = "\n\n" + | |||
"Valg af tid:\n" + | |||
"- Klik på en vilkårlig del for større værdi\n" + | |||
"- eller Shift-klik for for mindre værdi\n" + | |||
"- eller klik og træk for hurtigere valg."; | |||
Calendar._TT["PREV_YEAR"] = "Ét år tilbage (hold for menu)"; | |||
Calendar._TT["PREV_MONTH"] = "Én måned tilbage (hold for menu)"; | |||
Calendar._TT["GO_TODAY"] = "Gå til i dag"; | |||
Calendar._TT["NEXT_MONTH"] = "Én måned frem (hold for menu)"; | |||
Calendar._TT["NEXT_YEAR"] = "Ét år frem (hold for menu)"; | |||
Calendar._TT["SEL_DATE"] = "Vælg dag"; | |||
Calendar._TT["DRAG_TO_MOVE"] = "Træk vinduet"; | |||
Calendar._TT["PART_TODAY"] = " (i dag)"; | |||
// the following is to inform that "%s" is to be the first day of week | |||
// %s will be replaced with the day name. | |||
Calendar._TT["DAY_FIRST"] = "Vis %s først"; | |||
// This may be locale-dependent. It specifies the week-end days, as an array | |||
// of comma-separated numbers. The numbers are from 0 to 6: 0 means Sunday, 1 | |||
// means Monday, etc. | |||
Calendar._TT["WEEKEND"] = "0,6"; | |||
Calendar._TT["CLOSE"] = "Luk"; | |||
Calendar._TT["TODAY"] = "I dag"; | |||
Calendar._TT["TIME_PART"] = "(Shift-)klik eller træk for at ændre værdi"; | |||
// date formats | |||
Calendar._TT["DEF_DATE_FORMAT"] = "%d-%m-%Y"; | |||
Calendar._TT["TT_DATE_FORMAT"] = "%a, %b %e"; | |||
Calendar._TT["WK"] = "Uge"; | |||
Calendar._TT["TIME"] = "Tid:"; |
@@ -0,0 +1,124 @@ | |||
// ** I18N | |||
// Calendar DE language | |||
// Author: Jack (tR), <jack@jtr.de> | |||
// Encoding: any | |||
// Distributed under the same terms as the calendar itself. | |||
// For translators: please use UTF-8 if possible. We strongly believe that | |||
// Unicode is the answer to a real internationalized world. Also please | |||
// include your contact information in the header, as can be seen above. | |||
// full day names | |||
Calendar._DN = new Array | |||
("Sonntag", | |||
"Montag", | |||
"Dienstag", | |||
"Mittwoch", | |||
"Donnerstag", | |||
"Freitag", | |||
"Samstag", | |||
"Sonntag"); | |||
// Please note that the following array of short day names (and the same goes | |||
// for short month names, _SMN) isn't absolutely necessary. We give it here | |||
// for exemplification on how one can customize the short day names, but if | |||
// they are simply the first N letters of the full name you can simply say: | |||
// | |||
// Calendar._SDN_len = N; // short day name length | |||
// Calendar._SMN_len = N; // short month name length | |||
// | |||
// If N = 3 then this is not needed either since we assume a value of 3 if not | |||
// present, to be compatible with translation files that were written before | |||
// this feature. | |||
// short day names | |||
Calendar._SDN = new Array | |||
("So", | |||
"Mo", | |||
"Di", | |||
"Mi", | |||
"Do", | |||
"Fr", | |||
"Sa", | |||
"So"); | |||
// full month names | |||
Calendar._MN = new Array | |||
("Januar", | |||
"Februar", | |||
"M\u00e4rz", | |||
"April", | |||
"Mai", | |||
"Juni", | |||
"Juli", | |||
"August", | |||
"September", | |||
"Oktober", | |||
"November", | |||
"Dezember"); | |||
// short month names | |||
Calendar._SMN = new Array | |||
("Jan", | |||
"Feb", | |||
"M\u00e4r", | |||
"Apr", | |||
"May", | |||
"Jun", | |||
"Jul", | |||
"Aug", | |||
"Sep", | |||
"Okt", | |||
"Nov", | |||
"Dez"); | |||
// tooltips | |||
Calendar._TT = {}; | |||
Calendar._TT["INFO"] = "\u00DCber dieses Kalendarmodul"; | |||
Calendar._TT["ABOUT"] = | |||
"DHTML Date/Time Selector\n" + | |||
"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this ;-) | |||
"For latest version visit: http://www.dynarch.com/projects/calendar/\n" + | |||
"Distributed under GNU LGPL. See http://gnu.org/licenses/lgpl.html for details." + | |||
"\n\n" + | |||
"Datum ausw\u00e4hlen:\n" + | |||
"- Benutzen Sie die \xab, \xbb Buttons um das Jahr zu w\u00e4hlen\n" + | |||
"- Benutzen Sie die " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + " Buttons um den Monat zu w\u00e4hlen\n" + | |||
"- F\u00fcr eine Schnellauswahl halten Sie die Maustaste \u00fcber diesen Buttons fest."; | |||
Calendar._TT["ABOUT_TIME"] = "\n\n" + | |||
"Zeit ausw\u00e4hlen:\n" + | |||
"- Klicken Sie auf die Teile der Uhrzeit, um diese zu erh\u00F6hen\n" + | |||
"- oder klicken Sie mit festgehaltener Shift-Taste um diese zu verringern\n" + | |||
"- oder klicken und festhalten f\u00fcr Schnellauswahl."; | |||
Calendar._TT["TOGGLE"] = "Ersten Tag der Woche w\u00e4hlen"; | |||
Calendar._TT["PREV_YEAR"] = "Voriges Jahr (Festhalten f\u00fcr Schnellauswahl)"; | |||
Calendar._TT["PREV_MONTH"] = "Voriger Monat (Festhalten f\u00fcr Schnellauswahl)"; | |||
Calendar._TT["GO_TODAY"] = "Heute ausw\u00e4hlen"; | |||
Calendar._TT["NEXT_MONTH"] = "N\u00e4chst. Monat (Festhalten f\u00fcr Schnellauswahl)"; | |||
Calendar._TT["NEXT_YEAR"] = "N\u00e4chst. Jahr (Festhalten f\u00fcr Schnellauswahl)"; | |||
Calendar._TT["SEL_DATE"] = "Datum ausw\u00e4hlen"; | |||
Calendar._TT["DRAG_TO_MOVE"] = "Zum Bewegen festhalten"; | |||
Calendar._TT["PART_TODAY"] = " (Heute)"; | |||
// the following is to inform that "%s" is to be the first day of week | |||
// %s will be replaced with the day name. | |||
Calendar._TT["DAY_FIRST"] = "Woche beginnt mit %s "; | |||
// This may be locale-dependent. It specifies the week-end days, as an array | |||
// of comma-separated numbers. The numbers are from 0 to 6: 0 means Sunday, 1 | |||
// means Monday, etc. | |||
Calendar._TT["WEEKEND"] = "0,6"; | |||
Calendar._TT["CLOSE"] = "Schlie\u00dfen"; | |||
Calendar._TT["TODAY"] = "Heute"; | |||
Calendar._TT["TIME_PART"] = "(Shift-)Klick oder Festhalten und Ziehen um den Wert zu \u00e4ndern"; | |||
// date formats | |||
Calendar._TT["DEF_DATE_FORMAT"] = "%d.%m.%Y"; | |||
Calendar._TT["TT_DATE_FORMAT"] = "%a, %b %e"; | |||
Calendar._TT["WK"] = "wk"; | |||
Calendar._TT["TIME"] = "Zeit:"; |
@@ -0,0 +1,45 @@ | |||
// ** I18N | |||
Calendar._DN = new Array | |||
("Zondag", | |||
"Maandag", | |||
"Dinsdag", | |||
"Woensdag", | |||
"Donderdag", | |||
"Vrijdag", | |||
"Zaterdag", | |||
"Zondag"); | |||
Calendar._MN = new Array | |||
("Januari", | |||
"Februari", | |||
"Maart", | |||
"April", | |||
"Mei", | |||
"Juni", | |||
"Juli", | |||
"Augustus", | |||
"September", | |||
"Oktober", | |||
"November", | |||
"December"); | |||
// tooltips | |||
Calendar._TT = {}; | |||
Calendar._TT["TOGGLE"] = "Toggle startdag van de week"; | |||
Calendar._TT["PREV_YEAR"] = "Vorig jaar (indrukken voor menu)"; | |||
Calendar._TT["PREV_MONTH"] = "Vorige month (indrukken voor menu)"; | |||
Calendar._TT["GO_TODAY"] = "Naar Vandaag"; | |||
Calendar._TT["NEXT_MONTH"] = "Volgende Maand (indrukken voor menu)"; | |||
Calendar._TT["NEXT_YEAR"] = "Volgend jaar (indrukken voor menu)"; | |||
Calendar._TT["SEL_DATE"] = "Selecteer datum"; | |||
Calendar._TT["DRAG_TO_MOVE"] = "Sleep om te verplaatsen"; | |||
Calendar._TT["PART_TODAY"] = " (vandaag)"; | |||
Calendar._TT["MON_FIRST"] = "Toon Maandag eerst"; | |||
Calendar._TT["SUN_FIRST"] = "Toon Zondag eerst"; | |||
Calendar._TT["CLOSE"] = "Sluiten"; | |||
Calendar._TT["TODAY"] = "Vandaag"; | |||
// date formats | |||
Calendar._TT["DEF_DATE_FORMAT"] = "y-mm-dd"; | |||
Calendar._TT["TT_DATE_FORMAT"] = "D, M d"; | |||
Calendar._TT["WK"] = "wk"; |
@@ -0,0 +1,89 @@ | |||
// ** I18N | |||
Calendar._DN = new Array | |||
("Κυριακή", | |||
"Δευτέρα", | |||
"Τρίτη", | |||
"Τετάρτη", | |||
"Πέμπτη", | |||
"Παρασκευή", | |||
"Σάββατο", | |||
"Κυριακή"); | |||
Calendar._SDN = new Array | |||
("Κυ", | |||
"Δε", | |||
"Tρ", | |||
"Τε", | |||
"Πε", | |||
"Πα", | |||
"Σα", | |||
"Κυ"); | |||
Calendar._MN = new Array | |||
("Ιανουάριος", | |||
"Φεβρουάριος", | |||
"Μάρτιος", | |||
"Απρίλιος", | |||
"Μάϊος", | |||
"Ιούνιος", | |||
"Ιούλιος", | |||
"Αύγουστος", | |||
"Σεπτέμβριος", | |||
"Οκτώβριος", | |||
"Νοέμβριος", | |||
"Δεκέμβριος"); | |||
Calendar._SMN = new Array | |||
("Ιαν", | |||
"Φεβ", | |||
"Μαρ", | |||
"Απρ", | |||
"Μαι", | |||
"Ιουν", | |||
"Ιουλ", | |||
"Αυγ", | |||
"Σεπ", | |||
"Οκτ", | |||
"Νοε", | |||
"Δεκ"); | |||
// tooltips | |||
Calendar._TT = {}; | |||
Calendar._TT["INFO"] = "Για το ημερολόγιο"; | |||
Calendar._TT["ABOUT"] = | |||
"Επιλογέας ημερομηνίας/ώρας σε DHTML\n" + | |||
"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-) | |||
"Για τελευταία έκδοση: http://www.dynarch.com/projects/calendar/\n" + | |||
"Distributed under GNU LGPL. See http://gnu.org/licenses/lgpl.html for details." + | |||
"\n\n" + | |||
"Επιλογή ημερομηνίας:\n" + | |||
"- Χρησιμοποιείστε τα κουμπιά \xab, \xbb για επιλογή έτους\n" + | |||
"- Χρησιμοποιείστε τα κουμπιά " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + " για επιλογή μήνα\n" + | |||
"- Κρατήστε κουμπί ποντικού πατημένο στα παραπάνω κουμπιά για πιο γρήγορη επιλογή."; | |||
Calendar._TT["ABOUT_TIME"] = "\n\n" + | |||
"Επιλογή ώρας:\n" + | |||
"- Κάντε κλικ σε ένα από τα μέρη της ώρας για αύξηση\n" + | |||
"- ή Shift-κλικ για μείωση\n" + | |||
"- ή κλικ και μετακίνηση για πιο γρήγορη επιλογή."; | |||
Calendar._TT["TOGGLE"] = "Μπάρα πρώτης ημέρας της εβδομάδας"; | |||
Calendar._TT["PREV_YEAR"] = "Προηγ. έτος (κρατήστε για το μενού)"; | |||
Calendar._TT["PREV_MONTH"] = "Προηγ. μήνας (κρατήστε για το μενού)"; | |||
Calendar._TT["GO_TODAY"] = "Σήμερα"; | |||
Calendar._TT["NEXT_MONTH"] = "Επόμενος μήνας (κρατήστε για το μενού)"; | |||
Calendar._TT["NEXT_YEAR"] = "Επόμενο έτος (κρατήστε για το μενού)"; | |||
Calendar._TT["SEL_DATE"] = "Επιλέξτε ημερομηνία"; | |||
Calendar._TT["DRAG_TO_MOVE"] = "Σύρτε για να μετακινήσετε"; | |||
Calendar._TT["PART_TODAY"] = " (σήμερα)"; | |||
Calendar._TT["MON_FIRST"] = "Εμφάνιση Δευτέρας πρώτα"; | |||
Calendar._TT["SUN_FIRST"] = "Εμφάνιση Κυριακής πρώτα"; | |||
Calendar._TT["CLOSE"] = "Κλείσιμο"; | |||
Calendar._TT["TODAY"] = "Σήμερα"; | |||
Calendar._TT["TIME_PART"] = "(Shift-)κλικ ή μετακίνηση για αλλαγή"; | |||
// date formats | |||
Calendar._TT["DEF_DATE_FORMAT"] = "dd-mm-y"; | |||
Calendar._TT["TT_DATE_FORMAT"] = "D, d M"; | |||
Calendar._TT["WK"] = "εβδ"; | |||
@@ -0,0 +1,127 @@ | |||
// ** I18N | |||
// Calendar EN language | |||
// Author: Mihai Bazon, <mihai_bazon@yahoo.com> | |||
// Encoding: any | |||
// Distributed under the same terms as the calendar itself. | |||
// For translators: please use UTF-8 if possible. We strongly believe that | |||
// Unicode is the answer to a real internationalized world. Also please | |||
// include your contact information in the header, as can be seen above. | |||
// full day names | |||
Calendar._DN = new Array | |||
("Sunday", | |||
"Monday", | |||
"Tuesday", | |||
"Wednesday", | |||
"Thursday", | |||
"Friday", | |||
"Saturday", | |||
"Sunday"); | |||
// Please note that the following array of short day names (and the same goes | |||
// for short month names, _SMN) isn't absolutely necessary. We give it here | |||
// for exemplification on how one can customize the short day names, but if | |||
// they are simply the first N letters of the full name you can simply say: | |||
// | |||
// Calendar._SDN_len = N; // short day name length | |||
// Calendar._SMN_len = N; // short month name length | |||
// | |||
// If N = 3 then this is not needed either since we assume a value of 3 if not | |||
// present, to be compatible with translation files that were written before | |||
// this feature. | |||
// short day names | |||
Calendar._SDN = new Array | |||
("Sun", | |||
"Mon", | |||
"Tue", | |||
"Wed", | |||
"Thu", | |||
"Fri", | |||
"Sat", | |||
"Sun"); | |||
// First day of the week. "0" means display Sunday first, "1" means display | |||
// Monday first, etc. | |||
Calendar._FD = 0; | |||
// full month names | |||
Calendar._MN = new Array | |||
("January", | |||
"February", | |||
"March", | |||
"April", | |||
"May", | |||
"June", | |||
"July", | |||
"August", | |||
"September", | |||
"October", | |||
"November", | |||
"December"); | |||
// short month names | |||
Calendar._SMN = new Array | |||
("Jan", | |||
"Feb", | |||
"Mar", | |||
"Apr", | |||
"May", | |||
"Jun", | |||
"Jul", | |||
"Aug", | |||
"Sep", | |||
"Oct", | |||
"Nov", | |||
"Dec"); | |||
// tooltips | |||
Calendar._TT = {}; | |||
Calendar._TT["INFO"] = "About the calendar"; | |||
Calendar._TT["ABOUT"] = | |||
"DHTML Date/Time Selector\n" + | |||
"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-) | |||
"For latest version visit: http://www.dynarch.com/projects/calendar/\n" + | |||
"Distributed under GNU LGPL. See http://gnu.org/licenses/lgpl.html for details." + | |||
"\n\n" + | |||
"Date selection:\n" + | |||
"- Use the \xab, \xbb buttons to select year\n" + | |||
"- Use the " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + " buttons to select month\n" + | |||
"- Hold mouse button on any of the above buttons for faster selection."; | |||
Calendar._TT["ABOUT_TIME"] = "\n\n" + | |||
"Time selection:\n" + | |||
"- Click on any of the time parts to increase it\n" + | |||
"- or Shift-click to decrease it\n" + | |||
"- or click and drag for faster selection."; | |||
Calendar._TT["PREV_YEAR"] = "Prev. year (hold for menu)"; | |||
Calendar._TT["PREV_MONTH"] = "Prev. month (hold for menu)"; | |||
Calendar._TT["GO_TODAY"] = "Go Today"; | |||
Calendar._TT["NEXT_MONTH"] = "Next month (hold for menu)"; | |||
Calendar._TT["NEXT_YEAR"] = "Next year (hold for menu)"; | |||
Calendar._TT["SEL_DATE"] = "Select date"; | |||
Calendar._TT["DRAG_TO_MOVE"] = "Drag to move"; | |||
Calendar._TT["PART_TODAY"] = " (today)"; | |||
// the following is to inform that "%s" is to be the first day of week | |||
// %s will be replaced with the day name. | |||
Calendar._TT["DAY_FIRST"] = "Display %s first"; | |||
// This may be locale-dependent. It specifies the week-end days, as an array | |||
// of comma-separated numbers. The numbers are from 0 to 6: 0 means Sunday, 1 | |||
// means Monday, etc. | |||
Calendar._TT["WEEKEND"] = "0,6"; | |||
Calendar._TT["CLOSE"] = "Close"; | |||
Calendar._TT["TODAY"] = "Today"; | |||
Calendar._TT["TIME_PART"] = "(Shift-)Click or drag to change value"; | |||
// date formats | |||
Calendar._TT["DEF_DATE_FORMAT"] = "%Y-%m-%d"; | |||
Calendar._TT["TT_DATE_FORMAT"] = "%a, %b %e"; | |||
Calendar._TT["WK"] = "wk"; | |||
Calendar._TT["TIME"] = "Time:"; |
@@ -0,0 +1,129 @@ | |||
// ** I18N | |||
// Calendar ES (spanish) language | |||
// Author: Mihai Bazon, <mihai_bazon@yahoo.com> | |||
// Updater: Servilio Afre Puentes <servilios@yahoo.com> | |||
// Updated: 2004-06-03 | |||
// Encoding: utf-8 | |||
// Distributed under the same terms as the calendar itself. | |||
// For translators: please use UTF-8 if possible. We strongly believe that | |||
// Unicode is the answer to a real internationalized world. Also please | |||
// include your contact information in the header, as can be seen above. | |||
// full day names | |||
Calendar._DN = new Array | |||
("Domingo", | |||
"Lunes", | |||
"Martes", | |||
"Miércoles", | |||
"Jueves", | |||
"Viernes", | |||
"Sábado", | |||
"Domingo"); | |||
// Please note that the following array of short day names (and the same goes | |||
// for short month names, _SMN) isn't absolutely necessary. We give it here | |||
// for exemplification on how one can customize the short day names, but if | |||
// they are simply the first N letters of the full name you can simply say: | |||
// | |||
// Calendar._SDN_len = N; // short day name length | |||
// Calendar._SMN_len = N; // short month name length | |||
// | |||
// If N = 3 then this is not needed either since we assume a value of 3 if not | |||
// present, to be compatible with translation files that were written before | |||
// this feature. | |||
// short day names | |||
Calendar._SDN = new Array | |||
("Dom", | |||
"Lun", | |||
"Mar", | |||
"Mié", | |||
"Jue", | |||
"Vie", | |||
"Sáb", | |||
"Dom"); | |||
// First day of the week. "0" means display Sunday first, "1" means display | |||
// Monday first, etc. | |||
Calendar._FD = 1; | |||
// full month names | |||
Calendar._MN = new Array | |||
("Enero", | |||
"Febrero", | |||
"Marzo", | |||
"Abril", | |||
"Mayo", | |||
"Junio", | |||
"Julio", | |||
"Agosto", | |||
"Septiembre", | |||
"Octubre", | |||
"Noviembre", | |||
"Diciembre"); | |||
// short month names | |||
Calendar._SMN = new Array | |||
("Ene", | |||
"Feb", | |||
"Mar", | |||
"Abr", | |||
"May", | |||
"Jun", | |||
"Jul", | |||
"Ago", | |||
"Sep", | |||
"Oct", | |||
"Nov", | |||
"Dic"); | |||
// tooltips | |||
Calendar._TT = {}; | |||
Calendar._TT["INFO"] = "Acerca del calendario"; | |||
Calendar._TT["ABOUT"] = | |||
"Selector DHTML de Fecha/Hora\n" + | |||
"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-) | |||
"Para conseguir la última versión visite: http://www.dynarch.com/projects/calendar/\n" + | |||
"Distribuido bajo licencia GNU LGPL. Visite http://gnu.org/licenses/lgpl.html para más detalles." + | |||
"\n\n" + | |||
"Selección de fecha:\n" + | |||
"- Use los botones \xab, \xbb para seleccionar el año\n" + | |||
"- Use los botones " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + " para seleccionar el mes\n" + | |||
"- Mantenga pulsado el ratón en cualquiera de estos botones para una selección rápida."; | |||
Calendar._TT["ABOUT_TIME"] = "\n\n" + | |||
"Selección de hora:\n" + | |||
"- Pulse en cualquiera de las partes de la hora para incrementarla\n" + | |||
"- o pulse las mayúsculas mientras hace clic para decrementarla\n" + | |||
"- o haga clic y arrastre el ratón para una selección más rápida."; | |||
Calendar._TT["PREV_YEAR"] = "Año anterior (mantener para menú)"; | |||
Calendar._TT["PREV_MONTH"] = "Mes anterior (mantener para menú)"; | |||
Calendar._TT["GO_TODAY"] = "Ir a hoy"; | |||
Calendar._TT["NEXT_MONTH"] = "Mes siguiente (mantener para menú)"; | |||
Calendar._TT["NEXT_YEAR"] = "Año siguiente (mantener para menú)"; | |||
Calendar._TT["SEL_DATE"] = "Seleccionar fecha"; | |||
Calendar._TT["DRAG_TO_MOVE"] = "Arrastrar para mover"; | |||
Calendar._TT["PART_TODAY"] = " (hoy)"; | |||
// the following is to inform that "%s" is to be the first day of week | |||
// %s will be replaced with the day name. | |||
Calendar._TT["DAY_FIRST"] = "Hacer %s primer día de la semana"; | |||
// This may be locale-dependent. It specifies the week-end days, as an array | |||
// of comma-separated numbers. The numbers are from 0 to 6: 0 means Sunday, 1 | |||
// means Monday, etc. | |||
Calendar._TT["WEEKEND"] = "0,6"; | |||
Calendar._TT["CLOSE"] = "Cerrar"; | |||
Calendar._TT["TODAY"] = "Hoy"; | |||
Calendar._TT["TIME_PART"] = "(Mayúscula-)Clic o arrastre para cambiar valor"; | |||
// date formats | |||
Calendar._TT["DEF_DATE_FORMAT"] = "%d/%m/%Y"; | |||
Calendar._TT["TT_DATE_FORMAT"] = "%A, %e de %B de %Y"; | |||
Calendar._TT["WK"] = "sem"; | |||
Calendar._TT["TIME"] = "Hora:"; |
@@ -0,0 +1,109 @@ | |||
// ** I18N | |||
// Calendar FI language (Finnish, Suomi) | |||
// Author: Jarno K?yhk?, <gambler@phnet.fi> | |||
// Updated: 20060206 Marc Englund / IT Mill | |||
// Encoding: UTF-8 | |||
// Distributed under the same terms as the calendar itself. | |||
// full day names | |||
Calendar._DN = new Array | |||
("Sunnuntai", | |||
"Maanantai", | |||
"Tiistai", | |||
"Keskiviikko", | |||
"Torstai", | |||
"Perjantai", | |||
"Lauantai", | |||
"Sunnuntai"); | |||
// short day names | |||
Calendar._SDN = new Array | |||
("Su", | |||
"Ma", | |||
"Ti", | |||
"Ke", | |||
"To", | |||
"Pe", | |||
"La", | |||
"Su"); | |||
// full month names | |||
Calendar._MN = new Array | |||
("Tammikuu", | |||
"Helmikuu", | |||
"Maaliskuu", | |||
"Huhtikuu", | |||
"Toukokuu", | |||
"Kesäkuu", | |||
"Heinäkuu", | |||
"Elokuu", | |||
"Syyskuu", | |||
"Lokakuu", | |||
"Marraskuu", | |||
"Joulukuu"); | |||
// short month names | |||
Calendar._SMN = new Array | |||
("Tam", | |||
"Hel", | |||
"Maa", | |||
"Huh", | |||
"Tou", | |||
"Kes", | |||
"Hei", | |||
"Elo", | |||
"Syy", | |||
"Lok", | |||
"Mar", | |||
"Jou"); | |||
// tooltips | |||
Calendar._TT = {}; | |||
Calendar._TT["INFO"] = "Tietoja kalenterista"; | |||
Calendar._TT["ABOUT"] = | |||
"DHTML Date/Time Selector\n" + | |||
"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-) | |||
"Uusin versio osoitteessa: http://www.dynarch.com/projects/calendar/\n" + | |||
"Julkaistu GNU LGPL lisenssin alaisuudessa. Lisätietoja osoitteessa http://gnu.org/licenses/lgpl.html" + | |||
"\n\n" + | |||
"Päivämäärä valinta:\n" + | |||
"- Käytä \xab, \xbb painikkeita valitaksesi vuosi\n" + | |||
"- Käytä " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + " painikkeita valitaksesi kuukausi\n" + | |||
"- Pitämällä hiiren painiketta minkä tahansa yllä olevan painikkeen kohdalla, saat näkyviin valikon nopeampaan siirtymiseen."; | |||
Calendar._TT["ABOUT_TIME"] = "\n\n" + | |||
"Ajan valinta:\n" + | |||
"- Klikkaa kellonajan numeroita lisätäksesi aikaa\n" + | |||
"- tai pitämällä Shift-näppäintä pohjassa saat aikaa taaksepäin\n" + | |||
"- tai klikkaa ja pidä hiiren painike pohjassa sekä liikuta hiirtä muuttaaksesi aikaa nopeasti eteen- ja taaksepäin."; | |||
Calendar._TT["PREV_YEAR"] = "Edell. vuosi (paina hetki, näet valikon)"; | |||
Calendar._TT["PREV_MONTH"] = "Edell. kuukausi (paina hetki, näet valikon)"; | |||
Calendar._TT["GO_TODAY"] = "Siirry tähän päivään"; | |||
Calendar._TT["NEXT_MONTH"] = "Seur. kuukausi (paina hetki, näet valikon)"; | |||
Calendar._TT["NEXT_YEAR"] = "Seur. vuosi (paina hetki, näet valikon)"; | |||
Calendar._TT["SEL_DATE"] = "Valitse päivämäärä"; | |||
Calendar._TT["DRAG_TO_MOVE"] = "Siirrä kalenterin paikkaa"; | |||
Calendar._TT["PART_TODAY"] = " (tänään)"; | |||
Calendar._TT["MON_FIRST"] = "Näytä maanantai ensimmäisenä"; | |||
Calendar._TT["SUN_FIRST"] = "Näytä sunnuntai ensimmäisenä"; | |||
Calendar._TT["CLOSE"] = "Sulje"; | |||
Calendar._TT["TODAY"] = "Tänään"; | |||
Calendar._TT["TIME_PART"] = "(Shift-) Klikkaa tai liikuta muuttaaksesi aikaa"; | |||
// the following is to inform that "%s" is to be the first day of week | |||
// %s will be replaced with the day name. | |||
Calendar._TT["DAY_FIRST"] = "Näytä %s ensimmäisenä"; | |||
// This may be locale-dependent. It specifies the week-end days, as an array | |||
// of comma-separated numbers. The numbers are from 0 to 6: 0 means Sunday, 1 | |||
// means Monday, etc. | |||
Calendar._TT["WEEKEND"] = "0,6"; | |||
// date formats | |||
Calendar._TT["DEF_DATE_FORMAT"] = "%d.%m.%Y"; | |||
Calendar._TT["TT_DATE_FORMAT"] = "%d.%m.%Y"; | |||
Calendar._TT["WK"] = "Vko"; | |||
Calendar._TT["TIME"] = "Aika:"; |
@@ -0,0 +1,125 @@ | |||
// ** I18N | |||
// Calendar EN language | |||
// Author: Mihai Bazon, <mihai_bazon@yahoo.com> | |||
// Encoding: any | |||
// Distributed under the same terms as the calendar itself. | |||
// For translators: please use UTF-8 if possible. We strongly believe that | |||
// Unicode is the answer to a real internationalized world. Also please | |||
// include your contact information in the header, as can be seen above. | |||
// Translator: David Duret, <pilgrim@mala-template.net> from previous french version | |||
// full day names | |||
Calendar._DN = new Array | |||
("Dimanche", | |||
"Lundi", | |||
"Mardi", | |||
"Mercredi", | |||
"Jeudi", | |||
"Vendredi", | |||
"Samedi", | |||
"Dimanche"); | |||
// Please note that the following array of short day names (and the same goes | |||
// for short month names, _SMN) isn't absolutely necessary. We give it here | |||
// for exemplification on how one can customize the short day names, but if | |||
// they are simply the first N letters of the full name you can simply say: | |||
// | |||
// Calendar._SDN_len = N; // short day name length | |||
// Calendar._SMN_len = N; // short month name length | |||
// | |||
// If N = 3 then this is not needed either since we assume a value of 3 if not | |||
// present, to be compatible with translation files that were written before | |||
// this feature. | |||
// short day names | |||
Calendar._SDN = new Array | |||
("Dim", | |||
"Lun", | |||
"Mar", | |||
"Mar", | |||
"Jeu", | |||
"Ven", | |||
"Sam", | |||
"Dim"); | |||
// full month names | |||
Calendar._MN = new Array | |||
("Janvier", | |||
"Février", | |||
"Mars", | |||
"Avril", | |||
"Mai", | |||
"Juin", | |||
"Juillet", | |||
"Août", | |||
"Septembre", | |||
"Octobre", | |||
"Novembre", | |||
"Décembre"); | |||
// short month names | |||
Calendar._SMN = new Array | |||
("Jan", | |||
"Fev", | |||
"Mar", | |||
"Avr", | |||
"Mai", | |||
"Juin", | |||
"Juil", | |||
"Aout", | |||
"Sep", | |||
"Oct", | |||
"Nov", | |||
"Dec"); | |||
// tooltips | |||
Calendar._TT = {}; | |||
Calendar._TT["INFO"] = "A propos du calendrier"; | |||
Calendar._TT["ABOUT"] = | |||
"DHTML Date/Heure Selecteur\n" + | |||
"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-) | |||
"Pour la derniere version visitez : http://www.dynarch.com/projects/calendar/\n" + | |||
"Distribué par GNU LGPL. Voir http://gnu.org/licenses/lgpl.html pour les details." + | |||
"\n\n" + | |||
"Selection de la date :\n" + | |||
"- Utiliser les bouttons \xab, \xbb pour selectionner l\'annee\n" + | |||
"- Utiliser les bouttons " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + " pour selectionner les mois\n" + | |||
"- Garder la souris sur n'importe quels boutons pour une selection plus rapide"; | |||
Calendar._TT["ABOUT_TIME"] = "\n\n" + | |||
"Selection de l\'heure :\n" + | |||
"- Cliquer sur heures ou minutes pour incrementer\n" + | |||
"- ou Maj-clic pour decrementer\n" + | |||
"- ou clic et glisser-deplacer pour une selection plus rapide"; | |||
Calendar._TT["PREV_YEAR"] = "Année préc. (maintenir pour menu)"; | |||
Calendar._TT["PREV_MONTH"] = "Mois préc. (maintenir pour menu)"; | |||
Calendar._TT["GO_TODAY"] = "Atteindre la date du jour"; | |||
Calendar._TT["NEXT_MONTH"] = "Mois suiv. (maintenir pour menu)"; | |||
Calendar._TT["NEXT_YEAR"] = "Année suiv. (maintenir pour menu)"; | |||
Calendar._TT["SEL_DATE"] = "Sélectionner une date"; | |||
Calendar._TT["DRAG_TO_MOVE"] = "Déplacer"; | |||
Calendar._TT["PART_TODAY"] = " (Aujourd'hui)"; | |||
// the following is to inform that "%s" is to be the first day of week | |||
// %s will be replaced with the day name. | |||
Calendar._TT["DAY_FIRST"] = "Afficher %s en premier"; | |||
// This may be locale-dependent. It specifies the week-end days, as an array | |||
// of comma-separated numbers. The numbers are from 0 to 6: 0 means Sunday, 1 | |||
// means Monday, etc. | |||
Calendar._TT["WEEKEND"] = "0,6"; | |||
Calendar._TT["CLOSE"] = "Fermer"; | |||
Calendar._TT["TODAY"] = "Aujourd'hui"; | |||
Calendar._TT["TIME_PART"] = "(Maj-)Clic ou glisser pour modifier la valeur"; | |||
// date formats | |||
Calendar._TT["DEF_DATE_FORMAT"] = "%d/%m/%Y"; | |||
Calendar._TT["TT_DATE_FORMAT"] = "%a, %b %e"; | |||
Calendar._TT["WK"] = "Sem."; | |||
Calendar._TT["TIME"] = "Heure :"; |
@@ -0,0 +1,123 @@ | |||
// ** I18N | |||
// Calendar EN language | |||
// Author: Idan Sofer, <idan@idanso.dyndns.org> | |||
// Encoding: UTF-8 | |||
// Distributed under the same terms as the calendar itself. | |||
// For translators: please use UTF-8 if possible. We strongly believe that | |||
// Unicode is the answer to a real internationalized world. Also please | |||
// include your contact information in the header, as can be seen above. | |||
// full day names | |||
Calendar._DN = new Array | |||
("ראשון", | |||
"שני", | |||
"שלישי", | |||
"רביעי", | |||
"חמישי", | |||
"שישי", | |||
"שבת", | |||
"ראשון"); | |||
// Please note that the following array of short day names (and the same goes | |||
// for short month names, _SMN) isn't absolutely necessary. We give it here | |||
// for exemplification on how one can customize the short day names, but if | |||
// they are simply the first N letters of the full name you can simply say: | |||
// | |||
// Calendar._SDN_len = N; // short day name length | |||
// Calendar._SMN_len = N; // short month name length | |||
// | |||
// If N = 3 then this is not needed either since we assume a value of 3 if not | |||
// present, to be compatible with translation files that were written before | |||
// this feature. | |||
// short day names | |||
Calendar._SDN = new Array | |||
("א", | |||
"ב", | |||
"ג", | |||
"ד", | |||
"ה", | |||
"ו", | |||
"ש", | |||
"א"); | |||
// full month names | |||
Calendar._MN = new Array | |||
("ינואר", | |||
"פברואר", | |||
"מרץ", | |||
"אפריל", | |||
"מאי", | |||
"יוני", | |||
"יולי", | |||
"אוגוסט", | |||
"ספטמבר", | |||
"אוקטובר", | |||
"נובמבר", | |||
"דצמבר"); | |||
// short month names | |||
Calendar._SMN = new Array | |||
("ינא", | |||
"פבר", | |||
"מרץ", | |||
"אפר", | |||
"מאי", | |||
"יונ", | |||
"יול", | |||
"אוג", | |||
"ספט", | |||
"אוק", | |||
"נוב", | |||
"דצמ"); | |||
// tooltips | |||
Calendar._TT = {}; | |||
Calendar._TT["INFO"] = "אודות השנתון"; | |||
Calendar._TT["ABOUT"] = | |||
"בחרן תאריך/שעה DHTML\n" + | |||
"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-) | |||
"הגירסא האחרונה זמינה ב: http://www.dynarch.com/projects/calendar/\n" + | |||
"מופץ תחת זיכיון ה GNU LGPL. עיין ב http://gnu.org/licenses/lgpl.html לפרטים נוספים." + | |||
"\n\n" + | |||
בחירת תאריך:\n" + | |||
"- השתמש בכפתורים \xab, \xbb לבחירת שנה\n" + | |||
"- השתמש בכפתורים " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + " לבחירת חודש\n" + | |||
"- החזק העכבר לחוץ מעל הכפתורים המוזכרים לעיל לבחירה מהירה יותר."; | |||
Calendar._TT["ABOUT_TIME"] = "\n\n" + | |||
"בחירת זמן:\n" + | |||
"- לחץ על כל אחד מחלקי הזמן כדי להוסיף\n" + | |||
"- או shift בשילוב עם לחיצה כדי להחסיר\n" + | |||
"- או לחץ וגרור לפעולה מהירה יותר."; | |||
Calendar._TT["PREV_YEAR"] = "שנה קודמת - החזק לקבלת תפריט"; | |||
Calendar._TT["PREV_MONTH"] = "חודש קודם - החזק לקבלת תפריט"; | |||
Calendar._TT["GO_TODAY"] = "עבור להיום"; | |||
Calendar._TT["NEXT_MONTH"] = "חודש הבא - החזק לתפריט"; | |||
Calendar._TT["NEXT_YEAR"] = "שנה הבאה - החזק לתפריט"; | |||
Calendar._TT["SEL_DATE"] = "בחר תאריך"; | |||
Calendar._TT["DRAG_TO_MOVE"] = "גרור להזזה"; | |||
Calendar._TT["PART_TODAY"] = " )היום("; | |||
// the following is to inform that "%s" is to be the first day of week | |||
// %s will be replaced with the day name. | |||
Calendar._TT["DAY_FIRST"] = "הצג %s קודם"; | |||
// This may be locale-dependent. It specifies the week-end days, as an array | |||
// of comma-separated numbers. The numbers are from 0 to 6: 0 means Sunday, 1 | |||
// means Monday, etc. | |||
Calendar._TT["WEEKEND"] = "6"; | |||
Calendar._TT["CLOSE"] = "סגור"; | |||
Calendar._TT["TODAY"] = "היום"; | |||
Calendar._TT["TIME_PART"] = "(שיפט-)לחץ וגרור כדי לשנות ערך"; | |||
// date formats | |||
Calendar._TT["DEF_DATE_FORMAT"] = "%Y-%m-%d"; | |||
Calendar._TT["TT_DATE_FORMAT"] = "%a, %b %e"; | |||
Calendar._TT["WK"] = "wk"; | |||
Calendar._TT["TIME"] = "שעה::"; |
@@ -0,0 +1,49 @@ | |||
/* Croatian language file for the DHTML Calendar version 0.9.2 | |||
* Author Krunoslav Zubrinic <krunoslav.zubrinic@vip.hr>, June 2003. | |||
* Feel free to use this script under the terms of the GNU Lesser General | |||
* Public License, as long as you do not remove or alter this notice. | |||
*/ | |||
Calendar._DN = new Array | |||
("Nedjelja", | |||
"Ponedjeljak", | |||
"Utorak", | |||
"Srijeda", | |||
"Četvrtak", | |||
"Petak", | |||
"Subota", | |||
"Nedjelja"); | |||
Calendar._MN = new Array | |||
("Siječanj", | |||
"Veljača", | |||
"Ožujak", | |||
"Travanj", | |||
"Svibanj", | |||
"Lipanj", | |||
"Srpanj", | |||
"Kolovoz", | |||
"Rujan", | |||
"Listopad", | |||
"Studeni", | |||
"Prosinac"); | |||
// tooltips | |||
Calendar._TT = {}; | |||
Calendar._TT["TOGGLE"] = "Promjeni dan s kojim počinje tjedan"; | |||
Calendar._TT["PREV_YEAR"] = "Prethodna godina (dugi pritisak za meni)"; | |||
Calendar._TT["PREV_MONTH"] = "Prethodni mjesec (dugi pritisak za meni)"; | |||
Calendar._TT["GO_TODAY"] = "Idi na tekući dan"; | |||
Calendar._TT["NEXT_MONTH"] = "Slijedeći mjesec (dugi pritisak za meni)"; | |||
Calendar._TT["NEXT_YEAR"] = "Slijedeća godina (dugi pritisak za meni)"; | |||
Calendar._TT["SEL_DATE"] = "Izaberite datum"; | |||
Calendar._TT["DRAG_TO_MOVE"] = "Pritisni i povuci za promjenu pozicije"; | |||
Calendar._TT["PART_TODAY"] = " (today)"; | |||
Calendar._TT["MON_FIRST"] = "Prikaži ponedjeljak kao prvi dan"; | |||
Calendar._TT["SUN_FIRST"] = "Prikaži nedjelju kao prvi dan"; | |||
Calendar._TT["CLOSE"] = "Zatvori"; | |||
Calendar._TT["TODAY"] = "Danas"; | |||
// date formats | |||
Calendar._TT["DEF_DATE_FORMAT"] = "dd-mm-y"; | |||
Calendar._TT["TT_DATE_FORMAT"] = "DD, dd.mm.y"; | |||
Calendar._TT["WK"] = "Tje"; |
@@ -0,0 +1,124 @@ | |||
// ** I18N | |||
// Calendar HU language | |||
// Author: ??? | |||
// Modifier: KARASZI Istvan, <jscalendar@spam.raszi.hu> | |||
// Encoding: any | |||
// Distributed under the same terms as the calendar itself. | |||
// For translators: please use UTF-8 if possible. We strongly believe that | |||
// Unicode is the answer to a real internationalized world. Also please | |||
// include your contact information in the header, as can be seen above. | |||
// full day names | |||
Calendar._DN = new Array | |||
("Vasárnap", | |||
"Hétfõ", | |||
"Kedd", | |||
"Szerda", | |||
"Csütörtök", | |||
"Péntek", | |||
"Szombat", | |||
"Vasárnap"); | |||
// Please note that the following array of short day names (and the same goes | |||
// for short month names, _SMN) isn't absolutely necessary. We give it here | |||
// for exemplification on how one can customize the short day names, but if | |||
// they are simply the first N letters of the full name you can simply say: | |||
// | |||
// Calendar._SDN_len = N; // short day name length | |||
// Calendar._SMN_len = N; // short month name length | |||
// | |||
// If N = 3 then this is not needed either since we assume a value of 3 if not | |||
// present, to be compatible with translation files that were written before | |||
// this feature. | |||
// short day names | |||
Calendar._SDN = new Array | |||
("v", | |||
"h", | |||
"k", | |||
"sze", | |||
"cs", | |||
"p", | |||
"szo", | |||
"v"); | |||
// full month names | |||
Calendar._MN = new Array | |||
("január", | |||
"február", | |||
"március", | |||
"április", | |||
"május", | |||
"június", | |||
"július", | |||
"augusztus", | |||
"szeptember", | |||
"október", | |||
"november", | |||
"december"); | |||
// short month names | |||
Calendar._SMN = new Array | |||
("jan", | |||
"feb", | |||
"már", | |||
"ápr", | |||
"máj", | |||
"jún", | |||
"júl", | |||
"aug", | |||
"sze", | |||
"okt", | |||
"nov", | |||
"dec"); | |||
// tooltips | |||
Calendar._TT = {}; | |||
Calendar._TT["INFO"] = "A kalendáriumról"; | |||
Calendar._TT["ABOUT"] = | |||
"DHTML dátum/idõ kiválasztó\n" + | |||
"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-) | |||
"a legfrissebb verzió megtalálható: http://www.dynarch.com/projects/calendar/\n" + | |||
"GNU LGPL alatt terjesztve. Lásd a http://gnu.org/licenses/lgpl.html oldalt a részletekhez." + | |||
"\n\n" + | |||
"Dátum választás:\n" + | |||
"- használja a \xab, \xbb gombokat az év kiválasztásához\n" + | |||
"- használja a " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + " gombokat a hónap kiválasztásához\n" + | |||
"- tartsa lenyomva az egérgombot a gyors választáshoz."; | |||
Calendar._TT["ABOUT_TIME"] = "\n\n" + | |||
"Idõ választás:\n" + | |||
"- kattintva növelheti az idõt\n" + | |||
"- shift-tel kattintva csökkentheti\n" + | |||
"- lenyomva tartva és húzva gyorsabban kiválaszthatja."; | |||
Calendar._TT["PREV_YEAR"] = "Elõzõ év (tartsa nyomva a menühöz)"; | |||
Calendar._TT["PREV_MONTH"] = "Elõzõ hónap (tartsa nyomva a menühöz)"; | |||
Calendar._TT["GO_TODAY"] = "Mai napra ugrás"; | |||
Calendar._TT["NEXT_MONTH"] = "Köv. hónap (tartsa nyomva a menühöz)"; | |||
Calendar._TT["NEXT_YEAR"] = "Köv. év (tartsa nyomva a menühöz)"; | |||
Calendar._TT["SEL_DATE"] = "Válasszon dátumot"; | |||
Calendar._TT["DRAG_TO_MOVE"] = "Húzza a mozgatáshoz"; | |||
Calendar._TT["PART_TODAY"] = " (ma)"; | |||
// the following is to inform that "%s" is to be the first day of week | |||
// %s will be replaced with the day name. | |||
Calendar._TT["DAY_FIRST"] = "%s legyen a hét elsõ napja"; | |||
// This may be locale-dependent. It specifies the week-end days, as an array | |||
// of comma-separated numbers. The numbers are from 0 to 6: 0 means Sunday, 1 | |||
// means Monday, etc. | |||
Calendar._TT["WEEKEND"] = "0,6"; | |||
Calendar._TT["CLOSE"] = "Bezár"; | |||
Calendar._TT["TODAY"] = "Ma"; | |||
Calendar._TT["TIME_PART"] = "(Shift-)Klikk vagy húzás az érték változtatásához"; | |||
// date formats | |||
Calendar._TT["DEF_DATE_FORMAT"] = "%Y-%m-%d"; | |||
Calendar._TT["TT_DATE_FORMAT"] = "%b %e, %a"; | |||
Calendar._TT["WK"] = "hét"; | |||
Calendar._TT["TIME"] = "idõ:"; |
@@ -0,0 +1,124 @@ | |||
// ** I18N | |||
// Calendar EN language | |||
// Author: Mihai Bazon, <mihai_bazon@yahoo.com> | |||
// Translator: Fabio Di Bernardini, <altraqua@email.it> | |||
// Encoding: any | |||
// Distributed under the same terms as the calendar itself. | |||
// For translators: please use UTF-8 if possible. We strongly believe that | |||
// Unicode is the answer to a real internationalized world. Also please | |||
// include your contact information in the header, as can be seen above. | |||
// full day names | |||
Calendar._DN = new Array | |||
("Domenica", | |||
"Lunedì", | |||
"Martedì", | |||
"Mercoledì", | |||
"Giovedì", | |||
"Venerdì", | |||
"Sabato", | |||
"Domenica"); | |||
// Please note that the following array of short day names (and the same goes | |||
// for short month names, _SMN) isn't absolutely necessary. We give it here | |||
// for exemplification on how one can customize the short day names, but if | |||
// they are simply the first N letters of the full name you can simply say: | |||
// | |||
// Calendar._SDN_len = N; // short day name length | |||
// Calendar._SMN_len = N; // short month name length | |||
// | |||
// If N = 3 then this is not needed either since we assume a value of 3 if not | |||
// present, to be compatible with translation files that were written before | |||
// this feature. | |||
// short day names | |||
Calendar._SDN = new Array | |||
("Dom", | |||
"Lun", | |||
"Mar", | |||
"Mer", | |||
"Gio", | |||
"Ven", | |||
"Sab", | |||
"Dom"); | |||
// full month names | |||
Calendar._MN = new Array | |||
("Gennaio", | |||
"Febbraio", | |||
"Marzo", | |||
"Aprile", | |||
"Maggio", | |||
"Giugno", | |||
"Luglio", | |||
"Augosto", | |||
"Settembre", | |||
"Ottobre", | |||
"Novembre", | |||
"Dicembre"); | |||
// short month names | |||
Calendar._SMN = new Array | |||
("Gen", | |||
"Feb", | |||
"Mar", | |||
"Apr", | |||
"Mag", | |||
"Giu", | |||
"Lug", | |||
"Ago", | |||
"Set", | |||
"Ott", | |||
"Nov", | |||
"Dic"); | |||
// tooltips | |||
Calendar._TT = {}; | |||
Calendar._TT["INFO"] = "Informazioni sul calendario"; | |||
Calendar._TT["ABOUT"] = | |||
"DHTML Date/Time Selector\n" + | |||
"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-) | |||
"Per gli aggiornamenti: http://www.dynarch.com/projects/calendar/\n" + | |||
"Distribuito sotto licenza GNU LGPL. Vedi http://gnu.org/licenses/lgpl.html per i dettagli." + | |||
"\n\n" + | |||
"Selezione data:\n" + | |||
"- Usa \xab, \xbb per selezionare l'anno\n" + | |||
"- Usa " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + " per i mesi\n" + | |||
"- Tieni premuto a lungo il mouse per accedere alle funzioni di selezione veloce."; | |||
Calendar._TT["ABOUT_TIME"] = "\n\n" + | |||
"Selezione orario:\n" + | |||
"- Clicca sul numero per incrementarlo\n" + | |||
"- o Shift+click per decrementarlo\n" + | |||
"- o click e sinistra o destra per variarlo."; | |||
Calendar._TT["PREV_YEAR"] = "Anno prec.(clicca a lungo per il menù)"; | |||
Calendar._TT["PREV_MONTH"] = "Mese prec. (clicca a lungo per il menù)"; | |||
Calendar._TT["GO_TODAY"] = "Oggi"; | |||
Calendar._TT["NEXT_MONTH"] = "Pross. mese (clicca a lungo per il menù)"; | |||
Calendar._TT["NEXT_YEAR"] = "Pross. anno (clicca a lungo per il menù)"; | |||
Calendar._TT["SEL_DATE"] = "Seleziona data"; | |||
Calendar._TT["DRAG_TO_MOVE"] = "Trascina per spostarlo"; | |||
Calendar._TT["PART_TODAY"] = " (oggi)"; | |||
// the following is to inform that "%s" is to be the first day of week | |||
// %s will be replaced with the day name. | |||
Calendar._TT["DAY_FIRST"] = "Mostra prima %s"; | |||
// This may be locale-dependent. It specifies the week-end days, as an array | |||
// of comma-separated numbers. The numbers are from 0 to 6: 0 means Sunday, 1 | |||
// means Monday, etc. | |||
Calendar._TT["WEEKEND"] = "0,6"; | |||
Calendar._TT["CLOSE"] = "Chiudi"; | |||
Calendar._TT["TODAY"] = "Oggi"; | |||
Calendar._TT["TIME_PART"] = "(Shift-)Click o trascina per cambiare il valore"; | |||
// date formats | |||
Calendar._TT["DEF_DATE_FORMAT"] = "%d-%m-%Y"; | |||
Calendar._TT["TT_DATE_FORMAT"] = "%a:%b:%e"; | |||
Calendar._TT["WK"] = "set"; | |||
Calendar._TT["TIME"] = "Ora:"; |
@@ -0,0 +1,45 @@ | |||
// ** I18N | |||
Calendar._DN = new Array | |||
("日", | |||
"月", | |||
"火", | |||
"水", | |||
"木", | |||
"金", | |||
"土", | |||
"日"); | |||
Calendar._MN = new Array | |||
("1月", | |||
"2月", | |||
"3月", | |||
"4月", | |||
"5月", | |||
"6月", | |||
"7月", | |||
"8月", | |||
"9月", | |||
"10月", | |||
"11月", | |||
"12月"); | |||
// tooltips | |||
Calendar._TT = {}; | |||
Calendar._TT["TOGGLE"] = "週の最初の曜日を切り替え"; | |||
Calendar._TT["PREV_YEAR"] = "前年"; | |||
Calendar._TT["PREV_MONTH"] = "前月"; | |||
Calendar._TT["GO_TODAY"] = "今日"; | |||
Calendar._TT["NEXT_MONTH"] = "翌月"; | |||
Calendar._TT["NEXT_YEAR"] = "翌年"; | |||
Calendar._TT["SEL_DATE"] = "日付選択"; | |||
Calendar._TT["DRAG_TO_MOVE"] = "ウィンドウの移動"; | |||
Calendar._TT["PART_TODAY"] = " (今日)"; | |||
Calendar._TT["MON_FIRST"] = "月曜日を先頭に"; | |||
Calendar._TT["SUN_FIRST"] = "日曜日を先頭に"; | |||
Calendar._TT["CLOSE"] = "閉じる"; | |||
Calendar._TT["TODAY"] = "今日"; | |||
// date formats | |||
Calendar._TT["DEF_DATE_FORMAT"] = "y-mm-dd"; | |||
Calendar._TT["TT_DATE_FORMAT"] = "%m月 %d日 (%a)"; | |||
Calendar._TT["WK"] = "週"; |
@@ -0,0 +1,120 @@ | |||
// ** I18N | |||
// Calendar EN language | |||
// Author: Mihai Bazon, <mihai_bazon@yahoo.com> | |||
// Translation: Yourim Yi <yyi@yourim.net> | |||
// Encoding: EUC-KR | |||
// lang : ko | |||
// Distributed under the same terms as the calendar itself. | |||
// For translators: please use UTF-8 if possible. We strongly believe that | |||
// Unicode is the answer to a real internationalized world. Also please | |||
// include your contact information in the header, as can be seen above. | |||
// full day names | |||
Calendar._DN = new Array | |||
("일요일", | |||
"월요일", | |||
"화요일", | |||
"수요일", | |||
"목요일", | |||
"금요일", | |||
"토요일", | |||
"일요일"); | |||
// Please note that the following array of short day names (and the same goes | |||
// for short month names, _SMN) isn't absolutely necessary. We give it here | |||
// for exemplification on how one can customize the short day names, but if | |||
// they are simply the first N letters of the full name you can simply say: | |||
// | |||
// Calendar._SDN_len = N; // short day name length | |||
// Calendar._SMN_len = N; // short month name length | |||
// | |||
// If N = 3 then this is not needed either since we assume a value of 3 if not | |||
// present, to be compatible with translation files that were written before | |||
// this feature. | |||
// short day names | |||
Calendar._SDN = new Array | |||
("일", | |||
"월", | |||
"화", | |||
"수", | |||
"목", | |||
"금", | |||
"토", | |||
"일"); | |||
// full month names | |||
Calendar._MN = new Array | |||
("1월", | |||
"2월", | |||
"3월", | |||
"4월", | |||
"5월", | |||
"6월", | |||
"7월", | |||
"8월", | |||
"9월", | |||
"10월", | |||
"11월", | |||
"12월"); | |||
// short month names | |||
Calendar._SMN = new Array | |||
("1", | |||
"2", | |||
"3", | |||
"4", | |||
"5", | |||
"6", | |||
"7", | |||
"8", | |||
"9", | |||
"10", | |||
"11", | |||
"12"); | |||
// tooltips | |||
Calendar._TT = {}; | |||
Calendar._TT["INFO"] = "calendar 에 대해서"; | |||
Calendar._TT["ABOUT"] = | |||
"DHTML Date/Time Selector\n" + | |||
"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-) | |||
"\n"+ | |||
"최신 버전을 받으시려면 http://www.dynarch.com/projects/calendar/ 에 방문하세요\n" + | |||
"\n"+ | |||
"GNU LGPL 라이센스로 배포됩니다. \n"+ | |||
"라이센스에 대한 자세한 내용은 http://gnu.org/licenses/lgpl.html 을 읽으세요." + | |||
"\n\n" + | |||
"날짜 선택:\n" + | |||
"- 연도를 선택하려면 \xab, \xbb 버튼을 사용합니다\n" + | |||
"- 달을 선택하려면 " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + " 버튼을 누르세요\n" + | |||
"- 계속 누르고 있으면 위 값들을 빠르게 선택하실 수 있습니다."; | |||
Calendar._TT["ABOUT_TIME"] = "\n\n" + | |||
"시간 선택:\n" + | |||
"- 마우스로 누르면 시간이 증가합니다\n" + | |||
"- Shift 키와 함께 누르면 감소합니다\n" + | |||
"- 누른 상태에서 마우스를 움직이면 좀 더 빠르게 값이 변합니다.\n"; | |||
Calendar._TT["PREV_YEAR"] = "지난 해 (길게 누르면 목록)"; | |||
Calendar._TT["PREV_MONTH"] = "지난 달 (길게 누르면 목록)"; | |||
Calendar._TT["GO_TODAY"] = "오늘 날짜로"; | |||
Calendar._TT["NEXT_MONTH"] = "다음 달 (길게 누르면 목록)"; | |||
Calendar._TT["NEXT_YEAR"] = "다음 해 (길게 누르면 목록)"; | |||
Calendar._TT["SEL_DATE"] = "날짜를 선택하세요"; | |||
Calendar._TT["DRAG_TO_MOVE"] = "마우스 드래그로 이동 하세요"; | |||
Calendar._TT["PART_TODAY"] = " (오늘)"; | |||
Calendar._TT["MON_FIRST"] = "월요일을 한 주의 시작 요일로"; | |||
Calendar._TT["SUN_FIRST"] = "일요일을 한 주의 시작 요일로"; | |||
Calendar._TT["CLOSE"] = "닫기"; | |||
Calendar._TT["TODAY"] = "오늘"; | |||
Calendar._TT["TIME_PART"] = "(Shift-)클릭 또는 드래그 하세요"; | |||
// date formats | |||
Calendar._TT["DEF_DATE_FORMAT"] = "%Y-%m-%d"; | |||
Calendar._TT["TT_DATE_FORMAT"] = "%b/%e [%a]"; | |||
Calendar._TT["WK"] = "주"; |
@@ -0,0 +1,120 @@ | |||
// ** I18N | |||
// Calendar EN language | |||
// Author: Mihai Bazon, <mihai_bazon@yahoo.com> | |||
// Translation: Yourim Yi <yyi@yourim.net> | |||
// Encoding: EUC-KR | |||
// lang : ko | |||
// Distributed under the same terms as the calendar itself. | |||
// For translators: please use UTF-8 if possible. We strongly believe that | |||
// Unicode is the answer to a real internationalized world. Also please | |||
// include your contact information in the header, as can be seen above. | |||
// full day names | |||
Calendar._DN = new Array | |||
("일요일", | |||
"월요일", | |||
"화요일", | |||
"수요일", | |||
"목요일", | |||
"금요일", | |||
"토요일", | |||
"일요일"); | |||
// Please note that the following array of short day names (and the same goes | |||
// for short month names, _SMN) isn't absolutely necessary. We give it here | |||
// for exemplification on how one can customize the short day names, but if | |||
// they are simply the first N letters of the full name you can simply say: | |||
// | |||
// Calendar._SDN_len = N; // short day name length | |||
// Calendar._SMN_len = N; // short month name length | |||
// | |||
// If N = 3 then this is not needed either since we assume a value of 3 if not | |||
// present, to be compatible with translation files that were written before | |||
// this feature. | |||
// short day names | |||
Calendar._SDN = new Array | |||
("일", | |||
"월", | |||
"화", | |||
"수", | |||
"목", | |||
"금", | |||
"토", | |||
"일"); | |||
// full month names | |||
Calendar._MN = new Array | |||
("1월", | |||
"2월", | |||
"3월", | |||
"4월", | |||
"5월", | |||
"6월", | |||
"7월", | |||
"8월", | |||
"9월", | |||
"10월", | |||
"11월", | |||
"12월"); | |||
// short month names | |||
Calendar._SMN = new Array | |||
("1", | |||
"2", | |||
"3", | |||
"4", | |||
"5", | |||
"6", | |||
"7", | |||
"8", | |||
"9", | |||
"10", | |||
"11", | |||
"12"); | |||
// tooltips | |||
Calendar._TT = {}; | |||
Calendar._TT["INFO"] = "calendar 에 대해서"; | |||
Calendar._TT["ABOUT"] = | |||
"DHTML Date/Time Selector\n" + | |||
"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-) | |||
"\n"+ | |||
"최신 버전을 받으시려면 http://www.dynarch.com/projects/calendar/ 에 방문하세요\n" + | |||
"\n"+ | |||
"GNU LGPL 라이센스로 배포됩니다. \n"+ | |||
"라이센스에 대한 자세한 내용은 http://gnu.org/licenses/lgpl.html 을 읽으세요." + | |||
"\n\n" + | |||
"날짜 선택:\n" + | |||
"- 연도를 선택하려면 \xab, \xbb 버튼을 사용합니다\n" + | |||
"- 달을 선택하려면 " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + " 버튼을 누르세요\n" + | |||
"- 계속 누르고 있으면 위 값들을 빠르게 선택하실 수 있습니다."; | |||
Calendar._TT["ABOUT_TIME"] = "\n\n" + | |||
"시간 선택:\n" + | |||
"- 마우스로 누르면 시간이 증가합니다\n" + | |||
"- Shift 키와 함께 누르면 감소합니다\n" + | |||
"- 누른 상태에서 마우스를 움직이면 좀 더 빠르게 값이 변합니다.\n"; | |||
Calendar._TT["PREV_YEAR"] = "지난 해 (길게 누르면 목록)"; | |||
Calendar._TT["PREV_MONTH"] = "지난 달 (길게 누르면 목록)"; | |||
Calendar._TT["GO_TODAY"] = "오늘 날짜로"; | |||
Calendar._TT["NEXT_MONTH"] = "다음 달 (길게 누르면 목록)"; | |||
Calendar._TT["NEXT_YEAR"] = "다음 해 (길게 누르면 목록)"; | |||
Calendar._TT["SEL_DATE"] = "날짜를 선택하세요"; | |||
Calendar._TT["DRAG_TO_MOVE"] = "마우스 드래그로 이동 하세요"; | |||
Calendar._TT["PART_TODAY"] = " (오늘)"; | |||
Calendar._TT["MON_FIRST"] = "월요일을 한 주의 시작 요일로"; | |||
Calendar._TT["SUN_FIRST"] = "일요일을 한 주의 시작 요일로"; | |||
Calendar._TT["CLOSE"] = "닫기"; | |||
Calendar._TT["TODAY"] = "오늘"; | |||
Calendar._TT["TIME_PART"] = "(Shift-)클릭 또는 드래그 하세요"; | |||
// date formats | |||
Calendar._TT["DEF_DATE_FORMAT"] = "%Y-%m-%d"; | |||
Calendar._TT["TT_DATE_FORMAT"] = "%b/%e [%a]"; | |||
Calendar._TT["WK"] = "주"; |
@@ -0,0 +1,114 @@ | |||
// ** I18N | |||
// Calendar LT language | |||
// Author: Martynas Majeris, <martynas@solmetra.lt> | |||
// Encoding: UTF-8 | |||
// Distributed under the same terms as the calendar itself. | |||
// For translators: please use UTF-8 if possible. We strongly believe that | |||
// Unicode is the answer to a real internationalized world. Also please | |||
// include your contact information in the header, as can be seen above. | |||
// full day names | |||
Calendar._DN = new Array | |||
("Sekmadienis", | |||
"Pirmadienis", | |||
"Antradienis", | |||
"Trečiadienis", | |||
"Ketvirtadienis", | |||
"Pentadienis", | |||
"Šeštadienis", | |||
"Sekmadienis"); | |||
// Please note that the following array of short day names (and the same goes | |||
// for short month names, _SMN) isn't absolutely necessary. We give it here | |||
// for exemplification on how one can customize the short day names, but if | |||
// they are simply the first N letters of the full name you can simply say: | |||
// | |||
// Calendar._SDN_len = N; // short day name length | |||
// Calendar._SMN_len = N; // short month name length | |||
// | |||
// If N = 3 then this is not needed either since we assume a value of 3 if not | |||
// present, to be compatible with translation files that were written before | |||
// this feature. | |||
// short day names | |||
Calendar._SDN = new Array | |||
("Sek", | |||
"Pir", | |||
"Ant", | |||
"Tre", | |||
"Ket", | |||
"Pen", | |||
"Šeš", | |||
"Sek"); | |||
// full month names | |||
Calendar._MN = new Array | |||
("Sausis", | |||
"Vasaris", | |||
"Kovas", | |||
"Balandis", | |||
"Gegužė", | |||
"Birželis", | |||
"Liepa", | |||
"Rugpjūtis", | |||
"Rugsėjis", | |||
"Spalis", | |||
"Lapkritis", | |||
"Gruodis"); | |||
// short month names | |||
Calendar._SMN = new Array | |||
("Sau", | |||
"Vas", | |||
"Kov", | |||
"Bal", | |||
"Geg", | |||
"Bir", | |||
"Lie", | |||
"Rgp", | |||
"Rgs", | |||
"Spa", | |||
"Lap", | |||
"Gru"); | |||
// tooltips | |||
Calendar._TT = {}; | |||
Calendar._TT["INFO"] = "Apie kalendorių"; | |||
Calendar._TT["ABOUT"] = | |||
"DHTML Date/Time Selector\n" + | |||
"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-) | |||
"Naujausią versiją rasite: http://www.dynarch.com/projects/calendar/\n" + | |||
"Platinamas pagal GNU LGPL licenciją. Aplankykite http://gnu.org/licenses/lgpl.html" + | |||
"\n\n" + | |||
"Datos pasirinkimas:\n" + | |||
"- Metų pasirinkimas: \xab, \xbb\n" + | |||
"- Mėnesio pasirinkimas: " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + "\n" + | |||
"- Nuspauskite ir laikykite pelės klavišą greitesniam pasirinkimui."; | |||
Calendar._TT["ABOUT_TIME"] = "\n\n" + | |||
"Laiko pasirinkimas:\n" + | |||
"- Spustelkite ant valandų arba minučių - skaičius padidės vienetu.\n" + | |||
"- Jei spausite kartu su Shift, skaičius sumažės.\n" + | |||
"- Greitam pasirinkimui spustelkite ir pajudinkite pelę."; | |||
Calendar._TT["PREV_YEAR"] = "Ankstesni metai (laikykite, jei norite meniu)"; | |||
Calendar._TT["PREV_MONTH"] = "Ankstesnis mėnuo (laikykite, jei norite meniu)"; | |||
Calendar._TT["GO_TODAY"] = "Pasirinkti šiandieną"; | |||
Calendar._TT["NEXT_MONTH"] = "Kitas mėnuo (laikykite, jei norite meniu)"; | |||
Calendar._TT["NEXT_YEAR"] = "Kiti metai (laikykite, jei norite meniu)"; | |||
Calendar._TT["SEL_DATE"] = "Pasirinkite datą"; | |||
Calendar._TT["DRAG_TO_MOVE"] = "Tempkite"; | |||
Calendar._TT["PART_TODAY"] = " (šiandien)"; | |||
Calendar._TT["MON_FIRST"] = "Pirma savaitės diena - pirmadienis"; | |||
Calendar._TT["SUN_FIRST"] = "Pirma savaitės diena - sekmadienis"; | |||
Calendar._TT["CLOSE"] = "Uždaryti"; | |||
Calendar._TT["TODAY"] = "Šiandien"; | |||
Calendar._TT["TIME_PART"] = "Spustelkite arba tempkite jei norite pakeisti"; | |||
// date formats | |||
Calendar._TT["DEF_DATE_FORMAT"] = "%Y-%m-%d"; | |||
Calendar._TT["TT_DATE_FORMAT"] = "%A, %Y-%m-%d"; | |||
Calendar._TT["WK"] = "sav"; |
@@ -0,0 +1,114 @@ | |||
// ** I18N | |||
// Calendar LT language | |||
// Author: Martynas Majeris, <martynas@solmetra.lt> | |||
// Encoding: Windows-1257 | |||
// Distributed under the same terms as the calendar itself. | |||
// For translators: please use UTF-8 if possible. We strongly believe that | |||
// Unicode is the answer to a real internationalized world. Also please | |||
// include your contact information in the header, as can be seen above. | |||
// full day names | |||
Calendar._DN = new Array | |||
("Sekmadienis", | |||
"Pirmadienis", | |||
"Antradienis", | |||
"Treèiadienis", | |||
"Ketvirtadienis", | |||
"Pentadienis", | |||
"Ðeðtadienis", | |||
"Sekmadienis"); | |||
// Please note that the following array of short day names (and the same goes | |||
// for short month names, _SMN) isn't absolutely necessary. We give it here | |||
// for exemplification on how one can customize the short day names, but if | |||
// they are simply the first N letters of the full name you can simply say: | |||
// | |||
// Calendar._SDN_len = N; // short day name length | |||
// Calendar._SMN_len = N; // short month name length | |||
// | |||
// If N = 3 then this is not needed either since we assume a value of 3 if not | |||
// present, to be compatible with translation files that were written before | |||
// this feature. | |||
// short day names | |||
Calendar._SDN = new Array | |||
("Sek", | |||
"Pir", | |||
"Ant", | |||
"Tre", | |||
"Ket", | |||
"Pen", | |||
"Ðeð", | |||
"Sek"); | |||
// full month names | |||
Calendar._MN = new Array | |||
("Sausis", | |||
"Vasaris", | |||
"Kovas", | |||
"Balandis", | |||
"Geguþë", | |||
"Birþelis", | |||
"Liepa", | |||
"Rugpjûtis", | |||
"Rugsëjis", | |||
"Spalis", | |||
"Lapkritis", | |||
"Gruodis"); | |||
// short month names | |||
Calendar._SMN = new Array | |||
("Sau", | |||
"Vas", | |||
"Kov", | |||
"Bal", | |||
"Geg", | |||
"Bir", | |||
"Lie", | |||
"Rgp", | |||
"Rgs", | |||
"Spa", | |||
"Lap", | |||
"Gru"); | |||
// tooltips | |||
Calendar._TT = {}; | |||
Calendar._TT["INFO"] = "Apie kalendoriø"; | |||
Calendar._TT["ABOUT"] = | |||
"DHTML Date/Time Selector\n" + | |||
"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-) | |||
"Naujausià versijà rasite: http://www.dynarch.com/projects/calendar/\n" + | |||
"Platinamas pagal GNU LGPL licencijà. Aplankykite http://gnu.org/licenses/lgpl.html" + | |||
"\n\n" + | |||
"Datos pasirinkimas:\n" + | |||
"- Metø pasirinkimas: \xab, \xbb\n" + | |||
"- Mënesio pasirinkimas: " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + "\n" + | |||
"- Nuspauskite ir laikykite pelës klaviðà greitesniam pasirinkimui."; | |||
Calendar._TT["ABOUT_TIME"] = "\n\n" + | |||
"Laiko pasirinkimas:\n" + | |||
"- Spustelkite ant valandø arba minuèiø - skaièus padidës vienetu.\n" + | |||
"- Jei spausite kartu su Shift, skaièius sumaþës.\n" + | |||
"- Greitam pasirinkimui spustelkite ir pajudinkite pelæ."; | |||
Calendar._TT["PREV_YEAR"] = "Ankstesni metai (laikykite, jei norite meniu)"; | |||
Calendar._TT["PREV_MONTH"] = "Ankstesnis mënuo (laikykite, jei norite meniu)"; | |||
Calendar._TT["GO_TODAY"] = "Pasirinkti ðiandienà"; | |||
Calendar._TT["NEXT_MONTH"] = "Kitas mënuo (laikykite, jei norite meniu)"; | |||
Calendar._TT["NEXT_YEAR"] = "Kiti metai (laikykite, jei norite meniu)"; | |||
Calendar._TT["SEL_DATE"] = "Pasirinkite datà"; | |||
Calendar._TT["DRAG_TO_MOVE"] = "Tempkite"; | |||
Calendar._TT["PART_TODAY"] = " (ðiandien)"; | |||
Calendar._TT["MON_FIRST"] = "Pirma savaitës diena - pirmadienis"; | |||
Calendar._TT["SUN_FIRST"] = "Pirma savaitës diena - sekmadienis"; | |||
Calendar._TT["CLOSE"] = "Uþdaryti"; | |||
Calendar._TT["TODAY"] = "Ðiandien"; | |||
Calendar._TT["TIME_PART"] = "Spustelkite arba tempkite jei norite pakeisti"; | |||
// date formats | |||
Calendar._TT["DEF_DATE_FORMAT"] = "%Y-%m-%d"; | |||
Calendar._TT["TT_DATE_FORMAT"] = "%A, %Y-%m-%d"; | |||
Calendar._TT["WK"] = "sav"; |
@@ -0,0 +1,123 @@ | |||
// ** I18N | |||
// Calendar LV language | |||
// Author: Juris Valdovskis, <juris@dc.lv> | |||
// Encoding: cp1257 | |||
// Distributed under the same terms as the calendar itself. | |||
// For translators: please use UTF-8 if possible. We strongly believe that | |||
// Unicode is the answer to a real internationalized world. Also please | |||
// include your contact information in the header, as can be seen above. | |||
// full day names | |||
Calendar._DN = new Array | |||
("Svçtdiena", | |||
"Pirmdiena", | |||
"Otrdiena", | |||
"Treðdiena", | |||
"Ceturdiena", | |||
"Piektdiena", | |||
"Sestdiena", | |||
"Svçtdiena"); | |||
// Please note that the following array of short day names (and the same goes | |||
// for short month names, _SMN) isn't absolutely necessary. We give it here | |||
// for exemplification on how one can customize the short day names, but if | |||
// they are simply the first N letters of the full name you can simply say: | |||
// | |||
// Calendar._SDN_len = N; // short day name length | |||
// Calendar._SMN_len = N; // short month name length | |||
// | |||
// If N = 3 then this is not needed either since we assume a value of 3 if not | |||
// present, to be compatible with translation files that were written before | |||
// this feature. | |||
// short day names | |||
Calendar._SDN = new Array | |||
("Sv", | |||
"Pr", | |||
"Ot", | |||
"Tr", | |||
"Ce", | |||
"Pk", | |||
"Se", | |||
"Sv"); | |||
// full month names | |||
Calendar._MN = new Array | |||
("Janvâris", | |||
"Februâris", | |||
"Marts", | |||
"Aprîlis", | |||
"Maijs", | |||
"Jûnijs", | |||
"Jûlijs", | |||
"Augusts", | |||
"Septembris", | |||
"Oktobris", | |||
"Novembris", | |||
"Decembris"); | |||
// short month names | |||
Calendar._SMN = new Array | |||
("Jan", | |||
"Feb", | |||
"Mar", | |||
"Apr", | |||
"Mai", | |||
"Jûn", | |||
"Jûl", | |||
"Aug", | |||
"Sep", | |||
"Okt", | |||
"Nov", | |||
"Dec"); | |||
// tooltips | |||
Calendar._TT = {}; | |||
Calendar._TT["INFO"] = "Par kalendâru"; | |||
Calendar._TT["ABOUT"] = | |||
"DHTML Date/Time Selector\n" + | |||
"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-) | |||
"For latest version visit: http://www.dynarch.com/projects/calendar/\n" + | |||
"Distributed under GNU LGPL. See http://gnu.org/licenses/lgpl.html for details." + | |||
"\n\n" + | |||
"Datuma izvçle:\n" + | |||
"- Izmanto \xab, \xbb pogas, lai izvçlçtos gadu\n" + | |||
"- Izmanto " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + "pogas, lai izvçlçtos mçnesi\n" + | |||
"- Turi nospiestu peles pogu uz jebkuru no augstâk minçtajâm pogâm, lai paâtrinâtu izvçli."; | |||
Calendar._TT["ABOUT_TIME"] = "\n\n" + | |||
"Laika izvçle:\n" + | |||
"- Uzklikðíini uz jebkuru no laika daïâm, lai palielinâtu to\n" + | |||
"- vai Shift-klikðíis, lai samazinâtu to\n" + | |||
"- vai noklikðíini un velc uz attiecîgo virzienu lai mainîtu âtrâk."; | |||
Calendar._TT["PREV_YEAR"] = "Iepr. gads (turi izvçlnei)"; | |||
Calendar._TT["PREV_MONTH"] = "Iepr. mçnesis (turi izvçlnei)"; | |||
Calendar._TT["GO_TODAY"] = "Ðodien"; | |||
Calendar._TT["NEXT_MONTH"] = "Nâkoðais mçnesis (turi izvçlnei)"; | |||
Calendar._TT["NEXT_YEAR"] = "Nâkoðais gads (turi izvçlnei)"; | |||
Calendar._TT["SEL_DATE"] = "Izvçlies datumu"; | |||
Calendar._TT["DRAG_TO_MOVE"] = "Velc, lai pârvietotu"; | |||
Calendar._TT["PART_TODAY"] = " (ðodien)"; | |||
// the following is to inform that "%s" is to be the first day of week | |||
// %s will be replaced with the day name. | |||
Calendar._TT["DAY_FIRST"] = "Attçlot %s kâ pirmo"; | |||
// This may be locale-dependent. It specifies the week-end days, as an array | |||
// of comma-separated numbers. The numbers are from 0 to 6: 0 means Sunday, 1 | |||
// means Monday, etc. | |||
Calendar._TT["WEEKEND"] = "1,7"; | |||
Calendar._TT["CLOSE"] = "Aizvçrt"; | |||
Calendar._TT["TODAY"] = "Ðodien"; | |||
Calendar._TT["TIME_PART"] = "(Shift-)Klikðíis vai pârvieto, lai mainîtu"; | |||
// date formats | |||
Calendar._TT["DEF_DATE_FORMAT"] = "%d-%m-%Y"; | |||
Calendar._TT["TT_DATE_FORMAT"] = "%a, %e %b"; | |||
Calendar._TT["WK"] = "wk"; | |||
Calendar._TT["TIME"] = "Laiks:"; |
@@ -0,0 +1,73 @@ | |||
// ** I18N | |||
Calendar._DN = new Array | |||
("Zondag", | |||
"Maandag", | |||
"Dinsdag", | |||
"Woensdag", | |||
"Donderdag", | |||
"Vrijdag", | |||
"Zaterdag", | |||
"Zondag"); | |||
Calendar._SDN_len = 2; | |||
Calendar._MN = new Array | |||
("Januari", | |||
"Februari", | |||
"Maart", | |||
"April", | |||
"Mei", | |||
"Juni", | |||
"Juli", | |||
"Augustus", | |||
"September", | |||
"Oktober", | |||
"November", | |||
"December"); | |||
// tooltips | |||
Calendar._TT = {}; | |||
Calendar._TT["INFO"] = "Info"; | |||
Calendar._TT["ABOUT"] = | |||
"DHTML Datum/Tijd Selector\n" + | |||
"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + | |||
"Ga voor de meest recente versie naar: http://www.dynarch.com/projects/calendar/\n" + | |||
"Verspreid onder de GNU LGPL. Zie http://gnu.org/licenses/lgpl.html voor details." + | |||
"\n\n" + | |||
"Datum selectie:\n" + | |||
"- Gebruik de \xab \xbb knoppen om een jaar te selecteren\n" + | |||
"- Gebruik de " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + " knoppen om een maand te selecteren\n" + | |||
"- Houd de muis ingedrukt op de genoemde knoppen voor een snellere selectie."; | |||
Calendar._TT["ABOUT_TIME"] = "\n\n" + | |||
"Tijd selectie:\n" + | |||
"- Klik op een willekeurig onderdeel van het tijd gedeelte om het te verhogen\n" + | |||
"- of Shift-klik om het te verlagen\n" + | |||
"- of klik en sleep voor een snellere selectie."; | |||
//Calendar._TT["TOGGLE"] = "Selecteer de eerste week-dag"; | |||
Calendar._TT["PREV_YEAR"] = "Vorig jaar (ingedrukt voor menu)"; | |||
Calendar._TT["PREV_MONTH"] = "Vorige maand (ingedrukt voor menu)"; | |||
Calendar._TT["GO_TODAY"] = "Ga naar Vandaag"; | |||
Calendar._TT["NEXT_MONTH"] = "Volgende maand (ingedrukt voor menu)"; | |||
Calendar._TT["NEXT_YEAR"] = "Volgend jaar (ingedrukt voor menu)"; | |||
Calendar._TT["SEL_DATE"] = "Selecteer datum"; | |||
Calendar._TT["DRAG_TO_MOVE"] = "Klik en sleep om te verplaatsen"; | |||
Calendar._TT["PART_TODAY"] = " (vandaag)"; | |||
//Calendar._TT["MON_FIRST"] = "Toon Maandag eerst"; | |||
//Calendar._TT["SUN_FIRST"] = "Toon Zondag eerst"; | |||
Calendar._TT["DAY_FIRST"] = "Toon %s eerst"; | |||
Calendar._TT["WEEKEND"] = "0,6"; | |||
Calendar._TT["CLOSE"] = "Sluiten"; | |||
Calendar._TT["TODAY"] = "(vandaag)"; | |||
Calendar._TT["TIME_PART"] = "(Shift-)Klik of sleep om de waarde te veranderen"; | |||
// date formats | |||
Calendar._TT["DEF_DATE_FORMAT"] = "%d-%m-%Y"; | |||
Calendar._TT["TT_DATE_FORMAT"] = "%a, %e %b %Y"; | |||
Calendar._TT["WK"] = "wk"; | |||
Calendar._TT["TIME"] = "Tijd:"; |
@@ -0,0 +1,114 @@ | |||
// ** I18N | |||
// Calendar NO language | |||
// Author: Daniel Holmen, <daniel.holmen@ciber.no> | |||
// Encoding: UTF-8 | |||
// Distributed under the same terms as the calendar itself. | |||
// For translators: please use UTF-8 if possible. We strongly believe that | |||
// Unicode is the answer to a real internationalized world. Also please | |||
// include your contact information in the header, as can be seen above. | |||
// full day names | |||
Calendar._DN = new Array | |||
("Søndag", | |||
"Mandag", | |||
"Tirsdag", | |||
"Onsdag", | |||
"Torsdag", | |||
"Fredag", | |||
"Lørdag", | |||
"Søndag"); | |||
// Please note that the following array of short day names (and the same goes | |||
// for short month names, _SMN) isn't absolutely necessary. We give it here | |||
// for exemplification on how one can customize the short day names, but if | |||
// they are simply the first N letters of the full name you can simply say: | |||
// | |||
// Calendar._SDN_len = N; // short day name length | |||
// Calendar._SMN_len = N; // short month name length | |||
// | |||
// If N = 3 then this is not needed either since we assume a value of 3 if not | |||
// present, to be compatible with translation files that were written before | |||
// this feature. | |||
// short day names | |||
Calendar._SDN = new Array | |||
("Søn", | |||
"Man", | |||
"Tir", | |||
"Ons", | |||
"Tor", | |||
"Fre", | |||
"Lør", | |||
"Søn"); | |||
// full month names | |||
Calendar._MN = new Array | |||
("Januar", | |||
"Februar", | |||
"Mars", | |||
"April", | |||
"Mai", | |||
"Juni", | |||
"Juli", | |||
"August", | |||
"September", | |||
"Oktober", | |||
"November", | |||
"Desember"); | |||
// short month names | |||
Calendar._SMN = new Array | |||
("Jan", | |||
"Feb", | |||
"Mar", | |||
"Apr", | |||
"Mai", | |||
"Jun", | |||
"Jul", | |||
"Aug", | |||
"Sep", | |||
"Okt", | |||
"Nov", | |||
"Des"); | |||
// tooltips | |||
Calendar._TT = {}; | |||
Calendar._TT["INFO"] = "Om kalenderen"; | |||
Calendar._TT["ABOUT"] = | |||
"DHTML Dato-/Tidsvelger\n" + | |||
"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-) | |||
"For nyeste versjon, gå til: http://www.dynarch.com/projects/calendar/\n" + | |||
"Distribuert under GNU LGPL. Se http://gnu.org/licenses/lgpl.html for detaljer." + | |||
"\n\n" + | |||
"Datovalg:\n" + | |||
"- Bruk knappene \xab og \xbb for å velge år\n" + | |||
"- Bruk knappene " + String.fromCharCode(0x2039) + " og " + String.fromCharCode(0x203a) + " for å velge måned\n" + | |||
"- Hold inne musknappen eller knappene over for raskere valg."; | |||
Calendar._TT["ABOUT_TIME"] = "\n\n" + | |||
"Tidsvalg:\n" + | |||
"- Klikk på en av tidsdelene for å øke den\n" + | |||
"- eller Shift-klikk for å senke verdien\n" + | |||
"- eller klikk-og-dra for raskere valg.."; | |||
Calendar._TT["PREV_YEAR"] = "Forrige. år (hold for meny)"; | |||
Calendar._TT["PREV_MONTH"] = "Forrige. måned (hold for meny)"; | |||
Calendar._TT["GO_TODAY"] = "Gå til idag"; | |||
Calendar._TT["NEXT_MONTH"] = "Neste måned (hold for meny)"; | |||
Calendar._TT["NEXT_YEAR"] = "Neste år (hold for meny)"; | |||
Calendar._TT["SEL_DATE"] = "Velg dato"; | |||
Calendar._TT["DRAG_TO_MOVE"] = "Dra for å flytte"; | |||
Calendar._TT["PART_TODAY"] = " (idag)"; | |||
Calendar._TT["MON_FIRST"] = "Vis mandag først"; | |||
Calendar._TT["SUN_FIRST"] = "Vis søndag først"; | |||
Calendar._TT["CLOSE"] = "Lukk"; | |||
Calendar._TT["TODAY"] = "Idag"; | |||
Calendar._TT["TIME_PART"] = "(Shift-)Klikk eller dra for å endre verdi"; | |||
// date formats | |||
Calendar._TT["DEF_DATE_FORMAT"] = "%d.%m.%Y"; | |||
Calendar._TT["TT_DATE_FORMAT"] = "%a, %b %e"; | |||
Calendar._TT["WK"] = "uke"; |
@@ -0,0 +1,93 @@ | |||
// ** I18N | |||
// Calendar PL language | |||
// Author: Dariusz Pietrzak, <eyck@ghost.anime.pl> | |||
// Author: Janusz Piwowarski, <jpiw@go2.pl> | |||
// Encoding: utf-8 | |||
// Distributed under the same terms as the calendar itself. | |||
Calendar._DN = new Array | |||
("Niedziela", | |||
"Poniedziałek", | |||
"Wtorek", | |||
"Środa", | |||
"Czwartek", | |||
"Piątek", | |||
"Sobota", | |||
"Niedziela"); | |||
Calendar._SDN = new Array | |||
("Nie", | |||
"Pn", | |||
"Wt", | |||
"Śr", | |||
"Cz", | |||
"Pt", | |||
"So", | |||
"Nie"); | |||
Calendar._MN = new Array | |||
("Styczeń", | |||
"Luty", | |||
"Marzec", | |||
"Kwiecień", | |||
"Maj", | |||
"Czerwiec", | |||
"Lipiec", | |||
"Sierpień", | |||
"Wrzesień", | |||
"Październik", | |||
"Listopad", | |||
"Grudzień"); | |||
Calendar._SMN = new Array | |||
("Sty", | |||
"Lut", | |||
"Mar", | |||
"Kwi", | |||
"Maj", | |||
"Cze", | |||
"Lip", | |||
"Sie", | |||
"Wrz", | |||
"Paź", | |||
"Lis", | |||
"Gru"); | |||
// tooltips | |||
Calendar._TT = {}; | |||
Calendar._TT["INFO"] = "O kalendarzu"; | |||
Calendar._TT["ABOUT"] = | |||
"DHTML Date/Time Selector\n" + | |||
"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-) | |||
"Aby pobrać najnowszą wersję, odwiedź: http://www.dynarch.com/projects/calendar/\n" + | |||
"Dostępny na licencji GNU LGPL. Zobacz szczegóły na http://gnu.org/licenses/lgpl.html." + | |||
"\n\n" + | |||
"Wybór daty:\n" + | |||
"- Użyj przycisków \xab, \xbb by wybrać rok\n" + | |||
"- Użyj przycisków " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + " by wybrać miesiąc\n" + | |||
"- Przytrzymaj klawisz myszy nad jednym z powyższych przycisków dla szybszego wyboru."; | |||
Calendar._TT["ABOUT_TIME"] = "\n\n" + | |||
"Wybór czasu:\n" + | |||
"- Kliknij na jednym z pól czasu by zwiększyć jego wartość\n" + | |||
"- lub kliknij trzymając Shift by zmiejszyć jego wartość\n" + | |||
"- lub kliknij i przeciągnij dla szybszego wyboru."; | |||
//Calendar._TT["TOGGLE"] = "Zmień pierwszy dzień tygodnia"; | |||
Calendar._TT["PREV_YEAR"] = "Poprzedni rok (przytrzymaj dla menu)"; | |||
Calendar._TT["PREV_MONTH"] = "Poprzedni miesiąc (przytrzymaj dla menu)"; | |||
Calendar._TT["GO_TODAY"] = "Idź do dzisiaj"; | |||
Calendar._TT["NEXT_MONTH"] = "Następny miesiąc (przytrzymaj dla menu)"; | |||
Calendar._TT["NEXT_YEAR"] = "Następny rok (przytrzymaj dla menu)"; | |||
Calendar._TT["SEL_DATE"] = "Wybierz datę"; | |||
Calendar._TT["DRAG_TO_MOVE"] = "Przeciągnij by przesunąć"; | |||
Calendar._TT["PART_TODAY"] = " (dzisiaj)"; | |||
Calendar._TT["MON_FIRST"] = "Wyświetl poniedziałek jako pierwszy"; | |||
Calendar._TT["SUN_FIRST"] = "Wyświetl niedzielę jako pierwszą"; | |||
Calendar._TT["CLOSE"] = "Zamknij"; | |||
Calendar._TT["TODAY"] = "Dzisiaj"; | |||
Calendar._TT["TIME_PART"] = "(Shift-)Kliknij lub przeciągnij by zmienić wartość"; | |||
// date formats | |||
Calendar._TT["DEF_DATE_FORMAT"] = "%Y-%m-%d"; | |||
Calendar._TT["TT_DATE_FORMAT"] = "%e %B, %A"; | |||
Calendar._TT["WK"] = "ty"; |
@@ -0,0 +1,56 @@ | |||
// ** I18N | |||
// Calendar PL language | |||
// Author: Artur Filipiak, <imagen@poczta.fm> | |||
// January, 2004 | |||
// Encoding: UTF-8 | |||
Calendar._DN = new Array | |||
("Niedziela", "Poniedziałek", "Wtorek", "Środa", "Czwartek", "Piątek", "Sobota", "Niedziela"); | |||
Calendar._SDN = new Array | |||
("N", "Pn", "Wt", "Śr", "Cz", "Pt", "So", "N"); | |||
Calendar._MN = new Array | |||
("Styczeń", "Luty", "Marzec", "Kwiecień", "Maj", "Czerwiec", "Lipiec", "Sierpień", "Wrzesień", "Październik", "Listopad", "Grudzień"); | |||
Calendar._SMN = new Array | |||
("Sty", "Lut", "Mar", "Kwi", "Maj", "Cze", "Lip", "Sie", "Wrz", "Paź", "Lis", "Gru"); | |||
// tooltips | |||
Calendar._TT = {}; | |||
Calendar._TT["INFO"] = "O kalendarzu"; | |||
Calendar._TT["ABOUT"] = | |||
"DHTML Date/Time Selector\n" + | |||
"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-) | |||
"For latest version visit: http://www.dynarch.com/projects/calendar/\n" + | |||
"Distributed under GNU LGPL. See http://gnu.org/licenses/lgpl.html for details." + | |||
"\n\n" + | |||
"Wybór daty:\n" + | |||
"- aby wybrać rok użyj przycisków \xab, \xbb\n" + | |||
"- aby wybrać miesiąc użyj przycisków " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + "\n" + | |||
"- aby przyspieszyć wybór przytrzymaj wciśnięty przycisk myszy nad ww. przyciskami."; | |||
Calendar._TT["ABOUT_TIME"] = "\n\n" + | |||
"Wybór czasu:\n" + | |||
"- aby zwiększyć wartość kliknij na dowolnym elemencie selekcji czasu\n" + | |||
"- aby zmniejszyć wartość użyj dodatkowo klawisza Shift\n" + | |||
"- możesz również poruszać myszkę w lewo i prawo wraz z wciśniętym lewym klawiszem."; | |||
Calendar._TT["PREV_YEAR"] = "Poprz. rok (przytrzymaj dla menu)"; | |||
Calendar._TT["PREV_MONTH"] = "Poprz. miesiąc (przytrzymaj dla menu)"; | |||
Calendar._TT["GO_TODAY"] = "Pokaż dziś"; | |||
Calendar._TT["NEXT_MONTH"] = "Nast. miesiąc (przytrzymaj dla menu)"; | |||
Calendar._TT["NEXT_YEAR"] = "Nast. rok (przytrzymaj dla menu)"; | |||
Calendar._TT["SEL_DATE"] = "Wybierz datę"; | |||
Calendar._TT["DRAG_TO_MOVE"] = "Przesuń okienko"; | |||
Calendar._TT["PART_TODAY"] = " (dziś)"; | |||
Calendar._TT["MON_FIRST"] = "Pokaż Poniedziałek jako pierwszy"; | |||
Calendar._TT["SUN_FIRST"] = "Pokaż Niedzielę jako pierwszą"; | |||
Calendar._TT["CLOSE"] = "Zamknij"; | |||
Calendar._TT["TODAY"] = "Dziś"; | |||
Calendar._TT["TIME_PART"] = "(Shift-)klik | drag, aby zmienić wartość"; | |||
// date formats | |||
Calendar._TT["DEF_DATE_FORMAT"] = "%Y.%m.%d"; | |||
Calendar._TT["TT_DATE_FORMAT"] = "%a, %b %e"; | |||
Calendar._TT["WK"] = "wk"; |