Skip to content
Browse files

added $selected to the list of tabs without links. It is better not t…

…o offer a link to the active page.
  • Loading branch information...
1 parent 10a8184 commit 8be944a0908911e38a53742db369a5de727d585b urs_hunkler committed May 12, 2005
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/weblib.php
View
2 lib/weblib.php
@@ -4168,7 +4168,7 @@ function createtab ($selected=false, $inactive=false, $activetwo=false, $last=fa
$cstr = '';
/// The text and anchor for this tab
- if ($inactive || $activetwo) {
+ if ($inactive || $activetwo || $selected) {
$astr .= $this->text;
} else {
$astr .= '<a href="'.$this->link.'" title="'.$this->text.'">'.$this->text.'</a>';

0 comments on commit 8be944a

Please sign in to comment.
Something went wrong with that request. Please try again.