Esempio n. 1
0
 public function __construct()
 {
     parent::__construct();
     $uri = SHOPP_ADMIN_URI . '/styles';
     wp_enqueue_style('shopp.welcome', "{$uri}/welcome.css", array(), ShoppVersion::cache(), 'screen');
 }
Esempio n. 2
0
 /**
  * Displays the database update screen
  *
  * @since 1.3
  *
  * @return boolean
  **/
 public static function updatedb()
 {
     $uri = SHOPP_ADMIN_URI . '/styles';
     wp_enqueue_style('shopp.welcome', "{$uri}/welcome.css", array(), ShoppVersion::cache(), 'screen');
     include SHOPP_ADMIN_PATH . '/help/update.php';
 }
Esempio n. 3
0
 /**
  * Loads the Shopp admin CSS on the WordPress dashboard for widget styles
  *
  * @author Jonathan Davis
  * @since 1.0
  *
  * @return void
  **/
 public static function styles()
 {
     wp_enqueue_style('shopp.dashboard', SHOPP_ADMIN_URI . '/styles/dashboard.css', array(), ShoppVersion::cache(), 'screen');
 }