Exemplo n.º 1
0
</tr>
<?php 
}
?>
</tbody>
</table>

<div class="legend">
	<h3><?php 
echo __('Legend');
?>
</h3>
	<dl>
		<?php 
echo availability_legend_item(RoomPeer::COMPLETE, __('Unvailable'));
?>
		<?php 
echo availability_legend_item(RoomPeer::OCCUPIED, __('Available'));
?>
		<?php 
echo availability_legend_item(RoomPeer::FREE, __('Free'));
?>
		<?php 
echo availability_legend_item(RoomPeer::PAST, __('Unvailable'));
?>
		<?php 
echo availability_legend_item(RoomPeer::TOOFAR, __('Currently unvailable'));
?>
	</dl>	
</div>
Exemplo n.º 2
0
			<?php 
}
?>
	
	</tbody>
</table>

<div class="legend">
	<h3> <?php 
echo __('Legend');
?>
 </h3>
	<dl>
		<?php 
echo availability_legend_item(RoomPeer::COMPLETE, __('Complete'));
?>
		<?php 
echo availability_legend_item(RoomPeer::OCCUPIED, __('Partially occupied'));
?>
		<?php 
echo availability_legend_item(RoomPeer::FREE, __('Empty'));
?>
		<?php 
echo availability_legend_item(RoomPeer::PAST, __('In the past'));
?>
		<?php 
echo availability_legend_item(RoomPeer::TOOFAR, __('Too far in the future'));
?>
	</dl>
</div>
Exemplo n.º 3
0
					<?php 
        echo availability_day_cell("book-{$room_id}-{$i}", $avail[$i], $activity->getId(), array(RoomPeer::COMPLETE => __('Complete'), RoomPeer::OCCUPIED => __('Other reservation'), RoomPeer::FREE => __('Add a reservation'), RoomPeer::PAST => __('Past'), RoomPeer::TOOFAR => __('Too far in the future')), false);
        ?>
	                                <?php 
        echo availability_day_cell(null, $avail[$i], $activity->getId(), array(RoomPeer::COMPLETE => __('Complete'), RoomPeer::OCCUPIED => __('Other reservation'), RoomPeer::FREE => __('Add a reservation'), RoomPeer::PAST => __('Past'), RoomPeer::TOOFAR => __('Too far in the future')), true);
        ?>
				<?php 
    }
    ?>
			</tr>
		<?php 
}
?>
	</tbody>
</table>

<div class="legend">
	<h3><?php 
echo __('Legend');
?>
</h3>
        <dl>
		<?php 
echo '<div class="no_print">' . availability_legend_item(RoomPeer::COMPLETE, __('Complete')) . '</div>';
echo '<div class="no_print">' . availability_legend_item(RoomPeer::FREE, __('Empty')) . '</div>';
echo '<div class="no_print">' . availability_legend_item(RoomPeer::PAST, __('In the past')) . '</div>';
echo '<div class="no_print">' . availability_legend_item(RoomPeer::TOOFAR, __('Too far in the future')) . '</div>';
?>
	</dl>
</div>