diff options
| author | Łukasz Wilenski <wooc@gazeta.pl> | 2010-06-06 19:07:00 +0000 |
|---|---|---|
| committer | Łukasz Wilenski <wooc@gazeta.pl> | 2010-06-06 19:07:00 +0000 |
| commit | 45c53bd6de93a278043e44d2ebe5eb93efc6634b (patch) | |
| tree | 7447e82c7090eb03053104a6aff866d090c3a445 /modules/lightbox | |
| parent | 7b880955b3201a219938781cf2d1e6b2ccbac97a (diff) | |
| download | webtrees-45c53bd6de93a278043e44d2ebe5eb93efc6634b.tar.gz webtrees-45c53bd6de93a278043e44d2ebe5eb93efc6634b.tar.bz2 webtrees-45c53bd6de93a278043e44d2ebe5eb93efc6634b.zip | |
minor tweaks on tabs
Diffstat (limited to 'modules/lightbox')
| -rw-r--r-- | modules/lightbox/module.php | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/modules/lightbox/module.php b/modules/lightbox/module.php index 62e5a20739..9440fe88d7 100644 --- a/modules/lightbox/module.php +++ b/modules/lightbox/module.php @@ -87,8 +87,7 @@ class lightbox_WT_Module extends WT_Module implements WT_Module_Config, WT_Modul ob_start(); $mediacnt = $this->get_media_count(); require_once 'modules/lightbox/functions/lb_head.php'; - echo "<div id=\"lightbox2_content\">"; - + $media_found = false; if (!$this->controller->indi->canDisplayDetails()) { print "<table class=\"facts_table\" cellpadding=\"0\">\n"; @@ -101,12 +100,7 @@ class lightbox_WT_Module extends WT_Module implements WT_Module_Config, WT_Modul include_once('modules/lightbox/album.php'); } } - echo "</div>"; - - $out = ob_get_contents(); - ob_end_clean(); - $out .= "</div>"; - return $out; + return '<div id="'.$this->getName().'_content">'.ob_get_clean().'</div>'; } // Implement WT_Module_Tab |
