From 3478ac161e8eb18e92c04f2bc8af4921d0a521a6 Mon Sep 17 00:00:00 2001 From: Stephen Beaver Date: Mon, 23 Nov 2015 12:32:44 -0500 Subject: Change Form_TextArea to Form_Textarea (autoload now makes the classes case sensitive) --- src/usr/local/www/pkg_edit.php | 8 ++++---- src/usr/local/www/services_captiveportal_vouchers.php | 4 ++-- src/usr/local/www/services_unbound.php | 2 +- src/usr/local/www/vpn_openvpn_client.php | 6 +++--- src/usr/local/www/vpn_openvpn_csc.php | 2 +- src/usr/local/www/vpn_openvpn_server.php | 6 +++--- src/usr/local/www/wizard.php | 2 +- 7 files changed, 15 insertions(+), 15 deletions(-) diff --git a/src/usr/local/www/pkg_edit.php b/src/usr/local/www/pkg_edit.php index cf7b197..02085e89 100644 --- a/src/usr/local/www/pkg_edit.php +++ b/src/usr/local/www/pkg_edit.php @@ -348,7 +348,7 @@ function display_row($trc, $value, $fieldname, $type, $rowhelper, $description) ))->setHelp($description); break; case "textarea": - $group->add(new Form_TextArea( + $group->add(new Form_Textarea( $fieldname . $trc, null, $value @@ -987,20 +987,20 @@ foreach ($pkg['fields']['field'] as $pkga) { $wrap =($pkga['wrap'] == "off" ? 'wrap="off" style="white-space:nowrap;"' : ''); if ($grouping) { - $group->add(new Form_TextArea( + $group->add(new Form_Textarea( $pkga['fieldname'], $pkga['fielddescr'], $value ))->setHelp(fixup_string($pkga['description'])); } else { if (isset($pkga['advancedfield']) && isset($advfield_count)) { - $advanced->addInput(new Form_TextArea( + $advanced->addInput(new Form_Textarea( $pkga['fieldname'], $pkga['fielddescr'], $value ))->setHelp(fixup_string($pkga['description'])); } else { - $section->addInput(new Form_TextArea( + $section->addInput(new Form_Textarea( $pkga['fieldname'], $pkga['fielddescr'], $value diff --git a/src/usr/local/www/services_captiveportal_vouchers.php b/src/usr/local/www/services_captiveportal_vouchers.php index 7230c4e..fde65f3 100644 --- a/src/usr/local/www/services_captiveportal_vouchers.php +++ b/src/usr/local/www/services_captiveportal_vouchers.php @@ -516,13 +516,13 @@ $form->add($section); $section = new Form_Section('Create, generate and activate Rolls with Vouchers'); $section->addClass('rolledit'); -$section->addInput(new Form_TextArea( +$section->addInput(new Form_Textarea( 'publickey', 'Voucher Public Key', $pconfig['publickey'] ))->setHelp('Paste an RSA public key (64 Bit or smaller) in PEM format here. This key is used to decrypt vouchers.'); -$section->addInput(new Form_TextArea( +$section->addInput(new Form_Textarea( 'privatekey', 'Voucher Private Key', $pconfig['privatekey'] diff --git a/src/usr/local/www/services_unbound.php b/src/usr/local/www/services_unbound.php index f6f4a16..4ab17d1 100644 --- a/src/usr/local/www/services_unbound.php +++ b/src/usr/local/www/services_unbound.php @@ -62,7 +62,7 @@ ##|*NAME=Services: DNS Resolver page ##|*DESCR=Allow access to the 'Services: DNS Resolver' page. ##|*MATCH=services_unbound.php* -##|-PRIV +##|-PRIVf require_once("guiconfig.inc"); require_once("unbound.inc"); diff --git a/src/usr/local/www/vpn_openvpn_client.php b/src/usr/local/www/vpn_openvpn_client.php index 611514d..316abe9 100644 --- a/src/usr/local/www/vpn_openvpn_client.php +++ b/src/usr/local/www/vpn_openvpn_client.php @@ -631,7 +631,7 @@ if($act=="new" || $act=="edit") : )); } - $section->addInput(new Form_TextArea( + $section->addInput(new Form_Textarea( 'tls', 'Key', $pconfig['tls'] @@ -676,7 +676,7 @@ if($act=="new" || $act=="edit") : $pconfig['autokey_enable'] && empty($pconfig['shared_key']) )); - $section->addInput(new Form_TextArea( + $section->addInput(new Form_Textarea( 'shared_key', 'Shared Key', $pconfig['shared_key'] @@ -798,7 +798,7 @@ $section->addInput(new Form_Input( $section = new Form_Section('Advanced Configuration'); $section->addClass('advanced'); - $section->addInput(new Form_TextArea( + $section->addInput(new Form_Textarea( 'custom_options', 'Custom options', $pconfig['custom_options'] diff --git a/src/usr/local/www/vpn_openvpn_csc.php b/src/usr/local/www/vpn_openvpn_csc.php index 7b9124b..56083da 100644 --- a/src/usr/local/www/vpn_openvpn_csc.php +++ b/src/usr/local/www/vpn_openvpn_csc.php @@ -557,7 +557,7 @@ if($act=="new" || $act=="edit"): $section->add($group); - $section->addInput(new Form_TextArea( + $section->addInput(new Form_Textarea( 'custom_options', 'Advanced', $pconfig['custom_options'] diff --git a/src/usr/local/www/vpn_openvpn_server.php b/src/usr/local/www/vpn_openvpn_server.php index 67b0427..e250bdb 100644 --- a/src/usr/local/www/vpn_openvpn_server.php +++ b/src/usr/local/www/vpn_openvpn_server.php @@ -815,7 +815,7 @@ if($act=="new" || $act=="edit") : )); } - $section->addInput(new Form_TextArea( + $section->addInput(new Form_Textarea( 'tls', 'Key', $pconfig['tls'] @@ -877,7 +877,7 @@ if($act=="new" || $act=="edit") : )); } - $section->addInput(new Form_TextArea( + $section->addInput(new Form_Textarea( 'shared_key', 'Shared Key', $pconfig['shared_key'] @@ -1236,7 +1236,7 @@ if($act=="new" || $act=="edit") : $section = new Form_Section('Advanced Configuration'); $section->addClass('advanced'); - $section->addInput(new Form_TextArea( + $section->addInput(new Form_Textarea( 'custom_options', 'Custom options', $pconfig['custom_options'] diff --git a/src/usr/local/www/wizard.php b/src/usr/local/www/wizard.php index abf051a..01e1e9e 100644 --- a/src/usr/local/www/wizard.php +++ b/src/usr/local/www/wizard.php @@ -795,7 +795,7 @@ if ($pkg['step'][$stepid]['fields']['field'] != "") { $etitle = fixup_string($field['name']); } - $section->addInput(new Form_TextArea( + $section->addInput(new Form_Textarea( $name, $etitle, $value -- cgit v1.1