Changeset c65ee3 in indico
- Timestamp:
- 03/11/11 16:23:31 (2 years ago)
- Branches:
- master, burotel, hello-world-walkthrough, ipv6, v0.98-series, v0.98.2, v0.98.3, v0.98b1, v0.98b2, v0.99, 051b2622c51afb171a1dedb46a0df4fbb0cbd02e, d9941f8582b36b24821a11ea5ba16fda6a457fb1
- Children:
- 2f223d
- Parents:
- 3edaba
- Files:
-
- 6 edited
-
indico/MaKaC/epayment.py (modified) (3 diffs)
-
indico/MaKaC/plugins/EPayment/payPal/__init__.py (modified) (1 diff)
-
indico/MaKaC/plugins/EPayment/worldPay/__init__.py (modified) (1 diff)
-
indico/MaKaC/plugins/EPayment/yellowPay/__init__.py (modified) (1 diff)
-
indico/MaKaC/webinterface/pages/epayments.py (modified) (2 diffs)
-
setup.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
indico/MaKaC/epayment.py
r2da594 rc65ee3 23 23 from MaKaC.common.Locators import Locator 24 24 from MaKaC.trashCan import TrashCanManager 25 from MaKaC.plugins import PluginLoader , pluginId25 from MaKaC.plugins import PluginLoader 26 26 27 27 class EPayment(Persistent): … … 54 54 changed = False 55 55 for mod in epaymentModules: 56 name = pluginId(mod)56 name = mod.MODULE_ID 57 57 if name not in self.payMods: 58 58 self.payMods[name] = mod.epayment.getPayMod() … … 64 64 mod.epayment.getPayModClass()): 65 65 newMod = mod.epayment.getPayMod() 66 self.payMods[ pluginId(mod)] = newMod66 self.payMods[mod.MODULE_ID] = newMod 67 67 changed = True 68 68 -
indico/MaKaC/plugins/EPayment/payPal/__init__.py
r2da594 rc65ee3 24 24 } 25 25 26 MODULE_ID = ' payPal'26 MODULE_ID = 'PayPal' 27 27 28 28 modules = {} -
indico/MaKaC/plugins/EPayment/worldPay/__init__.py
r2da594 rc65ee3 24 24 } 25 25 26 MODULE_ID = ' worldPay'26 MODULE_ID = 'WorldPay' 27 27 28 28 modules = {} -
indico/MaKaC/plugins/EPayment/yellowPay/__init__.py
r2da594 rc65ee3 24 24 } 25 25 26 MODULE_ID = ' yellowPay'26 MODULE_ID = 'YellowPay' 27 27 28 28 modules = {} -
indico/MaKaC/webinterface/pages/epayments.py
rab85b3 rc65ee3 71 71 72 72 # CERN Plugin: Just admins can see and modify it 73 if gs.getId() == "CERNYellowPay": 73 from MaKaC.plugins.EPayment.CERNYellowPay import MODULE_ID 74 if gs.getId() == MODULE_ID: 74 75 minfo = HelperMaKaCInfo.getMaKaCInfoInstance() 75 76 al = minfo.getAdminList() … … 77 78 from MaKaC.plugins.base import PluginsHolder 78 79 endis="enable" 79 departmentName = PluginsHolder().getPluginType("EPayment").getPlugin( "CERNYellowPay").getOption("FPDepartmentName").getValue()80 emailAddress = PluginsHolder().getPluginType("EPayment").getPlugin( "CERNYellowPay").getOption("FPEmaillAddress").getValue()80 departmentName = PluginsHolder().getPluginType("EPayment").getPlugin(MODULE_ID).getOption("FPDepartmentName").getValue() 81 emailAddress = PluginsHolder().getPluginType("EPayment").getPlugin(MODULE_ID).getOption("FPEmaillAddress").getValue() 81 82 if gs.isEnabled(): 82 83 endis="disable" -
setup.py
r6e631c rc65ee3 674 674 EPayment.yellowPay = MaKaC.plugins.EPayment.yellowPay 675 675 EPayment.skipjack = MaKaC.plugins.EPayment.skipjack 676 EPayment.CERNYellowPay = MaKaC.plugins.EPayment.CERNYellowPay 676 677 677 678 InstantMessaging.XMPP = MaKaC.plugins.InstantMessaging.XMPP
Note: See TracChangeset
for help on using the changeset viewer.
