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

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

<big><b>Plugins</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>
</tr>		
EOF;
	}
	
	function plugin_row( $id, $name )
	{
		return <<<EOF
<tr>
<td class="bevel"><a href="?Action=Plugins&amp;M=Config&amp;plugin_id=$id">$name</a></td>
</tr>		
EOF;
	}
	
	function plugin_foot()
	{
		return <<<EOF
</table><br />
<br />	
EOF;
	}
}

?>
Return current item: Write2Left