| 4 |
## $Id$ |
## $Id$ |
| 5 |
## ------------------------------------------------------------------------- |
## ------------------------------------------------------------------------- |
| 6 |
## $Log$ |
## $Log$ |
| 7 |
|
## Revision 1.2 2003/02/28 04:24:17 joko |
| 8 |
|
## disabled benchmarking |
| 9 |
|
## - purged old code |
| 10 |
|
## |
| 11 |
## Revision 1.1 2003/02/27 16:57:17 joko |
## Revision 1.1 2003/02/27 16:57:17 joko |
| 12 |
## + initial commit, inherits from BaseWidget, uses pear-bridge |
## + initial commit, inherits from BaseWidget, uses pear-bridge |
| 13 |
## |
## |
| 48 |
|
|
| 49 |
function _init_output() { |
function _init_output() { |
| 50 |
|
|
| 51 |
/* |
/* |
| 52 |
|
// styling |
| 53 |
$this->add(' |
$this->add(' |
| 54 |
<style type="text/css"> |
<style type="text/css"> |
| 55 |
body { |
body { |
| 67 |
} |
} |
| 68 |
</style> |
</style> |
| 69 |
'); |
'); |
| 70 |
*/ |
*/ |
| 71 |
|
|
| 72 |
$this->add(' |
$this->add('<script src="inc/js/TreeMenu.js" language="JavaScript" type="text/javascript"></script>'); |
|
<script src="inc/js/TreeMenu.js" language="JavaScript" type="text/javascript"></script> |
|
| 73 |
|
|
| 74 |
|
/* |
| 75 |
|
// benchmarking - before |
| 76 |
|
$this->add(' |
| 77 |
<script language="JavaScript" type="text/javascript"> |
<script language="JavaScript" type="text/javascript"> |
| 78 |
<!-- |
<!-- |
| 79 |
a = new Date(); |
a = new Date(); |
| 81 |
//--> |
//--> |
| 82 |
</script> |
</script> |
| 83 |
'); |
'); |
| 84 |
|
*/ |
| 85 |
|
|
| 86 |
// V1: |
$this->add($this->menuobject->toHTML()); |
|
/* |
|
|
//$this->treeMenu->printMenu(); |
|
|
$this->add("treeMenu: ", html_br(), $this->treeMenu->toHTML(), html_br(), html_br()); |
|
|
//$this->listBox->printMenu(); |
|
|
$this->add("listBox: ", $this->listBox->toHTML()); |
|
|
*/ |
|
|
|
|
|
// V2: |
|
|
$this->add($this->menuobject->toHTML()); |
|
|
|
|
| 87 |
|
|
| 88 |
|
/* |
| 89 |
|
// benchmarking - afterwards |
| 90 |
$this->add(' |
$this->add(' |
| 91 |
<script language="JavaScript" type="text/javascript"> |
<script language="JavaScript" type="text/javascript"> |
| 92 |
<!-- |
<!-- |
| 97 |
//--> |
//--> |
| 98 |
</script> |
</script> |
| 99 |
'); |
'); |
| 100 |
|
*/ |
| 101 |
|
|
| 102 |
} |
} |
| 103 |
|
|
|
/* |
|
|
function render() { |
|
|
$this->_init1(); |
|
|
$this->_init2(); |
|
|
} |
|
|
*/ |
|
|
|
|
| 104 |
} |
} |
| 105 |
|
|
| 106 |
?> |
?> |