Revision a55329ca
Added by NewEraCracker over 9 years ago
src/usr/local/www/firewall_rules_edit.php | ||
---|---|---|
1291 | 1291 |
$type, |
1292 | 1292 |
$name .' Address', |
1293 | 1293 |
$pconfig[$type] |
1294 |
))->addMask($type .'mask', $pconfig[$type.'mask'])->setPattern('[0-9, a-z, A-Z and .');
|
|
1294 |
))->addMask($type .'mask', $pconfig[$type.'mask'])->setPattern('[a-zA-Z0-9\_\.\:]+');
|
|
1295 | 1295 |
|
1296 | 1296 |
$section->add($group); |
1297 | 1297 |
|
src/usr/local/www/services_igmpproxy_edit.php | ||
---|---|---|
257 | 257 |
null, |
258 | 258 |
$address, |
259 | 259 |
['placeholder' => 'Address'] |
260 |
))->sethelp($tracker == $rows ? 'Network/CIDR':null)->addMask('address_subnet' . $tracker, $address_subnet)->setWidth(4)->setPattern('[0-9, a-z, A-Z and .');
|
|
260 |
))->sethelp($tracker == $rows ? 'Network/CIDR':null)->addMask('address_subnet' . $tracker, $address_subnet)->setWidth(4)->setPattern('[a-zA-Z0-9\_\.\:]+');
|
|
261 | 261 |
|
262 | 262 |
$group->add(new Form_Button( |
263 | 263 |
'deleterow' . $counter, |
src/usr/local/www/services_router_advertisements.php | ||
---|---|---|
372 | 372 |
'radns' . $idx, |
373 | 373 |
'Server ' . $idx, |
374 | 374 |
$pconfig['radns' . $idx] |
375 |
))->setPattern('[0-9, a-z, A-Z and .')->setHelp(($idx < 3) ? '':'Leave blank to use the system default DNS servers - this interface\'s IP if DNS Forwarder or Resolver is enabled, otherwise the servers configured on the General page');
|
|
375 |
))->setPattern('[a-zA-Z0-9\_\.\:]+')->setHelp(($idx < 3) ? '':'Leave blank to use the system default DNS servers - this interface\'s IP if DNS Forwarder or Resolver is enabled, otherwise the servers configured on the General page');
|
|
376 | 376 |
} |
377 | 377 |
|
378 | 378 |
$section->addInput(new Form_Input( |
Also available in: Unified diff
Fix all unterminated character class for pattern