diff perl/make_gallery_js.pl @ 12:2f433df9b961 judyates

[svn r13] Modified esgallery source to enable multiple paypal buttons; got the photo gallery operational and tested.
author rlm
date Mon, 12 Apr 2010 03:24:08 -0400
parents ed6ee381b8fd
children f16185fe9ed9
line wrap: on
line diff
     1.1 --- a/perl/make_gallery_js.pl	Mon Apr 12 02:31:43 2010 -0400
     1.2 +++ b/perl/make_gallery_js.pl	Mon Apr 12 03:24:08 2010 -0400
     1.3 @@ -219,13 +219,30 @@
     1.4  $description = $src;
     1.5  $forsale = "true";
     1.6  $paytype ='paypal';
     1.7 +$ButtonID = "RAYAWZUUTJ79E";
     1.8  
     1.9  
    1.10 +$numOfPrices = 3;
    1.11 +
    1.12  $price1 = '25';
    1.13  $pricecurrency1 = 'USD';
    1.14  $pricecurrencysymbol1 = '$'; 
    1.15 -$pricesize1 = '16inx20in';
    1.16 -$numOfPrices = 1;
    1.17 +$pricesize1 = '8"x10" Photo Print';
    1.18 +
    1.19 +$price2 = '35';
    1.20 +$pricecurrency2 = 'USD';
    1.21 +$pricecurrencysymbol2 = '$'; 
    1.22 +$pricesize2 = '11"x14" Matted Print';
    1.23 +
    1.24 +$price3 = '40';
    1.25 +$pricecurrency3 = 'USD';
    1.26 +$pricecurrencysymbol3 = '$'; 
    1.27 +$pricesize3 = '11"x14" Signed Matt';
    1.28 +
    1.29 +
    1.30 +
    1.31 +
    1.32 +
    1.33  $imgid = $id;
    1.34  
    1.35  
    1.36 @@ -233,6 +250,7 @@
    1.37  
    1.38  	{
    1.39  	'filetype' : '$filetype',
    1.40 +	'ButtonID' : '$ButtonID',
    1.41  	'path' : '$path',
    1.42  	'src' : '$src',
    1.43  	'width' : '$width',
    1.44 @@ -250,6 +268,18 @@
    1.45  	'pricecurrency1' : '$pricecurrency1',
    1.46  	'pricecurrencysymbol1' : '$pricecurrencysymbol1',
    1.47  	'pricesize1' : '$pricesize1',
    1.48 +	
    1.49 +	'price2' : '$price2',
    1.50 +	'pricecurrency2' : '$pricecurrency2',
    1.51 +	'pricecurrencysymbol2' : '$pricecurrencysymbol2',
    1.52 +	'pricesize2' : '$pricesize2',
    1.53 +	
    1.54 +	'price3' : '$price3',
    1.55 +	'pricecurrency3' : '$pricecurrency3',
    1.56 +	'pricecurrencysymbol3' : '$pricecurrencysymbol3',
    1.57 +	'pricesize3' : '$pricesize3',
    1.58 +	
    1.59 +	
    1.60  	'numOfPrices' : '$numOfPrices',
    1.61  	'imgid' : $imgid,
    1.62  	},