Index: trunk/phase3/skins/Modern.php |
— | — | @@ -72,14 +72,7 @@ |
73 | 73 | echo ' class="'.htmlspecialchars($tab['class']).'"'; |
74 | 74 | } |
75 | 75 | echo'><a href="'.htmlspecialchars($tab['href']).'"'; |
76 | | - # We don't want to give the watch tab an accesskey if the |
77 | | - # page is being edited, because that conflicts with the |
78 | | - # accesskey on the watch checkbox. We also don't want to |
79 | | - # give the edit tab an accesskey, because that's fairly su- |
80 | | - # perfluous and conflicts with an accesskey (Ctrl-E) often |
81 | | - # used for editing in Safari. |
82 | | - if( in_array( $action, array( 'edit', 'submit' ) ) |
83 | | - && in_array( $key, array( 'edit', 'watch', 'unwatch' ))) { |
| 76 | + if( isset($tab["tooltiponly"]) && $tab["tooltiponly"] ) { |
84 | 77 | echo $skin->tooltip( "ca-$key" ); |
85 | 78 | } else { |
86 | 79 | echo $skin->tooltipAndAccesskey( "ca-$key" ); |