UK shares have continued to make gains as global markets rallied in the wake of efforts to shore up the financial system.