If the Settings page has been activated, the scripts and styles will only be loaded on the settings page. If not, they will be loaded for all admin pages (like before this commit)
Also added the __FILE__ magic constant as a second parameter to the admin_enqueue_style and admin_enqueue_script, the user no longer needs to change 'plugin-name'. This also makes the code more robust.
Added a Plugin Settings page, that can be enabled by uncommenting the line that hooks it into the admin_menu action hook.
Added additional views that contain the WordPress standard markup to wrap the plugin settings markup.
The views are now loaded into the plugin page.
By adding the __FILE__ magic constant as a second parameter to the wp_enqueue_style and wp_enqueue_scripts, the user no longer needs to change 'plugin-name'. This also makes the code more robust.