Requires iOS 5.0 or higher
Notification Center widget with various switches (like WiFi, mobile data, screen rotate, etc...)
Source code: at Github
NotificationCenter addons can be enabled from the Settings app, in the Notifications panel
See larger Screenshots below..