calendar: use left and right arrows for next/prev months
This is consistent with the year display, and I think it is less visually confusing than using the full month names.master
parent
23a21850fa
commit
cf74cf7a37
|
@ -133,14 +133,14 @@ sub format_month (@) {
|
||||||
if (exists $pagesources{"$archivebase/$pyear/$pmonth"}) {
|
if (exists $pagesources{"$archivebase/$pyear/$pmonth"}) {
|
||||||
$purl = htmllink($params{page}, $params{destpage},
|
$purl = htmllink($params{page}, $params{destpage},
|
||||||
"$archivebase/$pyear/$pmonth",
|
"$archivebase/$pyear/$pmonth",
|
||||||
linktext => " $pmonthname ");
|
linktext => " \&larr ");
|
||||||
}
|
}
|
||||||
add_depends($params{page}, "$archivebase/$pyear/$pmonth",
|
add_depends($params{page}, "$archivebase/$pyear/$pmonth",
|
||||||
deptype("presence"));
|
deptype("presence"));
|
||||||
if (exists $pagesources{"$archivebase/$nyear/$nmonth"}) {
|
if (exists $pagesources{"$archivebase/$nyear/$nmonth"}) {
|
||||||
$nurl = htmllink($params{page}, $params{destpage},
|
$nurl = htmllink($params{page}, $params{destpage},
|
||||||
"$archivebase/$nyear/$nmonth",
|
"$archivebase/$nyear/$nmonth",
|
||||||
linktext => " $nmonthname ");
|
linktext => " \&rarr ");
|
||||||
}
|
}
|
||||||
add_depends($params{page}, "$archivebase/$nyear/$nmonth",
|
add_depends($params{page}, "$archivebase/$nyear/$nmonth",
|
||||||
deptype("presence"));
|
deptype("presence"));
|
||||||
|
|
Loading…
Reference in New Issue