function fp_render_curved_line

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

24 calls to fp_render_curved_line()
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_display_history in modules/advise/advise.history.inc
Displays the history tab on screen.
advise_display_popup_change_term in modules/advise/advise.module
This popup allows the advisor to change the advising term.
advise_display_popup_change_track in modules/advise/advise.module
advise_display_popup_change_track_non_dynamic_degree in modules/advise/advise.module
This is the "change track" popup we will display if the degree cannot be combined with anything else (non-dynamic).

... See full list

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;

}