function fp_render_square_line
Search API
7.x theme.inc | fp_render_square_line($text) |
6.x theme.inc | fp_render_square_line($text) |
4.x theme.inc | fp_render_square_line($text) |
5.x theme.inc | fp_render_square_line($text) |
Will draw a string in a pretty square box. Used for displaying semester titles.
Parameters
string $title:
Return value
string
File
- includes/
theme.inc, line 2173
Code
function fp_render_square_line($text) {
depricated_message("render_square_line");
$rtn = "";
$rtn .= "
<table border='0' width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td width='10%' align='left' valign='top'></td>
<td width='80%' align='center' rowspan='2'>
<span class='tenpt' style='color: white' ><b>$text</b></span>
</td>
<td width='10%' align='right' valign='top'></td>
</tr>
<tr>
<td align='left' valign='bottom'></td>
<td align='right' valign='bottom'></td>
</tr>
</table>
";
return $rtn;
}