lars
c35e204a7b
changed warning/success message system to a new style unified design of "hints" in form interfaces fixed small bugs in "network" and "partition" plugin interfaces "partition" and "disks" plugins: show blockdevice size during device selection german translation for "disks" plugin added
44 lines
1.8 KiB
C#
44 lines
1.8 KiB
C#
<?cs # $Id$ ?>
|
|
|
|
<h1><?cs var:html_escape(Lang.Plugins.date.Title.ConfigDate) ?></h1>
|
|
|
|
<?cs call:handle_messages() ?>
|
|
|
|
<?cs call:print_form_header("set_date", "plugins/date") ?>
|
|
|
|
<p><label for="date"><?cs var:html_escape(Lang.Plugins.date.Text.Date) ?>: </label><br/>
|
|
<select name="day" tabindex="1" 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" tabindex="2" 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" tabindex="3" 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" tabindex="4" 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" tabindex="5" 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" tabindex="6"><?cs var:html_escape(Lang.Plugins.date.Button.ConfigDate) ?></button>
|
|
|
|
</form>
|
|
|