remove title if empty
This commit is contained in:
parent
32e453dd06
commit
2f31752fa8
|
@ -125,7 +125,9 @@ class pluginLinks extends Plugin {
|
||||||
|
|
||||||
// HTML for sidebar
|
// HTML for sidebar
|
||||||
$html = '<div class="plugin plugin-pages">';
|
$html = '<div class="plugin plugin-pages">';
|
||||||
$html .= '<h2 class="plugin-label">'.$this->getValue('label').'</h2>';
|
if ($this->getValue('label')) {
|
||||||
|
$html .= '<h2 class="plugin-label">'.$this->getValue('label').'</h2>';
|
||||||
|
}
|
||||||
$html .= '<div class="plugin-content">';
|
$html .= '<div class="plugin-content">';
|
||||||
$html .= '<ul>';
|
$html .= '<ul>';
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue