HomeHelpTrac

Changeset 13140


Ignore:
Timestamp:
11/04/09 07:33:49 (2 years ago)
Author:
Andrey Prikaznov
Message:
Location:
trunk/modules/boonex/ads
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/modules/boonex/ads/classes/BxAdsModule.php

    r13027 r13140  
    13071307 
    13081308                $sBoxTag = <<<EOF 
    1309 <div> 
    1310     <b>{$sBuyMsg1}</b> 
    1311 </div><br/> 
    1312 <div> 
    1313     <b>{$sBuyDet1}</b>&nbsp;&nbsp;&nbsp;{$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>&nbsp;&nbsp;&nbsp;{$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> 
    13171319</div> 
    13181320EOF; 
    13191321 
    1320                 $sRetHtml .= DesignBoxContent ( $aSqlResStr['Subject'], $sBoxTag, 1); 
     1322                $sRetHtml .= DesignBoxContent($aSqlResStr['Subject'], $sBoxTag, 1); 
    13211323                $sRetHtml .= <<<EOF 
    13221324<form action="{$this->sCurrBrowsedFile}" name="bid_form" method="post"> 
     
    13551357                $sReturnBackC = _t('_bx_ads_Back'); 
    13561358 
     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 
    13571364                // 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']; 
    13621373 
    13631374                $aPlus = array(); 
     
    13731384 
    13741385                $aPlus['sPowDol'] = $sPowDol; 
    1375                 $aPlus['site[\'email\']'] = $site['email']; 
     1386                $aPlus['site_email'] = $site['email']; 
    13761387 
    13771388                $sRetHtml = ''; 
     
    13901401 
    13911402                $sBoxContent = <<<EOF 
    1392 <div> 
    1393     <b>{$sBuyMsg2}</b> 
    1394 </div><br/> 
    1395 <div> 
    1396     <b>{$sBuyDet1}</b>&nbsp;&nbsp;&nbsp;{$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>&nbsp;&nbsp;&nbsp;{$sCustDetails} 
     1409    </div><br/> 
     1410    <div> 
     1411        <a href="{$sGenUrl}">{$sReturnBackC}</a> 
     1412    </div> 
    14001413</div> 
    14011414EOF; 
    1402                 $sRetHtml .= DesignBoxContent ( $sBuyMsg2, $sBoxContent, 1); 
     1415                $sRetHtml .= DesignBoxContent($aSqlResStr['Subject'], $sBoxContent, 1); 
    14031416            } 
    14041417        } 
  • trunk/modules/boonex/ads/install/langs/en.php

    r12807 r13140  
    3030    '_bx_ads_Buy_Now' => 'Buy Now', 
    3131    '_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.', 
    3333    '_bx_ads_BuyDetails1' => 'Buy Now Amount Details:', 
    3434    '_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  
    313313('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'); 
    314314 
    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); 
     315INSERT 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); 
     316INSERT 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); 
     317INSERT 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); 
     318INSERT 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.