function _AdvisingScreen::draw_public_note

4.x _AdvisingScreen.php _AdvisingScreen::draw_public_note()
5.x _AdvisingScreen.php _AdvisingScreen::draw_public_note()

Will display the "public note" at the top of a degree. This was entred in Data Entry.

Return value

string

1 call to _AdvisingScreen::draw_public_note()
_AdvisingScreen::display_screen in classes/_AdvisingScreen.php
This function generates the HTML to display the screen. Should be used in conjunction with output_to_browser()

File

classes/_AdvisingScreen.php, line 1498

Class

_AdvisingScreen

Code

function draw_public_note() 
 {
  // This will display a "public note" to the user about
  // this degree.  The public note was entered in Data Entry.

  if ($this->degree_plan->public_note == "") 
   {
    return "";
  }

  $public_note = filter_markup($this->degree_plan->public_note);

  $pC = "";

  $pC .= "<tr><td colspan='8'>
					<div class='tenpt' 
						style='border: 5px double #C1A599;
								padding: 5px;
								margin: 10px;'>
					<b>" . t("Important Message:") . "</b> $public_note
					</div>
					</td></tr>";


  return $pC;


}