Changeset 1046
- Timestamp:
- 07/24/08 08:50:10 (4 months ago)
- Files:
-
- trunk/lib/jelix/CREDITS (modified) (2 diffs)
- trunk/lib/jelix/plugins/tpl/html/block.formcontrols.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lib/jelix/CREDITS
r1044 r1046 68 68 - documentation 69 69 - many improvements (jClasses::inc(), jIniFile, jAppManager, jelix-scripts etc ) 70 - coord plugin for Zend Framework (#651) 70 71 71 72 Dominique Papin (aka bibo) … … 145 146 - tpl plugin stripws (#140) 146 147 148 Alexis Métaireau 149 - improvements on jtpl plugin formcontrol (#652) 150 147 151 Aubanel Monnier 148 152 - jResponseLatexToPdf and jtpl plugins for latex trunk/lib/jelix/plugins/tpl/html/block.formcontrols.php
r1030 r1046 4 4 * @subpackage jtpl_plugin 5 5 * @author Jouanneau Laurent 6 * @contributor Mickaël Fradin, F.Fernandez, Dominique Papin 7 * @copyright 2007-2008 Jouanneau laurent, 2007 Mickaël Fradin, 2007 F.Fernandez, 2007 Dominique Papin 6 * @contributor Mickaël Fradin, F.Fernandez, Dominique Papin, Alexis Métaireau 7 * @copyright 2007-2008 Jouanneau laurent, 2007 Mickaël Fradin, 2007 F.Fernandez, 2007 Dominique Papin, 2008 Alexis Métaireau 8 8 * @link http://www.jelix.org 9 9 * @licence GNU Lesser General Public Licence see LICENCE file or http://www.gnu.org/licenses/lgpl.html … … 51 51 } 52 52 elseif(count($param) == 2){ 53 $content = 'if(is_array('.$param[0].') ){53 $content = 'if(is_array('.$param[0].') || '.$param[0].' === null){ 54 54 $ctrls_to_display = '.$param[0].'; 55 55 $ctrls_notto_display = '.$param[1].'; … … 95 95 && ( ($ctrls_to_display===null && $ctrls_notto_display === null) 96 96 || ($ctrls_to_display===null && !in_array($ctrlref, $ctrls_notto_display)) 97 || in_array($ctrlref, $ctrls_to_display))) {97 || (is_array($ctrls_to_display) && in_array($ctrlref, $ctrls_to_display) ))) { 98 98 $t->_privateVars[\'__ctrlref\'] = $ctrlref; 99 99 $t->_privateVars[\'__ctrl\'] = $ctrl;
