diff options
author | k-paulius <k.dash.paulius@gmail.com> | 2016-02-13 20:07:44 -0600 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2016-02-14 15:09:55 -0500 |
commit | 8545addef70e17eee3daf34867514b5ab9fcdb45 (patch) | |
tree | 446940b83d451b895b4402ff672f5060b9a53ed0 /src/usr/local/www/edit.php | |
parent | f7c5e29c689af539a41229bc49894ffd7b98e4ec (diff) | |
download | pfsense-8545addef70e17eee3daf34867514b5ab9fcdb45.zip pfsense-8545addef70e17eee3daf34867514b5ab9fcdb45.tar.gz |
Review alert wording. End sentence with period, remove redundant 'Warning', 'Error', etc. prefixes, since alerts are now color coded. Remove <b> tags.
Diffstat (limited to 'src/usr/local/www/edit.php')
-rw-r--r-- | src/usr/local/www/edit.php | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/usr/local/www/edit.php b/src/usr/local/www/edit.php index 050afa9..6b78a83 100644 --- a/src/usr/local/www/edit.php +++ b/src/usr/local/www/edit.php @@ -70,21 +70,21 @@ if ($_POST['action']) { case 'load': if (strlen($_POST['file']) < 1) { print('|5|'); - print_info_box(gettext("No file name specified"), 'danger', false); + print_info_box(gettext("No file name specified."), 'danger', false); print('|'); } elseif (is_dir($_POST['file'])) { print('|4|'); - print_info_box(gettext("Loading a directory is not supported"), 'danger', false); + print_info_box(gettext("Loading a directory is not supported."), 'danger', false); print('|'); } elseif (!is_file($_POST['file'])) { print('|3|'); - print_info_box(gettext("File does not exist or is not a regular file"), 'danger', false); + print_info_box(gettext("File does not exist or is not a regular file."), 'danger', false); print('|'); } else { $data = file_get_contents(urldecode($_POST['file'])); if ($data === false) { print('|1|'); - print_info_box(gettext("Failed to read file"), 'danger', false); + print_info_box(gettext("Failed to read file."), 'danger', false); print('|'); } else { $data = base64_encode($data); @@ -96,7 +96,7 @@ if ($_POST['action']) { case 'save': if (strlen($_POST['file']) < 1) { print('|'); - print_info_box(gettext("No file name specified"), 'danger', false); + print_info_box(gettext("No file name specified."), 'danger', false); print('|'); } else { conf_mount_rw(); @@ -111,15 +111,15 @@ if ($_POST['action']) { } if ($ret === false) { print('|'); - print_info_box(gettext("Failed to write file"), 'danger', false); + print_info_box(gettext("Failed to write file."), 'danger', false); print('|'); } elseif ($ret != strlen($_POST['data'])) { print('|'); - print_info_box(gettext("Error while writing file"), 'danger', false); + print_info_box(gettext("Error while writing file."), 'danger', false); print('|'); } else { print('|'); - print_info_box(gettext("File saved successfully"), 'success', false); + print_info_box(gettext("File saved successfully."), 'success', false); print('|'); } } |