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

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

<big><b>Plugin Installer</b></big>
<br /><br />
	
EOF;
	}
	
	function body_bottom()
	{
		return <<<EOF
</td>

<td class="space">&nbsp;</td>
</tr>		
EOF;
	}	
	
	function plugin_head()
	{
		return <<<EOF
<table width="85%" cellspacing="0" cellpadding="3" style="border: solid 1px black">	
<tr class="dark">
<td>Available Plugins:</td>
<td></td>
<td></td>
</tr>		
EOF;
	}
	
	function plugin_row( $name, $status, $action )
	{
		return <<<EOF
<tr>
<td class="bevel"><a href="?Action=Installer&amp;M=Config&amp;name=$name">$name</a></td>
<td class="bevel" width="75" align="center">$status</td>
<td class="bevel" width="75" align="center">
			<a href="?Action=Installer&amp;M=$action&amp;name=$name">$action</a>  
</td>

</tr>		
EOF;
	}
	
	function plugin_foot()
	{
		return <<<EOF
</table><br />
<br />	
EOF;
	}
}

?>
Return current item: Write2Left