public static function format_info_tooltip( $arg) { $table='<TABLE WIDTH="280" cellpadding="2">'; foreach ($arg as $k=>$v){ $table.='<TR><TD WIDTH="90"><STRONG>'; $table.=$k.'</STRONG></TD><TD bgcolor="white" style="word-wrap: break-word;">'; $table.= $v; // Value $table.='</TD></TR>'; } $table.='</TABLE>'; return $table; } public static function tooltip_leightbox_mode() { static $init = null; if (!isset($_REQUEST['__location'])) $loc = true; else $loc = $_REQUEST['__location']; if ($init!==$loc) { Base_ThemeCommon::load_css('Utils/Tooltip','leightbox_mode'); Libs_LeightboxCommon::display('tooltip_leightbox_mode', '<center><span id="tooltip_leightbox_mode_content" /></center>'); $init = $loc; } return Libs_LeightboxCommon::get_open_href('tooltip_leightbox_mode').' onmousedown="Utils_Tooltip__leightbox_mode(this)" '; } } load_js('modules/Utils/Tooltip/js/Tooltip.js'); Utils_TooltipCommon::init_tooltip_div(); ?>