コード例 #1
0
<!--Time Group-->
<div class="element-container">
	<div class="row">
		<div class="col-md-12">
			<div class="row">
				<div class="form-group">
					<div class="col-md-3">
						<label class="control-label" for="tgw"><?php 
echo _("Time Group");
?>
</label>
						<i class="fa fa-question-circle fpbx-help-icon" data-for="tgw"></i>
					</div>
					<div class="col-md-9">
						<?php 
echo timeconditions_timegroups_drawgroupselect('time', isset($thisItem['time']) ? $thisItem['time'] : '', true, '');
?>
					</div>
				</div>
			</div>
		</div>
	</div>
	<div class="row">
		<div class="col-md-12">
			<span id="tgw-help" class="help-block fpbx-help-block"><?php 
echo _("Select a Time Group created under Time Groups. Matching times will be sent to matching destination. If no group is selected, call will always go to no-match destination.");
?>
</span>
		</div>
	</div>
</div>
コード例 #2
0
ファイル: page.routing.php プロジェクト: umjinsun12/dngshin
}
?>

<?php 
if (function_exists('timeconditions_timegroups_drawgroupselect')) {
    ?>
    <tr>
      <td><a href="#" class="info"><?php 
    echo _("Time Group:");
    ?>
<span><?php 
    echo _("If this route should only be available during certain times then Select a Time Group created under Time Groups. The route will be ignored outside of times specified in that Time Group. If left as default of Permanent Route then it will always be available.");
    ?>
</span></a></td>
      <td><?php 
    echo timeconditions_timegroups_drawgroupselect('time_group_id', $time_group_id, true, '', _('---Permanent Route---'));
    ?>
</td>
    </tr>
		<tr>
<?php 
}
?>

		<tr>
			<td><a href="#" class="info"><?php 
echo _("Route Position");
?>
<span><?php 
echo _("Where to insert this route or relocate it relative to the other routes.");
?>