fixed formatting inconsistencies and spelling mistakes in admin scripts

added new permission enforcement to admin scripts

git-svn-id: svn://192.168.202.10@480 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
mattf
2007-01-24 19:00:41 +00:00
parent 11d99cf5f3
commit c2ae3ab01d
30 changed files with 225 additions and 229 deletions
+1 -1
View File
@@ -114,7 +114,7 @@ $TODAY = date("Y-m-d");
$NOW_TIME = date("Y-m-d H:i:s");
$stmt="SELECT count(*) from vicidial_users where user='$PHP_AUTH_USER' and pass='$PHP_AUTH_PW' and user_level > 7;";
$stmt="SELECT count(*) from vicidial_users where user='$PHP_AUTH_USER' and pass='$PHP_AUTH_PW' and user_level > 7 and modify_leads='1';";
if ($DB) {echo "|$stmt|\n";}
$rslt=mysql_query($stmt, $link);
$row=mysql_fetch_row($rslt);