HomeHelpTrac

Changeset 15905 for trunk/templates


Ignore:
Timestamp:
01/22/12 23:18:49 (4 months ago)
Author:
Alexander Trofimov
Message:

Forms - hidden_for_levels renamed to visible_for_levels

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/templates/base/scripts/BxBaseFormView.php

    r15879 r15905  
    144144                'name' => 'csrf_token', 
    145145                'value' => $mixedCsrfToken, 
    146                 'db' => array ( 
    147                     'pass' => 'Xss', 
    148                 ) 
     146                'db' => array ('pass' => 'Xss'), 
     147                'visible_for_levels' => PHP_INT_MAX, 
    149148            ); 
    150149        }         
     
    163162        $sCont = ''; 
    164163        foreach ($this->aInputs as $aInput) 
    165             $sCont .= $this->genRow($aInput); 
     164            if ($this->_isVisible($aInput))  
     165                $sCont .= $this->genRow($aInput); 
    166166         
    167167        $sCloseSection = $this->getCloseSection(); 
Note: See TracChangeset for help on using the changeset viewer.