Tooltips in Add module |
8/7/2007 6:36:48 AM |
PHPRunner General questions | |
J
Jean author
Sorry, forget this, I found the solution at smartytohtml |
|
J
|
Jane 8/7/2007 |
Jean, if($format==EDIT_FORMAT_TEXT_FIELD) { if(IsDateFieldType($type)) echo '<input type="hidden" name="'.$ctype.'" value="date'.EDIT_DATE_SIMPLE.'">'.GetDateEdit($field,$value,0,$secondfield,$edit); else { if($edit==MODE_SEARCH) echo '<input type="text" autocomplete="off" name="'.$cfield.'" '.GetEditParams($field).' value="'.htmlspecialchars($value).'">'; else echo '<input type="text" name="'.$cfield.'" '.GetEditParams($field).' value="'.htmlspecialchars($value).'">'; } } |