Changeset 851
- Timestamp:
- 08/29/08 22:43:16 (3 months ago)
- Location:
- plugins/maintenance_mode/trunk
- Files:
-
- 2 modified
-
maintenance_mode.plugin.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
plugins/maintenance_mode/trunk/maintenance_mode.plugin.php
r766 r851 113 113 { 114 114 if ($theme->template_exists('maintenance')) { 115 $theme->maintenance_text = Options::get( self::OPTION_NAME . '__text' ); 115 116 $theme->display( 'maintenance' ); 116 117 } -
plugins/maintenance_mode/trunk/readme.txt
r766 r851 25 25 To configure Maintenance Mode, click on it's configure button on the admin plugins page. You will see two options. 26 26 27 1. The text readers will see if they come to your site while it is maintenance mode. You can change this to anything you like. If you would prefer, you can also create a page named maintenance.php in your theme directory containing anything you like. If such a page is found, Maintenance Mode will display that page rather than using the text entered in the configuration options. 27 1. The text readers will see if they come to your site while it is maintenance mode. You can change this to anything you like. If you would prefer, you can also create a page named maintenance.php in your theme directory containing anything you like. If such a page is found, Maintenance Mode will display that page rather than using the text entered in the configuration options. That text is also accessible from the template should you want to use it, just use echo $theme->maintenance_text within maintenance.php. 28 28 29 29 2. A checkbox to put the site into maintenance mode and to take it out of maintenance mode.
