Bug fix for #608

This commit is contained in:
floppy0 2018-01-15 17:21:14 +01:00
parent bcc986fa11
commit 076fe7343c
1 changed files with 3 additions and 3 deletions

View File

@ -25,8 +25,8 @@ class pluginStaticPages extends Plugin {
$html .= '<div>'; $html .= '<div>';
$html .= '<label>'.$Language->get('Home link').'</label>'; $html .= '<label>'.$Language->get('Home link').'</label>';
$html .= '<select name="homeLink">'; $html .= '<select name="homeLink">';
$html .= '<option value="true" '.($this->getValue('showCero')?'checked':'').'>Enabled</option>'; $html .= '<option value="true" '.($this->getValue('homeLink')?'checked':'').'>Enabled</option>';
$html .= '<option value="false" '.($this->getValue('showCero')?'checked':'').'>Disabled</option>'; $html .= '<option value="false" '.($this->getValue('homeLink')?'checked':'').'>Disabled</option>';
$html .= '</select>'; $html .= '</select>';
$html .= '<span class="tip">'.$Language->get('Show the home link on the sidebar').'</span>'; $html .= '<span class="tip">'.$Language->get('Show the home link on the sidebar').'</span>';
$html .= '</div>'; $html .= '</div>';
@ -76,4 +76,4 @@ class pluginStaticPages extends Plugin {
return $html; return $html;
} }
} }