Skip to content

Commit

Permalink
add class wrapper for aggregator
Browse files Browse the repository at this point in the history
  • Loading branch information
gamma committed Apr 24, 2014
1 parent 610151c commit 5d57e4f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions syntax/aggregate.php
Expand Up @@ -73,6 +73,8 @@ function render($mode, &$renderer, $data){
}

$values = $functions->__getOrderedListOfPagesForID($namespace);
$renderer->doc .= '<div class="siteaggregator">';

if ( empty($values) ) {
$renderer->doc .= '<span style="color: #a00">'.$this->getLang('NoEntriesFoundHint').'</span>';
} else {
Expand All @@ -85,6 +87,7 @@ function render($mode, &$renderer, $data){
ob_end_clean();
}

$renderer->doc .= '</div>';
return true;
}

Expand Down

0 comments on commit 5d57e4f

Please sign in to comment.