$this->settings['cvv_required'] = $this->settings['cvv_required'];
// Add credit cards available to the description
- $this->description .= '<h4>Credit Cards Accepted</h4><p>' . ($this->settings['visa'] ==
- 'yes' ? 'VISA ' : '') . ($this->settings['mastercard'] ==
- 'yes' ? 'MASTERCARD ' : '') . ($this->settings['amex'] ==
- 'yes' ? 'AMEX ' : '') . ($this->settings['discover'] ==
- 'yes' ? 'DISCOVER ' : '') . '</p>';
-/*
$this->description .= '<h4>Credit Cards Accepted</h4><p>' . ($this->settings['visa'] ==
'yes' ? '<img src="' . GLM_MES_ASSETS_URL . '/visa.png">' : '') . ($this->settings['mastercard'] ==
'yes' ? '<img src="' . GLM_MES_ASSETS_URL .
'yes' ? '<img src="' . GLM_MES_ASSETS_URL . '/amex.png">' : '') . ($this->settings['discover'] ==
'yes' ? '<img src="' . GLM_MES_ASSETS_URL .
'/discover.png">' : '') . '</p>';
-*/
+
// Check for SSL
add_action('admin_notices', array(
// URLs
$pUrl = plugins_url( GLM_MES_DIR );
-
define('GLM_MES_URL', $pUrl.'/wp-content/plugins/'.GLM_MES_DIR);
-define('GLM_MES_ASSETS_URL', GLM_MES_URL.'/assets');
+//define('GLM_MES_ASSETS_URL', plugins_url( 'assets', __FILE__ ));
+define('GLM_MES_ASSETS_URL', plugins_url( GLM_MES_DIR.'/assets' ));