I recently wrote the analogy for theme_maintenance_page for the securesite.module for Drupal 4.65, not realizing that it was already in 4.7x core. One of the features I included was a themable maintenance page, which I find particularly useful in multisite installations. If the file maintenance.tpl.php exists in the default theme directory, that will be used instead. Otherwise, the existing code is unchanged (e.g. using the misc/maintenance.css). Also, there are two minor fixes, pulling in the favicon setting and making the page title the site title (personal preference on the latter I guess).

Comments

john.money’s picture

Version: 4.7.0-beta4 » x.y.z

Changed version to cvs, specifically:
// $Id: theme.inc,v 1.283 2006/02/05 19:08:11 unconed Exp $

Jaza’s picture

Version: x.y.z » 6.x-dev
Status: Needs review » Closed (fixed)

As far as needed .tpl.php files go, I would think that a maintenance.tpl.php is not particularly needed by most users. -1 to this specific patch going in. Users who need a maintenance.tpl.php file can define a template call manually in template.php.

However, +1 to phpTemplate being improved for all templates, so that things like this happen automatically :P (but that's being covered in other issues).