Project

General

Profile

« Previous | Next » 

Revision 50c306a9

Added by Carlos Eduardo Ramos almost 15 years ago

Fix gettext implementation on halt.php

View differences:

usr/local/www/halt.php
49 49
if ($_POST) {
50 50
	if ($_POST['Submit'] != " No ") {
51 51
		system_halt();
52
		$rebootmsg = sprintf(gettext"The system is halting now. This may take one minute.");
52
		$rebootmsg = gettext("The system is halting now. This may take one minute.");
53 53
	} else {
54 54
		header(gettext("Location: index.php"));
55 55
		exit;
......
66 66
      <form action="halt.php" method="post">
67 67
        <p><strong><?=gettext("Are you sure you want to halt the system?");?></strong></p>
68 68
        <p>
69
          <input name="Submit" type="submit" class="formbtn" value=" Yes ">
70
          <input name="Submit" type="submit" class="formbtn" value=" No ">
69
          <input name="Submit" type="submit" class="formbtn" value=" <?=gettext("Yes"); ?> ">
70
          <input name="Submit" type="submit" class="formbtn" value=" <?=gettext("No"); ?> ">
71 71
        </p>
72 72
      </form>
73 73
<?php endif; ?>

Also available in: Unified diff