From: Barış Metin Date: Mon, 15 Jun 2009 11:44:12 +0000 (+0000) Subject: pass/get active linetab to select it. X-Git-Tag: PLEWWW-4.3-19~6 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=ceb0c961a255e04a8821288d9eb9a08e67bca429;p=plewww.git pass/get active linetab to select it. --- diff --git a/plekit/php/linetabs.php b/plekit/php/linetabs.php index f83241a..43d24e5 100644 --- a/plekit/php/linetabs.php +++ b/plekit/php/linetabs.php @@ -45,13 +45,14 @@ drupal_set_html_head(' // (the form gets submitted whatever the confirmation....) // (*) you need to tune the image size, which is wrong, as the image should rather be bottom-aligned -function plekit_linetabs ($array, $id=NULL) { +function plekit_linetabs ($tabs, $id=NULL) { + $active_line_tab=$_GET['active_line_tab']; // need id to pass to the onclick function attached to the input buttons $id="linetabs"; if (! $id) $id .= '-' + $id; print "
"; print "