Fixed deprecated ``adminmedia`` in templates.