HomeHelpTrac

Changeset 15975


Ignore:
Timestamp:
02/12/12 20:48:26 (3 months ago)
Author:
Anton Lesnikov
Message:

Navigation Builder -> Submenus and updates.

Location:
trunk/studio/templates/base
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/studio/templates/base/css/navigation.css

    r15971 r15975  
    2323/*--- Items page ---*/ 
    2424img.bx-nav-item-icon { 
    25     width: 32px;  
    26     height: 32px;  
    27     border: 1px solid #cccccc; 
     25    width: 32px; 
     26    height: 32px; 
    2827} 
    2928 
  • trunk/studio/templates/base/scripts/BxBaseStudioNavigationItems.php

    r15970 r15975  
    652652                    'condition' => true, 
    653653                    'content' => array( 
    654                         'content' => 'bx-nav-item-icon' 
     654                        'content' => 'bx-nav-item-icon bx-def-border' 
    655655                    ) 
    656656                ), 
  • trunk/studio/templates/base/scripts/BxBaseStudioNavigationMenus.php

    r15953 r15975  
    471471    } 
    472472 
    473     protected function _getCellTitle ($mixedValue, $sKey, $aField, $aRow) {         
     473    protected function _getCellTitle ($mixedValue, $sKey, $aField, $aRow) { 
    474474        $mixedValue = $this->_limitMaxLength(_t($aRow['title']), $sKey, $aField, $aRow, $this->_isDisplayPopupOnTextOverflow); 
    475         return parent::_getCellDefault($mixedValue, $sKey, $aField, $aRow); 
     475 
     476        $mixedValue = $this->_oTemplate->parseHtmlByName('bx_a.html', array( 
     477            'href' => BX_DOL_URL_STUDIO . 'builder_menu.php?page=items&set=' . $aRow['set_name'], 
     478            'title' => _t('_adm_nav_txt_manage_items'), 
     479            'bx_repeat:attrs' => array(), 
     480            'content' => $mixedValue 
     481        )); 
     482 
     483        return parent::_getCellDefault ($mixedValue, $sKey, $aField, $aRow); 
    476484    } 
    477485 
Note: See TracChangeset for help on using the changeset viewer.