opening_hours_week.tpl.php in Opening hours 7
Same filename and directory in other branches
2 theme calls to opening_hours_week.tpl.php
- opening_hours_node_view in ./
opening_hours.module - Implements hook_node_view().
- opening_hours_week_content_type_render in plugins/
content_types/ week.inc - Render the block.
File
templates/opening_hours_week.tpl.phpView source
<?php
/**
* @file
* Template for rendering opening hours week.
*/
if (!empty($preface)) {
print $preface;
}
?>
<div class="opening-hours-week placeholder" data-nid="<?php
print $node->nid;
?>">
<div class="header">
<a class="prev" href="#prev">←</a>
<?php
print t('Week');
?>
<span class="week_num"></span> –
<span class="from_date"></span> –
<span class="to_date"></span>
<a class="next" href="#next">→</a>
</div>
<div class="days"></div>
</div>