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

21 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
Lets the user change the track for this major.
advise_display_what_if_selection in modules/advise/advise.module
Displays the pulldown select list for picking a new What If degree. Returns HTML.

... See full list

File

includes/theme.inc, line 1098

Code

function fp_render_curved_line($text) {
  // Will simply draw a curved title bar containing the $title
  // as the text.
  $img_path = fp_theme_location();


  $rtn = "
   <table border='0' class='blueTitle' width='100%' cellpadding='0' cellspacing='0'>
     <tr>
      <td width='10%' align='left' valign='top'><img src='$img_path/images/corner_tl.gif'></td>
      <td width='80%' align='center' rowspan='2'>
       <span class='tenpt'><b>$text</b></span>
      </td>
      <td width='10%' align='right' valign='top'><img src='$img_path/images/corner_tr.gif'></td>
     </tr>
     <tr>
      <td align='left' valign='bottom'><img src='$img_path/images/corner_bl.gif'></td>
      <td align='right' valign='bottom'><img src='$img_path/images/corner_br.gif'></td>
     </tr> 
    </table>
";

  return $rtn;

}