This is the situation:
I added a link by drupal l() function in file common.php, function link_page():
$links[] = l(t("new link1"), array("var1" => "1"), "index", "", "");
What have I to do if:
I want this link to detect what page was loaded and refer to the last node(module, index) that was loaded, I mean, the link must refer to the same page, just to pass variable var1 ?
AND THE OTHER PROBLEM:
By drupal l() function in file common.php, function link_page() I added two such links: