Changeset 3499
- Timestamp:
- 02/18/07 11:19:57 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1.0/lib/generator/sfAdminGenerator.class.php
r3324 r3499 125 125 $url_params = $pk_link ? '?'.$this->getPrimaryKeyUrlParams() : '\''; 126 126 127 if (!isset($options['class']) && $default_class) 128 { 129 $options['class'] = $default_class; 130 } 131 else 132 { 133 $options['style'] = 'background: #ffc url('.$icon.') no-repeat 3px 2px'; 127 if (!isset($options['class'])) 128 { 129 if ($default_class) 130 { 131 $options['class'] = $default_class; 132 } 133 else 134 { 135 $options['style'] = 'background: #ffc url('.$icon.') no-repeat 3px 2px'; 136 } 134 137 } 135 138