File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -76,7 +76,8 @@ json_list() {
7676 "API": "' $API ' ",
7777 "API_ALLOWED_IP": "' $API_ALLOWED_IP ' ",
7878 "RESTRICTED_ADMIN": "' $RESTRICTED_ADMIN ' ",
79- "HIDE_ADMIN_ACCOUNT": "' $HIDE_ADMIN_ACCOUNT ' "
79+ "HIDE_ADMIN_ACCOUNT": "' $HIDE_ADMIN_ACCOUNT ' ",
80+ "POLICY_USER_EDIT_DETAILS": "' $POLICY_USER_EDIT_DETAILS ' "
8081 }
8182 }'
8283}
Original file line number Diff line number Diff line change 7474 </ tr >
7575 < tr >
7676 < td >
77- < input type ="text " size ="20 " class ="vst-input " name ="v_name " value ="<?=htmlentities(trim($v_name, "'"))?> ">
77+ < input type ="text " size ="20 " class ="vst-input " name ="v_name " value ="<?=htmlentities(trim($v_name, "'"))?> " < ? if ($_SESSION['POLICY_USER_EDIT_DETAILS'] === 'no') { echo 'disabled'; }? > >
7878 </ td >
7979 </ tr >
8080 < tr >
8484 </ tr >
8585 < tr >
8686 < td >
87- < input type ="text " size ="20 " class ="vst-input " name ="v_email " value ="<?=htmlentities(trim($v_email, "'"))?> ">
87+ < input type ="text " size ="20 " class ="vst-input " name ="v_email " value ="<?=htmlentities(trim($v_email, "'"))?> " < ? if ($_SESSION['POLICY_USER_EDIT_DETAILS'] === 'no') { echo 'disabled'; }? > >
8888 </ td >
8989 </ tr >
9090 < tr >
You can’t perform that action at this time.
0 commit comments