function fp_render_curved_line

7.x theme.inc fp_render_curved_line($text)
6.x theme.inc fp_render_curved_line($text)
4.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

1 call to fp_render_curved_line()

File

includes/theme.inc, line 2135

Code

function fp_render_curved_line($text) {
  depricated_message();
  // 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;

}