From a19cd08e45286918dfa8aa3c482bbe310a52f068 Mon Sep 17 00:00:00 2001
From: Paolo Stancato <pstancato@syons.com.ar>
Date: Fri, 4 Sep 2009 11:26:30 -0300
Subject: [PATCH] Agregada la opcion para elegir la moneda por defecto en el panel de admin

---
 lm_paypal.admin.inc |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/lm_paypal.admin.inc b/lm_paypal.admin.inc
index 23dbe64..13ddff8 100644
--- a/lm_paypal.admin.inc
+++ b/lm_paypal.admin.inc
@@ -34,6 +34,16 @@ function lm_paypal_settings_form() {
     '#description' => t('The host to send PayPal requests to usually www.paypal.com (when testing use www.sandbox.paypal.com)'),
   );
 
+  $form['lm_currency_default'] = array(
+    '#type' => 'select',
+    '#title' => t('LM PayPal Currency Default'),
+    '#options' => lm_paypal_api_get_currency(),
+    '#default_value' => variable_get('lm_currency_default', LM_PAYPAL_CURRENCY_DEFAULT),
+    '#maxlength' => 3,
+    '#required' => TRUE,
+    '#description' => t('The currency used by default in the site'),
+  );
+
   $form['lm_paypal_ipns_max_age'] = array(
     '#type' => 'textfield',
     '#title' => t('LM PayPal Max Age IPNS'),
-- 
1.6.0.4

