|
Post by Ross on Jan 29, 2006 11:26:07 GMT -5
<script type="text/javascript"> <!-- /* protect accounts */
var protect = /^(user1|user2|user3)$/i;
if(pb_username != 'admin') { if(document.modifyForm && document.modifyForm.user.value.match(protect) && pb_username != document.modifyForm.user.value) { var obj = document.modifyForm.parentNode; obj.parentNode.parentNode.parentNode.getElementsByTagName('b').item(0).innerHTML = 'An Error Has Occured'; obj.innerHTML = 'You are not allowed to modify this persons profile.'; } } //--> </script>Main Footer. In the bold part, enter the usernames of the people whos profiles cannot be modified (seperated with a '|' line). Only the main admin and the owner of the account will be able to modify the profile
|
|