summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/inc/priv.inc4
-rw-r--r--usr/local/www/system_groupmanager_addprivs.php4
-rw-r--r--usr/local/www/system_usermanager.php6
-rw-r--r--usr/local/www/system_usermanager_addprivs.php4
4 files changed, 9 insertions, 9 deletions
diff --git a/etc/inc/priv.inc b/etc/inc/priv.inc
index c64fa86..8d1a736 100644
--- a/etc/inc/priv.inc
+++ b/etc/inc/priv.inc
@@ -192,7 +192,7 @@ function isAllowed($username, $page) {
if ($user['uid']==0)
return true;
- /* user privelege access check */
+ /* user privilege access check */
if (cmp_page_matches($page, $_SESSION['page-match']))
return true;
@@ -216,7 +216,7 @@ function isAllowedPage($page) {
if ($user['uid']==0)
return true;
- /* user privelege access check */
+ /* user privilege access check */
return cmp_page_matches($page, $_SESSION['page-match']);
}
diff --git a/usr/local/www/system_groupmanager_addprivs.php b/usr/local/www/system_groupmanager_addprivs.php
index 8f7afec..ae7e884 100644
--- a/usr/local/www/system_groupmanager_addprivs.php
+++ b/usr/local/www/system_groupmanager_addprivs.php
@@ -78,7 +78,7 @@ if ($_POST) {
/* input validation */
$reqdfields = explode(" ", "sysprivs");
- $reqdfieldsn = array(gettext("Selected priveleges"));
+ $reqdfieldsn = array(gettext("Selected privileges"));
do_input_validation($_POST, $reqdfields, $reqdfieldsn, $input_errors);
@@ -160,7 +160,7 @@ function update_description() {
if ($savemsg)
print_info_box($savemsg);
?>
-<table width="100%" border="0" cellpadding="0" cellspacing="0" summary="group manager add priveleges">
+<table width="100%" border="0" cellpadding="0" cellspacing="0" summary="group manager add privileges">
<tr>
<td>
<?php
diff --git a/usr/local/www/system_usermanager.php b/usr/local/www/system_usermanager.php
index e52db2c..af3df18 100644
--- a/usr/local/www/system_usermanager.php
+++ b/usr/local/www/system_usermanager.php
@@ -261,12 +261,12 @@ if ($_POST['save']) {
}
/*
- * Check for a valid expirationdate if one is set at all (valid means,
+ * Check for a valid expiration date if one is set at all (valid means,
* DateTime puts out a time stamp so any DateTime compatible time
* format may be used. to keep it simple for the enduser, we only
* claim to accept MM/DD/YYYY as inputs. Advanced users may use inputs
* like "+1 day", which will be converted to MM/DD/YYYY based on "now".
- * Otherwhise such an entry would lead to an invalid expiration data.
+ * Otherwise such an entry would lead to an invalid expiration data.
*/
if ($_POST['expires']){
try {
@@ -304,7 +304,7 @@ if ($_POST['save']) {
local_user_del($userent);
}
- /* the user password was mofified */
+ /* the user password was modified */
if ($_POST['passwordfld1'])
local_user_set_password($userent, $_POST['passwordfld1']);
diff --git a/usr/local/www/system_usermanager_addprivs.php b/usr/local/www/system_usermanager_addprivs.php
index 1a7b4cf..2ccda95 100644
--- a/usr/local/www/system_usermanager_addprivs.php
+++ b/usr/local/www/system_usermanager_addprivs.php
@@ -72,7 +72,7 @@ if ($_POST) {
/* input validation */
$reqdfields = explode(" ", "sysprivs");
- $reqdfieldsn = array(gettext("Selected priveleges"));
+ $reqdfieldsn = array(gettext("Selected privileges"));
do_input_validation($_POST, $reqdfields, $reqdfieldsn, $input_errors);
@@ -149,7 +149,7 @@ function update_description() {
if ($savemsg)
print_info_box($savemsg);
?>
-<table width="100%" border="0" cellpadding="0" cellspacing="0" summary="user manager add priveleges">
+<table width="100%" border="0" cellpadding="0" cellspacing="0" summary="user manager add privileges">
<tr>
<td>
<?php
OpenPOWER on IntegriCloud