[Pieforms-commit] SF.net SVN: pieforms:[298] pieforms-php5/trunk/src/pieform.php
Status: Alpha
Brought to you by:
oracleshinoda
From: <ora...@us...> - 2008-11-15 23:37:21
|
Revision: 298 http://pieforms.svn.sourceforge.net/pieforms/?rev=298&view=rev Author: oracleshinoda Date: 2008-11-15 23:37:18 +0000 (Sat, 15 Nov 2008) Log Message: ----------- Allow elements to accept the 'autofocus' attribute Modified Paths: -------------- pieforms-php5/trunk/src/pieform.php Modified: pieforms-php5/trunk/src/pieform.php =================================================================== --- pieforms-php5/trunk/src/pieform.php 2008-10-13 23:17:03 UTC (rev 297) +++ pieforms-php5/trunk/src/pieform.php 2008-11-15 23:37:18 UTC (rev 298) @@ -983,7 +983,7 @@ * @return string The attributes for the element */ public function element_attributes($element, $exclude=array()) {/*{{{*/ - static $attributes = array('accesskey', 'class', 'dir', 'id', 'lang', 'name', 'onclick', 'size', 'style', 'tabindex'); + static $attributes = array('accesskey', 'autocomplete', 'class', 'dir', 'id', 'lang', 'name', 'onclick', 'size', 'style', 'tabindex'); $elementattributes = array_diff($attributes, $exclude); $result = ''; foreach ($elementattributes as $attribute) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |