and a couple more
git-svn-id: file:///home/shish/svn/shimmie2/trunk@290 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
parent
efcb4f9d55
commit
e2dc8c065d
@ -60,7 +60,7 @@ class SetupBlock extends Block {
|
|||||||
if(!is_null($label)) {
|
if(!is_null($label)) {
|
||||||
$this->body .= "<label for='$name'>$label</label>";
|
$this->body .= "<label for='$name'>$label</label>";
|
||||||
}
|
}
|
||||||
$this->body .= "<textarea rows='5' cols='40' id='_config_$name' name='$name'>$val</textarea>\n";
|
$this->body .= "<textarea rows='5' cols='40' id='$name' name='_config_$name'>$val</textarea>\n";
|
||||||
$this->body .= "<!--<br><br><br><br>-->\n"; // setup page auto-layout counts <br> tags
|
$this->body .= "<!--<br><br><br><br>-->\n"; // setup page auto-layout counts <br> tags
|
||||||
$this->body .= "<input type='hidden' name='_type_$name' value='string'>\n";
|
$this->body .= "<input type='hidden' name='_type_$name' value='string'>\n";
|
||||||
}
|
}
|
||||||
@ -71,7 +71,7 @@ class SetupBlock extends Block {
|
|||||||
if(!is_null($label)) {
|
if(!is_null($label)) {
|
||||||
$this->body .= "<label for='$name'>$label</label>";
|
$this->body .= "<label for='$name'>$label</label>";
|
||||||
}
|
}
|
||||||
$this->body .= "<input type='checkbox' id='_config_$name' name='$name'$checked>\n";
|
$this->body .= "<input type='checkbox' id='$name' name='_config_$name'$checked>\n";
|
||||||
$this->body .= "<input type='hidden' name='_type_$name' value='bool'>\n";
|
$this->body .= "<input type='hidden' name='_type_$name' value='bool'>\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user