Changeset 15907 for trunk/templates
- Timestamp:
- 01/23/12 17:53:24 (4 months ago)
- Location:
- trunk/templates/base/scripts
- Files:
-
- 2 edited
-
BxBaseFormView.php (modified) (1 diff)
-
BxBaseMenu.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/templates/base/scripts/BxBaseFormView.php
r15905 r15907 162 162 $sCont = ''; 163 163 foreach ($this->aInputs as $aInput) 164 if ( $this->_isVisible($aInput))164 if (!isset($aInput['visible_for_levels']) || $this->_isVisible($aInput)) 165 165 $sCont .= $this->genRow($aInput); 166 166 -
trunk/templates/base/scripts/BxBaseMenu.php
r15901 r15907 55 55 foreach ($this->_aObject['menu_items'] as $a) { 56 56 57 if ( !$a['active'])57 if (isset($a['active']) && !$a['active']) 58 58 continue; 59 59 60 if ( !$this->_isVisible($a))60 if (isset($a['visible_for_levels']) && !$this->_isVisible($a)) 61 61 continue; 62 62 … … 65 65 66 66 $a['class_add'] = $this->_isSelected($a) ? 'bx-menu-tab-active' : ''; 67 $a['link'] = $this->_oPermalinks->permalink($a['link']);67 $a['link'] = isset($a['link']) ? $this->_oPermalinks->permalink($a['link']) : 'javascript:void(0);'; 68 68 $a['title'] = _t($a['title']); 69 69
Note: See TracChangeset
for help on using the changeset viewer.