function fp_render_curved_line
Search API
| 7.x theme.inc | fp_render_curved_line($text) |
| 6.x theme.inc | fp_render_curved_line($text) |
| 5.x theme.inc | fp_render_curved_line($text) |
Will draw a string in a pretty curved box. Used for displaying semester titles.
Parameters
string $title:
Return value
string
33 calls to fp_render_curved_line()
- admin.module in modules/
admin/ admin.module - The administrative configurations for FlightPath.
- admin_display_main in modules/
admin/ admin.module - This is the "main" page for the admin module. It's what the user first sees when the click to go to the Admin page.
- advise.history.inc in modules/
advise/ advise.history.inc - advise.module in modules/
advise/ advise.module - advise_display_history in modules/
advise/ advise.history.inc - Displays the history tab on screen.
File
- includes/
theme.inc, line 1319
Code
function fp_render_curved_line($text) {
// Will simply draw a curved title bar containing the $title
// as the text.
$rtn = "
<div class='blueTitle' style='text-align: center; border-radius: 5px; padding: 1px;'>
<span class='tenpt'><b>$text</b></span>
</div>
";
return $rtn;
}
