Assembla home | Assembla project page
 
Show
Ignore:
Timestamp:
10/23/06 12:02:14 (3 years ago)
Author:
moensch
Message:

Importing com_mls_events 0.1.4 into trunk

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/com_mls_events/mls_events.php

    r36 r37  
    127127        $row->price_payment_instructions = nl2br($row->price_payment_instructions); 
    128128        if($cnf_mls_pp["enabled"] && $cnf_mls_pp["enabled_events"] && $my->id) { 
    129                 $row->price_payment_instructions .= "\n". 
    130                 $row->price_payment_instructions .= "<form action=\"https://".$cnf_mls_pp["validation_url"]."/cgi-bin/webscr\" method=\"POST\">\n"; 
    131                 $row->price_payment_instructions .= "<input type=\"hidden\" name=\"cmd\" value=\"_xclick\">\n"; 
    132                 $row->price_payment_instructions .= "<input type=\"hidden\" name=\"business\" value=\"".$cnf_mls_pp["recipient_email"]."\">\n"; 
    133                 $row->price_payment_instructions .= "<input type=\"hidden\" name=\"item_name\" value=\"".$row->name."\">\n"; 
    134                 $row->price_payment_instructions .= "<input type=\"hidden\" name=\"item_number\" value=\"event_".$row->id."_".$my->id."\">\n"; 
    135                 $row->price_payment_instructions .= "<input type=\"hidden\" name=\"amount\" value=\"".$row->price_advance_sale."\">\n"; 
    136                 $row->price_payment_instructions .= "<input type=\"hidden\" name=\"no_note\" value=\"1\">\n"; 
    137                 $row->price_payment_instructions .= "<input type=\"hidden\" name=\"currency_code\" value=\"".$row->price_currency."\">\n"; 
    138                 $row->price_payment_instructions .= "<input type=\"hidden\" name=\"lc\" value=\"".$row->loc_country."\">\n"; 
    139                 $row->price_payment_instructions .= "<input type=\"image\" src=\"https://".$cnf_mls_pp["validation_url"]."/en_US/i/btn/x-click-but23.gif\" border=\"0\" name=\"submit\" alt=\"Make payments with PayPal - it's fast, free and secure!\">\n"; 
    140                 $row->price_payment_instructions .= "</form>\n"; 
     129                $tmp = ""; 
     130                $tmp .= "<br />". 
     131                $tmp .= "<form action=\"https://".$cnf_mls_pp["validation_url"]."/cgi-bin/webscr\" method=\"POST\">\n"; 
     132                $tmp .= "<input type=\"hidden\" name=\"cmd\" value=\"_xclick\">\n"; 
     133                $tmp .= "<input type=\"hidden\" name=\"business\" value=\"".$cnf_mls_pp["recipient_email"]."\">\n"; 
     134                $tmp .= "<input type=\"hidden\" name=\"item_name\" value=\"".$row->name."\">\n"; 
     135                $tmp .= "<input type=\"hidden\" name=\"item_number\" value=\"event_".$row->id."_".$my->id."\">\n"; 
     136                $tmp .= "<input type=\"hidden\" name=\"amount\" value=\"".$row->price_advance_sale."\">\n"; 
     137                $tmp .= "<input type=\"hidden\" name=\"no_note\" value=\"1\">\n"; 
     138                $tmp .= "<input type=\"hidden\" name=\"currency_code\" value=\"".$row->price_currency."\">\n"; 
     139                $tmp .= "<input type=\"hidden\" name=\"lc\" value=\"".$row->loc_country."\">\n"; 
     140                $tmp .= "<input type=\"image\" src=\"https://".$cnf_mls_pp["validation_url"]."/en_US/i/btn/x-click-but23.gif\" border=\"0\" name=\"submit\" alt=\"Make payments with PayPal - it's fast, free and secure!\">\n"; 
     141                $tmp .= "</form>\n"; 
     142                 
     143                $row->price_payment_instructions .= $tmp; 
    141144        } 
    142145        HTML_MLS_events::showEvent($row,$option, $Itemid);