Add the calendar month template variables. Fixes bug #11472.
This commit is contained in:
parent
ce08b3d4f8
commit
c4b3e1e758
3 changed files with 138 additions and 6 deletions
|
|
@ -1,5 +1,6 @@
|
||||||
7.9.1
|
7.9.1
|
||||||
- fixed #11464: blank page after setting posts per page in Collaboration System to 0 (zero)
|
- fixed #11464: blank page after setting posts per page in Collaboration System to 0 (zero)
|
||||||
|
- fixed #11472: View Calendar Month help missing
|
||||||
|
|
||||||
7.9.0
|
7.9.0
|
||||||
- added #11383: AJAX username checks at registration (Luke Robinson / Orchard Solutions)
|
- added #11383: AJAX username checks at registration (Luke Robinson / Orchard Solutions)
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,7 @@ our $HELP = {
|
||||||
'view calendar template' => {
|
'view calendar template' => {
|
||||||
title => 'view calendar title',
|
title => 'view calendar title',
|
||||||
body => 'view calendar body',
|
body => 'view calendar body',
|
||||||
|
private => '1',
|
||||||
isa => [
|
isa => [
|
||||||
{ namespace => "Asset_Template",
|
{ namespace => "Asset_Template",
|
||||||
tag => "template variables"
|
tag => "template variables"
|
||||||
|
|
@ -66,6 +67,61 @@ our $HELP = {
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
|
||||||
|
'view month template' => {
|
||||||
|
title => 'view calendar month title',
|
||||||
|
body => 'view calendar month body',
|
||||||
|
isa => [
|
||||||
|
{ namespace => "Asset_Calendar",
|
||||||
|
tag => "view calendar template"
|
||||||
|
},
|
||||||
|
],
|
||||||
|
fields => [],
|
||||||
|
variables => [
|
||||||
|
{ 'name' => 'weeks',
|
||||||
|
'variables' => [
|
||||||
|
{ 'name' => 'days',
|
||||||
|
'variables' => [
|
||||||
|
{ 'name' => 'dayUrl' },
|
||||||
|
{ 'name' => 'dayMonth',
|
||||||
|
'description' => 'dayOfMonth' },
|
||||||
|
{ 'name' => 'dayCurrent' },
|
||||||
|
{ 'name' => 'events',
|
||||||
|
'description' => 'events weekVar',
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
{ 'name' => 'pageNextUrl',
|
||||||
|
'description' => 'pageNextUrl monthVar'
|
||||||
|
},
|
||||||
|
{ 'name' => 'pagePrevUrl',
|
||||||
|
'description' => 'pagePrevUrl monthVar'
|
||||||
|
},
|
||||||
|
{ 'name' => 'pageNextYear', },
|
||||||
|
{ 'name' => 'pagePrevYear', },
|
||||||
|
{ 'name' => 'monthName', },
|
||||||
|
{ 'name' => 'monthAbbr', },
|
||||||
|
{ 'name' => 'year' },
|
||||||
|
{ 'name' => 'dayNames',
|
||||||
|
'variables' => [
|
||||||
|
{ 'name' => 'dayName' },
|
||||||
|
{ 'name' => 'dayAbbr' },
|
||||||
|
],
|
||||||
|
},
|
||||||
|
{ 'name' => 'months',
|
||||||
|
'variables' => [
|
||||||
|
{ 'name' => 'monthName' },
|
||||||
|
{ 'name' => 'monthAbbr' },
|
||||||
|
{ 'name' => 'monthEpoch' },
|
||||||
|
{ 'name' => 'monthUrl' },
|
||||||
|
{ 'name' => 'monthCurrent' },
|
||||||
|
],
|
||||||
|
},
|
||||||
|
],
|
||||||
|
related => []
|
||||||
|
},
|
||||||
|
|
||||||
'view week template' => {
|
'view week template' => {
|
||||||
title => 'view calendar week title',
|
title => 'view calendar week title',
|
||||||
body => 'view calendar week body',
|
body => 'view calendar week body',
|
||||||
|
|
|
||||||
|
|
@ -354,8 +354,8 @@ our $I18N = {
|
||||||
},
|
},
|
||||||
|
|
||||||
'view calendar title' => {
|
'view calendar title' => {
|
||||||
message => q|View Calendar Template Variables|,
|
message => q|Calendar View Template Variables|,
|
||||||
lastUpdated => 1171043337,
|
lastUpdated => 1268671312,
|
||||||
},
|
},
|
||||||
|
|
||||||
'view calendar body' => {
|
'view calendar body' => {
|
||||||
|
|
@ -430,8 +430,8 @@ our $I18N = {
|
||||||
},
|
},
|
||||||
|
|
||||||
'view calendar day title' => {
|
'view calendar day title' => {
|
||||||
message => q|View Calendar Day Template Variables|,
|
message => q|Calendar View Day Template Variables|,
|
||||||
lastUpdated => 1171043337,
|
lastUpdated => 1268671336,
|
||||||
},
|
},
|
||||||
|
|
||||||
'view calendar day body' => {
|
'view calendar day body' => {
|
||||||
|
|
@ -541,8 +541,8 @@ our $I18N = {
|
||||||
},
|
},
|
||||||
|
|
||||||
'view calendar week title' => {
|
'view calendar week title' => {
|
||||||
message => q|View Calendar Week Template Variables|,
|
message => q|Calendar View Week Template Variables|,
|
||||||
lastUpdated => 1171172007,
|
lastUpdated => 1268671327,
|
||||||
},
|
},
|
||||||
|
|
||||||
'view calendar week body' => {
|
'view calendar week body' => {
|
||||||
|
|
@ -953,6 +953,81 @@ our $I18N = {
|
||||||
lastUpdated => 1230931579,
|
lastUpdated => 1230931579,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
'pageNextUrl monthVar' => {
|
||||||
|
message => q|A URL to the next year in the calendar.|,
|
||||||
|
lastUpdated => 1268669460,
|
||||||
|
},
|
||||||
|
|
||||||
|
'pagePrevUrl monthVar' => {
|
||||||
|
message => q|A URL to the previous year in the calendar.|,
|
||||||
|
lastUpdated => 1268669463,
|
||||||
|
},
|
||||||
|
|
||||||
|
'pageNextYear' => {
|
||||||
|
message => q|The year that follows the current one in the Calendar.|,
|
||||||
|
lastUpdated => 1268669460,
|
||||||
|
},
|
||||||
|
|
||||||
|
'pagePrevYear' => {
|
||||||
|
message => q|The year that preceeds the current one in the Calendar.|,
|
||||||
|
lastUpdated => 1268669463,
|
||||||
|
},
|
||||||
|
|
||||||
|
'dayNames' => {
|
||||||
|
message => q|A loop containing names and abbreviations for the days of the week.|,
|
||||||
|
lastUpdated => 1268669463,
|
||||||
|
},
|
||||||
|
|
||||||
|
'months' => {
|
||||||
|
message => q|A loop containing names and URLs for navigating among the months in a year.|,
|
||||||
|
lastUpdated => 1268669463,
|
||||||
|
},
|
||||||
|
|
||||||
|
'monthEpoch' => {
|
||||||
|
message => q|The epoch date for this month.|,
|
||||||
|
lastUpdated => 1268669463,
|
||||||
|
},
|
||||||
|
|
||||||
|
'monthUrl' => {
|
||||||
|
message => q|The URL to change the calendar to display this month.|,
|
||||||
|
lastUpdated => 1268669463,
|
||||||
|
},
|
||||||
|
|
||||||
|
'monthCurrent' => {
|
||||||
|
message => q|A boolean which is true if the calendar is displaying this month.|,
|
||||||
|
lastUpdated => 1268669463,
|
||||||
|
},
|
||||||
|
|
||||||
|
'view calendar month title' => {
|
||||||
|
message => q|Calendar View Month Template Variables|,
|
||||||
|
lastUpdated => 1268671291,
|
||||||
|
},
|
||||||
|
|
||||||
|
'view calendar month body' => {
|
||||||
|
message => q|<p>This template shows all events in a month in the calendar.</p>|,
|
||||||
|
lastUpdated => 1171172004,
|
||||||
|
},
|
||||||
|
|
||||||
|
'weeks' => {
|
||||||
|
message => q|A loop containing loops of events, by day.|,
|
||||||
|
lastUpdated => 1171172004,
|
||||||
|
},
|
||||||
|
|
||||||
|
'weeks' => {
|
||||||
|
message => q|A loop containing loops of events, by day.|,
|
||||||
|
lastUpdated => 1171172004,
|
||||||
|
},
|
||||||
|
|
||||||
|
'dayUrl' => {
|
||||||
|
message => q|A URL to view all events on this day.|,
|
||||||
|
lastUpdated => 1171172004,
|
||||||
|
},
|
||||||
|
|
||||||
|
'dayCurrent' => {
|
||||||
|
message => q|A boolean which is true if this day is today.|,
|
||||||
|
lastUpdated => 1171172004,
|
||||||
|
},
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
1;
|
1;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue