From e069f784b4063c46ca65048469326795644ae440 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Tue, 29 Apr 2025 10:33:13 +0200 Subject: [PATCH] add hooks for addtional tabs --- views/bootstrap/class.Search.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/views/bootstrap/class.Search.php b/views/bootstrap/class.Search.php index 89918276c..261ab49d0 100644 --- a/views/bootstrap/class.Search.php +++ b/views/bootstrap/class.Search.php @@ -542,6 +542,12 @@ $(document).ready(function() { callHook('extraTabs'); + if($tabs) { + foreach($tabs as $tabid=>$tab) { + echo ''; + } + } ?>
@@ -1484,6 +1490,14 @@ $(document).ready(function() { echo "
\n"; } // }}} + + if($tabs) { + foreach($tabs as $tabid=>$tab) { + echo '
'; + echo $tab['content']; + echo "
\n"; + } + } ?>