From: Iain Patterson <me@iain.cx> Date: Mon, 31 Aug 2020 12:44:11 +0000 (-0400) Subject: Compact delivery details. X-Git-Tag: 2020-08-31^0 X-Git-Url: http://git.iain.cx/?a=commitdiff_plain;h=26341dfbe99a6109175181170e6ea56cb65cf502;p=readifood.git Compact delivery details. --- diff --git a/lib/delivery.php b/lib/delivery.php index 9cdd338..6d7643b 100644 --- a/lib/delivery.php +++ b/lib/delivery.php @@ -154,12 +154,11 @@ } $area = get_address_area($address); - echo " in " . htmlspecialchars($area->getName()) . " at:<br>"; + echo " in " . htmlspecialchars($area->getName()) . " at:"; $city = get_area_city($area); - echo "\n<br>" . htmlspecialchars($address->getLine()); - echo "\n<br>" . htmlspecialchars($city->getName()); - echo "\n<br>" . htmlspecialchars($address->getPostcode()); - if (count($phones)) echo "\n<br><br>Telephone <strong>" . implode(" or ", $phones) . "</strong>"; + echo "\n" . htmlspecialchars($address->getLine()); + echo ",\n" . htmlspecialchars($address->getPostcode()); + if (count($phones)) echo ";\nTelephone <strong>" . implode(" or ", $phones) . "</strong>"; echo "</p>\n"; $notes = $order->getNotes();