WordPress.org

Plugin Directory

Changeset 484710


Ignore:
Timestamp:
01/04/12 21:05:31 (2 years ago)
Author:
ipublicis
Message:

Removing anoying dependency message.

Location:
author-box-reloaded-pack
Files:
28 edited

Legend:

Unmodified
Added
Removed
  • author-box-reloaded-pack/tags/1.1.2/branchout.php

    r484607 r484710  
    5252 
    5353/** 
    54  * Dont touch this code below 
    55  */ 
    56 $plugins = get_option( 'active_plugins' ); 
    57 $required_plugin = 'author-box-2/authorbox.php'; 
    58 if ( !in_array( $required_plugin , $plugins ) ) { 
    59     $wpfr = '<a href="http://wordpress.org/extend/plugins/author-box-2/" target="_blank">Author Box Reloaded</a>'; 
    60     $dieMessage  = sprintf( __( 'The %s plugin must be installed and active.', 'author-box-2' ), $wpfr ); 
    61     $notice = "<div id=\"message\" class=\"error fade\"><p><strong>Author Box Reloaded Pack</strong></p>". 
    62                     "<p>".$dieMessage."</p></div>\n"; 
    63     add_action( 'admin_notices', create_function( '', "echo '$notice';" ) ); 
    64 }  
    65  
    66 /** 
    6754 * Section to modify 
    6855 */ 
  • author-box-reloaded-pack/tags/1.1.2/crunchbase.php

    r484607 r484710  
    5252 
    5353/** 
    54  * Dont touch this code below 
    55  */ 
    56 $plugins = get_option( 'active_plugins' ); 
    57 $required_plugin = 'author-box-2/authorbox.php'; 
    58 if ( !in_array( $required_plugin , $plugins ) ) { 
    59     $wpfr = '<a href="http://wordpress.org/extend/plugins/author-box-2/" target="_blank">Author Box Reloaded</a>'; 
    60     $dieMessage  = sprintf( __( 'The %s plugin must be installed and active.', 'author-box-2' ), $wpfr ); 
    61     $notice = "<div id=\"message\" class=\"error fade\"><p><strong>Author Box Reloaded Pack</strong></p>". 
    62                     "<p>".$dieMessage."</p></div>\n"; 
    63     add_action( 'admin_notices', create_function( '', "echo '$notice';" ) ); 
    64 }  
    65  
    66 /** 
    6754 * Section to modify 
    6855 */ 
  • author-box-reloaded-pack/tags/1.1.2/drupalassociation.php

    r484607 r484710  
    5252 
    5353/** 
    54  * Dont touch this code below 
    55  */ 
    56 $plugins = get_option( 'active_plugins' ); 
    57 $required_plugin = 'author-box-2/authorbox.php'; 
    58 if ( !in_array( $required_plugin , $plugins ) ) { 
    59     $wpfr = '<a href="http://wordpress.org/extend/plugins/author-box-2/" target="_blank">Author Box Reloaded</a>'; 
    60     $dieMessage  = sprintf( __( 'The %s plugin must be installed and active.', 'author-box-2' ), $wpfr ); 
    61     $notice = "<div id=\"message\" class=\"error fade\"><p><strong>Author Box Reloaded Pack</strong></p>". 
    62                     "<p>".$dieMessage."</p></div>\n"; 
    63     add_action( 'admin_notices', create_function( '', "echo '$notice';" ) ); 
    64 }  
    65  
    66 /** 
    6754 * Section to modify 
    6855 */ 
  • author-box-reloaded-pack/tags/1.1.2/facebook.php

    r484607 r484710  
    5252 
    5353/** 
    54  * Dont touch this code below 
    55  */ 
    56 $plugins = get_option( 'active_plugins' ); 
    57 $required_plugin = 'author-box-2/authorbox.php'; 
    58 if ( !in_array( $required_plugin , $plugins ) ) { 
    59     $wpfr = '<a href="http://wordpress.org/extend/plugins/author-box-2/" target="_blank">Author Box Reloaded</a>'; 
    60     $dieMessage  = sprintf( __( 'The %s plugin must be installed and active.', 'author-box-2' ), $wpfr ); 
    61     $notice = "<div id=\"message\" class=\"error fade\"><p><strong>Author Box Reloaded Pack</strong></p>". 
    62                     "<p>".$dieMessage."</p></div>\n"; 
    63     add_action( 'admin_notices', create_function( '', "echo '$notice';" ) ); 
    64 }  
    65  
    66 /** 
    6754 * Section to modify 
    6855 */ 
  • author-box-reloaded-pack/tags/1.1.2/googleplus.php

    r484607 r484710  
    5252 
    5353/** 
    54  * Dont touch this code below 
    55  */ 
    56 $plugins = get_option( 'active_plugins' ); 
    57 $required_plugin = 'author-box-2/authorbox.php'; 
    58 if ( !in_array( $required_plugin , $plugins ) ) { 
    59     $wpfr = '<a href="http://wordpress.org/extend/plugins/author-box-2/" target="_blank">Author Box Reloaded</a>'; 
    60     $dieMessage  = sprintf( __( 'The %s plugin must be installed and active.', 'author-box-2' ), $wpfr ); 
    61     $notice = "<div id=\"message\" class=\"error fade\"><p><strong>Author Box Reloaded Pack</strong></p>". 
    62                     "<p>".$dieMessage."</p></div>\n"; 
    63     add_action( 'admin_notices', create_function( '', "echo '$notice';" ) ); 
    64 }  
    65  
    66 /** 
    6754 * Section to modify 
    6855 */ 
  • author-box-reloaded-pack/tags/1.1.2/identica.php

    r484607 r484710  
    5252 
    5353/** 
    54  * Dont touch this code below 
    55  */ 
    56 $plugins = get_option( 'active_plugins' ); 
    57 $required_plugin = 'author-box-2/authorbox.php'; 
    58 if ( !in_array( $required_plugin , $plugins ) ) { 
    59     $wpfr = '<a href="http://wordpress.org/extend/plugins/author-box-2/" target="_blank">Author Box Reloaded</a>'; 
    60     $dieMessage  = sprintf( __( 'The %s plugin must be installed and active.', 'author-box-2' ), $wpfr ); 
    61     $notice = "<div id=\"message\" class=\"error fade\"><p><strong>Author Box Reloaded Pack</strong></p>". 
    62                     "<p>".$dieMessage."</p></div>\n"; 
    63     add_action( 'admin_notices', create_function( '', "echo '$notice';" ) ); 
    64 }  
    65  
    66 /** 
    6754 * Section to modify 
    6855 */ 
  • author-box-reloaded-pack/tags/1.1.2/linkedin.php

    r484607 r484710  
    5252 
    5353/** 
    54  * Dont touch this code below 
    55  */ 
    56 $plugins = get_option( 'active_plugins' ); 
    57 $required_plugin = 'author-box-2/authorbox.php'; 
    58 if ( !in_array( $required_plugin , $plugins ) ) { 
    59     $wpfr = '<a href="http://wordpress.org/extend/plugins/author-box-2/" target="_blank">Author Box Reloaded</a>'; 
    60     $dieMessage  = sprintf( __( 'The %s plugin must be installed and active.', 'author-box-2' ), $wpfr ); 
    61     $notice = "<div id=\"message\" class=\"error fade\"><p><strong>Author Box Reloaded Pack</strong></p>". 
    62                     "<p>".$dieMessage."</p></div>\n"; 
    63     add_action( 'admin_notices', create_function( '', "echo '$notice';" ) ); 
    64 }  
    65  
    66 /** 
    6754 * Section to modify 
    6855 */ 
  • author-box-reloaded-pack/tags/1.1.2/netlog.php

    r484607 r484710  
    5252 
    5353/** 
    54  * Dont touch this code below 
    55  */ 
    56 $plugins = get_option( 'active_plugins' ); 
    57 $required_plugin = 'author-box-2/authorbox.php'; 
    58 if ( !in_array( $required_plugin , $plugins ) ) { 
    59     $wpfr = '<a href="http://wordpress.org/extend/plugins/author-box-2/" target="_blank">Author Box Reloaded</a>'; 
    60     $dieMessage  = sprintf( __( 'The %s plugin must be installed and active.', 'author-box-2' ), $wpfr ); 
    61     $notice = "<div id=\"message\" class=\"error fade\"><p><strong>Author Box Reloaded Pack</strong></p>". 
    62                     "<p>".$dieMessage."</p></div>\n"; 
    63     add_action( 'admin_notices', create_function( '', "echo '$notice';" ) ); 
    64 }  
    65  
    66 /** 
    6754 * Section to modify 
    6855 */ 
  • author-box-reloaded-pack/tags/1.1.2/skypeme.php

    r484607 r484710  
    5252 
    5353/** 
    54  * Dont touch this code below 
    55  */ 
    56 $plugins = get_option( 'active_plugins' ); 
    57 $required_plugin = 'author-box-2/authorbox.php'; 
    58 if ( !in_array( $required_plugin , $plugins ) ) { 
    59     $wpfr = '<a href="http://wordpress.org/extend/plugins/author-box-2/" target="_blank">Author Box Reloaded</a>'; 
    60     $dieMessage  = sprintf( __( 'The %s plugin must be installed and active.', 'author-box-2' ), $wpfr ); 
    61     $notice = "<div id=\"message\" class=\"error fade\"><p><strong>Author Box Reloaded Pack</strong></p>". 
    62                     "<p>".$dieMessage."</p></div>\n"; 
    63     add_action( 'admin_notices', create_function( '', "echo '$notice';" ) ); 
    64 }  
    65  
    66 /** 
    6754 * Section to modify 
    6855 */ 
  • author-box-reloaded-pack/tags/1.1.2/twitter.php

    r484607 r484710  
    5252 
    5353/** 
    54  * Dont touch this code below 
    55  */ 
    56 $plugins = get_option( 'active_plugins' ); 
    57 $required_plugin = 'author-box-2/authorbox.php'; 
    58 if ( !in_array( $required_plugin , $plugins ) ) { 
    59     $wpfr = '<a href="http://wordpress.org/extend/plugins/author-box-2/" target="_blank">Author Box Reloaded</a>'; 
    60     $dieMessage  = sprintf( __( 'The %s plugin must be installed and active.', 'author-box-2' ), $wpfr ); 
    61     $notice = "<div id=\"message\" class=\"error fade\"><p><strong>Author Box Reloaded Pack</strong></p>". 
    62                     "<p>".$dieMessage."</p></div>\n"; 
    63     add_action( 'admin_notices', create_function( '', "echo '$notice';" ) ); 
    64 }  
    65  
    66 /** 
    6754 * Section to modify 
    6855 */ 
  • author-box-reloaded-pack/tags/1.1.2/vimeo.php

    r484607 r484710  
    5252 
    5353/** 
    54  * Dont touch this code below 
    55  */ 
    56 $plugins = get_option( 'active_plugins' ); 
    57 $required_plugin = 'author-box-2/authorbox.php'; 
    58 if ( !in_array( $required_plugin , $plugins ) ) { 
    59     $wpfr = '<a href="http://wordpress.org/extend/plugins/author-box-2/" target="_blank">Author Box Reloaded</a>'; 
    60     $dieMessage  = sprintf( __( 'The %s plugin must be installed and active.', 'author-box-2' ), $wpfr ); 
    61     $notice = "<div id=\"message\" class=\"error fade\"><p><strong>Author Box Reloaded Pack</strong></p>". 
    62                     "<p>".$dieMessage."</p></div>\n"; 
    63     add_action( 'admin_notices', create_function( '', "echo '$notice';" ) ); 
    64 }  
    65  
    66 /** 
    6754 * Section to modify 
    6855 */ 
  • author-box-reloaded-pack/tags/1.1.2/wordpress.php

    r484607 r484710  
    5252 
    5353/** 
    54  * Dont touch this code below 
    55  */ 
    56 $plugins = get_option( 'active_plugins' ); 
    57 $required_plugin = 'author-box-2/authorbox.php'; 
    58 if ( !in_array( $required_plugin , $plugins ) ) { 
    59     $wpfr = '<a href="http://wordpress.org/extend/plugins/author-box-2/" target="_blank">Author Box Reloaded</a>'; 
    60     $dieMessage  = sprintf( __( 'The %s plugin must be installed and active.', 'author-box-2' ), $wpfr ); 
    61     $notice = "<div id=\"message\" class=\"error fade\"><p><strong>Author Box Reloaded Pack</strong></p>". 
    62                     "<p>".$dieMessage."</p></div>\n"; 
    63     add_action( 'admin_notices', create_function( '', "echo '$notice';" ) ); 
    64 }  
    65  
    66 /** 
    6754 * Section to modify 
    6855 */ 
  • author-box-reloaded-pack/tags/1.1.2/xing.php

    r484607 r484710  
    5252 
    5353/** 
    54  * Dont touch this code below 
    55  */ 
    56 $plugins = get_option( 'active_plugins' ); 
    57 $required_plugin = 'author-box-2/authorbox.php'; 
    58 if ( !in_array( $required_plugin , $plugins ) ) { 
    59     $wpfr = '<a href="http://wordpress.org/extend/plugins/author-box-2/" target="_blank">Author Box Reloaded</a>'; 
    60     $dieMessage  = sprintf( __( 'The %s plugin must be installed and active.', 'author-box-2' ), $wpfr ); 
    61     $notice = "<div id=\"message\" class=\"error fade\"><p><strong>Author Box Reloaded Pack</strong></p>". 
    62                     "<p>".$dieMessage."</p></div>\n"; 
    63     add_action( 'admin_notices', create_function( '', "echo '$notice';" ) ); 
    64 }  
    65  
    66 /** 
    6754 * Section to modify 
    6855 */ 
  • author-box-reloaded-pack/tags/1.1.2/youtube.php

    r484607 r484710  
    5252 
    5353/** 
    54  * Dont touch this code below 
    55  */ 
    56 $plugins = get_option( 'active_plugins' ); 
    57 $required_plugin = 'author-box-2/authorbox.php'; 
    58 if ( !in_array( $required_plugin , $plugins ) ) { 
    59     $wpfr = '<a href="http://wordpress.org/extend/plugins/author-box-2/" target="_blank">Author Box Reloaded</a>'; 
    60     $dieMessage  = sprintf( __( 'The %s plugin must be installed and active.', 'author-box-2' ), $wpfr ); 
    61     $notice = "<div id=\"message\" class=\"error fade\"><p><strong>Author Box Reloaded Pack</strong></p>". 
    62                     "<p>".$dieMessage."</p></div>\n"; 
    63     add_action( 'admin_notices', create_function( '', "echo '$notice';" ) ); 
    64 }  
    65  
    66 /** 
    6754 * Section to modify 
    6855 */ 
  • author-box-reloaded-pack/trunk/branchout.php

    r484618 r484710  
    5252 
    5353/** 
    54  * Dont touch this code below 
    55  */ 
    56 $plugins = get_option( 'active_plugins' ); 
    57 $required_plugin = 'author-box-2/authorbox.php'; 
    58 if ( !in_array( $required_plugin , $plugins ) ) { 
    59     $wpfr = '<a href="http://wordpress.org/extend/plugins/author-box-2/" target="_blank">Author Box Reloaded</a>'; 
    60     $dieMessage  = sprintf( __( 'The %s plugin must be installed and active.', 'author-box-2' ), $wpfr ); 
    61     $notice = "<div id=\"message\" class=\"error fade\"><p><strong>Author Box Reloaded Pack</strong></p>". 
    62                     "<p>".$dieMessage."</p></div>\n"; 
    63     add_action( 'admin_notices', create_function( '', "echo '$notice';" ) ); 
    64 }  
    65  
    66 /** 
    6754 * Section to modify 
    6855 */ 
  • author-box-reloaded-pack/trunk/crunchbase.php

    r484618 r484710  
    5252 
    5353/** 
    54  * Dont touch this code below 
    55  */ 
    56 $plugins = get_option( 'active_plugins' ); 
    57 $required_plugin = 'author-box-2/authorbox.php'; 
    58 if ( !in_array( $required_plugin , $plugins ) ) { 
    59     $wpfr = '<a href="http://wordpress.org/extend/plugins/author-box-2/" target="_blank">Author Box Reloaded</a>'; 
    60     $dieMessage  = sprintf( __( 'The %s plugin must be installed and active.', 'author-box-2' ), $wpfr ); 
    61     $notice = "<div id=\"message\" class=\"error fade\"><p><strong>Author Box Reloaded Pack</strong></p>". 
    62                     "<p>".$dieMessage."</p></div>\n"; 
    63     add_action( 'admin_notices', create_function( '', "echo '$notice';" ) ); 
    64 }  
    65  
    66 /** 
    6754 * Section to modify 
    6855 */ 
  • author-box-reloaded-pack/trunk/drupalassociation.php

    r484618 r484710  
    5252 
    5353/** 
    54  * Dont touch this code below 
    55  */ 
    56 $plugins = get_option( 'active_plugins' ); 
    57 $required_plugin = 'author-box-2/authorbox.php'; 
    58 if ( !in_array( $required_plugin , $plugins ) ) { 
    59     $wpfr = '<a href="http://wordpress.org/extend/plugins/author-box-2/" target="_blank">Author Box Reloaded</a>'; 
    60     $dieMessage  = sprintf( __( 'The %s plugin must be installed and active.', 'author-box-2' ), $wpfr ); 
    61     $notice = "<div id=\"message\" class=\"error fade\"><p><strong>Author Box Reloaded Pack</strong></p>". 
    62                     "<p>".$dieMessage."</p></div>\n"; 
    63     add_action( 'admin_notices', create_function( '', "echo '$notice';" ) ); 
    64 }  
    65  
    66 /** 
    6754 * Section to modify 
    6855 */ 
  • author-box-reloaded-pack/trunk/facebook.php

    r484618 r484710  
    5252 
    5353/** 
    54  * Dont touch this code below 
    55  */ 
    56 $plugins = get_option( 'active_plugins' ); 
    57 $required_plugin = 'author-box-2/authorbox.php'; 
    58 if ( !in_array( $required_plugin , $plugins ) ) { 
    59     $wpfr = '<a href="http://wordpress.org/extend/plugins/author-box-2/" target="_blank">Author Box Reloaded</a>'; 
    60     $dieMessage  = sprintf( __( 'The %s plugin must be installed and active.', 'author-box-2' ), $wpfr ); 
    61     $notice = "<div id=\"message\" class=\"error fade\"><p><strong>Author Box Reloaded Pack</strong></p>". 
    62                     "<p>".$dieMessage."</p></div>\n"; 
    63     add_action( 'admin_notices', create_function( '', "echo '$notice';" ) ); 
    64 }  
    65  
    66 /** 
    6754 * Section to modify 
    6855 */ 
  • author-box-reloaded-pack/trunk/googleplus.php

    r484618 r484710  
    5252 
    5353/** 
    54  * Dont touch this code below 
    55  */ 
    56 $plugins = get_option( 'active_plugins' ); 
    57 $required_plugin = 'author-box-2/authorbox.php'; 
    58 if ( !in_array( $required_plugin , $plugins ) ) { 
    59     $wpfr = '<a href="http://wordpress.org/extend/plugins/author-box-2/" target="_blank">Author Box Reloaded</a>'; 
    60     $dieMessage  = sprintf( __( 'The %s plugin must be installed and active.', 'author-box-2' ), $wpfr ); 
    61     $notice = "<div id=\"message\" class=\"error fade\"><p><strong>Author Box Reloaded Pack</strong></p>". 
    62                     "<p>".$dieMessage."</p></div>\n"; 
    63     add_action( 'admin_notices', create_function( '', "echo '$notice';" ) ); 
    64 }  
    65  
    66 /** 
    6754 * Section to modify 
    6855 */ 
  • author-box-reloaded-pack/trunk/identica.php

    r484618 r484710  
    5252 
    5353/** 
    54  * Dont touch this code below 
    55  */ 
    56 $plugins = get_option( 'active_plugins' ); 
    57 $required_plugin = 'author-box-2/authorbox.php'; 
    58 if ( !in_array( $required_plugin , $plugins ) ) { 
    59     $wpfr = '<a href="http://wordpress.org/extend/plugins/author-box-2/" target="_blank">Author Box Reloaded</a>'; 
    60     $dieMessage  = sprintf( __( 'The %s plugin must be installed and active.', 'author-box-2' ), $wpfr ); 
    61     $notice = "<div id=\"message\" class=\"error fade\"><p><strong>Author Box Reloaded Pack</strong></p>". 
    62                     "<p>".$dieMessage."</p></div>\n"; 
    63     add_action( 'admin_notices', create_function( '', "echo '$notice';" ) ); 
    64 }  
    65  
    66 /** 
    6754 * Section to modify 
    6855 */ 
  • author-box-reloaded-pack/trunk/linkedin.php

    r484618 r484710  
    5252 
    5353/** 
    54  * Dont touch this code below 
    55  */ 
    56 $plugins = get_option( 'active_plugins' ); 
    57 $required_plugin = 'author-box-2/authorbox.php'; 
    58 if ( !in_array( $required_plugin , $plugins ) ) { 
    59     $wpfr = '<a href="http://wordpress.org/extend/plugins/author-box-2/" target="_blank">Author Box Reloaded</a>'; 
    60     $dieMessage  = sprintf( __( 'The %s plugin must be installed and active.', 'author-box-2' ), $wpfr ); 
    61     $notice = "<div id=\"message\" class=\"error fade\"><p><strong>Author Box Reloaded Pack</strong></p>". 
    62                     "<p>".$dieMessage."</p></div>\n"; 
    63     add_action( 'admin_notices', create_function( '', "echo '$notice';" ) ); 
    64 }  
    65  
    66 /** 
    6754 * Section to modify 
    6855 */ 
  • author-box-reloaded-pack/trunk/netlog.php

    r484618 r484710  
    5252 
    5353/** 
    54  * Dont touch this code below 
    55  */ 
    56 $plugins = get_option( 'active_plugins' ); 
    57 $required_plugin = 'author-box-2/authorbox.php'; 
    58 if ( !in_array( $required_plugin , $plugins ) ) { 
    59     $wpfr = '<a href="http://wordpress.org/extend/plugins/author-box-2/" target="_blank">Author Box Reloaded</a>'; 
    60     $dieMessage  = sprintf( __( 'The %s plugin must be installed and active.', 'author-box-2' ), $wpfr ); 
    61     $notice = "<div id=\"message\" class=\"error fade\"><p><strong>Author Box Reloaded Pack</strong></p>". 
    62                     "<p>".$dieMessage."</p></div>\n"; 
    63     add_action( 'admin_notices', create_function( '', "echo '$notice';" ) ); 
    64 }  
    65  
    66 /** 
    6754 * Section to modify 
    6855 */ 
  • author-box-reloaded-pack/trunk/skypeme.php

    r484618 r484710  
    5252 
    5353/** 
    54  * Dont touch this code below 
    55  */ 
    56 $plugins = get_option( 'active_plugins' ); 
    57 $required_plugin = 'author-box-2/authorbox.php'; 
    58 if ( !in_array( $required_plugin , $plugins ) ) { 
    59     $wpfr = '<a href="http://wordpress.org/extend/plugins/author-box-2/" target="_blank">Author Box Reloaded</a>'; 
    60     $dieMessage  = sprintf( __( 'The %s plugin must be installed and active.', 'author-box-2' ), $wpfr ); 
    61     $notice = "<div id=\"message\" class=\"error fade\"><p><strong>Author Box Reloaded Pack</strong></p>". 
    62                     "<p>".$dieMessage."</p></div>\n"; 
    63     add_action( 'admin_notices', create_function( '', "echo '$notice';" ) ); 
    64 }  
    65  
    66 /** 
    6754 * Section to modify 
    6855 */ 
  • author-box-reloaded-pack/trunk/twitter.php

    r484618 r484710  
    5252 
    5353/** 
    54  * Dont touch this code below 
    55  */ 
    56 $plugins = get_option( 'active_plugins' ); 
    57 $required_plugin = 'author-box-2/authorbox.php'; 
    58 if ( !in_array( $required_plugin , $plugins ) ) { 
    59     $wpfr = '<a href="http://wordpress.org/extend/plugins/author-box-2/" target="_blank">Author Box Reloaded</a>'; 
    60     $dieMessage  = sprintf( __( 'The %s plugin must be installed and active.', 'author-box-2' ), $wpfr ); 
    61     $notice = "<div id=\"message\" class=\"error fade\"><p><strong>Author Box Reloaded Pack</strong></p>". 
    62                     "<p>".$dieMessage."</p></div>\n"; 
    63     add_action( 'admin_notices', create_function( '', "echo '$notice';" ) ); 
    64 }  
    65  
    66 /** 
    6754 * Section to modify 
    6855 */ 
  • author-box-reloaded-pack/trunk/vimeo.php

    r484618 r484710  
    5252 
    5353/** 
    54  * Dont touch this code below 
    55  */ 
    56 $plugins = get_option( 'active_plugins' ); 
    57 $required_plugin = 'author-box-2/authorbox.php'; 
    58 if ( !in_array( $required_plugin , $plugins ) ) { 
    59     $wpfr = '<a href="http://wordpress.org/extend/plugins/author-box-2/" target="_blank">Author Box Reloaded</a>'; 
    60     $dieMessage  = sprintf( __( 'The %s plugin must be installed and active.', 'author-box-2' ), $wpfr ); 
    61     $notice = "<div id=\"message\" class=\"error fade\"><p><strong>Author Box Reloaded Pack</strong></p>". 
    62                     "<p>".$dieMessage."</p></div>\n"; 
    63     add_action( 'admin_notices', create_function( '', "echo '$notice';" ) ); 
    64 }  
    65  
    66 /** 
    6754 * Section to modify 
    6855 */ 
  • author-box-reloaded-pack/trunk/wordpress.php

    r484618 r484710  
    5252 
    5353/** 
    54  * Dont touch this code below 
    55  */ 
    56 $plugins = get_option( 'active_plugins' ); 
    57 $required_plugin = 'author-box-2/authorbox.php'; 
    58 if ( !in_array( $required_plugin , $plugins ) ) { 
    59     $wpfr = '<a href="http://wordpress.org/extend/plugins/author-box-2/" target="_blank">Author Box Reloaded</a>'; 
    60     $dieMessage  = sprintf( __( 'The %s plugin must be installed and active.', 'author-box-2' ), $wpfr ); 
    61     $notice = "<div id=\"message\" class=\"error fade\"><p><strong>Author Box Reloaded Pack</strong></p>". 
    62                     "<p>".$dieMessage."</p></div>\n"; 
    63     add_action( 'admin_notices', create_function( '', "echo '$notice';" ) ); 
    64 }  
    65  
    66 /** 
    6754 * Section to modify 
    6855 */ 
  • author-box-reloaded-pack/trunk/xing.php

    r484618 r484710  
    5252 
    5353/** 
    54  * Dont touch this code below 
    55  */ 
    56 $plugins = get_option( 'active_plugins' ); 
    57 $required_plugin = 'author-box-2/authorbox.php'; 
    58 if ( !in_array( $required_plugin , $plugins ) ) { 
    59     $wpfr = '<a href="http://wordpress.org/extend/plugins/author-box-2/" target="_blank">Author Box Reloaded</a>'; 
    60     $dieMessage  = sprintf( __( 'The %s plugin must be installed and active.', 'author-box-2' ), $wpfr ); 
    61     $notice = "<div id=\"message\" class=\"error fade\"><p><strong>Author Box Reloaded Pack</strong></p>". 
    62                     "<p>".$dieMessage."</p></div>\n"; 
    63     add_action( 'admin_notices', create_function( '', "echo '$notice';" ) ); 
    64 }  
    65  
    66 /** 
    6754 * Section to modify 
    6855 */ 
  • author-box-reloaded-pack/trunk/youtube.php

    r484618 r484710  
    5252 
    5353/** 
    54  * Dont touch this code below 
    55  */ 
    56 $plugins = get_option( 'active_plugins' ); 
    57 $required_plugin = 'author-box-2/authorbox.php'; 
    58 if ( !in_array( $required_plugin , $plugins ) ) { 
    59     $wpfr = '<a href="http://wordpress.org/extend/plugins/author-box-2/" target="_blank">Author Box Reloaded</a>'; 
    60     $dieMessage  = sprintf( __( 'The %s plugin must be installed and active.', 'author-box-2' ), $wpfr ); 
    61     $notice = "<div id=\"message\" class=\"error fade\"><p><strong>Author Box Reloaded Pack</strong></p>". 
    62                     "<p>".$dieMessage."</p></div>\n"; 
    63     add_action( 'admin_notices', create_function( '', "echo '$notice';" ) ); 
    64 }  
    65  
    66 /** 
    6754 * Section to modify 
    6855 */ 
Note: See TracChangeset for help on using the changeset viewer.