From 5ad6f5bae048a2b009700aa8565f5d797bc6c5a5 Mon Sep 17 00:00:00 2001 From: steve-lad <72376554+steve-lad@users.noreply.github.com> Date: Tue, 8 Jun 2021 12:50:48 +0200 Subject: [PATCH] Update button labels Update button labels in Server Config Atom whitespace removal in hardware.phone --- sccpManTraits/bmoFunctions.php | 5 +++-- views/hardware.phone.php | 14 +++++++------- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/sccpManTraits/bmoFunctions.php b/sccpManTraits/bmoFunctions.php index c703810..5ff2e18 100644 --- a/sccpManTraits/bmoFunctions.php +++ b/sccpManTraits/bmoFunctions.php @@ -34,6 +34,7 @@ trait bmoFunctions { } public function getActionBar($request) { + dbug('request',$request); $buttons = array(); switch ($request['display']) { case 'sccp_adv': @@ -92,13 +93,13 @@ trait bmoFunctions { 'submit' => array( 'name' => 'ajaxsubmit', 'id' => 'ajaxsubmit', - 'value' => _("Submit") + 'value' => _("Save") ), 'reset' => array( 'name' => 'reset', 'id' => 'ajaxcancel', 'data-reload' => 'reload', - 'value' => _("Reset") + 'value' => _("Cancel") ), ); diff --git a/views/hardware.phone.php b/views/hardware.phone.php index b5f3b9a..cf83ae4 100644 --- a/views/hardware.phone.php +++ b/views/hardware.phone.php @@ -35,7 +35,7 @@ - + @@ -62,7 +62,7 @@ } } return exp_model; - + } function DispayDeviceActionsKeyFormatter(value, row, index) { var exp_model = ''; @@ -70,9 +70,9 @@ exp_model += '    \n'; - + } else { exp_model += '    \n'; exp_model += '  '; @@ -84,7 +84,7 @@ if (value === null) { return '-- EMPTY --'; } - var data = value.split(";"); + var data = value.split(";"); result = ''; for (var i = 0; i < data.length; i++) { var val = data[i].split(','); @@ -94,5 +94,5 @@ } return result; } - - \ No newline at end of file + +