dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c6f1cc
)
bah- edit tab was always selected..
author
Gabriel Wicke
<gwicke@users.mediawiki.org>
Sat, 1 May 2004 01:21:36 +0000
(
01:21
+0000)
committer
Gabriel Wicke
<gwicke@users.mediawiki.org>
Sat, 1 May 2004 01:21:36 +0000
(
01:21
+0000)
includes/SkinPHPTal.php
patch
|
blob
|
history
diff --git
a/includes/SkinPHPTal.php
b/includes/SkinPHPTal.php
index
460ee35
..
d319805
100644
(file)
--- a/
includes/SkinPHPTal.php
+++ b/
includes/SkinPHPTal.php
@@
-333,7
+333,7
@@
$istalk = ( Namespace::isTalk( $wgTitle->getNamespace()) );
$istalkclass = $istalk?' istalk':'';
$content_actions['edit'] = array(
- 'class' => ((
$this->iseditable
and $section != 'new') ? 'selected' : '').$istalkclass,
+ 'class' => ((
($action == 'edit' or $action == 'submit')
and $section != 'new') ? 'selected' : '').$istalkclass,
'text' => wfMsg('edit'),
'href' => $this->makeUrl($this->thispage, 'action=edit'.$oid),
'ttip' => wfMsg('tooltip-edit'),