lars
de3280806f
plugin interface changed ("prepareForm" removed) plugins do not raise exceptions anymore first part of the partitioning plugin device-specific stuff moved to CryptoBoxTools
42 lines
1.7 KiB
C#
42 lines
1.7 KiB
C#
<?cs # $Id$ ?>
|
|
|
|
<h1><?cs var:html_escape(Lang.Plugins.date.Title.ConfigDate) ?></h1>
|
|
|
|
<?cs call:print_form_header("plugins/date") ?>
|
|
|
|
<p><label for="date"><?cs var:html_escape(Lang.Plugins.date.Text.Date) ?>: </label><br/>
|
|
<select name="day" size="0"><?cs
|
|
loop: x = #1, #31, #1 ?>
|
|
<?cs if:x == Data.Plugins.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.Plugins.date.month ?><option selected="selected" <?cs
|
|
else ?><option <?cs /if ?>value="<?cs var:x ?>"><?cs
|
|
var:html_escape(Lang.Plugins.date.Text.Months[x]) ?></option><?cs /loop ?>
|
|
</select>
|
|
<select name="year" size="0"><?cs
|
|
loop: x = #2006, #2025, #1 ?>
|
|
<?cs if:x == Data.Plugins.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.Plugins.date.Text.Time) ?>: </label><br/>
|
|
<select name="hour" size="0"><?cs
|
|
loop: x = #0, #23, #1 ?>
|
|
<?cs if:x == Data.Plugins.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.Plugins.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.Plugins.date.Button.ConfigDate) ?></button>
|
|
|
|
</form>
|
|
|