B
B应该是:are not allowed to wear吧?否则没有正确选项
学生在校不准穿拖鞋.
be allowed to do sth:被允许去做某事,一定是没动语态,所以先排除A;被动语态后跟to do结构,再排除C