Removed obsolete $ in source files
This commit is contained in:
parent
a39c010e06
commit
e5f2b64d98
146 changed files with 836 additions and 1081 deletions
|
@ -1,9 +1,8 @@
|
|||
<?php
|
||||
// $Id: calendar-day-overlap.tpl.php,v 1.1.2.1 2010/11/28 23:31:28 karens Exp $
|
||||
/**
|
||||
* @file
|
||||
* Template to display a view as a calendar day, grouped by time with overlapping items
|
||||
*
|
||||
*
|
||||
* @see template_preprocess_calendar_day.
|
||||
*
|
||||
* $rows: The rendered data for this day.
|
||||
|
@ -14,17 +13,17 @@
|
|||
* $rows['items'] - an array of timed items for the day.
|
||||
* $rows['items'][$time_period]['hour'] - the formatted hour for a time period.
|
||||
* $rows['items'][$time_period]['ampm'] - the formatted ampm value, if any for a time period.
|
||||
* $rows['items'][$time_period][$column]['values'] - An array of formatted
|
||||
* $rows['items'][$time_period][$column]['values'] - An array of formatted
|
||||
* items for a time period and field column.
|
||||
*
|
||||
*
|
||||
* $view: The view.
|
||||
* $columns: an array of column names.
|
||||
* $min_date_formatted: The minimum date for this calendar in the format YYYY-MM-DD HH:MM:SS.
|
||||
* $max_date_formatted: The maximum date for this calendar in the format YYYY-MM-DD HH:MM:SS.
|
||||
*
|
||||
* The width of the columns is dynamically set using <col></col>
|
||||
*
|
||||
* The width of the columns is dynamically set using <col></col>
|
||||
* based on the number of columns presented. The values passed in will
|
||||
* work to set the 'hour' column to 10% and split the remaining columns
|
||||
* work to set the 'hour' column to 10% and split the remaining columns
|
||||
* evenly over the remaining 90% of the table.
|
||||
*/
|
||||
//dsm('Display: '. $display_type .': '. $min_date_formatted .' to '. $max_date_formatted);
|
||||
|
@ -48,7 +47,7 @@
|
|||
<?php print isset($rows['all_day'][$column]) ? implode($rows['all_day'][$column]) : ' ';?>
|
||||
</div>
|
||||
</div>
|
||||
<?php endforeach; ?>
|
||||
<?php endforeach; ?>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
@ -60,8 +59,8 @@
|
|||
try {
|
||||
// Hide container while it renders... Degrade w/o javascript support
|
||||
$('#single-day-container').css('visibility','hidden');
|
||||
}catch(e){
|
||||
// swallow
|
||||
}catch(e){
|
||||
// swallow
|
||||
}
|
||||
</script>
|
||||
<table class="full">
|
||||
|
@ -74,7 +73,7 @@
|
|||
<td class="first">
|
||||
<?php $is_first = TRUE; ?>
|
||||
<?php foreach ($rows['items'] as $time_cnt => $hour): ?>
|
||||
<?php
|
||||
<?php
|
||||
if ($time_cnt == 0) {
|
||||
$class = 'first ';
|
||||
}
|
||||
|
@ -88,11 +87,11 @@
|
|||
<span class="calendar-hour"><?php print $hour['hour']; ?></span>
|
||||
<span class="calendar-ampm"><?php print $hour['ampm']; ?></span>
|
||||
</div>
|
||||
<?php endforeach; ?>
|
||||
<?php endforeach; ?>
|
||||
</td>
|
||||
<td class="last">
|
||||
<?php foreach ($rows['items'] as $time_cnt => $hour): ?>
|
||||
<?php
|
||||
<?php
|
||||
if ($time_cnt == 0) {
|
||||
$class = 'first ';
|
||||
}
|
||||
|
@ -115,7 +114,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php endforeach; ?>
|
||||
<?php endforeach; ?>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
@ -129,7 +128,7 @@ try {
|
|||
calendar_resizeViewport();
|
||||
calendar_scrollToFirst();
|
||||
$('#single-day-container').css('visibility','visible');
|
||||
}catch(e){
|
||||
// swallow
|
||||
}catch(e){
|
||||
// swallow
|
||||
}
|
||||
</script>
|
||||
</script>
|
||||
|
|
Reference in a new issue