Skip to content

Fix Buttons in Shop, Migrate Functions #11

Closed
wants to merge 78 commits into from

4 participants

@dannyhenderson

I started separating out the functions that are Core and are used in both the Admin and Shop and moving the Shop-specific functions up. This will make more sense because the admin has Admin-specific versions of these files.

If you don't approve of the structure, please pull in the path updates on the button draw functions so the Shop buttons display since the images were already moved into that local language folder and aren't displaying in the Shop.

Still a little shakey on github not sure if this pull request is formatted correct.

Cheers,

Danny

haraldpdl and others added some commits Jul 29, 2010
@haraldpdl haraldpdl Support nested Actions c089f0b
@haraldpdl haraldpdl Support nested Actions 3f210ce
@haraldpdl haraldpdl Support nested Actions (Admin/Administrators Application) f00bfce
@haraldpdl haraldpdl Support nested Actions (Admin/Configuration Application) 7bc9b22
@haraldpdl haraldpdl Support nested Actions (Admin/Countries Application) 0a2e16b
@haraldpdl haraldpdl Support nested Actions (Admin/CreditCards Application) 7837b36
@haraldpdl haraldpdl Support nested Actions (Admin/Currencies Application) f7fbfc3
@haraldpdl haraldpdl Support nested Actions (Admin/ErrorLog Application) 84ac35c
@haraldpdl haraldpdl Use nested Actions 1a979be
@haraldpdl haraldpdl Support nested Actions (Admin/Languages Application) 61e83ed
@haraldpdl haraldpdl Support nested Actions (Admin/TaxClasses Application) f162d02
@haraldpdl haraldpdl Support nested Actions (Admin/ZoneGroups Application) 7bdfd36
@Gergely Gergely osc-1038 467bafb
@haraldpdl haraldpdl Only apply lower case to the country iso code b43496c
@Gergely Gergely Correct Hungarian "Baranya" Zone Name in install SQL 1883818
@Gergely Gergely Configuration and languages definitions 2e40c98
@Gergely Gergely Modify onmouseover in some place 802fcc5
@Gergely Gergely And plus other onmouseover pages e898faf
@Gergely Gergely Add Admin Configuration Batch Edit Language variables 0dfd3c5
@haraldpdl haraldpdl Add alt+left and alt+right shortcut keys to navigate batch page sets 45ec0d9
@haraldpdl haraldpdl Fix cookies for sub batch result sets 04d95a0
@haraldpdl haraldpdl Use 0 as the cookie lifetime in session_set_cookie_params() (this sho…
…uld not be confused with session.gc_maxlifetime)

Add new Work/Session directory to hold file based session data files in
Update Shop Session Service module to use SERVICE_SESSION_EXPIRATION_TIME as the session life time (other sites use the default session.gc_maxlifetime value)
f119ba9
@haraldpdl haraldpdl Update Application paths 286ee12
@haraldpdl haraldpdl Rename modules_payment to PaymentModules 0c9bd62
@haraldpdl haraldpdl standards updates 752cf77
@haraldpdl haraldpdl Update Admin PaymentModules Application 66e456a
@haraldpdl haraldpdl Update use_function with namespace f6e996b
@haraldpdl haraldpdl Allow dynamic Application parameters to be used with the DataTable (f…
…ixes multiple page set levels within the same Application (ie, Countries->Zones))
f511be7
@haraldpdl haraldpdl Add support to immediately fetch all database query results e48c767
@haraldpdl haraldpdl Optimize by fetching all database query results immediately 4cb9b6d
@bodi000 bodi000 label for Install button 495a63b
@bodi000 bodi000 label for Add Shortcut Icon 925a631
@bodi000 bodi000 label for icon_shortcut_remove. 445369e
@bodi000 bodi000 Admin>Tools>Server info "module" update to work with new changes by hpdl 94a6156
@haraldpdl haraldpdl Add newwindow parameter to open links in a new window a4fe758
@haraldpdl haraldpdl Update Admin ServerInfo Application fd63ece
@haraldpdl haraldpdl Replace Admin Payment class with a PaymentModuleAbstract abstract cla…
…ss which (Admin) payment modules must now use
a153def
@haraldpdl haraldpdl Configure the payment module parameters after a payment module has be…
…en installed
1d9bc1b
@haraldpdl haraldpdl Introduce PaymentModuleAbstract abstract class for (Shop) payment mod…
…ules to use.

Change Payment class behaviour to control loading of all classes or a specific class through loadAll() and load($module) methods.
Create PaymentModule entry in the Registry as a shortcut to the selected payment module.
0bcc1af
@haraldpdl haraldpdl check if mysqli_fetch_all() exists before using it (only available wi…
…th mysqlnd)
94e7002
@haraldpdl haraldpdl Start to modularizing RPC functions and to allow nested RPC calls. 509bafe
@haraldpdl haraldpdl New PayPal Express Checkout payment module 82f3482
@haraldpdl haraldpdl Add a main PayPal RPC module to firewall incoming requests through an…
… IP-Address whitelist.
a8d62f6
@haraldpdl haraldpdl Modularize RPC (Admin Site) 1bbc0fe
@haraldpdl haraldpdl Modularize RPC (Setup Site) 6904539
@haraldpdl haraldpdl No longer use action=(rpc); now uses modular RPC calls ca2c5bc
@haraldpdl haraldpdl Remove Applications left navigation panel 4e4762a
@haraldpdl haraldpdl Rename mysql drivers to MySQL Standard and MySQL InnoDB
Introduce OSCOM::callDB() to execute query modules
e7948c8
@haraldpdl haraldpdl Extract framework SQL queries to modules fe2e832
@haraldpdl haraldpdl Add sqlsrvr modules be628f2
@haraldpdl haraldpdl start of mssql sqlsrvr driver 9e57f96
@haraldpdl haraldpdl Start moving to PDO to interface with database servers. NOTES:
* Foreign Key compatibility layer (DONE)
* Cache support (TODO)
* Logging (removed altogether, might be brought back in the future)
* Transactions (handled by PDO)
* Debug (TODO)
* Error Logging (TODO)
9ea1dec
@haraldpdl haraldpdl Abstract SQL queries
Abstract Application Model methods
2b07e18
@haraldpdl haraldpdl * Add osCommerce/OM/Custom directory to hold customizations of Core c…
…lasses

* Remove hardcoded definition of OSCOM_BASE_DIRECTORY and use PHPs include_path
* Add own Autoloader class that extends SplClassLoader
7cbea16
Tim Bezhashvyly Shortcut Notifications Initial Commit da65867
@haraldpdl haraldpdl standards updates f6fe21f
@haraldpdl haraldpdl Fix values 703e145
@haraldpdl haraldpdl Remove hardcoded MySQL/V5 driver usage 8c46202
@haraldpdl haraldpdl New SQL Server PDO driver 9f42e4d
@haraldpdl haraldpdl Abstract SQL queries 5949703
@haraldpdl haraldpdl Rename Admin Index Application to Dashboard 06a28fa
@haraldpdl haraldpdl Rename Admin Index Application to Dashboard 962dc8f
@haraldpdl haraldpdl Rename Admin IndexModules to Dashboard c62d3f1
@haraldpdl haraldpdl Update Admin Dashboard 70efb93
@haraldpdl haraldpdl Allow template files to be overridden in the Custom namespace level 55f7c61
unknown Updated Shop to use PDO driver a670bfc
unknown Session classes weren't loading correctly causing admin to fail login.
Added explicit includes, need to remove when structured correctly.
328d5b7
@haraldpdl haraldpdl Move loadConfig() back to OSCOM::initialize() e573107
@haraldpdl haraldpdl Don't add the default Site Application to the URL ba359b7
@dannyhenderson dannyhenderson Merge branch 'master' into hpdl
Conflicts:
	osCommerce/OM/Core/OSCOM.php
	osCommerce/OM/Core/Site/Admin/templates/oscom.php
70e89c5
@haraldpdl haraldpdl Use DIRECTORY_SEPARATOR for Windows/Linux compatibility 2d71236
unknown Updated Shop to use PDO driver 8f91d22
@haraldpdl haraldpdl standards update (previous commit from dannyhenderson) 73c918c
@dannyhenderson dannyhenderson Merge branch 'hpdl'
Conflicts:
	osCommerce/OM/Core/Site/Shop/Controller.php
67703c2
@dannyhenderson dannyhenderson Removed un-neccesary includeds after HPDL's fix 6db0d05
@dannyhenderson dannyhenderson Moved function files up to main Core.
Pulled out Shop specific functions and created new includes struction in Shop for now.
Fixed button draw function for shop to look in the correct folders.
364c3c5
@dannyhenderson dannyhenderson Merge branch 'oscmain'
Conflicts:
	osCommerce/OM/Core/OSCOM.php
	osCommerce/OM/Core/Site/Shop/Controller.php
1d263ab
@dannyhenderson dannyhenderson Moved two functions that are required for Setup down to the Core files. 99cccd4
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.