Location: PHPKode > projects > Write2Left > Skin/Rebuild.php
<?php
/*
+------------------------------------------------------
| Write2Left
| (c) timdorr
| http://www.write2left.com
| hide@address.com
| See License.txt for license info
|------------------------------------------------------
| Script: Rebuild.php
| Description:
|   Contains part of the interface's skin's default output parts
| Created Jul-22-2003
+------------------------------------------------------
*/

/* Class: Skin_Rebuild
 * Description:
 *   The generic skin parts class.
 */
class Skin_Rebuild
{
	function body_top()
	{
		return <<<EOF
<td class="main" valign="top">

<big><b>Rebuild Weblog Files</b></big>
<br /><br />
	
EOF;
	}
	
	function body_bottom()
	{
		return <<<EOF
</td>

<td class="space">&nbsp;</td>
</tr>		
EOF;
	}
	
	function rebuild_form()
	{
		return <<<EOF
<form action="?Action=Rebuild&M=dobuild" method="post">
Rebuild Options:<br />
<br />
<input type="checkbox" name="do_templates" value="1" /> Template Files<br />
<input type="checkbox" name="do_index" value="1" /> Index Caches<br />
<input type="checkbox" name="do_archive" value="1" /> Archive Caches<br />
<input type="checkbox" name="do_item" value="1" /> Post Item Caches<br />
<br />
<input type="submit" value="Rebuild" />
</form>
EOF;
	}
}

?>
Return current item: Write2Left