Posted Sun Jun 01, 2014 9:32 pm
Is there a way to be visible only for the admins? Etc. userdata variables in a javascript? Something like this javascript?
- Code:
jQuery(window).load(function() {
if (typeof _userdata === "undefined") return;
if ((_userdata['user_level'] == '1') || (_userdata["user_level"] == '2'))...