summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2016-03-15 09:39:46 -0300
committerRenato Botelho <renato@netgate.com>2016-03-15 09:39:46 -0300
commitfaab522fa51ec83c0284e3f1fc6129580d7360f7 (patch)
tree18d092c0126f1d5b48b4285fad3345b4c3d225e9 /src
parent8658cc0ed1127c2c7f1d84b4610db75675d914e7 (diff)
downloadpfsense-faab522fa51ec83c0284e3f1fc6129580d7360f7.zip
pfsense-faab522fa51ec83c0284e3f1fc6129580d7360f7.tar.gz
Revert "Merge pull request #2728 from phil-davis/form_button"
This reverts commit a32bed49516f3df3d104a5026a5b2c74451f348f, reversing changes made to 9ec9978267a5d1985d6da8ba35d52b7174239d2f.
Diffstat (limited to 'src')
-rw-r--r--src/usr/local/www/diag_authentication.php2
-rw-r--r--src/usr/local/www/diag_backup.php8
-rwxr-xr-xsrc/usr/local/www/diag_dns.php4
-rwxr-xr-xsrc/usr/local/www/diag_dump_states.php4
-rw-r--r--src/usr/local/www/diag_dump_states_sources.php2
-rw-r--r--src/usr/local/www/diag_nanobsd.php8
-rw-r--r--src/usr/local/www/diag_packet_capture.php8
-rw-r--r--src/usr/local/www/diag_ping.php2
-rw-r--r--src/usr/local/www/diag_resetstate.php2
-rw-r--r--src/usr/local/www/diag_routes.php2
-rw-r--r--src/usr/local/www/diag_smart.php10
-rw-r--r--src/usr/local/www/diag_tables.php4
-rw-r--r--src/usr/local/www/diag_testport.php2
-rw-r--r--src/usr/local/www/diag_traceroute.php2
-rwxr-xr-xsrc/usr/local/www/firewall_aliases_edit.php2
-rw-r--r--src/usr/local/www/firewall_nat_edit.php2
-rw-r--r--src/usr/local/www/firewall_rules_edit.php4
-rw-r--r--src/usr/local/www/firewall_schedule_edit.php6
-rw-r--r--src/usr/local/www/firewall_shaper.php4
-rw-r--r--src/usr/local/www/firewall_shaper_vinterface.php4
-rw-r--r--src/usr/local/www/interfaces.php20
-rw-r--r--src/usr/local/www/interfaces_ppps_edit.php2
-rw-r--r--src/usr/local/www/interfaces_qinq_edit.php4
-rw-r--r--src/usr/local/www/load_balancer_pool_edit.php10
-rw-r--r--src/usr/local/www/pkg_edit.php6
-rw-r--r--src/usr/local/www/services_captiveportal.php18
-rw-r--r--src/usr/local/www/services_captiveportal_filemanager.php2
-rw-r--r--src/usr/local/www/services_captiveportal_mac_edit.php2
-rw-r--r--src/usr/local/www/services_captiveportal_zones_edit.php2
-rw-r--r--src/usr/local/www/services_dhcp.php18
-rw-r--r--src/usr/local/www/services_dhcp_edit.php8
-rw-r--r--src/usr/local/www/services_dhcpv6.php14
-rw-r--r--src/usr/local/www/services_dnsmasq_edit.php4
-rw-r--r--src/usr/local/www/services_dyndns_edit.php2
-rw-r--r--src/usr/local/www/services_igmpproxy_edit.php4
-rw-r--r--src/usr/local/www/services_ntpd.php8
-rw-r--r--src/usr/local/www/services_ntpd_acls.php4
-rw-r--r--src/usr/local/www/services_ntpd_gps.php4
-rw-r--r--src/usr/local/www/services_pppoe_edit.php4
-rw-r--r--src/usr/local/www/services_rfc2136_edit.php2
-rw-r--r--src/usr/local/www/services_router_advertisements.php4
-rw-r--r--src/usr/local/www/services_unbound.php2
-rw-r--r--src/usr/local/www/services_unbound_acls.php4
-rw-r--r--src/usr/local/www/services_unbound_host_edit.php4
-rw-r--r--src/usr/local/www/services_wol.php2
-rw-r--r--src/usr/local/www/status_captiveportal_expire.php2
-rw-r--r--src/usr/local/www/status_captiveportal_test.php2
-rw-r--r--src/usr/local/www/status_logs_settings.php2
-rw-r--r--src/usr/local/www/system_advanced_notifications.php4
-rw-r--r--src/usr/local/www/system_authservers.php2
-rw-r--r--src/usr/local/www/system_certmanager.php6
-rw-r--r--src/usr/local/www/system_crlmanager.php2
-rw-r--r--src/usr/local/www/system_gateways_edit.php2
-rw-r--r--src/usr/local/www/system_groupmanager.php4
-rw-r--r--src/usr/local/www/system_groupmanager_addprivs.php4
-rw-r--r--src/usr/local/www/system_usermanager.php4
-rw-r--r--src/usr/local/www/system_usermanager_addprivs.php4
-rw-r--r--src/usr/local/www/system_usermanager_settings.php2
58 files changed, 138 insertions, 138 deletions
diff --git a/src/usr/local/www/diag_authentication.php b/src/usr/local/www/diag_authentication.php
index 8a9fbdc..5e6813a 100644
--- a/src/usr/local/www/diag_authentication.php
+++ b/src/usr/local/www/diag_authentication.php
@@ -147,7 +147,7 @@ $form->add($section);
$form->addGlobal(new Form_Button(
'Submit',
- gettext('Test'),
+ 'Test',
null,
'fa-wrench'
))->addClass('btn-primary');
diff --git a/src/usr/local/www/diag_backup.php b/src/usr/local/www/diag_backup.php
index b7cd6cf..5b49019 100644
--- a/src/usr/local/www/diag_backup.php
+++ b/src/usr/local/www/diag_backup.php
@@ -664,7 +664,7 @@ $group = new Form_Group('');
// Note: ID attribute of each element created is to be unique. Not being used, suppressing it.
$group->add(new Form_Button(
'Submit',
- gettext('Download configuration as XML'),
+ 'Download configuration as XML',
null,
'fa-download'
))->setAttribute('id')->addClass('btn-primary');
@@ -712,7 +712,7 @@ $group = new Form_Group('');
// Note: ID attribute of each element created is to be unique. Not being used, suppressing it.
$group->add(new Form_Button(
'Submit',
- gettext('Restore Configuration'),
+ 'Restore Configuration',
null,
'fa-undo'
))->setHelp('The firewall will reboot after restoring the configuration.')->addClass('btn-danger restore')->setAttribute('id');
@@ -729,7 +729,7 @@ if (($config['installedpackages']['package'] != "") || (is_subsystem_dirty("pack
// Note: ID attribute of each element created is to be unique. Not being used, suppressing it.
$group->add(new Form_Button(
'Submit',
- gettext('Reinstall Packages'),
+ 'Reinstall Packages',
null,
'fa-retweet'
))->setHelp('Click this button to reinstall all system packages. This may take a while.')->addClass('btn-success')->setAttribute('id');
@@ -742,7 +742,7 @@ if (($config['installedpackages']['package'] != "") || (is_subsystem_dirty("pack
// Note: ID attribute of each element created is to be unique. Not being used, suppressing it.
$group->add(new Form_Button(
'Submit',
- gettext('Clear Package Lock'),
+ 'Clear Package Lock',
null,
'fa-wrench'
))->setHelp('Click this button to clear the package lock if a package fails to reinstall properly after an upgrade.')->addClass('btn-warning')->setAttribute('id');
diff --git a/src/usr/local/www/diag_dns.php b/src/usr/local/www/diag_dns.php
index 6858af7..7b1fb84 100755
--- a/src/usr/local/www/diag_dns.php
+++ b/src/usr/local/www/diag_dns.php
@@ -233,7 +233,7 @@ $section->addInput(new Form_Input(
if (!empty($resolved)) {
$form->addGlobal(new Form_Button(
'create_alias',
- gettext('Add alias'),
+ 'Add alias',
null,
'fa-plus'
))->removeClass('btn-primary')->addClass('btn-success');
@@ -243,7 +243,7 @@ $form->add($section);
$form->addGlobal(new Form_Button(
'Submit',
- gettext('Lookup'),
+ 'Lookup',
null,
'fa-search'
))->addClass('btn-primary');
diff --git a/src/usr/local/www/diag_dump_states.php b/src/usr/local/www/diag_dump_states.php
index 7d78cf1..c47ff71 100755
--- a/src/usr/local/www/diag_dump_states.php
+++ b/src/usr/local/www/diag_dump_states.php
@@ -175,7 +175,7 @@ $section->addInput(new Form_Input(
$filterbtn = new Form_Button(
'filterbtn',
- gettext('Filter'),
+ 'Filter',
null,
'fa-filter'
);
@@ -188,7 +188,7 @@ $section->addInput(new Form_StaticText(
if (isset($_POST['filter']) && (is_ipaddr($_POST['filter']) || is_subnet($_POST['filter']))) {
$killbtn = new Form_Button(
'killfilter',
- gettext('Kill States'),
+ 'Kill States',
null,
'fa-trash'
);
diff --git a/src/usr/local/www/diag_dump_states_sources.php b/src/usr/local/www/diag_dump_states_sources.php
index 4f00e49..70e8edd 100644
--- a/src/usr/local/www/diag_dump_states_sources.php
+++ b/src/usr/local/www/diag_dump_states_sources.php
@@ -136,7 +136,7 @@ $form->add($section);
$form->addGlobal(new Form_Button(
'Submit',
- gettext('Filter'),
+ 'Filter',
null,
'fa-filter'
))->addClass('btn-primary');
diff --git a/src/usr/local/www/diag_nanobsd.php b/src/usr/local/www/diag_nanobsd.php
index 3ace3ef..8bf3c75 100644
--- a/src/usr/local/www/diag_nanobsd.php
+++ b/src/usr/local/www/diag_nanobsd.php
@@ -156,7 +156,7 @@ $section->addInput(new Form_StaticText(
$slicebtn = new Form_Button(
'bootslice',
- gettext('Switch Slice'),
+ 'Switch Slice',
null,
'fa-retweet'
);
@@ -213,7 +213,7 @@ $section->addInput(new Form_Checkbox(
$permbtn = new Form_Button(
'setrw',
- gettext('Save'),
+ 'Save',
null,
'fa-save'
);
@@ -233,7 +233,7 @@ $section->addInput(new Form_Input(
$dupbtn = new Form_Button(
'duplicateslice',
- gettext('Duplicate') . ' ' . $COMPLETE_BOOT_PATH . ' -> ' . $TOFLASH,
+ 'Duplicate ' . $COMPLETE_BOOT_PATH . ' -> ' . $TOFLASH,
null,
'fa-clone'
);
@@ -252,7 +252,7 @@ $section->addInput(new Form_StaticText(
if (file_exists("/conf/upgrade_log.txt")) {
$viewbtn = new Form_Button(
'viewupgradelog',
- gettext('View log'),
+ 'View log',
null,
'fa-file-text-o'
);
diff --git a/src/usr/local/www/diag_packet_capture.php b/src/usr/local/www/diag_packet_capture.php
index 766002d..d31c335 100644
--- a/src/usr/local/www/diag_packet_capture.php
+++ b/src/usr/local/www/diag_packet_capture.php
@@ -393,14 +393,14 @@ $processisrunning = ($processcheck != "");
if (($action == gettext("Stop") or $action == "") and $processisrunning != true) {
$form->addGlobal(new Form_Button(
'startbtn',
- gettext('Start'),
+ 'Start',
null,
'fa-play-circle'
))->addClass('btn-success');
} else {
$form->addGlobal(new Form_Button(
'stopbtn',
- gettext('Stop'),
+ 'Stop',
null,
'fa-stop-circle'
))->addClass('btn-warning');
@@ -409,14 +409,14 @@ if (($action == gettext("Stop") or $action == "") and $processisrunning != true)
if (file_exists($fp.$fn) and $processisrunning != true) {
$form->addGlobal(new Form_Button(
'viewbtn',
- gettext('View Capture'),
+ 'View Capture',
null,
'fa-file-text-o'
))->addClass('btn-primary');
$form->addGlobal(new Form_Button(
'downloadbtn',
- gettext('Download Capture'),
+ 'Download Capture',
null,
'fa-download'
))->addClass('btn-primary');
diff --git a/src/usr/local/www/diag_ping.php b/src/usr/local/www/diag_ping.php
index 393aa38..e5756b6 100644
--- a/src/usr/local/www/diag_ping.php
+++ b/src/usr/local/www/diag_ping.php
@@ -204,7 +204,7 @@ $form->add($section);
$form->addGlobal(new Form_Button(
'Submit',
- gettext('Ping'),
+ 'Ping',
null,
'fa-rss'
))->addClass('btn-primary');
diff --git a/src/usr/local/www/diag_resetstate.php b/src/usr/local/www/diag_resetstate.php
index dd74677..a29dea2 100644
--- a/src/usr/local/www/diag_resetstate.php
+++ b/src/usr/local/www/diag_resetstate.php
@@ -143,7 +143,7 @@ $form->add($section);
$form->addGlobal(new Form_Button(
'Submit',
- gettext('Reset'),
+ 'Reset',
null,
'fa-trash'
))->addClass('btn-danger');
diff --git a/src/usr/local/www/diag_routes.php b/src/usr/local/www/diag_routes.php
index 3a378b3..d94b416 100644
--- a/src/usr/local/www/diag_routes.php
+++ b/src/usr/local/www/diag_routes.php
@@ -135,7 +135,7 @@ $form->add($section);
$form->addGlobal(new Form_Button(
'Submit',
- gettext('Update'),
+ 'Update',
null,
'fa-refresh'
))->addClass('btn-primary');
diff --git a/src/usr/local/www/diag_smart.php b/src/usr/local/www/diag_smart.php
index 553a76c..1bb0a37 100644
--- a/src/usr/local/www/diag_smart.php
+++ b/src/usr/local/www/diag_smart.php
@@ -294,7 +294,7 @@ switch ($action) {
if (!empty($pconfig['smartmonemail'])) {
$form->addGlobal(new Form_Button(
'test',
- gettext('Send test email'),
+ 'Send test email',
null,
'fa-send'
))->addClass('btn-info');
@@ -314,7 +314,7 @@ switch ($action) {
$btnview = new Form_Button(
'submit',
- gettext('View'),
+ 'View',
null,
'fa-file-text-o'
);
@@ -394,7 +394,7 @@ switch ($action) {
$btntest = new Form_Button(
'submit',
- gettext('Test'),
+ 'Test',
null,
'fa-wrench'
);
@@ -467,7 +467,7 @@ switch ($action) {
$btnview = new Form_Button(
'submit',
- gettext('View'),
+ 'View',
null,
'fa-file-text-o'
);
@@ -521,7 +521,7 @@ switch ($action) {
// Abort
$btnabort = new Form_Button(
'submit',
- gettext('Abort'),
+ 'Abort',
null,
'fa-times'
);
diff --git a/src/usr/local/www/diag_tables.php b/src/usr/local/www/diag_tables.php
index 90d1a91..cf0f956 100644
--- a/src/usr/local/www/diag_tables.php
+++ b/src/usr/local/www/diag_tables.php
@@ -177,14 +177,14 @@ if ($bogons || $urltable || !empty($entries)) {
if ($bogons || $urltable) {
$group->add(new Form_Button(
'Download',
- gettext('Update'),
+ 'Update',
null,
'fa-refresh'
))->addClass('btn-success btn-sm');
} elseif (!empty($entries)) {
$group->add(new Form_Button(
'clearall',
- gettext('Empty Table'),
+ 'Empty Table',
null,
'fa-trash'
))->addClass('btn-danger btn-sm');
diff --git a/src/usr/local/www/diag_testport.php b/src/usr/local/www/diag_testport.php
index 8ebe998..763742a 100644
--- a/src/usr/local/www/diag_testport.php
+++ b/src/usr/local/www/diag_testport.php
@@ -299,7 +299,7 @@ $form->add($section);
$form->addGlobal(new Form_Button(
'Submit',
- gettext('Test'),
+ 'Test',
null,
'fa-wrench'
))->addClass('btn-primary');
diff --git a/src/usr/local/www/diag_traceroute.php b/src/usr/local/www/diag_traceroute.php
index 301e417..eb1d762 100644
--- a/src/usr/local/www/diag_traceroute.php
+++ b/src/usr/local/www/diag_traceroute.php
@@ -206,7 +206,7 @@ $form->add($section);
$form->addGlobal(new Form_Button(
'Submit',
- gettext('Traceroute'),
+ 'Traceroute',
null,
'fa-rss'
))->addClass('btn-primary');
diff --git a/src/usr/local/www/firewall_aliases_edit.php b/src/usr/local/www/firewall_aliases_edit.php
index d0bf170..ae1790a 100755
--- a/src/usr/local/www/firewall_aliases_edit.php
+++ b/src/usr/local/www/firewall_aliases_edit.php
@@ -743,7 +743,7 @@ while ($counter < count($addresses)) {
$group->add(new Form_Button(
'deleterow' . $counter,
- gettext('Delete'),
+ 'Delete',
null,
'fa-trash'
))->addClass('btn-warning');
diff --git a/src/usr/local/www/firewall_nat_edit.php b/src/usr/local/www/firewall_nat_edit.php
index 4da5657..9efa9d4 100644
--- a/src/usr/local/www/firewall_nat_edit.php
+++ b/src/usr/local/www/firewall_nat_edit.php
@@ -721,7 +721,7 @@ $section->addInput(new Form_Select(
$btnsrcadv = new Form_Button(
'srcadv',
- gettext('Advanced'),
+ 'Advanced',
null,
'fa-cog'
);
diff --git a/src/usr/local/www/firewall_rules_edit.php b/src/usr/local/www/firewall_rules_edit.php
index 03b7623..b61b41e 100644
--- a/src/usr/local/www/firewall_rules_edit.php
+++ b/src/usr/local/www/firewall_rules_edit.php
@@ -1363,7 +1363,7 @@ foreach (['src' => 'Source', 'dst' => 'Destination'] as $type => $name) {
if ($type == 'src') {
$section->addInput(new Form_Button(
'btnsrcadv',
- gettext('Show advanced'),
+ 'Show advanced',
null,
'fa-cog'
))->addClass('btn-info');
@@ -1445,7 +1445,7 @@ $adv_open = is_aoadv_used($pconfig);
$btnadvanced = new Form_Button(
'toggle-advanced',
- gettext('Advanced Options'),
+ 'Advanced Options',
null,
'fa-cog'
);
diff --git a/src/usr/local/www/firewall_schedule_edit.php b/src/usr/local/www/firewall_schedule_edit.php
index 5edf76b..14f9d0c 100644
--- a/src/usr/local/www/firewall_schedule_edit.php
+++ b/src/usr/local/www/firewall_schedule_edit.php
@@ -468,14 +468,14 @@ $group = new Form_Group(null);
$group->add(new Form_Button(
'btnaddtime',
- gettext('Add Time'),
+ 'Add Time',
null,
'fa-plus'
))->addClass('btn-success btn-sm');
$group->add(new Form_Button(
'btnclrsel',
- gettext('Clear selection'),
+ 'Clear selection',
null,
'fa-undo'
))->addClass('btn-info btn-sm');
@@ -654,7 +654,7 @@ if ($getSchedule) {
$group->add(new Form_Button(
'Delete' . $counter,
- gettext('Delete'),
+ 'Delete',
null,
'fa-trash'
))->addClass('btn-xs btn-warning');
diff --git a/src/usr/local/www/firewall_shaper.php b/src/usr/local/www/firewall_shaper.php
index 10d3d9e..11c94fb 100644
--- a/src/usr/local/www/firewall_shaper.php
+++ b/src/usr/local/www/firewall_shaper.php
@@ -476,7 +476,7 @@ if (!$dfltmsg && $sform) {
$sform->addGlobal(new Form_Button(
'add',
- gettext('Add new Queue'),
+ 'Add new Queue',
$url,
'fa-plus'
))->addClass('btn-success');
@@ -491,7 +491,7 @@ if (!$dfltmsg && $sform) {
$sform->addGlobal(new Form_Button(
'delete',
- $queue ? gettext('Delete this queue'):gettext('Disable shaper on interface'),
+ $queue ? 'Delete this queue':'Disable shaper on interface',
$url,
'fa-trash'
))->addClass('btn-danger');
diff --git a/src/usr/local/www/firewall_shaper_vinterface.php b/src/usr/local/www/firewall_shaper_vinterface.php
index 1ecf77a..40747ef 100644
--- a/src/usr/local/www/firewall_shaper_vinterface.php
+++ b/src/usr/local/www/firewall_shaper_vinterface.php
@@ -446,7 +446,7 @@ if ($dfltmsg) {
$sform->addGlobal(new Form_Button(
'add',
- gettext('Add new Queue'),
+ 'Add new Queue',
$url,
'fa-plus'
))->addClass('btn-success');
@@ -461,7 +461,7 @@ if ($dfltmsg) {
$sform->addGlobal(new Form_Button(
'delete',
- ($queue && ($qname != $pipe)) ? gettext('Delete this queue'):gettext('Delete Limiter'),
+ ($queue && ($qname != $pipe)) ? 'Delete this queue':'Delete Limiter',
$url,
'fa-trash'
))->addClass('btn-danger');
diff --git a/src/usr/local/www/interfaces.php b/src/usr/local/www/interfaces.php
index 91a4c53..8d78d20 100644
--- a/src/usr/local/www/interfaces.php
+++ b/src/usr/local/www/interfaces.php
@@ -1754,7 +1754,7 @@ $macaddress = new Form_Input(
$btnmymac = new Form_Button(
'btnmymac',
- gettext('Copy My MAC'),
+ 'Copy My MAC',
null,
'fa-clone'
);
@@ -1816,7 +1816,7 @@ $group->add(new Form_Select(
$group->add(new Form_Button(
'addgw',
- gettext('Add a new gateway'),
+ 'Add a new gateway',
null,
'fa-plus'
))->addClass('btn-success')->setAttribute('data-target', '#newgateway')->setAttribute('data-toggle', 'modal');
@@ -1849,7 +1849,7 @@ $group->add(new Form_Select(
$group->add(new Form_Button(
'addgw6',
- gettext('Add a new gateway'),
+ 'Add a new gateway',
null,
'fa-plus'
))->addClass('btn-success')->setAttribute('data-target', '#newgateway6')->setAttribute('data-toggle', 'modal');
@@ -1891,7 +1891,7 @@ $modal->addInput(new Form_Input(
$btnaddgw6 = new Form_Button(
'add6',
- gettext('Add'),
+ 'Add',
null,
'fa-plus'
);
@@ -1900,7 +1900,7 @@ $btnaddgw6->addClass('btn-success');
$btncnxgw6 = new Form_Button(
'cnx6',
- gettext('Cancel'),
+ 'Cancel',
null,
'fa-undo'
);
@@ -2558,7 +2558,7 @@ $section->addInput(new Form_Select(
$section->addInput(new Form_Button(
'btnadvppp',
- gettext('Advanced PPP'),
+ 'Advanced PPP',
isset($pconfig['pppid']) ? 'interfaces_ppps_edit.php?id=' . htmlspecialchars($pconfig['pppid']) : 'interfaces_ppps_edit.php',
'fa-cog'
))->addClass('btn-info')->setHelp('Create a new PPP configuration');
@@ -2684,7 +2684,7 @@ $section->add($group);
$section->addInput(new Form_Button(
'btnadvppp',
- gettext('Advanced and MLPPP'),
+ 'Advanced and MLPPP',
isset($pconfig['pppid']) ? 'interfaces_ppps_edit.php?id=' . htmlspecialchars($pconfig['pppid']) : 'interfaces_ppps_edit.php',
'fa-cog'
))->addClass('btn-info')->setHelp('Click for additional PPPoE configuration options. Save first if changes have been made.');
@@ -2747,7 +2747,7 @@ if (isset($pconfig['pptp_localip'][1]) || isset($pconfig['pptp_subnet'][1]) || i
$section->addInput(new Form_Button(
'btnadvppp',
- gettext('Advanced and MLPPP'),
+ 'Advanced and MLPPP',
isset($pconfig['pppid']) ? 'interfaces_ppps_edit.php?id=' . htmlspecialchars($pconfig['pppid']) : 'interfaces_ppps_edit.php',
'fa-cog'
))->addClass('btn-info')->setHelp($mlppp_text . 'Click for additional PPTP and L2TP configuration options. Save first if changes have been made.');
@@ -3198,7 +3198,7 @@ $modal->addInput(new Form_Input(
$btnaddgw = new Form_Button(
'add',
- gettext('Add'),
+ 'Add',
null,
'fa-plus'
);
@@ -3207,7 +3207,7 @@ $btnaddgw->addClass('btn-success');
$btncnxgw = new Form_Button(
'cnx',
- gettext('Cancel'),
+ 'Cancel',
null,
'fa-undo'
);
diff --git a/src/usr/local/www/interfaces_ppps_edit.php b/src/usr/local/www/interfaces_ppps_edit.php
index 052c28a..1a15a50 100644
--- a/src/usr/local/www/interfaces_ppps_edit.php
+++ b/src/usr/local/www/interfaces_ppps_edit.php
@@ -819,7 +819,7 @@ $section->add($group);
$btnadvanced = new Form_Button(
'btnadvanced',
- gettext('Advanced'),
+ 'Advanced',
null,
'fa-cog'
);
diff --git a/src/usr/local/www/interfaces_qinq_edit.php b/src/usr/local/www/interfaces_qinq_edit.php
index c13c008..76a0c7f 100644
--- a/src/usr/local/www/interfaces_qinq_edit.php
+++ b/src/usr/local/www/interfaces_qinq_edit.php
@@ -329,7 +329,7 @@ foreach ($item as $ww) {
$group->add(new Form_Button(
'deleterow' . $counter,
- gettext('Delete'),
+ 'Delete',
null,
'fa-trash'
))->addClass('btn-warning');
@@ -341,7 +341,7 @@ foreach ($item as $ww) {
$form->addGlobal(new Form_Button(
'addrow',
- gettext('Add Tag'),
+ 'Add Tag',
null,
'fa-plus'
))->addClass('btn-success addbtn');
diff --git a/src/usr/local/www/load_balancer_pool_edit.php b/src/usr/local/www/load_balancer_pool_edit.php
index 1f5b6ef..5f6d220 100644
--- a/src/usr/local/www/load_balancer_pool_edit.php
+++ b/src/usr/local/www/load_balancer_pool_edit.php
@@ -412,7 +412,7 @@ $group->add(new Form_IpAddress(
$group->add(new Form_Button(
'btnaddtopool',
- gettext('Add to pool'),
+ 'Add to pool',
null,
'fa-plus'
))->addClass('btn-success');
@@ -457,14 +457,14 @@ $group = new Form_Group('');
$group->add(new Form_Button(
'removedisabled',
- gettext('Remove'),
+ 'Remove',
null,
'fa-trash'
))->addClass('btn-danger btn-sm');
$group->add(new Form_Button(
'removeenabled',
- gettext('Remove'),
+ 'Remove',
null,
'fa-trash'
))->addClass('btn-danger btn-sm');
@@ -475,14 +475,14 @@ $group = new Form_Group('');
$group->add(new Form_Button(
'movetoenabled',
- gettext('Move to enabled list'),
+ 'Move to enabled list',
null,
'fa-angle-double-right'
))->addClass('btn-info btn-sm');
$group->add(new Form_Button(
'movetodisabled',
- gettext('Move to disabled list'),
+ 'Move to disabled list',
null,
'fa-angle-double-left'
))->addClass('btn-info btn-sm');
diff --git a/src/usr/local/www/pkg_edit.php b/src/usr/local/www/pkg_edit.php
index b7f0b39..785f1ea 100644
--- a/src/usr/local/www/pkg_edit.php
+++ b/src/usr/local/www/pkg_edit.php
@@ -1460,7 +1460,7 @@ foreach ($pkg['fields']['field'] as $pkga) {
// Delete row button
$group->add(new Form_Button(
'deleterow' . $rowcounter,
- gettext('Delete'),
+ 'Delete',
null,
'fa-trash'
))->removeClass('btn-primary')->addClass('btn-warning btn-sm');
@@ -1472,7 +1472,7 @@ foreach ($pkg['fields']['field'] as $pkga) {
// Add row button
$section->addInput(new Form_Button(
'addrow',
- gettext('Add'),
+ 'Add',
null,
'fa-plus'
))->addClass('btn-success');
@@ -1515,7 +1515,7 @@ $form->addGlobal(new Form_Input(
if (!empty($advanced)) {
$form->addGlobal(new Form_Button(
'showadv',
- gettext('Show Advanced Options'),
+ 'Show Advanced Options',
null,
'fa-cog'
))->addClass('btn-info');
diff --git a/src/usr/local/www/services_captiveportal.php b/src/usr/local/www/services_captiveportal.php
index 29c32b8..68ec06f 100644
--- a/src/usr/local/www/services_captiveportal.php
+++ b/src/usr/local/www/services_captiveportal.php
@@ -1105,21 +1105,21 @@ if ($pconfig['page']['htmltext']) {
$group = new Form_Group('Current Portal Page');
$group->add(new Form_Button(
'btnview',
- gettext('View'),
+ 'View',
$href,
'fa-file-text-o'
))->addClass('btn btn-info btn-xs')->setAttribute("target", "_blank");
$group->add(new Form_Button(
'btndownload',
- gettext('Download'),
+ 'Download',
'?zone=' . $cpzone . '&act=gethtmlhtml',
'fa-download'
))->addClass('btn btn-primary btn-xs')->setAttribute("target", "_blank");
$group->add(new Form_Button(
'btndownload',
- gettext('Restore Default Page'),
+ 'Restore Default Page',
'?zone=' . $cpzone . '&act=delhtmlhtml',
'fa-undo'
))->addClass('btn btn-danger btn-xs')->setAttribute("target", "_blank");
@@ -1139,21 +1139,21 @@ if ($pconfig['page']['errtext']) {
$group = new Form_Group('Current Auth Error Page');
$group->add(new Form_Button(
'btnview',
- gettext('View'),
+ 'View',
'?zone=' . $cpzone . '&act=viewerrhtml',
'fa-file-text-o'
))->addClass('btn btn-info btn-xs')->setAttribute("target", "_blank");
$group->add(new Form_Button(
'btndownload',
- gettext('Download'),
+ 'Download',
'?zone=' . $cpzone . '&act=geterrhtml',
'fa-download'
))->addClass('btn btn-primary btn-xs')->setAttribute("target", "_blank");
$group->add(new Form_Button(
'btndownload',
- gettext('Restore Default Page'),
+ 'Restore Default Page',
'?zone=' . $cpzone . '&act=delerrhtml',
'fa-undo'
))->addClass('btn btn-danger btn-xs')->setAttribute("target", "_blank");
@@ -1171,21 +1171,21 @@ if ($pconfig['page']['logouttext']) {
$group = new Form_Group('Current Logout Page');
$group->add(new Form_Button(
'btnview',
- gettext('View'),
+ 'View',
'?zone=' . $cpzone . '&act=viewlogouthtml',
'fa-file-text-o'
))->addClass('btn btn-info btn-xs')->setAttribute("target", "_blank");
$group->add(new Form_Button(
'btndownload',
- gettext('Download'),
+ 'Download',
'?zone=' . $cpzone . '&act=getlogouthtml',
'fa-download'
))->addClass('btn btn-primary btn-xs')->setAttribute("target", "_blank");
$group->add(new Form_Button(
'btndownload',
- gettext('Restore Default Page'),
+ 'Restore Default Page',
'?zone=' . $cpzone . '&act=dellogouthtml',
'fa-undo'
))->addClass('btn btn-danger btn-xs')->setAttribute("target", "_blank");
diff --git a/src/usr/local/www/services_captiveportal_filemanager.php b/src/usr/local/www/services_captiveportal_filemanager.php
index 1a48fcc..f7b1637 100644
--- a/src/usr/local/www/services_captiveportal_filemanager.php
+++ b/src/usr/local/www/services_captiveportal_filemanager.php
@@ -202,7 +202,7 @@ if ($_GET['act'] == 'add') {
$form->addGlobal(new Form_Button(
'Submit',
- gettext('Upload'),
+ 'Upload',
null,
'fa-upload'
))->addClass('btn-primary');
diff --git a/src/usr/local/www/services_captiveportal_mac_edit.php b/src/usr/local/www/services_captiveportal_mac_edit.php
index 8ebecc6..89ce6ce 100644
--- a/src/usr/local/www/services_captiveportal_mac_edit.php
+++ b/src/usr/local/www/services_captiveportal_mac_edit.php
@@ -246,7 +246,7 @@ $macaddress = new Form_Input(
$btnmymac = new Form_Button(
'btnmymac',
- gettext('Copy My MAC'),
+ 'Copy My MAC',
null,
'fa-clone'
);
diff --git a/src/usr/local/www/services_captiveportal_zones_edit.php b/src/usr/local/www/services_captiveportal_zones_edit.php
index 103963a..0d3f8c6 100644
--- a/src/usr/local/www/services_captiveportal_zones_edit.php
+++ b/src/usr/local/www/services_captiveportal_zones_edit.php
@@ -132,7 +132,7 @@ $form->add($section);
$form->addGlobal(new Form_Button(
'Submit',
- gettext('Save & Continue'),
+ 'Save & Continue',
null,
'fa-save'
))->addClass('btn-primary');
diff --git a/src/usr/local/www/services_dhcp.php b/src/usr/local/www/services_dhcp.php
index 0db78a8..4f0eb6a 100644
--- a/src/usr/local/www/services_dhcp.php
+++ b/src/usr/local/www/services_dhcp.php
@@ -882,7 +882,7 @@ if (!is_numeric($pool) && !($act == "newpool")) {
$btnaddpool = new Form_Button(
'btnaddpool',
- gettext('Add pool'),
+ 'Add pool',
'services_dhcp.php?if=' . htmlspecialchars($if) . '&act=newpool',
'fa-plus'
);
@@ -999,7 +999,7 @@ if (!is_numeric($pool) && !($act == "newpool")) {
// DDNS
$btnadv = new Form_Button(
'btnadvdns',
- gettext('Advanced'),
+ 'Advanced',
null,
'fa-cog'
);
@@ -1049,7 +1049,7 @@ $section->addInput(new Form_Input(
// Advanced MAC
$btnadv = new Form_Button(
'btnadvmac',
- gettext('Advanced'),
+ 'Advanced',
null,
'fa-cog'
);
@@ -1078,7 +1078,7 @@ $section->addInput(new Form_Input(
// Advanced NTP
$btnadv = new Form_Button(
'btnadvntp',
- gettext('Advanced'),
+ 'Advanced',
null,
'fa-cog'
);
@@ -1105,7 +1105,7 @@ $section->addInput(new Form_IpAddress(
// Advanced TFTP
$btnadv = new Form_Button(
'btnadvtftp',
- gettext('Advanced'),
+ 'Advanced',
null,
'fa-cog'
);
@@ -1126,7 +1126,7 @@ $section->addInput(new Form_IpAddress(
// Advanced LDAP
$btnadv = new Form_Button(
'btnadvldap',
- gettext('Advanced'),
+ 'Advanced',
null,
'fa-cog'
);
@@ -1150,7 +1150,7 @@ $form->add($section);
// Advanced Additional options
$btnadv = new Form_Button(
'btnadvopts',
- gettext('Advanced'),
+ 'Advanced',
null,
'fa-cog'
);
@@ -1218,7 +1218,7 @@ foreach ($pconfig['numberoptions']['item'] as $item) {
$group->add(new Form_Button(
'deleterow' . $counter,
- gettext('Delete'),
+ 'Delete',
null,
'fa-trash'
))->addClass('btn-warning');
@@ -1230,7 +1230,7 @@ foreach ($pconfig['numberoptions']['item'] as $item) {
$section->addInput(new Form_Button(
'addrow',
- gettext('Add'),
+ 'Add',
null,
'fa-plus'
))->addClass('btn-success');
diff --git a/src/usr/local/www/services_dhcp_edit.php b/src/usr/local/www/services_dhcp_edit.php
index 077ee2c..1bf03c6 100644
--- a/src/usr/local/www/services_dhcp_edit.php
+++ b/src/usr/local/www/services_dhcp_edit.php
@@ -434,7 +434,7 @@ $macaddress = new Form_Input(
$btnmymac = new Form_Button(
'btnmymac',
- gettext('Copy My MAC'),
+ 'Copy My MAC',
null,
'fa-clone'
);
@@ -592,7 +592,7 @@ $section->addInput(new Form_Input(
$btndyndns = new Form_Button(
'btndyndns',
- gettext('Advanced'),
+ 'Advanced',
null,
'fa-cog'
);
@@ -640,7 +640,7 @@ $section->addInput(new Form_Input(
$btnntp = new Form_Button(
'btnntp',
- gettext('Advanced'),
+ 'Advanced',
null,
'fa-cog'
);
@@ -676,7 +676,7 @@ $section->add($group);
$btntftp = new Form_Button(
'btntftp',
- gettext('Advanced'),
+ 'Advanced',
null,
'fa-cog'
);
diff --git a/src/usr/local/www/services_dhcpv6.php b/src/usr/local/www/services_dhcpv6.php
index 5ea233f..7cd52db 100644
--- a/src/usr/local/www/services_dhcpv6.php
+++ b/src/usr/local/www/services_dhcpv6.php
@@ -754,7 +754,7 @@ $section->addInput(new Form_Checkbox(
$btndyndns = new Form_Button(
'btndyndns',
- gettext('Advanced'),
+ 'Advanced',
null,
'fa-cog'
);
@@ -822,7 +822,7 @@ $section->addInput(new Form_Checkbox(
$btnntp = new Form_Button(
'btnntp',
- gettext('Advanced'),
+ 'Advanced',
null,
'fa-cog'
);
@@ -858,7 +858,7 @@ $section->add($group);
$btnldap = new Form_Button(
'btnldap',
- gettext('Advanced'),
+ 'Advanced',
null,
'fa-cog'
);
@@ -879,7 +879,7 @@ $section->addInput(new Form_Input(
$btnnetboot = new Form_Button(
'btnnetboot',
- gettext('Advanced'),
+ 'Advanced',
null,
'fa-cog'
);
@@ -907,7 +907,7 @@ $section->addInput(new Form_Input(
$btnadnl = new Form_Button(
'btnadnl',
- gettext('Advanced'),
+ 'Advanced',
null,
'fa-cog'
);
@@ -954,7 +954,7 @@ foreach ($pconfig['numberoptions']['item'] as $item) {
$btn = new Form_Button(
'deleterow' . $counter,
- gettext('Delete'),
+ 'Delete',
null,
'fa-trash'
);
@@ -968,7 +968,7 @@ foreach ($pconfig['numberoptions']['item'] as $item) {
$btnaddopt = new Form_Button(
'addrow',
- gettext('Add Option'),
+ 'Add Option',
null,
'fa-plus'
);
diff --git a/src/usr/local/www/services_dnsmasq_edit.php b/src/usr/local/www/services_dnsmasq_edit.php
index 132efe2..db565e0 100644
--- a/src/usr/local/www/services_dnsmasq_edit.php
+++ b/src/usr/local/www/services_dnsmasq_edit.php
@@ -319,7 +319,7 @@ if ($pconfig['aliases']['item']) {
$group->add(new Form_Button(
'deleterow' . $counter,
- gettext('Delete'),
+ 'Delete',
null,
'fa-trash'
))->addClass('btn-warning');
@@ -331,7 +331,7 @@ if ($pconfig['aliases']['item']) {
$form->addGlobal(new Form_Button(
'addrow',
- gettext('Add Host Name'),
+ 'Add Host Name',
null,
'fa-plus'
))->addClass('btn-success addbtn');
diff --git a/src/usr/local/www/services_dyndns_edit.php b/src/usr/local/www/services_dyndns_edit.php
index 6fbea0f..55cfe08 100644
--- a/src/usr/local/www/services_dyndns_edit.php
+++ b/src/usr/local/www/services_dyndns_edit.php
@@ -444,7 +444,7 @@ if (isset($id) && $a_dyndns[$id]) {
$form->addGlobal(new Form_Button(
'force',
- gettext('Save & Force Update'),
+ 'Save & Force Update',
null,
'fa-refresh'
))->removeClass('btn-primary')->addClass('btn-info');
diff --git a/src/usr/local/www/services_igmpproxy_edit.php b/src/usr/local/www/services_igmpproxy_edit.php
index 784ab0b..f12e1ad 100644
--- a/src/usr/local/www/services_igmpproxy_edit.php
+++ b/src/usr/local/www/services_igmpproxy_edit.php
@@ -261,7 +261,7 @@ foreach ($item as $ww) {
$group->add(new Form_Button(
'deleterow' . $counter,
- gettext('Delete'),
+ 'Delete',
null,
'fa-trash'
))->removeClass('btn-primary')->addClass('btn-warning');
@@ -272,7 +272,7 @@ foreach ($item as $ww) {
$section->addInput(new Form_Button(
'addrow',
- gettext('Add network'),
+ 'Add network',
null,
'fa-plus'
))->removeClass('btn-primary')->addClass('btn-success addbtn');
diff --git a/src/usr/local/www/services_ntpd.php b/src/usr/local/www/services_ntpd.php
index 35773ba..5356dff 100644
--- a/src/usr/local/www/services_ntpd.php
+++ b/src/usr/local/www/services_ntpd.php
@@ -279,7 +279,7 @@ for ($counter=0; $counter < $maxrows; $counter++) {
$group->add(new Form_Button(
'deleterow' . $counter,
- gettext('Delete'),
+ 'Delete',
null,
'fa-trash'
))->addClass('btn-warning');
@@ -289,7 +289,7 @@ for ($counter=0; $counter < $maxrows; $counter++) {
$section->addInput(new Form_Button(
'addrow',
- gettext('Add'),
+ 'Add',
null,
'fa-plus'
))->addClass('btn-success');
@@ -335,7 +335,7 @@ $section->addInput(new Form_Checkbox(
// Statistics logging section
$btnadvstats = new Form_Button(
'btnadvstats',
- gettext('Advanced'),
+ 'Advanced',
null,
'fa-cog'
);
@@ -371,7 +371,7 @@ $section->addInput(new Form_Checkbox(
// Leap seconds section
$btnleap = new Form_Button(
'btnleap',
- gettext('Advanced'),
+ 'Advanced',
null,
'fa-cog'
);
diff --git a/src/usr/local/www/services_ntpd_acls.php b/src/usr/local/www/services_ntpd_acls.php
index 0e59a04..623d049 100644
--- a/src/usr/local/www/services_ntpd_acls.php
+++ b/src/usr/local/www/services_ntpd_acls.php
@@ -317,7 +317,7 @@ foreach ($networkacl as $item) {
$group->add(new Form_Button(
'deleterow' . $counter,
- gettext('Delete'),
+ 'Delete',
null,
'fa-trash'
))->addClass('btn-warning');
@@ -330,7 +330,7 @@ foreach ($networkacl as $item) {
$section->addInput(new Form_Button(
'addrow',
- gettext('Add'),
+ 'Add',
null,
'fa-plus'
))->addClass('btn-success');
diff --git a/src/usr/local/www/services_ntpd_gps.php b/src/usr/local/www/services_ntpd_gps.php
index af4a54f..099d607 100644
--- a/src/usr/local/www/services_ntpd_gps.php
+++ b/src/usr/local/www/services_ntpd_gps.php
@@ -374,7 +374,7 @@ $section->addInput(new Form_Input(
// Statistics logging section
$btnadvgps = new Form_Button(
'btnadvgps',
- gettext('Advanced'),
+ 'Advanced',
null,
'fa-cog'
);
@@ -401,7 +401,7 @@ $group->add(new Form_Input(
$btncalc = new Form_Button(
'btncalc',
- gettext('Calculate'),
+ 'Calculate',
null,
'fa-calculator'
);
diff --git a/src/usr/local/www/services_pppoe_edit.php b/src/usr/local/www/services_pppoe_edit.php
index 7bfcb92..c381007 100644
--- a/src/usr/local/www/services_pppoe_edit.php
+++ b/src/usr/local/www/services_pppoe_edit.php
@@ -554,7 +554,7 @@ if ($usernames != "") {
$group->add(new Form_Button(
'deleterow' . $counter,
- gettext('Delete'),
+ 'Delete',
null,
'fa-trash'
))->addClass('btn-warning');
@@ -567,7 +567,7 @@ if ($usernames != "") {
$btnaddrow = new Form_Button(
'addrow',
- gettext('Add user'),
+ 'Add user',
null,
'fa-plus'
);
diff --git a/src/usr/local/www/services_rfc2136_edit.php b/src/usr/local/www/services_rfc2136_edit.php
index 07c5035..d3fc0a1 100644
--- a/src/usr/local/www/services_rfc2136_edit.php
+++ b/src/usr/local/www/services_rfc2136_edit.php
@@ -334,7 +334,7 @@ if (isset($id) && $a_rfc2136[$id]) {
$form->addGlobal(new Form_Button(
'force',
- gettext('Save & Force Update'),
+ 'Save & Force Update',
null,
'fa-refresh'
))->addClass('btn-info');
diff --git a/src/usr/local/www/services_router_advertisements.php b/src/usr/local/www/services_router_advertisements.php
index 293df11..59de63b 100644
--- a/src/usr/local/www/services_router_advertisements.php
+++ b/src/usr/local/www/services_router_advertisements.php
@@ -355,7 +355,7 @@ foreach ($pconfig['subnets'] as $subnet) {
$group->add(new Form_Button(
'deleterow' . $counter,
- gettext('Delete'),
+ 'Delete',
null,
'fa-trash'
))->removeClass('btn-primary')->addClass('btn-warning');
@@ -369,7 +369,7 @@ foreach ($pconfig['subnets'] as $subnet) {
$section->addInput(new Form_Button(
'addrow',
- gettext('Add'),
+ 'Add',
null,
'fa-plus'
))->addClass('btn-success');
diff --git a/src/usr/local/www/services_unbound.php b/src/usr/local/www/services_unbound.php
index b35652c..d37492b 100644
--- a/src/usr/local/www/services_unbound.php
+++ b/src/usr/local/www/services_unbound.php
@@ -367,7 +367,7 @@ $section->addInput(new Form_Checkbox(
$btnadvdns = new Form_Button(
'btnadvdns',
- gettext('Custom options'),
+ 'Custom options',
null,
'fa-cog'
);
diff --git a/src/usr/local/www/services_unbound_acls.php b/src/usr/local/www/services_unbound_acls.php
index aaa1643..23fae6d 100644
--- a/src/usr/local/www/services_unbound_acls.php
+++ b/src/usr/local/www/services_unbound_acls.php
@@ -297,7 +297,7 @@ if ($act == "new" || $act == "edit") {
$group->add(new Form_Button(
'deleterow' . $counter,
- gettext('Delete'),
+ 'Delete',
null,
'fa-trash'
))->addClass('btn-warning');
@@ -310,7 +310,7 @@ if ($act == "new" || $act == "edit") {
$form->addGlobal(new Form_Button(
'addrow',
- gettext('Add Network'),
+ 'Add Network',
null,
'fa-plus'
))->addClass('btn-success');
diff --git a/src/usr/local/www/services_unbound_host_edit.php b/src/usr/local/www/services_unbound_host_edit.php
index c7ba8cf..3ae8c7f 100644
--- a/src/usr/local/www/services_unbound_host_edit.php
+++ b/src/usr/local/www/services_unbound_host_edit.php
@@ -320,7 +320,7 @@ if ($pconfig['aliases']['item']) {
$group->add(new Form_Button(
'deleterow' . $counter,
- gettext('Delete'),
+ 'Delete',
null,
'fa-trash'
))->addClass('btn-warning');
@@ -332,7 +332,7 @@ if ($pconfig['aliases']['item']) {
$form->addGlobal(new Form_Button(
'addrow',
- gettext('Add Host Name'),
+ 'Add Host Name',
null,
'fa-plus'
))->removeClass('btn-primary')->addClass('btn-success addbtn');
diff --git a/src/usr/local/www/services_wol.php b/src/usr/local/www/services_wol.php
index 4b9585a..394d52b 100644
--- a/src/usr/local/www/services_wol.php
+++ b/src/usr/local/www/services_wol.php
@@ -186,7 +186,7 @@ $form->add($section);
$form->addGlobal(new Form_Button(
'Submit',
- gettext('Send'),
+ 'Send',
null,
'fa-power-off'
))->addClass('btn-primary');
diff --git a/src/usr/local/www/status_captiveportal_expire.php b/src/usr/local/www/status_captiveportal_expire.php
index f9e8d7c..7d7bc7c 100644
--- a/src/usr/local/www/status_captiveportal_expire.php
+++ b/src/usr/local/www/status_captiveportal_expire.php
@@ -126,7 +126,7 @@ $form->add($section);
$form->addGlobal(new Form_Button(
'Submit',
- gettext('Expire'),
+ 'Expire',
null,
'fa-trash'
))->addClass('btn-warning');
diff --git a/src/usr/local/www/status_captiveportal_test.php b/src/usr/local/www/status_captiveportal_test.php
index 0a00fb4..8d447cd 100644
--- a/src/usr/local/www/status_captiveportal_test.php
+++ b/src/usr/local/www/status_captiveportal_test.php
@@ -134,7 +134,7 @@ $form->add($section);
$form->addGlobal(new Form_Button(
'Submit',
- gettext('Test'),
+ 'Test',
null,
'fa-wrench'
))->addClass('btn-primary');
diff --git a/src/usr/local/www/status_logs_settings.php b/src/usr/local/www/status_logs_settings.php
index dfd1433..de2d595 100644
--- a/src/usr/local/www/status_logs_settings.php
+++ b/src/usr/local/www/status_logs_settings.php
@@ -333,7 +333,7 @@ $section->addInput(new Form_Checkbox(
$section->addInput(new Form_Button(
'resetlogs',
- gettext('Reset Log Files'),
+ 'Reset Log Files',
null,
'fa-trash'
))->addClass('btn-danger btn-sm')->setHelp('Clears all local log files and reinitializes them as empty logs. This also restarts the DHCP daemon. Use the Save button first if you have made any setting changes.');
diff --git a/src/usr/local/www/system_advanced_notifications.php b/src/usr/local/www/system_advanced_notifications.php
index 76e9ffa..4235c3b 100644
--- a/src/usr/local/www/system_advanced_notifications.php
+++ b/src/usr/local/www/system_advanced_notifications.php
@@ -279,7 +279,7 @@ $section->addPassword(new Form_Input(
$section->addInput(new Form_Button(
'test-growl',
- gettext('Test Growl Settings'),
+ 'Test Growl Settings',
null,
'fa-rss'
))->addClass('btn-info')->setHelp('A test notification will be sent even if the service is '.
@@ -370,7 +370,7 @@ $section->addInput(new Form_Select(
$section->addInput(new Form_Button(
'test-smtp',
- gettext('Test SMTP Settings'),
+ 'Test SMTP Settings',
null,
'fa-send'
))->addClass('btn-info')->setHelp('A test notification will be sent even if the service is '.
diff --git a/src/usr/local/www/system_authservers.php b/src/usr/local/www/system_authservers.php
index 8af9065..7665455 100644
--- a/src/usr/local/www/system_authservers.php
+++ b/src/usr/local/www/system_authservers.php
@@ -571,7 +571,7 @@ $group->add(new Form_Input(
$group->add(new Form_Button(
'Select',
- gettext('Select a container'),
+ 'Select a container',
null,
'fa-search'
))->addClass('btn-info');
diff --git a/src/usr/local/www/system_certmanager.php b/src/usr/local/www/system_certmanager.php
index 2475244..bfad6a2 100644
--- a/src/usr/local/www/system_certmanager.php
+++ b/src/usr/local/www/system_certmanager.php
@@ -784,7 +784,7 @@ if ($act == "new" || (($_POST['save'] == gettext("Save")) && $input_errors)) {
$group->add(new Form_Button(
'deleterow' . $counter,
- gettext('Delete'),
+ 'Delete',
null,
'fa-trash'
))->addClass('btn-warning');
@@ -798,7 +798,7 @@ if ($act == "new" || (($_POST['save'] == gettext("Save")) && $input_errors)) {
$section->addInput(new Form_Button(
'addrow',
- gettext('Add'),
+ 'Add',
null,
'fa-plus'
))->addClass('btn-success');
@@ -955,7 +955,7 @@ if ($act == "new" || (($_POST['save'] == gettext("Save")) && $input_errors)) {
$form->addGlobal(new Form_Button(
'save',
- gettext('Update'),
+ 'Update',
null,
'fa-save'
))->addClass('btn-primary');
diff --git a/src/usr/local/www/system_crlmanager.php b/src/usr/local/www/system_crlmanager.php
index 0eec6bd..c396446 100644
--- a/src/usr/local/www/system_crlmanager.php
+++ b/src/usr/local/www/system_crlmanager.php
@@ -572,7 +572,7 @@ if ($act == "new" || $act == gettext("Save") || $input_errors) {
$group->add(new Form_Button(
'submit',
- gettext('Add'),
+ 'Add',
null,
'fa-plus'
))->addClass('btn-success btn-sm');
diff --git a/src/usr/local/www/system_gateways_edit.php b/src/usr/local/www/system_gateways_edit.php
index cb67a6f..2a1b819 100644
--- a/src/usr/local/www/system_gateways_edit.php
+++ b/src/usr/local/www/system_gateways_edit.php
@@ -713,7 +713,7 @@ if (!(!empty($pconfig['latencylow']) || !empty($pconfig['latencyhigh']) ||
$btnadvanced = new Form_Button(
'toggle-advanced',
- gettext('Advanced Options'),
+ 'Advanced Options',
null,
'fa-cog'
);
diff --git a/src/usr/local/www/system_groupmanager.php b/src/usr/local/www/system_groupmanager.php
index f7ccc3f..be9466e 100644
--- a/src/usr/local/www/system_groupmanager.php
+++ b/src/usr/local/www/system_groupmanager.php
@@ -449,14 +449,14 @@ if ($pconfig['gid'] != 1998) { // all users group
$group->add(new Form_Button(
'movetoenabled',
- gettext('Move to "Members"'),
+ 'Move to "Members"',
null,
'fa-angle-double-right'
))->removeClass('btn-primary')->addClass('btn-info btn-sm');
$group->add(new Form_Button(
'movetodisabled',
- gettext('Move to "Not members'),
+ 'Move to "Not members',
null,
'fa-angle-double-left'
))->removeClass('btn-primary')->addClass('btn-info btn-sm');
diff --git a/src/usr/local/www/system_groupmanager_addprivs.php b/src/usr/local/www/system_groupmanager_addprivs.php
index 3f8d2a4..d999cdf 100644
--- a/src/usr/local/www/system_groupmanager_addprivs.php
+++ b/src/usr/local/www/system_groupmanager_addprivs.php
@@ -212,7 +212,7 @@ $section->addInput(new Form_Input(
$btnfilter = new Form_Button(
'btnfilter',
- gettext('Filter'),
+ 'Filter',
null,
'fa-filter'
);
@@ -223,7 +223,7 @@ $form->addGlobal($btnfilter);
$btnclear = new Form_Button(
'btnclear',
- gettext('Clear'),
+ 'Clear',
null,
'fa-times'
);
diff --git a/src/usr/local/www/system_usermanager.php b/src/usr/local/www/system_usermanager.php
index 01d8c3b..3d9c67c 100644
--- a/src/usr/local/www/system_usermanager.php
+++ b/src/usr/local/www/system_usermanager.php
@@ -716,14 +716,14 @@ if ($act == "new" || $act == "edit" || $input_errors):
$group->add(new Form_Button(
'movetoenabled',
- gettext('Move to "Member of" list'),
+ 'Move to "Member of" list',
null,
'fa-angle-double-right'
))->removeClass('btn-primary')->addClass('btn-info btn-sm');
$group->add(new Form_Button(
'movetodisabled',
- gettext('Move to "Not member of" list'),
+ 'Move to "Not member of" list',
null,
'fa-angle-double-left'
))->removeClass('btn-primary')->addClass('btn-info btn-sm');
diff --git a/src/usr/local/www/system_usermanager_addprivs.php b/src/usr/local/www/system_usermanager_addprivs.php
index c13518c..aad6fcc 100644
--- a/src/usr/local/www/system_usermanager_addprivs.php
+++ b/src/usr/local/www/system_usermanager_addprivs.php
@@ -206,7 +206,7 @@ $section->addInput(new Form_Input(
$btnfilter = new Form_Button(
'btnfilter',
- gettext('Filter'),
+ 'Filter',
null,
'fa-filter'
);
@@ -217,7 +217,7 @@ $form->addGlobal($btnfilter);
$btnclear = new Form_Button(
'btnclear',
- gettext('Clear'),
+ 'Clear',
null,
'fa-times'
);
diff --git a/src/usr/local/www/system_usermanager_settings.php b/src/usr/local/www/system_usermanager_settings.php
index bfe4add..0ef51b0 100644
--- a/src/usr/local/www/system_usermanager_settings.php
+++ b/src/usr/local/www/system_usermanager_settings.php
@@ -179,7 +179,7 @@ $section->addInput(new Form_Select(
$form->addGlobal(new Form_Button(
'savetest',
- gettext('Save & Test'),
+ 'Save & Test',
null,
'fa-wrench'
))->addClass('btn-info');
OpenPOWER on IntegriCloud