Removed obsolete $ in source files

This commit is contained in:
Manuel Cillero 2017-08-29 14:13:02 +02:00
parent a39c010e06
commit e5f2b64d98
146 changed files with 836 additions and 1081 deletions

View file

@ -1,14 +1,13 @@
<?php
// $Id: calendar-week.tpl.php,v 1.1.2.1 2010/11/28 23:31:28 karens Exp $
/**
* @file
* Template to display a view as a calendar week.
*
*
* @see template_preprocess_calendar_week.
*
* $day_names: An array of the day of week names for the table header.
* $rows: The rendered data for this week.
*
*
* For each day of the week, you have:
* $rows['date'] - the date for this day, formatted as YYYY-MM-DD.
* $rows['datebox'] - the formatted datebox for this day.
@ -18,11 +17,11 @@
* $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]['values'] - An array of formatted items for a time period.
*
*
* $view: The view.
* $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.
*
*
*/
//dsm('Display: '. $display_type .': '. $min_date_formatted .' to '. $max_date_formatted);
//dsm($rows);
@ -46,8 +45,8 @@ $index = 0;
</thead>
<tbody>
<?php for ($i = 0; $i < $multiday_rows; $i++): ?>
<?php
$colpos = 0;
<?php
$colpos = 0;
$rowclass = "all-day";
if( $i == 0) {
$rowclass .= " first";
@ -75,12 +74,12 @@ $index = 0;
</td>
<?php $colpos = $cell['wday'] + $cell['colspan']; ?>
<?php endif; ?>
<?php endfor; ?>
<?php endfor; ?>
<?php for($j = $colpos; $j < 7; $j++) : ?>
<td class="multi-day no-entry"><div class="inner">&nbsp;</div></td>
<?php endfor;?>
</tr>
<?php endfor; ?>
<?php endfor; ?>
<?php foreach ($items as $time): ?>
<tr class="not-all-day">
<td class="calendar-agenda-hour">
@ -96,7 +95,7 @@ $index = 0;
<div class="inner">&nbsp;</div>
</div>
</td>
<?php endfor; ?>
<?php endfor; ?>
<?php $curpos = $colpos + 1;?>
<td class="calendar-agenda-items single-day">
<div class="calendar">
@ -109,16 +108,16 @@ $index = 0;
</div>
</div>
</td>
<?php endforeach; ?>
<?php endforeach; ?>
<?php for ($i = $curpos; $i < 7; $i++): ?>
<td class="calendar-agenda-items single-day">
<div class="calendar">
<div class="inner">&nbsp;</div>
</div>
</td>
<?php endfor; ?>
<?php endfor; ?>
</tr>
<?php endforeach; ?>
<?php endforeach; ?>
</tbody>
</table>
</div></div>