Index: uc_order/uc_order.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/ubercart/uc_order/uc_order.module,v retrieving revision 1.12.2.39 diff -u -p -r1.12.2.39 uc_order.module --- uc_order/uc_order.module 16 Jul 2010 15:45:09 -0000 1.12.2.39 +++ uc_order/uc_order.module 28 Jul 2010 13:59:18 -0000 @@ -1384,6 +1384,14 @@ function uc_order_address($order, $type) $address = drupal_strtoupper($address); } + // Allow other modules to alter the address + foreach (module_list() as $module) { + $function = $module . '_uc_order_address_alter'; + if (function_exists($function)) { + $function($order, $type, $address); + } + } + return $address; } Index: uc_order/uc_order.order_pane.inc =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/ubercart/uc_order/uc_order.order_pane.inc,v retrieving revision 1.1.2.21 diff -u -p -r1.1.2.21 uc_order.order_pane.inc --- uc_order/uc_order.order_pane.inc 4 Jan 2010 15:15:07 -0000 1.1.2.21 +++ uc_order/uc_order.order_pane.inc 28 Jul 2010 13:59:19 -0000 @@ -1062,6 +1062,9 @@ function _order_pane_list($view = 'view' } $panes = module_invoke_all('order_pane', NULL); + // Allow other modules to alter the panes. + drupal_alter('order_pane', $panes); + foreach ($panes as $i => $value) { $panes[$i]['enabled'] = variable_get('uc_order_pane_'. $panes[$i]['id'] .'_enabled', (!isset($panes[$i]['enabled']) ? TRUE : $panes[$i]['enabled'])); $panes[$i]['weight'] = variable_get('uc_order_pane_'. $panes[$i]['id'] .'_weight_'. $view, (!isset($panes[$i]['weight']) ? 0 : $panes[$i]['weight']));