Projet

Général

Profil

« Précédent | Suivant » 

Révision 58a0ffb4

Ajouté par Colin Fleming il y a presque 10 ans

Tidy up "reboot.php" XHTML

Move BODY tag before PHP "fbegin.inc"
Close INPUT tags

Voir les différences:

usr/local/www/reboot.php
49 49
include("head.inc");
50 50

  
51 51
?>
52
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
52 53
<?php include("fbegin.inc"); ?>
53 54
<?php if ($_POST['Submit'] == " " . gettext("Yes") . " "): ?>
54 55
<meta http-equiv=\"refresh\" content=\"70;url=/\">
55
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
56 56
<?php	print_info_box(gettext("The system is rebooting now. This may take one minute.")); ?>
57 57
<pre>
58 58
<?php 	system_reboot(); ?>
......
61 61
<form action="reboot.php" method="post">
62 62
	<p><strong><?=gettext("Are you sure you want to reboot the system?");?></strong></p>
63 63
	<p>
64
	<input name="Submit" type="submit" class="formbtn" value=" <?=gettext("Yes");?> ">
65
	<input name="Submit" type="submit" class="formbtn" value=" <?=gettext("No");?> ">
64
	<input name="Submit" type="submit" class="formbtn" value=" <?=gettext("Yes");?> " />
65
	<input name="Submit" type="submit" class="formbtn" value=" <?=gettext("No");?> " />
66 66
	</p>
67 67
</form>
68 68
<?php endif; ?>

Formats disponibles : Unified diff