Changeset 15706 for trunk/templates
- Timestamp:
- 11/28/11 04:20:04 (6 months ago)
- File:
-
- 1 edited
-
trunk/templates/base/scripts/BxBaseGrid.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/templates/base/scripts/BxBaseGrid.php
r15704 r15706 353 353 354 354 protected function _getFilterControls () { 355 // TODO: don't duplicate code here, get it from forms somehow 355 bx_import('BxTemplStudioFormView'); 356 $oForm = new BxTemplStudioFormView(array()); 357 358 $aInput = array( 359 'type' => 'text', 360 'name' => 'keyword', 361 'attrs' => array( 362 'id' => 'bx-grid-search-' . $this->_sObject 363 ) 364 ); 365 356 366 $this->_oTemplate->addCss('forms.css'); 357 return ' 358 <div class="bx-form-input-wrapper bx-form-input-wrapper-text"> 359 <input id="bx-grid-search-' . $this->_sObject . '" class="bx-def-font-inputs bx-form-input-text" type="text" name="keyword" value="" /> 360 </div>'; 367 return $oForm->genRow($aInput); 361 368 } 362 369
Note: See TracChangeset
for help on using the changeset viewer.