Project

General

Profile

« Previous | Next » 

Revision d9327477

Added by Scott Ullrich about 14 years ago

Add hooks

View differences:

usr/local/www/firewall_aliases_edit.php
285 285
			$input_errors[] = sprintf(gettext('The alias(es): %s cannot be nested because they are not of the same type.'), $wrongaliases);
286 286
	}
287 287

  
288
	// Allow extending of the firewall edit page and include custom input validation 
289
	pfSense_handle_custom_code("/usr/local/pkg/firewall_aliases_edit/input_validation");
290

  
288 291
	if (!$input_errors) {
289 292
		$alias['address'] = is_array($address) ? implode(" ", $address) : $address;
290 293
		$alias['descr'] = $_POST['descr'];
......
581 584
      </span>
582 585
    </td>
583 586
  </tr>
587
  <?php pfSense_handle_custom_code("/usr/local/pkg/firewall_aliases_edit/after_first_tr"); ?>
584 588
  <tr>
585 589
    <td width="22%" valign="top" class="vncell"><?=gettext("Description"); ?></td>
586 590
    <td width="78%" class="vtable">

Also available in: Unified diff