You are here

function template_preprocess_uc_packing_slip_page in Ubercart 7.3

Preprocesses a printable packing slip page.

See also

uc-packing-slip-page.tpl.php

File

shipping/uc_shipping/uc_shipping.module, line 285
Organizes ordered products into packages and sets them up for shipment. Shipping method modules may add functionality to generate shipping labels and tracking numbers.

Code

function template_preprocess_uc_packing_slip_page(&$variables) {
  $language = isset($GLOBALS['language']) ? $GLOBALS['language'] : language_default();
  $variables['language'] = $language;
  $variables['language']->dir = $language->direction ? 'rtl' : 'ltr';
}