Merge f60e1bdac6eef3d665e76397ca0e61789a6b33be into bcc986fa118c755b9d9217ea7a953863cfbb31a3
This commit is contained in:
commit
8e81787f40
@ -1,6 +1,7 @@
|
||||
<?php
|
||||
|
||||
class pluginStaticPages extends Plugin {
|
||||
class pluginStaticPages extends Plugin
|
||||
{
|
||||
|
||||
public function init()
|
||||
{
|
||||
@ -25,8 +26,8 @@ class pluginStaticPages extends Plugin {
|
||||
$html .= '<div>';
|
||||
$html .= '<label>'.$Language->get('Home link').'</label>';
|
||||
$html .= '<select name="homeLink">';
|
||||
$html .= '<option value="true" '.($this->getValue('showCero')?'checked':'').'>Enabled</option>';
|
||||
$html .= '<option value="false" '.($this->getValue('showCero')?'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>';
|
||||
|
Loading…
x
Reference in New Issue
Block a user