Project

General

Profile

Download (19.8 KB) Statistics
| Branch: | Tag: | Revision:
1
<?php
2
/* $Id$ */
3
/*
4
	system.php
5
	part of m0n0wall (http://m0n0.ch/wall)
6

    
7
	Copyright (C) 2003-2004 Manuel Kasper <mk@neon1.net>.
8
	Copyright (C) 2013-2015 Electric Sheep Fencing, LP
9
	All rights reserved.
10

    
11
	Redistribution and use in source and binary forms, with or without
12
	modification, are permitted provided that the following conditions are met:
13

    
14
	1. Redistributions of source code must retain the above copyright notice,
15
	   this list of conditions and the following disclaimer.
16

    
17
	2. Redistributions in binary form must reproduce the above copyright
18
	   notice, this list of conditions and the following disclaimer in the
19
	   documentation and/or other materials provided with the distribution.
20

    
21
	THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
22
	INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
23
	AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
24
	AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
25
	OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
26
	SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27
	INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
28
	CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29
	ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
30
	POSSIBILITY OF SUCH DAMAGE.
31
*/
32
/*
33
	pfSense_BUILDER_BINARIES:	/bin/kill	/usr/bin/tar
34
	pfSense_MODULE:	system
35
*/
36

    
37
##|+PRIV
38
##|*IDENT=page-system-generalsetup
39
##|*NAME=System: General Setup page
40
##|*DESCR=Allow access to the 'System: General Setup' page.
41
##|*MATCH=system.php*
42
##|-PRIV
43

    
44
require("guiconfig.inc");
45
require_once("functions.inc");
46
require_once("filter.inc");
47
require_once("shaper.inc");
48

    
49
$pconfig['hostname'] = $config['system']['hostname'];
50
$pconfig['domain'] = $config['system']['domain'];
51
list($pconfig['dns1'],$pconfig['dns2'],$pconfig['dns3'],$pconfig['dns4']) = $config['system']['dnsserver'];
52

    
53
$arr_gateways = return_gateways_array();
54

    
55
$pconfig['dns1gw'] = $config['system']['dns1gw'];
56
$pconfig['dns2gw'] = $config['system']['dns2gw'];
57
$pconfig['dns3gw'] = $config['system']['dns3gw'];
58
$pconfig['dns4gw'] = $config['system']['dns4gw'];
59

    
60
$pconfig['dnsallowoverride'] = isset($config['system']['dnsallowoverride']);
61
$pconfig['timezone'] = $config['system']['timezone'];
62
$pconfig['timeupdateinterval'] = $config['system']['time-update-interval'];
63
$pconfig['timeservers'] = $config['system']['timeservers'];
64
$pconfig['theme'] = $config['system']['theme'];
65
$pconfig['language'] = $config['system']['language'];
66

    
67
$pconfig['dnslocalhost'] = isset($config['system']['dnslocalhost']);
68

    
69
if (!isset($pconfig['timeupdateinterval']))
70
	$pconfig['timeupdateinterval'] = 300;
71
if (!$pconfig['timezone'])
72
	$pconfig['timezone'] = "Etc/UTC";
73
if (!$pconfig['timeservers'])
74
	$pconfig['timeservers'] = "pool.ntp.org";
75

    
76
$changedesc = gettext("System") . ": ";
77
$changecount = 0;
78

    
79
function is_timezone($elt) {
80
	return !preg_match("/\/$/", $elt);
81
}
82

    
83
if($pconfig['timezone'] <> $_POST['timezone']) {
84
	filter_pflog_start(true);
85
}
86

    
87
exec('/usr/bin/tar -tzf /usr/share/zoneinfo.tgz', $timezonelist);
88
$timezonelist = array_filter($timezonelist, 'is_timezone');
89
sort($timezonelist);
90

    
91
$multiwan = false;
92
$interfaces = get_configured_interface_list();
93
foreach($interfaces as $interface) {
94
	if(interface_has_gateway($interface)) {
95
		$multiwan = true;
96
	}
97
}
98

    
99
if ($_POST) {
100

    
101
	$changecount++;
102
	
103
	unset($input_errors);
104
	$pconfig = $_POST;
105

    
106
	/* input validation */
107
	$reqdfields = explode(" ", "hostname domain");
108
	$reqdfieldsn = array(gettext("Hostname"),gettext("Domain"));
109

    
110
	do_input_validation($_POST, $reqdfields, $reqdfieldsn, $input_errors);
111

    
112
	if ($_POST['hostname']) {
113
		if (!is_hostname($_POST['hostname'])) {
114
			$input_errors[] = gettext("The hostname can only contain the characters A-Z, 0-9 and '-'. It may not start or end with '-'.");
115
		} else {
116
			if (!is_unqualified_hostname($_POST['hostname'])) {
117
				$input_errors[] = gettext("A valid hostname is specified, but the domain name part should be omitted");
118
			}
119
		}
120
	}
121
	if ($_POST['domain'] && !is_domain($_POST['domain'])) {
122
		$input_errors[] = gettext("The domain may only contain the characters a-z, 0-9, '-' and '.'.");
123
	}
124

    
125
	$ignore_posted_dnsgw = array();
126

    
127
	for ($dnscounter=1; $dnscounter<5; $dnscounter++){
128
		$dnsname="dns{$dnscounter}";
129
		$dnsgwname="dns{$dnscounter}gw";
130
		if (($_POST[$dnsname] && !is_ipaddr($_POST[$dnsname]))) {
131
			$input_errors[] = gettext("A valid IP address must be specified for DNS server $dnscounter.");
132
		} else {
133
			if(($_POST[$dnsgwname] <> "") && ($_POST[$dnsgwname] <> "none")) {
134
				// A real gateway has been selected.
135
				if (is_ipaddr($_POST[$dnsname])) {
136
					if ((is_ipaddrv4($_POST[$dnsname])) && (validate_address_family($_POST[$dnsname], $_POST[$dnsgwname]) === false )) {
137
						$input_errors[] = gettext("You can not specify IPv6 gateway '{$_POST[$dnsgwname]}' for IPv4 DNS server '{$_POST[$dnsname]}'");
138
					}
139
					if ((is_ipaddrv6($_POST[$dnsname])) && (validate_address_family($_POST[$dnsname], $_POST[$dnsgwname]) === false )) {
140
						$input_errors[] = gettext("You can not specify IPv4 gateway '{$_POST[$dnsgwname]}' for IPv6 DNS server '{$_POST[$dnsname]}'");
141
					}
142
				} else {
143
					// The user selected a gateway but did not provide a DNS address. Be nice and set the gateway back to "none".
144
					$ignore_posted_dnsgw[$dnsgwname] = true;
145
				}
146
			}
147
		}
148
	}
149

    
150
	$direct_networks_list = explode(" ", filter_get_direct_networks_list());
151
	for ($dnscounter=1; $dnscounter<5; $dnscounter++) {
152
		$dnsitem = "dns{$dnscounter}";
153
		$dnsgwitem = "dns{$dnscounter}gw";
154
		if ($_POST[$dnsgwitem]) {
155
			if(interface_has_gateway($_POST[$dnsgwitem])) {
156
				foreach($direct_networks_list as $direct_network) {
157
					if(ip_in_subnet($_POST[$dnsitem], $direct_network)) {
158
						$input_errors[] = sprintf(gettext("You can not assign a gateway to DNS '%s' server which is on a directly connected network."),$_POST[$dnsitem]);
159
					}
160
				}
161
			}
162
		}
163
	}
164

    
165
	$t = (int)$_POST['timeupdateinterval'];
166
	if (($t < 0) || (($t > 0) && ($t < 6)) || ($t > 1440)) {
167
		$input_errors[] = gettext("The time update interval must be either 0 (disabled) or between 6 and 1440.");
168
	}
169
	# it's easy to have a little too much whitespace in the field, clean it up for the user before processing.
170
	$_POST['timeservers'] = preg_replace('/[[:blank:]]+/', ' ', $_POST['timeservers']);
171
	$_POST['timeservers'] = trim($_POST['timeservers']);
172
	foreach (explode(' ', $_POST['timeservers']) as $ts) {
173
		if (!is_domain($ts)) {
174
			$input_errors[] = gettext("A NTP Time Server name may only contain the characters a-z, 0-9, '-' and '.'.");
175
		}
176
	}
177

    
178
	if (!$input_errors) {
179
		update_if_changed("hostname", $config['system']['hostname'], $_POST['hostname']);
180
		update_if_changed("domain", $config['system']['domain'], $_POST['domain']);
181

    
182
		update_if_changed("timezone", $config['system']['timezone'], $_POST['timezone']);
183
		update_if_changed("NTP servers", $config['system']['timeservers'], strtolower($_POST['timeservers']));
184
		update_if_changed("NTP update interval", $config['system']['time-update-interval'], $_POST['timeupdateinterval']);
185

    
186
		if($_POST['language'] && $_POST['language'] != $config['system']['language']) {
187
			$config['system']['language'] = $_POST['language'];
188
			set_language($config['system']['language']);
189
		}
190

    
191
		/* pfSense themes */
192
		if (! $g['disablethemeselection']) {
193
			update_if_changed("System Theme", $config['theme'], $_POST['theme']);	
194
		}
195

    
196
		/* XXX - billm: these still need updating after figuring out how to check if they actually changed */
197
		$olddnsservers = $config['system']['dnsserver'];
198
		unset($config['system']['dnsserver']);
199
		if ($_POST['dns1'])
200
			$config['system']['dnsserver'][] = $_POST['dns1'];
201
		if ($_POST['dns2'])
202
			$config['system']['dnsserver'][] = $_POST['dns2'];
203
		if ($_POST['dns3'])
204
			$config['system']['dnsserver'][] = $_POST['dns3'];
205
		if ($_POST['dns4'])
206
			$config['system']['dnsserver'][] = $_POST['dns4'];
207

    
208
		$olddnsallowoverride = $config['system']['dnsallowoverride'];
209

    
210
		unset($config['system']['dnsallowoverride']);
211
		$config['system']['dnsallowoverride'] = $_POST['dnsallowoverride'] ? true : false;
212

    
213
		if($_POST['dnslocalhost'] == "yes")
214
			$config['system']['dnslocalhost'] = true;
215
		else
216
			unset($config['system']['dnslocalhost']);
217

    
218
		/* which interface should the dns servers resolve through? */
219
		$outdnscounter = 0;
220
		for ($dnscounter=1; $dnscounter<5; $dnscounter++) {
221
			$dnsname="dns{$dnscounter}";
222
			$dnsgwname="dns{$dnscounter}gw";
223
			$olddnsgwname = $config['system'][$dnsgwname];
224

    
225
			if ($ignore_posted_dnsgw[$dnsgwname])
226
				$thisdnsgwname = "none";
227
			else
228
				$thisdnsgwname = $pconfig[$dnsgwname];
229

    
230
			// "Blank" out the settings for this index, then we set them below using the "outdnscounter" index.
231
			$config['system'][$dnsgwname] = "none";
232
			$pconfig[$dnsgwname] = "none";
233
			$pconfig[$dnsname] = "";
234

    
235
			if ($_POST[$dnsname]) {
236
				// Only the non-blank DNS servers were put into the config above.
237
				// So we similarly only add the corresponding gateways sequentially to the config (and to pconfig), as we find non-blank DNS servers.
238
				// This keeps the DNS server IP and corresponding gateway "lined up" when the user blanks out a DNS server IP in the middle of the list.
239
				$outdnscounter++;
240
				$outdnsname="dns{$outdnscounter}";
241
				$outdnsgwname="dns{$outdnscounter}gw";
242
				$pconfig[$outdnsname] = $_POST[$dnsname];
243
				if($_POST[$dnsgwname]) {
244
					$config['system'][$outdnsgwname] = $thisdnsgwname;
245
					$pconfig[$outdnsgwname] = $thisdnsgwname;
246
				} else {
247
					// Note: when no DNS GW name is chosen, the entry is set to "none", so actually this case never happens.
248
					unset($config['system'][$outdnsgwname]);
249
					$pconfig[$outdnsgwname] = "";
250
				}
251
			}
252
			if (($olddnsgwname != "") && ($olddnsgwname != "none") && (($olddnsgwname != $thisdnsgwname) || ($olddnsservers[$dnscounter-1] != $_POST[$dnsname]))) {
253
				// A previous DNS GW name was specified. It has now gone or changed, or the DNS server address has changed.
254
				// Remove the route. Later calls will add the correct new route if needed.
255
				if (is_ipaddrv4($olddnsservers[$dnscounter-1]))
256
					mwexec("/sbin/route delete " . escapeshellarg($olddnsservers[$dnscounter-1]));
257
				else
258
					if (is_ipaddrv6($olddnsservers[$dnscounter-1]))
259
						mwexec("/sbin/route delete -inet6 " . escapeshellarg($olddnsservers[$dnscounter-1]));
260
			}
261
		}
262

    
263
		if ($changecount > 0)
264
			write_config($changedesc);
265

    
266
		$retval = 0;
267
		$retval = system_hostname_configure();
268
		$retval |= system_hosts_generate();
269
		$retval |= system_resolvconf_generate();
270
		if (isset($config['dnsmasq']['enable']))
271
			$retval |= services_dnsmasq_configure();
272
		elseif (isset($config['unbound']['enable']))
273
			$retval |= services_unbound_configure();
274
		$retval |= system_timezone_configure();
275
		$retval |= system_ntp_configure();
276

    
277
		if ($olddnsallowoverride != $config['system']['dnsallowoverride'])
278
			$retval |= send_event("service reload dns");
279

    
280
		// Reload the filter - plugins might need to be run.
281
		$retval |= filter_configure();
282
		
283
		$savemsg = get_std_save_message($retval);
284
	}
285

    
286
	unset($ignore_posted_dnsgw);
287
}
288

    
289
$pgtitle = array(gettext("System"),gettext("General Setup"));
290
include("head.inc");
291

    
292
?>
293

    
294
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
295
<?php
296
	include("fbegin.inc");
297
	if ($input_errors)
298
		print_input_errors($input_errors);
299
	if ($savemsg)
300
		print_info_box($savemsg);
301
?>
302
	<form action="system.php" method="post">
303
		<table width="100%" border="0" cellpadding="6" cellspacing="0" summary="general setup">
304
                        <tr>
305
                                <td id="mainarea">
306
                                        <div class="tabcont">
307
			<table width="100%" border="0" cellpadding="6" cellspacing="0" summary="main area">
308
			<tr>
309
				<td colspan="2" valign="top" class="listtopic"><?=gettext("System"); ?></td>
310
			</tr>
311
			<tr>
312
				<td width="22%" valign="top" class="vncellreq"><?=gettext("Hostname"); ?></td>
313
				<td width="78%" class="vtable"> <input name="hostname" type="text" class="formfld unknown" id="hostname" size="40" value="<?=htmlspecialchars($pconfig['hostname']);?>" />
314
					<br />
315
					<span class="vexpl">
316
						<?=gettext("Name of the firewall host, without domain part"); ?>
317
						<br />
318
						<?=gettext("e.g."); ?> <em>firewall</em>
319
					</span>
320
				</td>
321
			</tr>
322
			<tr>
323
				<td width="22%" valign="top" class="vncellreq"><?=gettext("Domain"); ?></td>
324
				<td width="78%" class="vtable"> <input name="domain" type="text" class="formfld unknown" id="domain" size="40" value="<?=htmlspecialchars($pconfig['domain']);?>" />
325
					<br />
326
					<span class="vexpl">
327
						<?=gettext("Do not use 'local' as a domain name. It will cause local hosts running mDNS (avahi, bonjour, etc.) to be unable to resolve local hosts not running mDNS."); ?>
328
						<br />
329
						<?=gettext("e.g."); ?> <em><?=gettext("mycorp.com, home, office, private, etc."); ?></em>
330
					</span>
331
				</td>
332
			</tr>
333
			<tr>
334
				<td width="22%" valign="top" class="vncell"><?=gettext("DNS servers"); ?></td>
335
				<td width="78%" class="vtable">
336
						<br />
337
						<table summary="dns servers and gateways">
338
							<tr>
339
								<td><b><?=gettext("DNS Server"); ?></b></td>
340
								<?php if ($multiwan): ?>
341
								<td><b><?=gettext("Use gateway"); ?></b></td>
342
								<?php endif; ?>
343
							</tr>
344
							<?php
345
								for ($dnscounter=1; $dnscounter<5; $dnscounter++):
346
									$fldname="dns{$dnscounter}gw";
347
							?>
348
							<tr>
349
								<td>
350
									<input name="dns<?php echo $dnscounter;?>" type="text" class="formfld unknown" id="dns<?php echo $dnscounter;?>" size="28" value="<?php echo $pconfig['dns'.$dnscounter];?>" />
351
								</td>
352
								<td>
353
<?php if ($multiwan): ?>
354
									<select name='<?=$fldname;?>'>
355
										<?php
356
											$gwname = "none";
357
											$dnsgw = "dns{$dnscounter}gw";
358
											if($pconfig[$dnsgw] == $gwname) {
359
												$selected = "selected=\"selected\"";
360
											} else {
361
												$selected = "";
362
											}
363
											echo "<option value='$gwname' $selected>$gwname</option>\n";
364
											foreach($arr_gateways as $gwname => $gwitem) {
365
												//echo $pconfig[$dnsgw];
366
												if((is_ipaddrv4(lookup_gateway_ip_by_name($pconfig[$dnsgw])) && (is_ipaddrv6($gwitem['gateway'])))) {
367
													continue;
368
												}
369
												if((is_ipaddrv6(lookup_gateway_ip_by_name($pconfig[$dnsgw])) && (is_ipaddrv4($gwitem['gateway'])))) {
370
													continue;
371
												}
372
												if($pconfig[$dnsgw] == $gwname) {
373
													$selected = "selected=\"selected\"";
374
												} else {
375
													$selected = "";
376
												}
377
												echo "<option value='$gwname' $selected>$gwname - {$gwitem['friendlyiface']} - {$gwitem['gateway']}</option>\n";
378
											}
379
										?>
380
									</select>
381
<?php endif; ?>
382
								</td>
383
							</tr>
384
							<?php endfor; ?>
385
						</table>
386
						<br />
387
						<span class="vexpl">
388
							<?=gettext("Enter IP addresses to be used by the system for DNS resolution. " .
389
							"These are also used for the DHCP service, DNS forwarder and for PPTP VPN clients."); ?>
390
							<br />
391
							<?php if($multiwan): ?>
392
							<br />
393
							<?=gettext("In addition, optionally select the gateway for each DNS server. " .
394
							"When using multiple WAN connections there should be at least one unique DNS server per gateway."); ?>
395
							<br />
396
							<?php endif; ?>
397
							<br />
398
							<input name="dnsallowoverride" type="checkbox" id="dnsallowoverride" value="yes" <?php if ($pconfig['dnsallowoverride']) echo "checked=\"checked\""; ?> />
399
							<strong>
400
								<?=gettext("Allow DNS server list to be overridden by DHCP/PPP on WAN"); ?>
401
							</strong>
402
							<br />
403
							<?php printf(gettext("If this option is set, %s will " .
404
							"use DNS servers assigned by a DHCP/PPP server on WAN " .
405
							"for its own purposes (including the DNS forwarder). " .
406
							"However, they will not be assigned to DHCP and PPTP " .
407
							"VPN clients."), $g['product_name']); ?>
408
							<br />
409
							<br />
410
							<input name="dnslocalhost" type="checkbox" id="dnslocalhost" value="yes" <?php if ($pconfig['dnslocalhost']) echo "checked=\"checked\""; ?> />
411
							<strong>
412
								<?=gettext("Do not use the DNS Forwarder as a DNS server for the firewall"); ?>
413
							</strong>
414
							<br />
415
							<?=gettext("By default localhost (127.0.0.1) will be used as the first DNS server where the DNS Forwarder or DNS Resolver is enabled and set to listen on Localhost, so system can use the local DNS service to perform lookups. ".
416
							"Checking this box omits localhost from the list of DNS servers."); ?>
417
						</span>
418
				</td>
419
			</tr>
420
			<tr>
421
				<td width="22%" valign="top" class="vncell"><?=gettext("Time zone"); ?></td>
422
				<td width="78%" class="vtable">
423
					<select name="timezone" id="timezone">
424
						<?php foreach ($timezonelist as $value): ?>
425
						<?php if(strstr($value, "GMT")) continue; ?>
426
						<option value="<?=htmlspecialchars($value);?>" <?php if ($value == $pconfig['timezone']) echo "selected=\"selected\""; ?>>
427
							<?=htmlspecialchars($value);?>
428
						</option>
429
						<?php endforeach; ?>
430
					</select>
431
					<br />
432
					<span class="vexpl">
433
						<?=gettext("Select the location closest to you"); ?>
434
					</span>
435
				</td>
436
			</tr>
437
<!--
438
			<tr>
439
				<td width="22%" valign="top" class="vncell">Time update interval</td>
440
				<td width="78%" class="vtable">
441
					<input name="timeupdateinterval" type="text" class="formfld unknown" id="timeupdateinterval" size="4" value="<?=htmlspecialchars($pconfig['timeupdateinterval']);?>" />
442
					<br />
443
					<span class="vexpl">
444
						Minutes between network time sync. 300 recommended,
445
						or 0 to disable
446
					</span>
447
				</td>
448
			</tr>
449
-->
450
			<tr>
451
				<td width="22%" valign="top" class="vncell"><?=gettext("NTP time server"); ?></td>
452
				<td width="78%" class="vtable">
453
					<input name="timeservers" type="text" class="formfld unknown" id="timeservers" size="40" value="<?=htmlspecialchars($pconfig['timeservers']);?>" />
454
					<br />
455
					<span class="vexpl">
456
						<?=gettext("Use a space to separate multiple hosts (only one " .
457
						"required). Remember to set up at least one DNS server " .
458
						"if you enter a host name here!"); ?>
459
					</span>
460
				</td>
461
			</tr>
462
			<tr>
463
				<td width="22%" valign="top" class="vncell"><?php echo gettext("Language");?></td>
464
				<td width="78%" class="vtable">
465
					<select name="language">
466
						<?php
467
						foreach(get_locale_list() as $lcode => $ldesc) {
468
							$selected = ' selected="selected"';
469
							if($lcode != $pconfig['language'])
470
								$selected = '';
471
							echo "<option value=\"{$lcode}\"{$selected}>{$ldesc}</option>";
472
						}
473
						?>
474
					</select>
475
					<strong>
476
						<?=gettext("Choose a language for the webConfigurator"); ?>
477
					</strong>
478
				</td>
479
			</tr>
480
			<tr>
481
				<td colspan="2" class="list" height="12">&nbsp;</td>
482
			</tr>
483
			<?php if (! $g['disablethemeselection']): ?>
484
			<tr>
485
				<td colspan="2" valign="top" class="listtopic"><?=gettext("Theme"); ?></td>
486
			</tr>
487
			<tr>
488
				<td width="22%" valign="top" class="vncell">&nbsp;</td>
489
				<td width="78%" class="vtable">
490
					<select name="theme">
491
						<?php
492
							$files = return_dir_as_array("/usr/local/www/themes/");
493
							foreach($files as $f):
494
								if ((substr($f, 0, 1) == "_") && !isset($config['system']['developer']))
495
									continue;
496
								if ($f == "CVS")
497
									continue;
498
								$curtheme = "pfsense";
499
								if ($config['theme'])
500
									$curtheme = $config['theme'];
501
								$selected = "";
502
								if($f == $curtheme)
503
									$selected = " selected=\"selected\"";
504
						?>
505
						<option <?=$selected;?>><?=$f;?></option>
506
						<?php endforeach; ?>
507
					</select>
508
					<strong>
509
						<?=gettext("This will change the look and feel of"); ?>
510
						<?=$g['product_name'];?>.
511
					</strong>
512
				</td>
513
			</tr>
514
			<?php endif; ?>
515
			<tr>
516
				<td colspan="2" class="list" height="12">&nbsp;</td>
517
			</tr>			
518
			<tr>
519
				<td width="22%" valign="top">&nbsp;</td>
520
				<td width="78%">
521
					<input name="Submit" type="submit" class="formbtn" value="<?=gettext("Save");?>" />
522
				</td>
523
			</tr>
524
		</table>
525
		</div>
526
		</td></tr>
527
		</table>
528
	</form>
529
<?php include("fend.inc"); ?>
530
</body>
531
</html>
(204-204/256)