Changeset 2931
- Timestamp:
- 07/23/08 15:00:05 (3 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/utils/copix/utils/CopixModuleConfig.class.php
r2868 r2931 372 372 $defaultStr = (isset ($values[$default])) ? trim ($values[$default]) : $default; 373 373 } else if ($type == 'bool') { 374 //echo '[$groupKey] [' . $groupKey . '] [$attributes] [' . $attributes['name'] . '] [$type] [' . $type . ']<br />';375 374 $defaultStr = ($default == 0) ? _i18n ('copix:copix.no') : _i18n ('copix:copix.yes'); 376 375 } else { 377 376 $defaultStr = (string) $attributes['default']; 377 } 378 379 $description = null; 380 if (isset ($attributes['description'])) { 381 $description = (string)$attributes['description']; 382 } else if (isset ($attributes['descriptioni18n'])) { 383 $description = _i18n ((string)$attributes['descriptioni18n']); 378 384 } 379 385 … … 390 396 'MaxLength' => (isset ($attributes['maxLength'])) ? (string) $attributes['maxLength'] : null, 391 397 'ListValues' => (isset ($attributes['listValues'])) ? (string) $attributes['listValues'] : null, 392 'Group' => $groupKey 398 'Group' => $groupKey, 399 'Description' => $description 393 400 ); 394 401
