diff --git a/root/language/en/mods/portal/portal_announcements_module.php b/root/language/en/mods/portal/portal_announcements_module.php
index 7c2b3cca..19f7be7a 100644
--- a/root/language/en/mods/portal/portal_announcements_module.php
+++ b/root/language/en/mods/portal/portal_announcements_module.php
@@ -1,6 +1,6 @@
'Jump to first post',
'JUMP_TO_POST' => 'Jump to post',
'BACK' => 'Back',
+
+ // ACP
'ACP_PORTAL_ANNOUNCE_SETTINGS' => 'Global announcements settings',
'ACP_PORTAL_ANNOUNCE_SETTINGS_EXPLAIN' => 'This is where you customize the global announcements block.',
'PORTAL_ANNOUNCEMENTS' => 'Display global announcements',
diff --git a/root/language/en/mods/portal/portal_birthday_list_module.php b/root/language/en/mods/portal/portal_birthday_list_module.php
index ffe79a07..0120c153 100644
--- a/root/language/en/mods/portal/portal_birthday_list_module.php
+++ b/root/language/en/mods/portal/portal_birthday_list_module.php
@@ -1,6 +1,6 @@
'PayPal donations',
+ 'DONATION_TEXT' => 'is a group supplying services with no intention of any monetary profit. Your donations are welcome so that the cost of our server, domain name, etc. can be covered.',
+ 'PAY_MSG' => 'Please use a decimal point (not a comma) as the separator, e.g. 3.50',
+ 'PAY_ITEM' => 'Donate!', // paypal item
+
+ 'AUD' => 'Australian Dollars (AUD)',
+ 'CAD' => 'Canadian Dollars (CAD)',
+ 'CZK' => 'Czech Koruna (CZK)',
+ 'DKK' => 'Danish Kroner (DKK)',
+ 'HKD' => 'Hong Kong Dollars (HKD)',
+ 'HUF' => 'Hungarian Forint (HUF)',
+ 'NZD' => 'New Zealand Dollars (NZD)',
+ 'NOK' => 'Norwegian Kroner (NOK)',
+ 'PLN' => 'Polish Zlotych (PLN)',
+ 'GBP' => 'British Pounds (GBP)',
+ 'SGD' => 'Singapore Dollars (SGD)',
+ 'SEK' => 'Swedish Kronor (SEK)',
+ 'CHF' => 'Swiss Francs (CHF)',
+ 'JPY' => 'Japanese Yen (JPY)',
+ 'USD' => 'U.S. Dollars (USD)',
+ 'EUR' => 'Euros (EUR)',
+ 'MXN' => 'Mexican Pesos (MXN)',
+ 'ILS' => 'Israeli New Shekels (ILS)',
+
+ // ACP
+ 'ACP_PORTAL_PAYPAL_SETTINGS' => 'Paypal settings',
+ 'ACP_PORTAL_PAYPAL_SETTINGS_EXPLAIN' => 'This is where you customize the Paypal block.',
+ 'PORTAL_PAY_C_BLOCK' => 'Display paypal center block',
+ 'PORTAL_PAY_C_BLOCK_EXPLAIN' => 'Display this block on the portal.',
+ 'PORTAL_PAY_S_BLOCK' => 'Display paypal small block',
+ 'PORTAL_PAY_S_BLOCK_EXPLAIN' => 'Display this block on the portal.',
+ 'PORTAL_PAY_ACC' => 'Paypal account to use',
+ 'PORTAL_PAY_ACC_EXPLAIN' => 'Enter your Paypal e-mail address eg. xxx@xxx.com',
+));
+
+?>
\ No newline at end of file
diff --git a/root/language/en/mods/portal/portal_stylechanger_module.php b/root/language/en/mods/portal/portal_stylechanger_module.php
index 5dd544be..c087b0ae 100644
--- a/root/language/en/mods/portal/portal_stylechanger_module.php
+++ b/root/language/en/mods/portal/portal_stylechanger_module.php
@@ -1,6 +1,6 @@
'Top Posters',
'TOPPOSTERS_CONFIG' => 'Top Poster settings',
+
+ // ACP
'NUM_TOPPOSTERS' => 'Number of Top Posters',
- 'NUM_TOPPOSTERS_EXP' => 'Enter how many users should be displayed in the top posters block.',
+ 'NUM_TOPPOSTERS_EXP' => 'Enter how many users should be displayed in the top posters block.',
));
?>
\ No newline at end of file
diff --git a/root/portal/modules/portal_donation.php b/root/portal/modules/portal_donation.php
new file mode 100644
index 00000000..40fbbfcc
--- /dev/null
+++ b/root/portal/modules/portal_donation.php
@@ -0,0 +1,100 @@
+lang}/mods/portal/"
+ */
+ var $language = 'portal_donation_module';
+
+ function get_template_center($module_id)
+ {
+ global $config, $template;
+
+ $template->assign_var('PAY_ACC', $config['board3_pay_acc']);
+
+ return 'donation_center.html';
+ }
+
+ function get_template_side($module_id)
+ {
+ global $config, $template;
+
+ $template->assign_var('PAY_ACC', $config['board3_pay_acc']);
+
+ return 'donation_side.html';
+ }
+
+ function get_template_acp($module_id)
+ {
+ return array(
+ 'title' => 'ACP_PORTAL_PAYPAL_SETTINGS',
+ 'vars' => array(
+ 'legend1' => 'ACP_PORTAL_PAYPAL_SETTINGS',
+ 'board3_pay_acc' => array('lang' => 'PORTAL_PAY_ACC' , 'validate' => 'string', 'type' => 'text:25:100', 'explain' => true),
+ )
+ );
+ }
+
+ /**
+ * API functions
+ */
+ function install($module_id)
+ {
+ set_config('board3_pay_acc', 'your@paypal.com');
+ return true;
+ }
+
+ function uninstall($module_id)
+ {
+ global $db;
+
+ $del_config = array(
+ 'board3_pay_acc',
+ );
+ $sql = 'DELETE FROM ' . CONFIG_TABLE . '
+ WHERE ' . $db->sql_in_set('config_name', $del_config);
+ return $db->sql_query($sql);
+ }
+}
+
+?>
\ No newline at end of file
diff --git a/root/styles/prosilver/template/portal/modules/donate_center.html b/root/styles/prosilver/template/portal/modules/donate_center.html
deleted file mode 100644
index 5120168b..00000000
--- a/root/styles/prosilver/template/portal/modules/donate_center.html
+++ /dev/null
@@ -1,39 +0,0 @@
-
-{SITENAME} {L_DONATION_TEXT}
-
-

