diff --git a/lib/visualpatterns/PatternMainPage.inc b/lib/visualpatterns/PatternMainPage.inc index d841fec..73a98bd 100644 --- a/lib/visualpatterns/PatternMainPage.inc +++ b/lib/visualpatterns/PatternMainPage.inc @@ -75,12 +75,19 @@ class PatternMainPage { $sToRender = "\n" . "\n" . "owl_timeout+3) . "\">\n" . - "owl_ui_url/stylesheet.css\" type=\"text/css\">\n". + "owl_ui_url/stylesheet.php\">\n". PatternMainPage::getJavaScript() . "\n" . "\n" . - "\n" . + "\n" . + "
" . + "\tsystem->get("graphicsUrl") . "/desc.gif\" width=\"14\" height=\"14\" alt=\"up\" border=\"0\">" . + "
" . + "
" . + "\tsystem->get("graphicsUrl") . "/asc.gif\" width=\"14\" height=\"14\" alt=\"down\" border=\"0\">" . + "
" . "
sFormEncType) ? "enctype=\"$this->sFormEncType\" " : " ") . " action=\"".$this->sFormAction."\" method=\"POST\">\n" . "\n " . + "\n". "\n \n" . + $sToRender = $sToRender . "\n" . + //$sToRender = $sToRender . "\n" . "\n" . "
\n"; if (isset($this->oNorthWestPayload)) { @@ -106,7 +113,10 @@ class PatternMainPage { } $sToRender = $sToRender . "\n"; + if (isset($this->oCentralPayload)) { + $sToRender .= "\t
\n + \t\t
\n"; if (isset($this->sErrorMessage)) { $sToRender .= "

$this->sErrorMessage

\n "; } @@ -114,7 +124,8 @@ class PatternMainPage { } else { $sToRender = $sToRender . "\nCentral payload not set\n"; } - $sToRender = $sToRender . "
\n" . "
\n" . @@ -124,49 +135,19 @@ class PatternMainPage { } /** - * Returns java scrip that has 3 functions: + * Returns links to javascript that has 3 functions: * o validateString - validates a string * o validateNumber - validates a number * o setActionAndSubmit - sets the MainForm action to newAction and submits + * And includes the dhtml text scrolling routine */ function getJavaScript() { - return "\n"; + global $default; + $sUrl = $default->system->get("uiUrl"); + return " + "; + } - - } ?> \ No newline at end of file