Project

General

Profile

« Previous | Next » 

Revision 2ea00c3e

Added by Scott Ullrich about 14 years ago

Add missing plugin code. Move the pre_write section up a bit.

View differences:

usr/local/www/firewall_nat_edit.php
290 290
		}
291 291
	}
292 292

  
293
	// Allow extending of the firewall edit page and include custom input validation 
294
	pfSense_handle_custom_code("/usr/local/pkg/firewall_nat/input_validation");
295

  
293 296
	if (!$input_errors) {
294 297
		$natent = array();
295 298

  
......
410 413
			mark_subsystem_dirty('filter');
411 414
		}
412 415

  
416
		// Allow extending of the firewall edit page and include custom input validation 
417
		pfSense_handle_custom_code("/usr/local/pkg/firewall_nat/pre_write_config");
418

  
413 419
		// Update the NAT entry now
414 420
		if (isset($id) && $a_nat[$id])
415 421
			$a_nat[$id] = $natent;
......
443 449
				<tr>
444 450
					<td colspan="2" valign="top" class="listtopic"><?=gettext("Edit Redirect entry"); ?></td>
445 451
				</tr>
452
<?php
453
		// Allow extending of the firewall edit page and include custom input validation 
454
		pfSense_handle_custom_code("/usr/local/pkg/firewall_nat/htmlphpearly");
455
?>
446 456
		<tr>
447 457
			<td width="22%" valign="top" class="vncellreq"><?=gettext("Disabled"); ?></td>
448 458
			<td width="78%" class="vtable">
......
817 827
					</select>
818 828
				  </td>
819 829
                </tr><?php endif; ?>
830
<?php
831
		// Allow extending of the firewall edit page and include custom input validation 
832
		pfSense_handle_custom_code("/usr/local/pkg/firewall_nat/htmlphplate");
833
?>
820 834
				<tr>
821 835
                  <td width="22%" valign="top">&nbsp;</td>
822 836
                  <td width="78%">&nbsp;</td>

Also available in: Unified diff