42 lines
1.6 KiB
C#
42 lines
1.6 KiB
C#
<?cs # $Id$ ?>
|
|
|
|
<h1><?cs var:html_escape(Lang.Title.ConfigDate) ?></h1>
|
|
|
|
<?cs call:print_form_header("module_date") ?>
|
|
|
|
<p><label for="date"><?cs var:html_escape(Lang.Text.Date) ?>: </label><br/>
|
|
<select name="day" size="0"><?cs
|
|
loop: x = #1, #31, #1 ?>
|
|
<?cs if:x == Data.Modules.date.day ?><option selected="selected"><?cs
|
|
else ?><option><?cs /if ?><?cs var:x ?></option><?cs /loop ?>
|
|
</select>
|
|
<select name="month" size="0"><?cs
|
|
loop: x = #1, #12, #1 ?>
|
|
<?cs if:x == Data.Modules.date.month ?><option selected="selected" <?cs
|
|
else ?><option <?cs /if ?>value="<?cs var:x ?>"><?cs
|
|
var:html_escape(Lang.Text.Months[x]) ?></option><?cs /loop ?>
|
|
</select>
|
|
<select name="year" size="0"><?cs
|
|
loop: x = #2006, #2025, #1 ?>
|
|
<?cs if:x == Data.Modules.date.year ?><option selected="selected"><?cs
|
|
else ?><option><?cs /if ?><?cs var:x ?></option><?cs /loop ?>
|
|
</select></p>
|
|
|
|
<p><label for="time"><?cs var:html_escape(Lang.Text.Time) ?>: </label><br/>
|
|
<select name="hour" size="0"><?cs
|
|
loop: x = #0, #23, #1 ?>
|
|
<?cs if:x == Data.Modules.date.hour ?><option selected="selected"><?cs
|
|
else ?><option><?cs /if ?><?cs if:x<10 ?>0<?cs /if ?><?cs var:x ?></option><?cs /loop ?>
|
|
</select> :
|
|
<select name="minute" size="0"><?cs
|
|
loop: x = #0, #59, #1 ?>
|
|
<?cs if:x == Data.Modules.date.minute ?><option selected="selected"><?cs
|
|
else ?><option><?cs /if ?><?cs if:x<10 ?>0<?cs /if ?><?cs var:x ?></option><?cs /loop ?>
|
|
</select></p>
|
|
|
|
<input type="hidden" name="store" value="yes" />
|
|
|
|
<button type="submit"><?cs var:html_escape(Lang.Button.ConfigDate) ?></button>
|
|
|
|
</form>
|
|
|