diff --git a/trunk/includes/help/start.php b/trunk/includes/help/start.php index 0e7d0ac..44ca263 100644 --- a/trunk/includes/help/start.php +++ b/trunk/includes/help/start.php @@ -1,7 +1,42 @@ . + * + * $Id$ + * + */ +/** + * gives a hint for admins in admin area + * + * @author Ortwin Pinke + * @since 1.0.1 Beta + * @uses wp add_filter() + */ +function semr_admin_notice(){ if(strstr(SEMMELSTATZR_VERSION, "Beta") !== false) { echo '

You are using a beta-version of semmelstatzReloaded. @@ -9,9 +44,10 @@ function my_admin_notice(){

'; } } -add_filter('admin_notices', 'my_admin_notice'); +add_filter('admin_notices', 'semr_admin_notice'); /* +// just for debugging on local machines function check_current_screen() { echo '
';
     if( !is_admin() ) return;
@@ -21,6 +57,21 @@ function check_current_screen() {
 }
 add_filter('admin_notices', 'check_current_screen');
 */
+
+/**
+ * bind the help files with contextual help area of wp
+ * 
+ * @author  Ortwin Pinke
+ * @since   1.0.1 Beta
+ * @uses    wp add_filter()
+ * 
+ * @global array $semr_hook
+ * @global string $wp_version
+ * @param string $contextual_help
+ * @param string $screen_id
+ * @param array $screen
+ * @return string 
+ */
 function semmelstatzR_help($contextual_help, $screen_id, $screen) {
     global $semr_hook, $wp_version;
     $semrContextHelp = '';