Plugin Directory

Changeset 776067


Ignore:
Timestamp:
09/20/2013 03:54:05 PM (13 years ago)
Author:
Dejan Batanjac
Message:

Eliminated wp-pointer part as not needed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • phpinfo-print/trunk/lib/phpinfoClass.php

    r775961 r776067  
    99    public static function installActions(){   
    1010        add_action('admin_menu', 'phpinfo::admin_menus');
    11         add_action( 'admin_enqueue_scripts', 'phpinfo::enqueue_scripts' );
    12         add_action( 'admin_print_footer_scripts', 'phpinfo::add_pointer_scripts' );
     11   
    1312    }
    1413    public static function isAdmin(){       
     
    2322    }
    2423   
    25     // enqueue javascripts and styles
    26     public function enqueue_scripts()
    27     {
    28         wp_enqueue_style( 'wp-pointer' );
    29         wp_enqueue_script( 'wp-pointer' );
    30     }
    31    
    32     // Add the pointer javascript
    33     public function add_pointer_scripts()
    34     {
    35         $content = '<h3>Web Server Settings</h3>';
    36         $content .= '<p>Check web server settigns in the form just as phpinfo() function.';
    37 
    38         echo $content;
    39    
    40     }
    41    
    4224   
    4325    }
Note: See TracChangeset for help on using the changeset viewer.