Location: PHPKode > projects > proManager > proman/www/templates/box.php
<?php
# Default variables

if (!$color) $color = "#000000";
if ($plus) $plus=" $plus"; else $plus = "";
if (!$titlecolor) $titlecolor = "#FFFFFF";
if (!$bgcolor) $bgcolor = "#FFFFFF";
# not going to work due to translations  if ($title) $plus .= " class=$title";

echo "<table border=0 cellpadding=3 cellspacing=0$plus>\n";
if ($title) {
?>
 <tr bgcolor=<?php print $color; ?>>
 <td>
 <font color=<?php print "$titlecolor>$title"; ?></font>
 </td>
 </tr>
<?php
}
?>
 <tr bgcolor=<?php print $bgcolor; ?>>
 <td>
 <table cellpadding=3 width=100% height=100%>
 <tr>
 <td>
 <?php print $content; ?>
 </td>
 </tr>
  </table>
 </td>
 </tr>
 </table>
Return current item: proManager