Project

General

Profile

« Previous | Next » 

Revision aaaf679f

Added by Carlos Eduardo Ramos almost 15 years ago

gettext() fixes on diag_nanobsd.php

View differences:

usr/local/www/diag_nanobsd.php
145 145
						<td width="22%" valign="top" class="vncell"><?=gettext("Bootup");?></td>
146 146
						<td width="78%" class="vtable">
147 147
							<form action="diag_nanobsd.php" method="post" name="iform">
148
								<?=gettext("Bootup slice is currently");?>: <?php echo $ACTIVE_SLICE; ?>
148
								<?=gettext("Bootup slice is currently:");?> <?php echo $ACTIVE_SLICE; ?>
149 149
								<br/><br/><?=gettext("This will switch the bootup slice to the alternate slice.");?>
150 150
								<br/>
151 151
								<input type='hidden' name='bootslice' value='switch'>
......
162 162
						<td width="22%" valign="top" class="vncell"><?=gettext("Duplicate bootup slice");?></td>
163 163
						<td width="78%" class="vtable">
164 164
							<form action="diag_nanobsd.php" method="post" name="iform">						
165
								<?=gettext("Destination slice");?>:							
165
								<?=gettext("Destination slice:");?>
166 166
								<select name='destslice'>
167 167
									<option value='<?php echo $COMPLETE_PATH; ?>'>
168 168
										<?php echo "{$COMPLETE_BOOT_PATH} -> {$TOFLASH}"; ?>
......
185 185
						<td width="22%" valign="top" class="vncell"><?=gettext("RRD Backup");?></td>
186 186
						<td width="78%" class="vtable">
187 187
							<form action="diag_nanobsd.php" method="post" name="iform">
188
								<?=gettext("Frequency");?>:
188
								<?=gettext("Frequency:");?>
189 189
								<select name='rrdbackup'>
190
									<option value='0' <? if (!isset($config['system']['rrdbackup']) || ($config['system']['rrdbackup'] == 0)) echo "selected"; ?>>Disable</option>
190
									<option value='0' <? if (!isset($config['system']['rrdbackup']) || ($config['system']['rrdbackup'] == 0)) echo "selected"; ?>><?=gettext("Disable"); ?></option>
191 191
								<? for ($x=1; $x<=24; $x++) { ?>
192
									<option value='<?= $x ?>' <? if ($config['system']['rrdbackup'] == $x) echo "selected"; ?>><?= $x ?> hour<? if ($x>1) echo "s"; ?></option>
192
									<option value='<?= $x ?>' <? if ($config['system']['rrdbackup'] == $x) echo "selected"; ?>><?= $x ?> <?=gettext("hour"); ?><? if ($x>1) echo "s"; ?></option>
193 193
								<? } ?>
194 194
								</select>
195 195
								<br/>
......
202 202
						<td width="22%" valign="top" class="vncell"><?=gettext("DHCP Leases Backup");?></td>
203 203
						<td width="78%" class="vtable">
204 204
							<form action="diag_nanobsd.php" method="post" name="iform">
205
								<?=gettext("Frequency");?>:
205
								<?=gettext("Frequency:");?>
206 206
								<select name='dhcpbackup'>
207
									<option value='0' <? if (!isset($config['system']['dhcpbackup']) || ($config['system']['dhcpbackup'] == 0)) echo "selected"; ?>>Disable</option>
207
									<option value='0' <? if (!isset($config['system']['dhcpbackup']) || ($config['system']['dhcpbackup'] == 0)) echo "selected"; ?>><?=gettext("Disable"); ?></option>
208 208
								<? for ($x=1; $x<=24; $x++) { ?>
209
									<option value='<?= $x ?>' <? if ($config['system']['dhcpbackup'] == $x) echo "selected"; ?>><?= $x ?> hour<? if ($x>1) echo "s"; ?></option>
209
									<option value='<?= $x ?>' <? if ($config['system']['dhcpbackup'] == $x) echo "selected"; ?>><?= $x ?> <?=gettext("hour"); ?><? if ($x>1) echo "s"; ?></option>
210 210
								<? } ?>
211 211
								</select>
212 212
								<br/>
......
216 216
						</td>
217 217
					</tr>
218 218
					<tr>
219
						<td valign="top" class="">&nbsp;</td><td><br/><input type='submit' value='Save'></form></td>
219
						<td valign="top" class="">&nbsp;</td><td><br/><input type='submit' value='<?=gettext("Save"); ?>'></form></td>
220 220
					</tr>
221 221
<?php if(file_exists("/conf/upgrade_log.txt")): ?>
222 222
					<tr>

Also available in: Unified diff