4 |
## $Id$ |
## $Id$ |
5 |
## ------------------------------------------------------------------------- |
## ------------------------------------------------------------------------- |
6 |
## $Log$ |
## $Log$ |
7 |
|
## Revision 1.3 2003/03/01 04:54:14 joko |
8 |
|
## - purged old code |
9 |
|
## |
10 |
|
## Revision 1.2 2003/02/28 04:24:17 joko |
11 |
|
## disabled benchmarking |
12 |
|
## - purged old code |
13 |
|
## |
14 |
## Revision 1.1 2003/02/27 16:57:36 joko |
## Revision 1.1 2003/02/27 16:57:36 joko |
15 |
## + initial commit, inherits from BaseWidget, uses pear-bridge |
## + initial commit, inherits from BaseWidget, uses pear-bridge |
16 |
## |
## |
51 |
|
|
52 |
function _init_output() { |
function _init_output() { |
53 |
|
|
54 |
/* |
$this->add('<script src="inc/js/TreeMenu.js" language="JavaScript" type="text/javascript"></script>'); |
|
$this->add(' |
|
|
<style type="text/css"> |
|
|
body { |
|
|
font-family: Georgia; |
|
|
font-size: 11pt; |
|
|
} |
|
|
|
|
|
.treeMenuDefault { |
|
|
font-style: italic; |
|
|
} |
|
|
|
|
|
.treeMenuBold { |
|
|
font-style: italic; |
|
|
font-weight: bold; |
|
|
} |
|
|
</style> |
|
|
'); |
|
|
*/ |
|
55 |
|
|
56 |
|
/* |
57 |
|
// benchmarking - before |
58 |
$this->add(' |
$this->add(' |
|
<script src="inc/js/TreeMenu.js" language="JavaScript" type="text/javascript"></script> |
|
|
|
|
59 |
<script language="JavaScript" type="text/javascript"> |
<script language="JavaScript" type="text/javascript"> |
60 |
<!-- |
<!-- |
61 |
a = new Date(); |
a = new Date(); |
63 |
//--> |
//--> |
64 |
</script> |
</script> |
65 |
'); |
'); |
66 |
|
*/ |
67 |
|
|
68 |
// 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()); |
|
69 |
|
|
70 |
|
/* |
71 |
|
// benchmarking - afterwards |
72 |
$this->add(' |
$this->add(' |
73 |
<script language="JavaScript" type="text/javascript"> |
<script language="JavaScript" type="text/javascript"> |
74 |
<!-- |
<!-- |
79 |
//--> |
//--> |
80 |
</script> |
</script> |
81 |
'); |
'); |
82 |
|
*/ |
83 |
|
|
84 |
} |
} |
85 |
|
|
|
/* |
|
|
function render() { |
|
|
$this->_init1(); |
|
|
$this->_init2(); |
|
|
} |
|
|
*/ |
|
|
|
|
86 |
} |
} |
87 |
|
|
88 |
?> |
?> |