Browse Source

fix deselection for checkboxes

MaxMalRichtig 2 years ago
parent
commit
fb067fcec6
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      plugin.php

+ 3
- 0
plugin.php View File

@@ -51,16 +51,19 @@ class pluginIsso extends Plugin {
51 51
 		global $Language;
52 52
 
53 53
 		$html  = '<div>';
54
+		$html .= '<input name="enablePages" type="hidden" value="0">';
54 55
 		$html .= '<input name="enablePages" id="jsenablePages" type="checkbox" value="1" '.($this->getDbField('enablePages')?'checked':'').'>';
55 56
 		$html .= '<label class="forCheckbox" for="jsenablePages">'.$Language->get('Enable Isso on pages').'</label>';
56 57
 		$html .= '</div>';
57 58
 
58 59
 		$html .= '<div>';
60
+		$html .= '<input name="enablePosts" type="hidden" value="0">';
59 61
 		$html .= '<input name="enablePosts" id="jsenablePosts" type="checkbox" value="1" '.($this->getDbField('enablePosts')?'checked':'').'>';
60 62
 		$html .= '<label class="forCheckbox" for="jsenablePosts">'.$Language->get('Enable Isso on posts').'</label>';
61 63
 		$html .= '</div>';
62 64
 
63 65
 		$html .= '<div>';
66
+		$html .= '<input name="enableDefaultHomePage" type="hidden" value="0">';
64 67
 		$html .= '<input name="enableDefaultHomePage" id="jsenableDefaultHomePage" type="checkbox" value="1" '.($this->getDbField('enableDefaultHomePage')?'checked':'').'>';
65 68
 		$html .= '<label class="forCheckbox" for="jsenableDefaultHomePage">'.$Language->get('Enable Isso on default home page').'</label>';
66 69
 		$html .= '</div>';

Loading…
Cancel
Save