[ Index ]

MailPress 544

[ Index ]     [ Classes ]     [ Functions ]     [ Variables ]     [ Constants ]     [ Statistics ]    

title

Body

[close]

/mp-admin/ -> view_log.php (source)

   1  <?php
   2  class MP_AdminPage extends MP_adminpage_
   3  {
   4      const screen         = 'mailpress_viewlog';
   5      const capability    = 'MailPress_view_logs';
   6      const help_url        = 'http://blog.mailpress.org/tutorials/add-ons/view_logs/';
   7      const file            = __FILE__;
   8  
   9      // for path
  10  	public static function get_path() 
  11      {
  12          return MP_PATH . 'tmp';
  13      }
  14  
  15  ////  Title  ////
  16  
  17  	public static function title() { global $title; $title = __('MailPress Log', MP_TXTDOM); }
  18  
  19  ////  Styles  ////
  20  
  21  	public static function print_styles($styles = array()) 
  22      {
  23          wp_register_style ( self::screen,     '/' . MP_PATH . 'mp-admin/css/view_log.css' );
  24          $styles[] = self::screen;
  25  
  26          parent::print_styles($styles);
  27      }
  28  
  29  ////  Scripts  ////
  30  
  31  	public static function print_scripts($scripts = array()) 
  32      {
  33          $scripts = apply_filters('MailPress_autorefresh_files_js', $scripts);
  34  
  35          parent::print_scripts($scripts);
  36      }
  37  }


Generated: Thu Apr 28 18:38:52 2016 Cross-referenced by PHPXref 0.7.1