[Openfirst-cvscommit] SF.net SVN: openfirst: [188] trunk/src/includes/edit.php
Brought to you by:
xtimg
|
From: <ast...@us...> - 2006-06-23 00:23:15
|
Revision: 188 Author: astronouth7303 Date: 2006-06-22 17:23:10 -0700 (Thu, 22 Jun 2006) ViewCVS: http://svn.sourceforge.net/openfirst/?rev=188&view=rev Log Message: ----------- changing width and height to CSS values. Modified Paths: -------------- trunk/src/includes/edit.php Modified: trunk/src/includes/edit.php =================================================================== --- trunk/src/includes/edit.php 2006-06-22 22:58:11 UTC (rev 187) +++ trunk/src/includes/edit.php 2006-06-23 00:23:10 UTC (rev 188) @@ -61,9 +61,11 @@ /** Returns the HTML to paste on a page. * The return should not be modified in any way, * else you may break the software. + * @param $height string A CSS value of height + * @param $width string A CSS value of width */ function getEditField($fieldname,$height,$width,$init) { - return '<textarea name="'.htmlentities($fieldname).'" cols="'.htmlentities($width).'" rows="'.htmlentities($height).'">'. + return '<textarea name="'.htmlentities($fieldname).'" style="width:'.htmlentities($width).'; height:'.htmlentities($height).';">'. htmlentities($init). '</textarea>'; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |