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) |
| 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
8 calls to fp_render_square_line()
- blocks.module in modules/
blocks/ blocks.module - blocks_render_blocks in modules/
blocks/ blocks.module - This function will actually render the HTML for the blocks requested for a particular section and region.
- fp_render_currently_advising_box in includes/
theme.inc - Draws the CurrentlyAdvisingBox which appears at the top of the screen, containing the student's information like name, major, etc.
- theme.inc in includes/
theme.inc - _AdvisingScreen.php in classes/
_AdvisingScreen.php
File
- includes/
theme.inc, line 1343
Code
function fp_render_square_line($text) {
$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;
}
