Example #1
0
		<?php 
echo $copyForm['copyRoom_id']->renderLabel();
?>
		<?php 
echo $copyForm['copyRoom_id'];
?>
		<input type="submit" value="<?php 
echo __('Copy');
?>
" />
	</p>

</form>

<ul class="buttons">
	<li><?php 
echo button_link_to('Clear the periods', 'room/clearDayperiods?id=' . $room->getId());
?>
</li>
</ul>

<?php 
include_partial('dayperiod/openingTime', array('dayperiod_list' => $dayperiod_list, 'room' => $room));
?>

<p>
	<?php 
echo __('You may also %add_link%.', array('%add_link%' => link_to(__('add a new period'), 'dayperiod/new?roomId=' . $room->getId())));
?>
</p>
Example #2
0
">
	<?php 
include_partial('searchForm', array('form' => $form));
?>
</div>

<?php 
if (count($reservation_list) > 0) {
    ?>
	<ul class="buttons">
		<li><?php 
    echo button_link_to('Download this report as a CSV file', 'reporting/index?export=csv');
    ?>
</li>
		<li><?php 
    echo button_link_to('Download this report as a PDF file', 'reporting/index?export=pdf');
    ?>
</li>
	</ul>

	<table class="list">
		<thead>
			<tr>
				<?php 
    if (in_array(0, $form->getValue('fields'))) {
        ?>
<th><?php 
        echo sort_link('reporting', 'index', 'date', __('Date'), $sort_direction, $sort_column);
        ?>
</th><?php 
    }
Example #3
0
?>
</dt>
		<dd class="subject"><?php 
echo $message->getSubject();
?>
</dd>
	</dl>
	<pre><?php 
echo $message->getText();
?>
</pre>

	<ul class="buttons">
		<?php 
if ($message->getSenderId() !== $message->getOwnerId() && !is_null($message->getSenderUser())) {
    ?>
			<li><?php 
    echo button_link_to(Reply, 'message/reply?messageId=' . $message->getId());
    ?>
</li>
		<?php 
}
?>

		<li><?php 
echo button_link_to('Delete', 'message/delete?id=' . $message->getId());
?>
</li>
	</ul>
</div>
Example #4
0
	<p>
		<?php 
    echo format_number_choice('[0]No users in the database.|[1]There is actually one user in the database.|(1,+Inf]There is actually %count% users in the database.', array('%count%' => $count), $count);
    ?>
	</p>

	<ul class="buttons">
		<li><?php 
    echo button_link_to('Filter user list', 'user/search');
    ?>
</li>
		<?php 
    if ($is_admin) {
        ?>
			<li><?php 
        echo button_link_to('Import from CSV file', 'user/import');
        ?>
</li>
		<?php 
    }
    ?>
	</ul>
<?php 
}
?>

<?php 
if (count($user_list) > 0) {
    ?>

<table class="list">