<h5><?php $this->msg('namespaces') ?></h5>
<ul<?php $this->html('userlangattributes') ?>>
<?php foreach ($this->data['namespace_urls'] as $key => $link ): ?>
- <li <?php echo $link['attributes'] ?>><a href="<?php echo htmlspecialchars( $link['href'] ) ?>" <?php echo $link['key'] ?>><span><?php echo htmlspecialchars( $link['text'] ) ?></span></a></li>
+ <li <?php echo $link['attributes'] ?>><span><a href="<?php echo htmlspecialchars( $link['href'] ) ?>" <?php echo $link['key'] ?>><?php echo htmlspecialchars( $link['text'] ) ?></a></span></li>
<?php endforeach; ?>
</ul>
</div>
<h5><?php $this->msg('views') ?></h5>
<ul<?php $this->html('userlangattributes') ?>>
<?php foreach ( $this->data['view_urls'] as $key => $link ): ?>
- <li<?php echo $link['attributes'] ?>><a href="<?php echo htmlspecialchars( $link['href'] ) ?>" <?php echo $link['key'] ?>><?php echo (array_key_exists('img',$link) ? '<img src="'.$link['img'].'" alt="'.$link['text'].'" />' : '<span>'.htmlspecialchars( $link['text'] ).'</span>') ?></a></li>
+ <li<?php echo $link['attributes'] ?>><span><a href="<?php echo htmlspecialchars( $link['href'] ) ?>" <?php echo $link['key'] ?>><?php echo (array_key_exists('img',$link) ? '<img src="'.$link['img'].'" alt="'.$link['text'].'" />' : htmlspecialchars( $link['text'] ) ) ?></a></span></li>
<?php endforeach; ?>
</ul>
</div>
$links.each( function(){
var $link = $j(this);
$link
- .data( 'icon', $link.parent().hasClass( 'icon' ) )
+ .data( 'icon', $link.parents( 'li' ).hasClass( 'icon' ) )
.data( 'action', $link.attr( 'href' ).match( /[\?\&]action=unwatch/i ) ? 'unwatch' : 'watch' );
var title = $link.attr( 'href' ).match( /[\?\&]title=(.*?)&/i )[1];
$link.data( 'target', decodeURIComponent( title ).replace( /_/g, ' ' ) );
$link.data( 'action', otheraction );
wgAjaxWatch.setLinkText( $link, otheraction );
$link.attr( 'href', $link.attr('href').replace( '/&action='+action+'/', '&action='+otheraction ) );
- if( $link.parent().attr('id') == 'ca-'+action ){
- $link.parent().attr( 'id', 'ca-'+otheraction );
+ if( $link.parents( 'li' ).attr('id') == 'ca-'+action ){
+ $link.parents( 'li' ).attr( 'id', 'ca-'+otheraction );
}
};
return false;
/* OVERRIDDEN BY COMPLIANT BROWSERS */
div.vectorTabs li a {
display: inline-block;
- height: 2.5em;
- padding-left: 0.4em;
- padding-right: 0.4em;
+ height: 1.9em;
+ padding-left: 0.5em;
+ padding-right: 0.5em;
background-image: url(images/tab-break.png?1);
background-position: bottom right;
background-repeat: no-repeat;
}
- div.vectorTabs li a,
- div.vectorTabs li a span {
+ div.vectorTabs li a{
color: #0645ad;
cursor: pointer;
}
- div.vectorTabs li a span {
+ div.vectorTabs li a {
font-size: 0.8em;
}
/* IGNORED BY IE6 */
display: block;
}
/* OVERRIDDEN BY COMPLIANT BROWSERS */
- div.vectorTabs a span {
+ div.vectorTabs span a {
display: inline-block;
padding-top: 1.25em;
}
/* IGNORED BY IE6 */
/* @noflip */
- div.vectorTabs a > span {
+ div.vectorTabs span > a {
float: left;
display: block;
}
div.vectorTabs li.selected a,
- div.vectorTabs li.selected a span,
- div.vectorTabs li.selected a:visited
- div.vectorTabs li.selected a:visited span {
+ div.vectorTabs li.selected a:visited{
color: #333333;
text-decoration: none;
}
div.vectorTabs li.new a,
- div.vectorTabs li.new a span,
- div.vectorTabs li.new a:visited,
- div.vectorTabs li.new a:visited span {
+ div.vectorTabs li.new a:visited{
color: #a55858;
}
/* Variants and Actions */
outline: none;
display: block;
width: 26px;
- height: 2.5em;
+ height: 3.1em;
+ text-indent: -9999px;
}
#ca-unwatch.icon a {
background-image: url(images/watch-icons.png?1);
/* OVERRIDDEN BY COMPLIANT BROWSERS */
div.vectorTabs li a {
display: inline-block;
- height: 2.5em;
- padding-right: 0.4em;
- padding-left: 0.4em;
+ height: 1.9em;
+ padding-right: 0.5em;
+ padding-left: 0.5em;
background-image: url(images/tab-break.png?1);
background-position: bottom left;
background-repeat: no-repeat;
}
- div.vectorTabs li a,
- div.vectorTabs li a span {
+ div.vectorTabs li a{
color: #0645ad;
cursor: pointer;
}
- div.vectorTabs li a span {
+ div.vectorTabs li a {
font-size: 0.8em;
}
/* IGNORED BY IE6 */
display: block;
}
/* OVERRIDDEN BY COMPLIANT BROWSERS */
- div.vectorTabs a span {
+ div.vectorTabs span a {
display: inline-block;
padding-top: 1.25em;
}
/* IGNORED BY IE6 */
/* @noflip */
- div.vectorTabs a > span {
+ div.vectorTabs span > a {
float: left;
display: block;
}
div.vectorTabs li.selected a,
- div.vectorTabs li.selected a span,
- div.vectorTabs li.selected a:visited
- div.vectorTabs li.selected a:visited span {
+ div.vectorTabs li.selected a:visited{
color: #333333;
text-decoration: none;
}
div.vectorTabs li.new a,
- div.vectorTabs li.new a span,
- div.vectorTabs li.new a:visited,
- div.vectorTabs li.new a:visited span {
+ div.vectorTabs li.new a:visited{
color: #a55858;
}
/* Variants and Actions */
outline: none;
display: block;
width: 26px;
- height: 2.5em;
+ height: 3.1em;
+ text-indent: -9999px;
}
#ca-unwatch.icon a {
background-image: url(images/watch-icons.png?1);