@@ -513,14 +513,14 @@ |
||
| 513 | 513 | foreach ($this->name as $i => $name){
|
| 514 | 514 | if ($name == 'input' && isset($this->attribute[$i]['type'])){
|
| 515 | 515 | switch($this->attribute[$i]['type']){
|
| 516 | - case 'text': |
|
| 517 | - $this->attribute[$i]['readonly'] = 'true'; |
|
| 518 | - $this->attribute[$i]['style'] = 'border: 1 dotted #999999'; |
|
| 519 | - break; |
|
| 520 | - case 'select': |
|
| 521 | - case 'checkbox': |
|
| 522 | - $this->attribute[$i]['disabled'] = 1; |
|
| 523 | - break; |
|
| 516 | + case 'text': |
|
| 517 | + $this->attribute[$i]['readonly'] = 'true'; |
|
| 518 | + $this->attribute[$i]['style'] = 'border: 1 dotted #999999'; |
|
| 519 | + break; |
|
| 520 | + case 'select': |
|
| 521 | + case 'checkbox': |
|
| 522 | + $this->attribute[$i]['disabled'] = 1; |
|
| 523 | + break; |
|
| 524 | 524 | } |
| 525 | 525 | }elseif ($name == 'textarea'){
|
| 526 | 526 | $this->attribute[$i]['readonly'] = 'true'; |