Mercurial > judyates
comparison 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 |
comparison
equal
deleted
inserted
replaced
11:ed6ee381b8fd | 12:2f433df9b961 |
---|---|
217 $author = 'Judy Yates'; | 217 $author = 'Judy Yates'; |
218 $copyright = 'Copyright Judy Yates Artist 2010'; | 218 $copyright = 'Copyright Judy Yates Artist 2010'; |
219 $description = $src; | 219 $description = $src; |
220 $forsale = "true"; | 220 $forsale = "true"; |
221 $paytype ='paypal'; | 221 $paytype ='paypal'; |
222 | 222 $ButtonID = "RAYAWZUUTJ79E"; |
223 | |
224 | |
225 $numOfPrices = 3; | |
223 | 226 |
224 $price1 = '25'; | 227 $price1 = '25'; |
225 $pricecurrency1 = 'USD'; | 228 $pricecurrency1 = 'USD'; |
226 $pricecurrencysymbol1 = '$'; | 229 $pricecurrencysymbol1 = '$'; |
227 $pricesize1 = '16inx20in'; | 230 $pricesize1 = '8"x10" Photo Print'; |
228 $numOfPrices = 1; | 231 |
232 $price2 = '35'; | |
233 $pricecurrency2 = 'USD'; | |
234 $pricecurrencysymbol2 = '$'; | |
235 $pricesize2 = '11"x14" Matted Print'; | |
236 | |
237 $price3 = '40'; | |
238 $pricecurrency3 = 'USD'; | |
239 $pricecurrencysymbol3 = '$'; | |
240 $pricesize3 = '11"x14" Signed Matt'; | |
241 | |
242 | |
243 | |
244 | |
245 | |
229 $imgid = $id; | 246 $imgid = $id; |
230 | 247 |
231 | 248 |
232 $megaString[$id]= " | 249 $megaString[$id]= " |
233 | 250 |
234 { | 251 { |
235 'filetype' : '$filetype', | 252 'filetype' : '$filetype', |
253 'ButtonID' : '$ButtonID', | |
236 'path' : '$path', | 254 'path' : '$path', |
237 'src' : '$src', | 255 'src' : '$src', |
238 'width' : '$width', | 256 'width' : '$width', |
239 'height' : '$height', | 257 'height' : '$height', |
240 'lrgwidth' : '$lrgwidth', | 258 'lrgwidth' : '$lrgwidth', |
248 'paytype' : '$paytype', | 266 'paytype' : '$paytype', |
249 'price1' : '$price1', | 267 'price1' : '$price1', |
250 'pricecurrency1' : '$pricecurrency1', | 268 'pricecurrency1' : '$pricecurrency1', |
251 'pricecurrencysymbol1' : '$pricecurrencysymbol1', | 269 'pricecurrencysymbol1' : '$pricecurrencysymbol1', |
252 'pricesize1' : '$pricesize1', | 270 'pricesize1' : '$pricesize1', |
271 | |
272 'price2' : '$price2', | |
273 'pricecurrency2' : '$pricecurrency2', | |
274 'pricecurrencysymbol2' : '$pricecurrencysymbol2', | |
275 'pricesize2' : '$pricesize2', | |
276 | |
277 'price3' : '$price3', | |
278 'pricecurrency3' : '$pricecurrency3', | |
279 'pricecurrencysymbol3' : '$pricecurrencysymbol3', | |
280 'pricesize3' : '$pricesize3', | |
281 | |
282 | |
253 'numOfPrices' : '$numOfPrices', | 283 'numOfPrices' : '$numOfPrices', |
254 'imgid' : $imgid, | 284 'imgid' : $imgid, |
255 }, | 285 }, |
256 | 286 |
257 "; | 287 "; |