/** * Get the HTML Output for a box in the cockpit. */ function drawABox($headline, $content) { echo getFormHeadline($headline); echo $content; echo getFormFooterLine(); br(); br(); }
/** * Writes the HTML-Code for the contents inside the form */ function draw_contents() { if ($this->quickpanel) { for ($ita = 1; $ita < $this->panels; $ita++) { if ($ita == 1) { echo "<div id=\"".$this->id."pmid" . $ita . "Body\" name=\"".$this->id."pmid" . $ita . "Body\" class=\"ListNuggetBody\">"; } else { echo "<div id=\"".$this->id."pmid" . $ita . "Body\" name=\"".$this->id."pmid" . $ita . "Body\" class=\"ListNuggetBody\" style=\"display:none\">"; } $this->panelcontainer[$ita]->draw(); br(); echo getFormFooterLine(); echo "</div>"; } } else { $this->panelcontainer[$this->view]->draw(); br(); echo getFormFooterLine(); } }