Change bool_formatter() to be backward compatible with bootstrap2

Just a little fix to make icons in bootstrap2 mode show again. Well, maybe it's a good idea to write something more complex to distinguish between 2 and 3, but I don't think so.

P.S. I am quite a newbie, so please tell me if I do something wrong.