2006-09-12 10:55:20 +02:00
|
|
|
<?cs # $Id$ ?>
|
|
|
|
|
2006-09-14 14:33:01 +02:00
|
|
|
<h1><?cs var:html_escape(Lang.Plugins.date.Title.ConfigDate) ?></h1>
|
2006-09-12 10:55:20 +02:00
|
|
|
|
2006-09-14 14:33:01 +02:00
|
|
|
<?cs call:print_form_header("plugins/date") ?>
|
2006-09-12 10:55:20 +02:00
|
|
|
|
2006-09-14 14:33:01 +02:00
|
|
|
<p><label for="date"><?cs var:html_escape(Lang.Plugins.date.Text.Date) ?>: </label><br/>
|
2006-09-27 14:20:54 +02:00
|
|
|
<select name="day" tabindex="1" size="0"><?cs
|
2006-09-12 10:55:20 +02:00
|
|
|
loop: x = #1, #31, #1 ?>
|
2006-09-14 14:33:01 +02:00
|
|
|
<?cs if:x == Data.Plugins.date.day ?><option selected="selected"><?cs
|
2006-09-12 10:55:20 +02:00
|
|
|
else ?><option><?cs /if ?><?cs var:x ?></option><?cs /loop ?>
|
|
|
|
</select>
|
2006-09-27 14:20:54 +02:00
|
|
|
<select name="month" tabindex="2" size="0"><?cs
|
2006-09-12 10:55:20 +02:00
|
|
|
loop: x = #1, #12, #1 ?>
|
2006-09-14 14:33:01 +02:00
|
|
|
<?cs if:x == Data.Plugins.date.month ?><option selected="selected" <?cs
|
2006-09-12 10:55:20 +02:00
|
|
|
else ?><option <?cs /if ?>value="<?cs var:x ?>"><?cs
|
2006-09-14 14:33:01 +02:00
|
|
|
var:html_escape(Lang.Plugins.date.Text.Months[x]) ?></option><?cs /loop ?>
|
2006-09-12 10:55:20 +02:00
|
|
|
</select>
|
2006-09-27 14:20:54 +02:00
|
|
|
<select name="year" tabindex="3" size="0"><?cs
|
2006-09-12 10:55:20 +02:00
|
|
|
loop: x = #2006, #2025, #1 ?>
|
2006-09-14 14:33:01 +02:00
|
|
|
<?cs if:x == Data.Plugins.date.year ?><option selected="selected"><?cs
|
2006-09-12 10:55:20 +02:00
|
|
|
else ?><option><?cs /if ?><?cs var:x ?></option><?cs /loop ?>
|
|
|
|
</select></p>
|
|
|
|
|
2006-09-14 14:33:01 +02:00
|
|
|
<p><label for="time"><?cs var:html_escape(Lang.Plugins.date.Text.Time) ?>: </label><br/>
|
2006-09-27 14:20:54 +02:00
|
|
|
<select name="hour" tabindex="4" size="0"><?cs
|
2006-09-12 10:55:20 +02:00
|
|
|
loop: x = #0, #23, #1 ?>
|
2006-09-14 14:33:01 +02:00
|
|
|
<?cs if:x == Data.Plugins.date.hour ?><option selected="selected"><?cs
|
2006-09-12 10:55:20 +02:00
|
|
|
else ?><option><?cs /if ?><?cs if:x<10 ?>0<?cs /if ?><?cs var:x ?></option><?cs /loop ?>
|
|
|
|
</select> :
|
2006-09-27 14:20:54 +02:00
|
|
|
<select name="minute" tabindex="5" size="0"><?cs
|
2006-09-12 10:55:20 +02:00
|
|
|
loop: x = #0, #59, #1 ?>
|
2006-09-14 14:33:01 +02:00
|
|
|
<?cs if:x == Data.Plugins.date.minute ?><option selected="selected"><?cs
|
2006-09-12 10:55:20 +02:00
|
|
|
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" />
|
|
|
|
|
2006-09-27 14:20:54 +02:00
|
|
|
<button type="submit" tabindex="6"><?cs var:html_escape(Lang.Plugins.date.Button.ConfigDate) ?></button>
|
2006-09-12 10:55:20 +02:00
|
|
|
|
|
|
|
</form>
|
|
|
|
|