static function getOrderCommentsHtml($basket) { $order_comments = ""; if ($basket->order_ref1 != "") { $order_ref_lbl = t(basket_plus::getOrderRef(1)); $order_comments = "<br>"; if ($basket->order_ref2 != "") { $order_ref_lbl .= "/" . t(basket_plus::getOrderRef(2)); $order_comments .= $order_ref_lbl . ": <strong>" . $basket->order_ref1 . "/" . $basket->order_ref2 . "</strong>"; } else { $order_comments .= $order_ref_lbl . ": <strong>" . $basket->order_ref1 . "</strong>"; } } if ($basket->comments != "") { $order_comments .= "<br>"; $order_comments .= t(basket_plus_label::TEXT_MAIL_ORDER_COMMENT) . ": <strong>" . $basket->comments . "</strong>"; } return $order_comments; }