if ($theme->page_type != 'basket'): ?> if (basket::can_view_orders()): ?> " title="= t("View Orders") ?>">View Orders endif?> if (isset($basket) && isset($basket->contents) && ($basket->size() > 0)): ?>