Issue #2138115 by InternetDevels, ParisLiakos: Split aggregator theme functions to a separate file.