adding some strings
[moodle-linuxchix.git] / user / profile / field / textarea / field.class.php
blob11d39254573f00bc5490221b812806d29e31dcaf
1 <?php //$Id$
3 class profile_field_textarea extends profile_field_base {
5 function edit_field_add(&$mform) {
6 $cols = $this->field->param1;
7 $rows = $this->field->param2;
9 /// Create the form field
10 $mform->addElement('htmleditor', $this->inputname, format_string($this->field->name), array('cols'=>$cols, 'rows'=>$rows));
11 $mform->setType($this->inputname, PARAM_CLEAN);