Skip to content

Commit

Permalink
Merge pull request #28 from hexmode/master
Browse files Browse the repository at this point in the history
Make toolbox case properly
  • Loading branch information
mtyeh411 committed Nov 27, 2013
2 parents e041411 + 7782dc5 commit ec64c8b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Bootstrap.renderer.php
Expand Up @@ -287,15 +287,16 @@ private function addSpecial( $doc ) {
$fragment= $this->renderSearch( $doc );
$headerTextNode->parentNode->replaceChild( $fragment, $headerTextNode );
break;
case 'TOOLBOX':
case 'TOOLBOX':
$fragment= $this->renderDataLinks( $this->skin->getToolbox() );
$headerTextNode->parentNode->appendChild( $doc->importNode($fragment,true) );
$headerTextNode->nodeValue = 'Toolbox';
break;
case 'LANGUAGES':
if( $this->skin->data['language_urls'] ) {
$fragment = $this->renderDataLinks( $this->skin->data['language_urls'] );
$headerTextNode->parentNode->appendChild( $fragment );
} else
} else
$headerTextNode->parentNode->removeChild( $headerTextNode );
break;
default:
Expand Down

0 comments on commit ec64c8b

Please sign in to comment.