Changeset 13140
- Timestamp:
- 11/04/09 07:33:49 (2 years ago)
- Location:
- trunk/modules/boonex/ads
- Files:
-
- 3 edited
-
classes/BxAdsModule.php (modified) (4 diffs)
-
install/langs/en.php (modified) (1 diff)
-
install/sql/install.sql (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/boonex/ads/classes/BxAdsModule.php
r13027 r13140 1307 1307 1308 1308 $sBoxTag = <<<EOF 1309 <div> 1310 <b>{$sBuyMsg1}</b> 1311 </div><br/> 1312 <div> 1313 <b>{$sBuyDet1}</b> {$sCustDetails} 1314 </div><br/> 1315 <div> 1316 <input class="button" type="submit" onclick="javascript:this.value='Wait...';this.disabled=true;document.bid_form.submit();" value="{$sContinue}" /> 1309 <div class="dbContent"> 1310 <div> 1311 <b>{$sBuyMsg1}</b> 1312 </div><br/> 1313 <div> 1314 <b>{$sBuyDet1}</b> {$sCustDetails} 1315 </div><br/> 1316 <div> 1317 <input class="button" type="submit" onclick="javascript:this.value='Wait...';this.disabled=true;document.bid_form.submit();" value="{$sContinue}" /> 1318 </div> 1317 1319 </div> 1318 1320 EOF; 1319 1321 1320 $sRetHtml .= DesignBoxContent ($aSqlResStr['Subject'], $sBoxTag, 1);1322 $sRetHtml .= DesignBoxContent($aSqlResStr['Subject'], $sBoxTag, 1); 1321 1323 $sRetHtml .= <<<EOF 1322 1324 <form action="{$this->sCurrBrowsedFile}" name="bid_form" method="post"> … … 1355 1357 $sReturnBackC = _t('_bx_ads_Back'); 1356 1358 1359 bx_import('BxDolEmailTemplates'); 1360 $rEmailTemplate = new BxDolEmailTemplates(); 1361 $aTemplate = $rEmailTemplate->getTemplate('t_BuyNow', $this->_iVisitorID) ; 1362 $aTemplateS = $rEmailTemplate->getTemplate('t_BuyNowS', $this->_iVisitorID) ; 1363 1357 1364 // Send email notification 1358 $sMessageB = getParam( "t_BuyNow" ); 1359 $sMessageS = getParam( "t_BuyNowS" ); 1360 $sSubject = getParam('t_BuyNow_subject'); 1361 $sSubjectS = getParam('t_BuyNowS_subject'); 1365 // $sMessageB = getParam( "t_BuyNow" ); 1366 // $sMessageS = getParam( "t_BuyNowS" ); 1367 // $sSubject = getParam('t_BuyNow_subject'); 1368 // $sSubjectS = getParam('t_BuyNowS_subject'); 1369 $sMessageB = $aTemplate['Body']; 1370 $sMessageS = $aTemplateS['Body']; 1371 $sSubject = $aTemplate['Subject']; 1372 $sSubjectS = $aTemplateS['Subject']; 1362 1373 1363 1374 $aPlus = array(); … … 1373 1384 1374 1385 $aPlus['sPowDol'] = $sPowDol; 1375 $aPlus['site [\'email\']'] = $site['email'];1386 $aPlus['site_email'] = $site['email']; 1376 1387 1377 1388 $sRetHtml = ''; … … 1390 1401 1391 1402 $sBoxContent = <<<EOF 1392 <div> 1393 <b>{$sBuyMsg2}</b> 1394 </div><br/> 1395 <div> 1396 <b>{$sBuyDet1}</b> {$sCustDetails} 1397 </div><br/> 1398 <div> 1399 <a href="{$sGenUrl}">{$sReturnBackC}</a> 1403 <div class="dbContent"> 1404 <div> 1405 <b>{$sBuyMsg2}</b> 1406 </div><br/> 1407 <div> 1408 <b>{$sBuyDet1}</b> {$sCustDetails} 1409 </div><br/> 1410 <div> 1411 <a href="{$sGenUrl}">{$sReturnBackC}</a> 1412 </div> 1400 1413 </div> 1401 1414 EOF; 1402 $sRetHtml .= DesignBoxContent ( $sBuyMsg2, $sBoxContent, 1);1415 $sRetHtml .= DesignBoxContent($aSqlResStr['Subject'], $sBoxContent, 1); 1403 1416 } 1404 1417 } -
trunk/modules/boonex/ads/install/langs/en.php
r12807 r13140 30 30 '_bx_ads_Buy_Now' => 'Buy Now', 31 31 '_bx_ads_wholesale' => 'wholesale', 32 '_bx_ads_BuyMsg1' => 'You have chosen the "Buy Now" option to purchase the item above. If you wish to proceed and make an immediate purchase of this item at the price listed below, please click the " Buy Now" button. This will close the auction allowing you and the seller to complete the transaction.',32 '_bx_ads_BuyMsg1' => 'You have chosen the "Buy Now" option to purchase the item above. If you wish to proceed and make an immediate purchase of this item at the price listed below, please click the "Continue" button. This will close the auction allowing you and the seller to complete the transaction.', 33 33 '_bx_ads_BuyDetails1' => 'Buy Now Amount Details:', 34 34 '_bx_ads_BuyMsg2' => 'Your "Buy it Now" bid has been received. Please contact the seller to complete the transaction.', -
trunk/modules/boonex/ads/install/sql/install.sql
r12808 r13140 313 313 ('t_sbsAdsRates', 'Ad was rated', '<html><head></head><body style="font: 12px Verdana; color:#000000"> <p><b>Dear <RealName></b>,</p><br /><p>The ad you subscribed to was rated!</p><br /> <p>Click <a href="<ViewLink>">here</a> to view it.</p><br /> <p><b>Thank you for using our services!</b></p> <p>--</p> <p style="font: bold 10px Verdana; color:red"><SiteName> mail delivery system!!! <br />Auto-generated e-mail, please, do not reply!!!</p></body></html>', 'New ad rates subscription.', '0'); 314 314 315 INSERT INTO `sys_email_templates` VALUES(NULL, 't_BuyNow', 'You have purchased an item', '<html><head></head><body style="font: 12px Verdana; color:#000000">\r\n<div style="border:1px solid #CCCCCC;">\r\n<div style="color:#666666; font-weight:bold; height:23px; padding:3px 0px 0px 6px; text-transform:uppercase;">\r\nCongratulations! <String1>.\r\n</div>\r\n<div style="padding:3px 3px 10px;">\r\nItem title: <Subject><br/>\r\nSeller`s Name: <NickName><br/>\r\nSeller`s email: <EmailS><br/><br/>\r\nBuyer Name: <NickNameB><br/>\r\nBuyer email: <EmailB><br/><br/>\r\nPrice details: <sCustDetails><br/><br/>\r\nLink to Item<br/>\r\n<a href="<ShowAdvLnk>"><ShowAdvLnk></a><br/><br/>\r\nContact the <Who> directly to arrange payment and delivery. To avoid fraud, we recommend dealing locally, avoiding Western Union and wire transfers.<br/><br/>\r\nThank you for using our site,<br/>\r\n<sPowDol><br/>\r\nP.S. If you ever need support or have comments for us, e-mail us at <site [''email'']></div></div>\r\n</body></html>', 'BuyNow notification letter template for Buyer', 0);316 INSERT INTO `sys_email_templates` VALUES(NULL, 't_BuyNow', 'You have purchased an item', '<html><head></head><body style="font: 12px Verdana; color:#000000">\r\n<div style="border:1px solid #CCCCCC;">\r\n<div style="color:#666666; font-weight:bold; height:23px; padding:3px 0px 0px 6px; text-transform:uppercase;">\r\nCongratulations! <String1>.\r\n</div>\r\n<div style="padding:3px 3px 10px;">\r\nItem title: <Subject><br/>\r\nSeller`s Name: <NickName><br/>\r\nSeller`s email: <EmailS><br/><br/>\r\nBuyer Name: <NickNameB><br/>\r\nBuyer email: <EmailB><br/><br/>\r\nPrice details: <sCustDetails><br/><br/>\r\nLink to Item<br/>\r\n<a href="<ShowAdvLnk>"><ShowAdvLnk></a><br/><br/>\r\nContact the <Who> directly to arrange payment and delivery. To avoid fraud, we recommend dealing locally, avoiding Western Union and wire transfers.<br/><br/>\r\nThank you for using our site,<br/>\r\n<sPowDol><br/>\r\nP.S. If you ever need support or have comments for us, e-mail us at <site [''email'']></div></div>\r\n</body></html>', 'BuyNow notification letter template for Buyer', 1);317 INSERT INTO `sys_email_templates` VALUES(NULL, 't_BuyNowS', 'An item offered by you has been purchased', '<html><head></head><body style="font: 12px Verdana; color:#000000">\r\n<div style="border:1px solid #CCCCCC;">\r\n<div style="color:#666666; font-weight:bold; height:23px; padding:3px 0px 0px 6px; text-transform:uppercase;">\r\nCongratulations! <String1>.\r\n</div>\r\n<div style="padding:3px 3px 10px;">\r\nItem title: <Subject><br/>\r\nSeller`s Name: <NickName><br/>\r\nSeller`s email: <EmailS><br/><br/>\r\nBuyer Name: <NickNameB><br/>\r\nBuyer email: <EmailB><br/><br/>\r\nPrice details: <sCustDetails><br/><br/>\r\nLink to Item<br/>\r\n<a href="<ShowAdvLnk>"><ShowAdvLnk></a><br/><br/>\r\nContact the <Who> directly to arrange payment and delivery. To avoid fraud, we recommend dealing locally, avoiding Western Union and wire transfers.<br/><br/>\r\nThank you for using our site,<br/>\r\n<sPowDol><br/>\r\nP.S. If you ever need support or have comments for us, e-mail us at <site [''email'']></div></div>\r\n</body></html>', 'BuyNow notification letter template for Seller', 0);318 INSERT INTO `sys_email_templates` VALUES(NULL, 't_BuyNowS', 'An item offered by you has been purchased', '<html><head></head><body style="font: 12px Verdana; color:#000000">\r\n<div style="border:1px solid #CCCCCC;">\r\n<div style="color:#666666; font-weight:bold; height:23px; padding:3px 0px 0px 6px; text-transform:uppercase;">\r\nCongratulations! <String1>.\r\n</div>\r\n<div style="padding:3px 3px 10px;">\r\nItem title: <Subject><br/>\r\nSeller`s Name: <NickName><br/>\r\nSeller`s email: <EmailS><br/><br/>\r\nBuyer Name: <NickNameB><br/>\r\nBuyer email: <EmailB><br/><br/>\r\nPrice details: <sCustDetails><br/><br/>\r\nLink to Item<br/>\r\n<a href="<ShowAdvLnk>"><ShowAdvLnk></a><br/><br/>\r\nContact the <Who> directly to arrange payment and delivery. To avoid fraud, we recommend dealing locally, avoiding Western Union and wire transfers.<br/><br/>\r\nThank you for using our site,<br/>\r\n<sPowDol><br/>\r\nP.S. If you ever need support or have comments for us, e-mail us at <site [''email'']></div></div>\r\n</body></html>', 'BuyNow notification letter template for Seller', 1);315 INSERT INTO `sys_email_templates` VALUES(NULL, 't_BuyNow', 'You have purchased an item', '<html><head></head><body style="font: 12px Verdana; color:#000000">\r\n<div style="border:1px solid #CCCCCC;">\r\n<div style="color:#666666; font-weight:bold; height:23px; padding:3px 0px 0px 6px; text-transform:uppercase;">\r\nCongratulations! <String1>.\r\n</div>\r\n<div style="padding:3px 3px 10px;">\r\nItem title: <Subject><br/>\r\nSeller`s Name: <NickName><br/>\r\nSeller`s email: <EmailS><br/><br/>\r\nBuyer Name: <NickNameB><br/>\r\nBuyer email: <EmailB><br/><br/>\r\nPrice details: <sCustDetails><br/><br/>\r\nLink to Item<br/>\r\n<a href="<ShowAdvLnk>"><ShowAdvLnk></a><br/><br/>\r\nContact the <Who> directly to arrange payment and delivery. To avoid fraud, we recommend dealing locally, avoiding Western Union and wire transfers.<br/><br/>\r\nThank you for using our site,<br/>\r\n<sPowDol><br/>\r\nP.S. If you ever need support or have comments for us, e-mail us at <site_email></div></div>\r\n</body></html>', 'BuyNow notification letter template for Buyer', 0); 316 INSERT INTO `sys_email_templates` VALUES(NULL, 't_BuyNow', 'You have purchased an item', '<html><head></head><body style="font: 12px Verdana; color:#000000">\r\n<div style="border:1px solid #CCCCCC;">\r\n<div style="color:#666666; font-weight:bold; height:23px; padding:3px 0px 0px 6px; text-transform:uppercase;">\r\nCongratulations! <String1>.\r\n</div>\r\n<div style="padding:3px 3px 10px;">\r\nItem title: <Subject><br/>\r\nSeller`s Name: <NickName><br/>\r\nSeller`s email: <EmailS><br/><br/>\r\nBuyer Name: <NickNameB><br/>\r\nBuyer email: <EmailB><br/><br/>\r\nPrice details: <sCustDetails><br/><br/>\r\nLink to Item<br/>\r\n<a href="<ShowAdvLnk>"><ShowAdvLnk></a><br/><br/>\r\nContact the <Who> directly to arrange payment and delivery. To avoid fraud, we recommend dealing locally, avoiding Western Union and wire transfers.<br/><br/>\r\nThank you for using our site,<br/>\r\n<sPowDol><br/>\r\nP.S. If you ever need support or have comments for us, e-mail us at <site_email></div></div>\r\n</body></html>', 'BuyNow notification letter template for Buyer', 1); 317 INSERT INTO `sys_email_templates` VALUES(NULL, 't_BuyNowS', 'An item offered by you has been purchased', '<html><head></head><body style="font: 12px Verdana; color:#000000">\r\n<div style="border:1px solid #CCCCCC;">\r\n<div style="color:#666666; font-weight:bold; height:23px; padding:3px 0px 0px 6px; text-transform:uppercase;">\r\nCongratulations! <String1>.\r\n</div>\r\n<div style="padding:3px 3px 10px;">\r\nItem title: <Subject><br/>\r\nSeller`s Name: <NickName><br/>\r\nSeller`s email: <EmailS><br/><br/>\r\nBuyer Name: <NickNameB><br/>\r\nBuyer email: <EmailB><br/><br/>\r\nPrice details: <sCustDetails><br/><br/>\r\nLink to Item<br/>\r\n<a href="<ShowAdvLnk>"><ShowAdvLnk></a><br/><br/>\r\nContact the <Who> directly to arrange payment and delivery. To avoid fraud, we recommend dealing locally, avoiding Western Union and wire transfers.<br/><br/>\r\nThank you for using our site,<br/>\r\n<sPowDol><br/>\r\nP.S. If you ever need support or have comments for us, e-mail us at <site_email></div></div>\r\n</body></html>', 'BuyNow notification letter template for Seller', 0); 318 INSERT INTO `sys_email_templates` VALUES(NULL, 't_BuyNowS', 'An item offered by you has been purchased', '<html><head></head><body style="font: 12px Verdana; color:#000000">\r\n<div style="border:1px solid #CCCCCC;">\r\n<div style="color:#666666; font-weight:bold; height:23px; padding:3px 0px 0px 6px; text-transform:uppercase;">\r\nCongratulations! <String1>.\r\n</div>\r\n<div style="padding:3px 3px 10px;">\r\nItem title: <Subject><br/>\r\nSeller`s Name: <NickName><br/>\r\nSeller`s email: <EmailS><br/><br/>\r\nBuyer Name: <NickNameB><br/>\r\nBuyer email: <EmailB><br/><br/>\r\nPrice details: <sCustDetails><br/><br/>\r\nLink to Item<br/>\r\n<a href="<ShowAdvLnk>"><ShowAdvLnk></a><br/><br/>\r\nContact the <Who> directly to arrange payment and delivery. To avoid fraud, we recommend dealing locally, avoiding Western Union and wire transfers.<br/><br/>\r\nThank you for using our site,<br/>\r\n<sPowDol><br/>\r\nP.S. If you ever need support or have comments for us, e-mail us at <site_email></div></div>\r\n</body></html>', 'BuyNow notification letter template for Seller', 1);
Note: See TracChangeset
for help on using the changeset viewer.