From f25e48e4cbe6423ff76216b9c3b48e4908518aec Mon Sep 17 00:00:00 2001 From: Phil Davis Date: Tue, 24 Jan 2017 11:36:04 +0545 Subject: More required fields for Interface pages (cherry picked from commit fb572e810abe247c273c27ffafb129430b13be1f) --- src/usr/local/www/interfaces_gif_edit.php | 4 ++-- src/usr/local/www/interfaces_gre_edit.php | 4 ++-- src/usr/local/www/interfaces_lagg_edit.php | 2 +- src/usr/local/www/interfaces_qinq_edit.php | 2 +- src/usr/local/www/interfaces_vlan_edit.php | 2 +- src/usr/local/www/interfaces_wireless_edit.php | 4 ++-- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/usr/local/www/interfaces_gif_edit.php b/src/usr/local/www/interfaces_gif_edit.php index 5560b82..f954ea5 100644 --- a/src/usr/local/www/interfaces_gif_edit.php +++ b/src/usr/local/www/interfaces_gif_edit.php @@ -208,7 +208,7 @@ $section = new Form_Section('GIF Configuration'); $section->addInput(new Form_Select( 'if', - 'Parent Interface', + '*Parent Interface', $pconfig['if'], build_parent_list() ))->setHelp('This interface serves as the local address to be used for the GIF tunnel.'); @@ -233,7 +233,7 @@ $section->addInput(new Form_IpAddress( $section->addInput(new Form_Select( 'tunnel-remote-net', - 'GIF tunnel subnet', + '*GIF tunnel subnet', $pconfig['tunnel-remote-net'], array_combine(range(128, 1, -1), range(128, 1, -1)) ))->setHelp('The subnet is used for determining the network that is tunnelled.'); diff --git a/src/usr/local/www/interfaces_gre_edit.php b/src/usr/local/www/interfaces_gre_edit.php index dbc4d5c..21b30f8 100644 --- a/src/usr/local/www/interfaces_gre_edit.php +++ b/src/usr/local/www/interfaces_gre_edit.php @@ -202,7 +202,7 @@ $section = new Form_Section('GRE Configuration'); $section->addInput(new Form_Select( 'if', - 'Parent Interface', + '*Parent Interface', $pconfig['if'], build_parent_list() ))->setHelp('This interface serves as the local address to be used for the GRE tunnel.'); @@ -227,7 +227,7 @@ $section->addInput(new Form_IpAddress( $section->addInput(new Form_Select( 'tunnel-remote-net', - 'GRE tunnel subnet', + '*GRE tunnel subnet', $pconfig['tunnel-remote-net'], array_combine(range(128, 1, -1), range(128, 1, -1)) ))->setHelp('The subnet is used for determining the network that is tunnelled.'); diff --git a/src/usr/local/www/interfaces_lagg_edit.php b/src/usr/local/www/interfaces_lagg_edit.php index 0ae4d38..2e0bf0b 100644 --- a/src/usr/local/www/interfaces_lagg_edit.php +++ b/src/usr/local/www/interfaces_lagg_edit.php @@ -276,7 +276,7 @@ $section->addInput(new Form_Select( $section->addInput(new Form_Select( 'proto', - 'LAGG Protocol', + '*LAGG Protocol', $pconfig['proto'], array_combine($laggprotos, $laggprotosuc) ))->setHelp($protohelp); diff --git a/src/usr/local/www/interfaces_qinq_edit.php b/src/usr/local/www/interfaces_qinq_edit.php index 7258b9b..da4acf1 100644 --- a/src/usr/local/www/interfaces_qinq_edit.php +++ b/src/usr/local/www/interfaces_qinq_edit.php @@ -274,7 +274,7 @@ $section = new Form_Section('QinQ Configuration'); $section->addInput(new Form_Select( 'if', - 'Parent interface', + '*Parent interface', $pconfig['if'], build_parent_list() ))->setHelp('Only QinQ capable interfaces will be shown.'); diff --git a/src/usr/local/www/interfaces_vlan_edit.php b/src/usr/local/www/interfaces_vlan_edit.php index da80d57..9f4266f 100644 --- a/src/usr/local/www/interfaces_vlan_edit.php +++ b/src/usr/local/www/interfaces_vlan_edit.php @@ -214,7 +214,7 @@ $section = new Form_Section('VLAN Configuration'); $section->addInput(new Form_Select( 'if', - 'Parent Interface', + '*Parent Interface', $pconfig['if'], build_interfaces_list() ))->setWidth(6)->setHelp('Only VLAN capable interfaces will be shown.'); diff --git a/src/usr/local/www/interfaces_wireless_edit.php b/src/usr/local/www/interfaces_wireless_edit.php index 8b2d93d..91a8e01 100644 --- a/src/usr/local/www/interfaces_wireless_edit.php +++ b/src/usr/local/www/interfaces_wireless_edit.php @@ -209,14 +209,14 @@ $section = new Form_Section('Wireless Interface Configuration'); $section->addInput(new Form_Select( 'if', - 'Parent Interface', + '*Parent Interface', $pconfig['if'], build_parent_list() )); $section->addInput(new Form_Select( 'mode', - 'Mode', + '*Mode', $pconfig['mode'], array( 'bss' => gettext('Infrastructure (BSS)'), -- cgit v1.1