/**
* attachment_common.php
*
- * Copyright (c) 1999-2004 The SquirrelMail Project Team
+ * Copyright (c) 1999-2005 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* This file provides the handling of often-used attachment types.
'png' => 'image/png',
'rtf' => 'text/richtext',
'txt' => 'text/plain',
+ 'patch'=> 'text/plain',
'vcf' => 'text/x-vcard');
/* Register browser-supported image types */
}
function attachment_common_link_image(&$Args) {
- global $attachment_common_show_images, $attachment_common_show_images_list;
+ global $attachment_common_show_images_list;
sqgetGlobalVar('QUERY_STRING', $QUERY_STRING, SQ_SERVER);
set_url_var($Args[1]['attachment_common']['href'],
'ent_id',$Args[5]);
- $Args[1]['attachment_common']['text'] = _("Business Card");
+ $Args[1]['attachment_common']['text'] = _("View Business Card");
$Args[6] = $Args[1]['attachment_common']['href'];
}