Project

General

Profile

« Previous | Next » 

Revision 4c40e2a7

Added by Phil Davis over 10 years ago

Unimportant typos in user and group manager

that do not effect anything.

View differences:

etc/inc/priv.inc
192 192
			if ($user['uid']==0)
193 193
				return true;
194 194

  
195
	/* user privelege access check */
195
	/* user privilege access check */
196 196
	if (cmp_page_matches($page, $_SESSION['page-match']))
197 197
		return true;
198 198

  
......
216 216
			if ($user['uid']==0)
217 217
				return true;
218 218

  
219
	/* user privelege access check */
219
	/* user privilege access check */
220 220
	return cmp_page_matches($page, $_SESSION['page-match']);
221 221
}
222 222

  
usr/local/www/system_groupmanager_addprivs.php
78 78

  
79 79
	/* input validation */
80 80
	$reqdfields = explode(" ", "sysprivs");
81
	$reqdfieldsn = array(gettext("Selected priveleges"));
81
	$reqdfieldsn = array(gettext("Selected privileges"));
82 82

  
83 83
	do_input_validation($_POST, $reqdfields, $reqdfieldsn, $input_errors);
84 84

  
......
160 160
	if ($savemsg)
161 161
		print_info_box($savemsg);
162 162
?>
163
<table width="100%" border="0" cellpadding="0" cellspacing="0" summary="group manager add priveleges">
163
<table width="100%" border="0" cellpadding="0" cellspacing="0" summary="group manager add privileges">
164 164
	<tr>
165 165
		<td>
166 166
		<?php
usr/local/www/system_usermanager.php
261 261
	}
262 262

  
263 263
	/*
264
	 * Check for a valid expirationdate if one is set at all (valid means,
264
	 * Check for a valid expiration date if one is set at all (valid means,
265 265
	 * DateTime puts out a time stamp so any DateTime compatible time
266 266
	 * format may be used. to keep it simple for the enduser, we only
267 267
	 * claim to accept MM/DD/YYYY as inputs. Advanced users may use inputs
268 268
	 * like "+1 day", which will be converted to MM/DD/YYYY based on "now".
269
	 * Otherwhise such an entry would lead to an invalid expiration data.
269
	 * Otherwise such an entry would lead to an invalid expiration data.
270 270
	 */
271 271
	if ($_POST['expires']){
272 272
		try {
......
304 304
			local_user_del($userent);
305 305
		}
306 306

  
307
		/* the user password was mofified */
307
		/* the user password was modified */
308 308
		if ($_POST['passwordfld1'])
309 309
			local_user_set_password($userent, $_POST['passwordfld1']);
310 310

  
usr/local/www/system_usermanager_addprivs.php
72 72

  
73 73
	/* input validation */
74 74
	$reqdfields = explode(" ", "sysprivs");
75
	$reqdfieldsn = array(gettext("Selected priveleges"));
75
	$reqdfieldsn = array(gettext("Selected privileges"));
76 76

  
77 77
	do_input_validation($_POST, $reqdfields, $reqdfieldsn, $input_errors);
78 78

  
......
149 149
	if ($savemsg)
150 150
		print_info_box($savemsg);
151 151
?>
152
<table width="100%" border="0" cellpadding="0" cellspacing="0" summary="user manager add priveleges">
152
<table width="100%" border="0" cellpadding="0" cellspacing="0" summary="user manager add privileges">
153 153
	<tr>
154 154
		<td>
155 155
		<?php

Also available in: Unified diff