Changeset 1952
- Timestamp:
- 02/01/10 09:00:27 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.0/expressoMail1_2/inc/hook_settings.inc.php
r1663 r1952 20 20 \**************************************************************************/ 21 21 include_once("fckeditor.php"); 22 $type = $_GET['type']; // FIX ME22 $type = isset($_GET['type']) ? $_GET['type']:$GLOBALS['type']; // FIX ME 23 23 24 24 //if ($type == 'user' || $type == ''){ … … 391 391 392 392 function setDefaultTypeSignature() { 393 getTypeSignature().options[0].value = '".$GLOBALS['phpgw']->preferences->default['expressoMail']['type_signature']."d'; 394 if(getTypeSignature().value.indexOf('html')!=-1){ 395 changeType(getTypeSignature().value); 396 } 393 if(getTypeSignature()){ 394 getTypeSignature().options[0].value = '".$GLOBALS['phpgw']->preferences->default['expressoMail']['type_signature']."d'; 395 if(getTypeSignature().value.indexOf('html')!=-1){ 396 changeType(getTypeSignature().value); 397 } 398 }else{ 399 changeType('".$GLOBALS['phpgw']->preferences->forced['expressoMail']['type_signature']."'); 400 } 397 401 } 398 402
Note: See TracChangeset
for help on using the changeset viewer.