calendar-week-multiple-node.tpl.php in Calendar 7
Same filename in this branch
Same filename and directory in other branches
Template to display a summary of the days items as a calendar week node.
See also
template_preprocess_calendar_week_multiple_node.
File
theme/calendar-week-multiple-node.tpl.phpView source
<?php
/**
* @file
* Template to display a summary of the days items as a calendar week node.
*
* @see template_preprocess_calendar_week_multiple_node.
*/
?>
<div class="view-item view-item-<?php
print $view->name;
?>">
<div class="<?php
print $curday;
?> calendar weekview">
<?php
foreach ($types as $type) {
?>
<?php
if ($view->date_info->style_max_items_behavior != 'more') {
?>
<?php
print theme('calendar_stripe_stripe', array(
'type' => $type,
));
?>
<?php
}
?>
<?php
}
?>
<div class="view-item <?php
print drupal_clean_css_identifier('view-item-' . $view->name);
?>">
<?php
if ($view->date_info->style_max_items_behavior != 'more') {
?>
<div class="multiple-events">
<?php
print l(t('Click to see all @count events', array(
'@count' => $count,
)), $link);
?>
</div>
</div>
<?php
}
else {
?>
<div class="calendar-more"><?php
print l(t('more'), $link);
?>»</div>
<?php
}
?>
</div>
</div>