$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(
}
}
-?>
\ No newline at end of file
+?>
// URLs
-// $pUrl = plugins_url( GLM_MES_DIR );
-$pUrl = get_bloginfo('url');
+$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');
+
+
// Optional Gateway Icon
//define('GLM_MES_ICON', GLM_MES_ASSETS_URL.'/{place_icon_filename_here');
define('GLM_MES_ICON', null);
// Other Settings
define('GLM_MES_EXPIRE_YEARS', 10);
-?>
\ No newline at end of file
+?>