Ejemplo n.º 1
0
"><label for="name"><?php 
echo _("Name or location of the ballot");
?>
</label><span class="input"><input type="text" name="name" id="name" value="<?php 
echo h($ballot->name);
?>
"></span></div>
<div class="input <?php 
echo stripes();
?>
"><label for="ngroup"><?php 
echo _("Group of location");
?>
</label><span class="input">
<?
input_select("ngroup", Ngroup::options($period->ngroup()->parent), $ballot->ngroup, 'id="ngroup"');
?>
</span></div>
<div class="input <?php 
echo stripes();
?>
"><label for="opening_hour"><?php 
echo _("Opening hours");
?>
</label><span class="input">
<select name="opening_hour" id="opening_hour">
<?
if ($ballot->opening) {
	list($hour, $minute, $second) = explode(":", $ballot->opening);
} else {
	$hour = 0;