Fix static pages plugin

This commit is contained in:
Anaggh S 2018-01-16 00:50:09 +05:30
parent 0ca346f977
commit 5f3a06d653

View File

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