Avoid empty class="" without value
Before this change the HTML contains: <div id="p-personal" role="navigation" class="" ...> or <div id="p-personal" role="navigation" class=" emptyPortlet" ...> After this change the HTML contains: <div id="p-personal" role="navigation" ...> or <div id="p-personal" role="navigation" class="emptyPortlet" ...> Change-Id: Ic686b958940afc958693d0031ac31e5f783960a9
This commit is contained in:
parent
8994137e2a
commit
82cbdb8111
|
@ -411,11 +411,11 @@ class VectorTemplate extends BaseTemplate {
|
||||||
break;
|
break;
|
||||||
case 'PERSONAL':
|
case 'PERSONAL':
|
||||||
?>
|
?>
|
||||||
<div id="p-personal" role="navigation" class="<?php
|
<div id="p-personal" role="navigation"<?php
|
||||||
if ( count( $this->data['personal_urls'] ) == 0 ) {
|
if ( count( $this->data['personal_urls'] ) == 0 ) {
|
||||||
echo ' emptyPortlet';
|
echo ' class="emptyPortlet"';
|
||||||
}
|
}
|
||||||
?>" aria-labelledby="p-personal-label">
|
?> aria-labelledby="p-personal-label">
|
||||||
<h3 id="p-personal-label"><?php $this->msg( 'personaltools' ) ?></h3>
|
<h3 id="p-personal-label"><?php $this->msg( 'personaltools' ) ?></h3>
|
||||||
<ul<?php $this->html( 'userlangattributes' ) ?>>
|
<ul<?php $this->html( 'userlangattributes' ) ?>>
|
||||||
<?php
|
<?php
|
||||||
|
|
Loading…
Reference in New Issue