

Public Member Functions | |
| box () | |
| infoBox ($heading, $contents) | |
| menuBox ($heading, $contents) | |
Public Attributes | |
| $table_border = '0' | |
| $table_width = '100%' | |
| $table_cellspacing = '0' | |
| $table_cellpadding = '2' | |
| $table_parameters = '' | |
| $table_row_parameters = '' | |
| $table_data_parameters = '' | |
Definition at line 26 of file box.php.
|
|
Definition at line 27 of file box.php.
|
|
||||||||||||
|
Definition at line 32 of file box.php. References tableBlock::tableBlock(). 00032 { 00033 $this->table_row_parameters = 'class="infoBoxHeading"'; 00034 $this->table_data_parameters = 'class="infoBoxHeading"'; 00035 $this->heading = $this->tableBlock($heading); 00036 00037 $this->table_row_parameters = ''; 00038 $this->table_data_parameters = 'class="infoBoxContent"'; 00039 $this->contents = $this->tableBlock($contents); 00040 00041 return $this->heading . $this->contents; 00042 }
|
|
||||||||||||
|
Definition at line 44 of file box.php. References $contents, $heading, $menu_dhtml, nbsp, onmouseover, tableBlock::tableBlock(), and text. 00044 { 00045 00046 global $menu_dhtml; // add for dhtml_menu 00047 if ($menu_dhtml == false ) { // add for dhtml_menu 00048 00049 $this->table_data_parameters = 'class="menuBoxHeading"'; 00050 if ($heading[0]['link']) { 00051 $this->table_data_parameters .= ' onmouseover="this.style.cursor=\'hand\'" onclick="document.location.href=\'' . $heading[0]['link'] . '\'"'; 00052 $heading[0]['text'] = ' <a href="' . $heading[0]['link'] . '" class="menuBoxHeadingLink">' . $heading[0]['text'] . '</a> '; 00053 } else { 00054 $heading[0]['text'] = ' ' . $heading[0]['text'] . ' '; 00055 } 00056 $this->heading = $this->tableBlock($heading); 00057 $this->table_data_parameters = 'class="menuBoxContent"'; 00058 $this->contents = $this->tableBlock($contents); 00059 return $this->heading . $this->contents . $dhtml_contents; 00060 // ## add for dhtml_menu 00061 } else { 00062 $selected = substr(strrchr ($heading[0]['link'], '='), 1); 00063 $dhtml_contents = $contents[0]['text']; 00064 $change_style = array ('<br>'=>' ','<BR>'=>' ', 'a href='=> 'a class="menuItem" href=','class="menuBoxContentLink"'=>' '); 00065 $dhtml_contents = strtr($dhtml_contents,$change_style); 00066 $dhtml_contents = '<div id="'.$selected.'Menu" class="menu" onmouseover="menuMouseover(event)">'. $dhtml_contents . '</div>'; 00067 return $dhtml_contents; 00068 } 00069 // ## eof add for dhtml_menu 00070 }
|
|
|
Definition at line 14 of file table_block.php. |
|
|
Definition at line 17 of file table_block.php. |
|
|
Definition at line 16 of file table_block.php. |
|
|
Definition at line 20 of file table_block.php. |
|
|
Definition at line 18 of file table_block.php. |
|
|
Definition at line 19 of file table_block.php. |
|
|
Definition at line 15 of file table_block.php. |
1.4.4