Install
Works with Drupal: 7.xUsing Composer to manage Drupal site dependencies
Downloads
Download tar.gz
45.27 KB
MD5: 06682fd4cf26c6a14aa664e9ea25f83d
SHA-1: 4be17371ee0d34c379d9d1249bebe1a7c1d3978a
SHA-256: be3d7bf1e15d9d1438720473401580121e8424b3380aeba6103a1e93c043721b
Download zip
53.2 KB
MD5: bb6cf2313509934312f7105647230206
SHA-1: 4a31d400876da46ca36cff6924cf7052b5c66bf7
SHA-256: 5bc8d5ba7b5879166ed1b13c3b0b118f0096a7729be0c05d30116ca2d7801538
Release notes
- Issue #1184474: Strict warning: Only variables should be passed by reference in availability_calendars_get_settings() by fietserwin: Strict warning: Only variables should be passed by reference in availability_calendars_get_settings() line 77
- By fietserwin: styling/rendering changes:
These changes may/will nullify any styling added by yourself!- Class dayofweek is no longer used on the short day names (header). Use '.cal thead th' instead.
- Week notes are now rendered in a {th} instead of {td}
- Class calweeknote is no longer used on week notes. Use '.cal tbody th' instead.
- Week notes now may contain some html, e.g. strong or em (filter_xss instead of check_plain).
- Moved some settings from generated file to availability_calendars.base.css file.
- Added support to visually emphasize selectable cells (pointer and show border on hover).
- Changed rendering of day cells, using a {div} in the {td}'s for non split days, and changed the usage of the 2 [span}'s in the split day situation.
- By fietserwin: javascript changes/additions:
- Viewport functionality that wraps the number of months to show in a viewport, only showing a given number of months. With buttons you can scroll through the months (limited by the number of months shown/rendered: no ajax to retrieve more months).
- Days in a month can be tagged selectable: on hover the cursor changes to a pointer and a border becomes visible. Only clicks on these cells will issue the calendarclick event. Cells that can be made selectable: none, all, only available, or only non-available.
- Base API completely revised: now allows to change and restore(!) the state for a range of days at once.
- Usage example for the viewport included in the js code files, other examples will follow.
- By fietserwin: availability_calendars_get_settings() now includes nid and available states.