[Pieforms-commit] SF.net SVN: pieforms: [277] pieforms-php5/trunk/src/pieform.php
Status: Alpha
Brought to you by:
oracleshinoda
From: <ora...@us...> - 2008-01-03 10:32:53
|
Revision: 277 http://pieforms.svn.sourceforge.net/pieforms/?rev=277&view=rev Author: oracleshinoda Date: 2008-01-03 02:32:58 -0800 (Thu, 03 Jan 2008) Log Message: ----------- Renamed the 'jsincludepath' configuration parameter to 'jsdirectory', which makes a little more sense to me. Modified Paths: -------------- pieforms-php5/trunk/src/pieform.php Modified: pieforms-php5/trunk/src/pieform.php =================================================================== --- pieforms-php5/trunk/src/pieform.php 2008-01-03 10:00:07 UTC (rev 276) +++ pieforms-php5/trunk/src/pieform.php 2008-01-03 10:32:58 UTC (rev 277) @@ -1313,7 +1313,7 @@ // The URL where pieforms.js and other related pieforms javascript // files can be accessed. Best specified as an absolute path in // pieform_configure() - 'jsincludepath' => '', + 'jsdirectory' => '', // The javascript function called before submission of a form // (regardless of whether the form is a jsform) @@ -1452,11 +1452,11 @@ } } - // TODO: jsincludepath should be independent of ANY form + // TODO: jsdirectory should be independent of ANY form array_unshift($htmlelements, '<script type="text/javascript" src="' - . Pieform::hsc($form->get_property('jsincludepath')) . 'pieforms.js"></script>'); + . Pieform::hsc($form->get_property('jsdirectory')) . 'pieforms.js"></script>'); array_unshift($htmlelements, '<script type="text/javascript">pieformPath = "' - . Pieform::hsc($form->get_property('jsincludepath')) . '";</script>'); + . Pieform::hsc($form->get_property('jsdirectory')) . '";</script>'); return array_unique($htmlelements); }/*}}}*/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |