Example #1
0
}
.weekNumbers {
    background-color: #e5e5f5;
    padding-right: 3pt;
}
</style>
</head>
<body>
<table>
<caption class="year">
<?php 
echo $Year->thisYear();
?>
<div id="next">
<a href="?year=<?php 
echo $Year->nextYear();
?>
&week_type=<?php 
echo $_GET['week_type'];
?>
">>></a>
</div>
<div id="prev">
<a href="?year=<?php 
echo $Year->prevYear();
?>
&week_type=<?php 
echo $_GET['week_type'];
?>
"><<</a>
</div>
Example #2
0
 /**
  * Constructs a Link for a calendar to the given Year.
  *
  * @param Calendar_Year $year The calendar year to link to.
  */
 function _get_calendar_yearlink($year)
 {
     $next_year = $year->nextYear('object');
     return $_MIDCOM->get_context_data(MIDCOM_CONTEXT_ANCHORPREFIX) . 'archive/between/' . $year->thisYear() . '-01-01/' . $next_year->thisYear() . '-01-01/';
 }