textarea tweak

This commit is contained in:
Shish Moom 2009-07-06 04:44:52 -07:00
parent 5a692586e9
commit f3105ed1df
2 changed files with 5 additions and 3 deletions

View File

@ -73,7 +73,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='$name' name='_config_$name'>$val</textarea>\n"; $this->body .= "<textarea rows='5' 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";
} }

View File

@ -182,11 +182,13 @@ UL {
.hrrcontent {margin: 0px 8px;} .hrrcontent {margin: 0px 8px;}
.setupblock { .setupblock {
border: 1px solid #AAA; text-align: center;
padding: 8px;
margin: 16px; margin: 16px;
width: 350px; width: 350px;
} }
.setupblock TEXTAREA {
width: 300px;
}
.helpable { .helpable {
border-bottom: 1px dashed gray; border-bottom: 1px dashed gray;