Changeset 15716 for trunk/templates
- Timestamp:
- 11/29/11 22:44:18 (6 months ago)
- Location:
- trunk/templates/base
- Files:
-
- 2 edited
-
css/common.css (modified) (2 diffs)
-
scripts/BxBaseGrid.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/templates/base/css/common.css
r15545 r15716 297 297 margin-left:0; 298 298 } 299 .bx-btn i { 300 padding-left:22px; 301 display:block; 299 .bx-btn i { 300 display:block; 301 min-width:16px; 302 min-height:16px; 302 303 font-style:normal; 303 304 background-repeat:no-repeat; 304 background-position:0px 11px; 305 } 306 307 .bx-btn-small i { 308 background-position:0px 4px; 305 background-position:0px 0px; 309 306 } 310 307 … … 312 309 display:block; 313 310 min-width:15px; 314 min-height:20px; 311 min-height:20px; 315 312 background-repeat:no-repeat; 316 313 background-position:0px 3px; -
trunk/templates/base/scripts/BxBaseGrid.php
r15711 r15716 322 322 isset($aField['width']) ? 'width:' . $aField['width'] : false // add default styles 323 323 ); 324 return '<td ' . $sAttr . '>' . $this->_getActions('single', $aRow[$this->_aOptions['field_id']], true, $this->_isRowDisabled($aRow), $aRow) . '</td>';324 return '<td ' . $sAttr . '>' . $this->_getActions('single', $aRow[$this->_aOptions['field_id']], false, $this->_isRowDisabled($aRow), $aRow) . '</td>'; 325 325 } 326 326 … … 361 361 'bx-btn bx-def-margin-sec-left' . ($isSmall ? ' bx-btn-small' : '') . ($isDisabled ? ' bx-btn-disabled' : '') // add default classes 362 362 ); 363 return '<button ' . $sAttr . '>' . $a['title'] . '</button>'; 363 364 $sIcon = ''; 365 if (!empty($a['icon']) && ($sIconUrl = $this->_oTemplate->getIconUrl($a['icon']))) 366 $sIcon = '<i style="background-image:url(' . $sIconUrl . ');"></i>'; 367 return '<button ' . $sAttr . '>' . $sIcon . $a['title'] . '</button>'; 364 368 } 365 369
Note: See TracChangeset
for help on using the changeset viewer.