Move isadmin to template and rename it to oc_isadmin