Changeset 12500
- Timestamp:
- 03/23/09 06:49:58 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
vtigercrm/branches/5.1/modules/Webmails/dlAttachments.php
r10824 r12500 17 17 require_once('modules/Webmails/MailBox.php'); 18 18 19 global $MailBox ;19 global $MailBox, $mod_strings; 20 20 $MailBox = new MailBox($_REQUEST["mailbox"]); 21 21 … … 30 30 echo "<table class='small' width='100%' cellspacing='1' cellpadding='0' border='0' style='font-size:18px'>"; 31 31 if(count($email->attname) <= 0) 32 echo "<tr align='center'><td nowrap> No files to download</td></tr>";32 echo "<tr align='center'><td nowrap>".$mod_strings['LBL_NO_ATTACHMENTS']."</td></tr>"; 33 33 else{ 34 34 for($i=0;$i<count($email->attname);$i++){ 35 35 $attachment_links .= " ".$email->anchor_arr[$i].$email->attname[$i]."</a></br>"; 36 36 } 37 echo "<tr><td><table class='small' width='100%' cellspacing='1' cellpadding='0' border='0' style='font-size:13px'><tr><td width='90%'> There are ".count($email->attname)." attachment(s) to choose from:</td></tr>";37 echo "<tr><td><table class='small' width='100%' cellspacing='1' cellpadding='0' border='0' style='font-size:13px'><tr><td width='90%'>".$mod_strings['LBL_THERE_ARE']." ".count($email->attname)." ".$mod_strings['LBL_ATTACHMENTS_TO_CHOOSE'].":</td></tr>"; 38 38 echo "<tr><td width='100%'>".$attachment_links."</div></td></tr>"; 39 39 echo "</td></tr></table>"; vtigercrm/branches/5.1/modules/Webmails/language/en_us.lang.php
r12494 r12500 173 173 'LBL_MESSAGES'=>'Messages', 174 174 175 'LBL_NO_ATTACHMENTS'=>'No files to download', 176 'LBL_THERE_ARE'=>'There are ', 177 'LBL_ATTACHMENTS_TO_CHOOSE'=>' attachment(s) to choose from', 178 175 179 ); 176 180 ?>
