Issue #3379732 by PCate, smustgrave: Page template footer flag checking for class name instead of value
Closes #3398302