소스 검색

adding space between cols="number" and $attr.
removing extra double quote.

tokul 21 년 전
부모
커밋
7e398fef72
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      functions/forms.php

+ 2 - 2
functions/forms.php

@@ -121,8 +121,8 @@ function addReset($value) {
  */
  */
 function addTextArea($name, $text = '', $cols = 40, $rows = 10, $attr = '') {
 function addTextArea($name, $text = '', $cols = 40, $rows = 10, $attr = '') {
     return '<textarea name="'.htmlspecialchars($name).'" '.
     return '<textarea name="'.htmlspecialchars($name).'" '.
-        'rows="'.(int)$rows .'" cols="'.(int)$cols.'"'.
-        $attr . '">'.htmlspecialchars($text) ."</textarea>\n";
+        'rows="'.(int)$rows .'" cols="'.(int)$cols.'" '.
+        $attr . '>'.htmlspecialchars($text) ."</textarea>\n";
 }
 }
 
 
 /**
 /**