Commit info for scoop/lib/Scoop:
Modified Files:
Ads.pm ApacheHandler.pm
Log Message:
Checking in code from bugs 21 (from janra), 53 (also from janra), and 55. This
means various subscriptions and payment fixes, a hotlist fix, some HTML removed
from the code, new block descriptions, some other tweaks. Also, janra's new
default db is going in, with a CSS-ified layout.
-keith
Index: Ads.pm
===================================================================
RCS file: /cvs/scoop/scoop/lib/Scoop/Ads.pm,v
retrieving revision 1.34
retrieving revision 1.35
diff -r1.34 -r1.35
332c332
< <a href="$base_pay_url;type=cc">Purchase with credit card</a><br \>| if ($S->{UI}->{VARS}->{ads_use_cc});
---
> <a href="$base_pay_url;type=cc">Purchase with credit card</a><br \>| if ($S->{UI}->{VARS}->{payment_use_cc});
334c334
< <a href="$base_pay_url;type=paypal">Purchase with Paypal</a><br \>| if ($S->{UI}->{VARS}->{ads_use_paypal});
---
> <a href="$base_pay_url;type=paypal">Purchase with Paypal</a><br \>| if ($S->{UI}->{VARS}->{payment_use_paypal});
Index: ApacheHandler.pm
===================================================================
RCS file: /cvs/scoop/scoop/lib/Scoop/ApacheHandler.pm,v
retrieving revision 1.73
retrieving revision 1.74
diff -r1.73 -r1.74
270,271c270,272
< Using the op_templates var, translates any path info into params, and places
< them in the params, as if they were normal.
---
> Parse the URL by pulling off the op from the front of the path, calling
> _find_op_template to choose the correct template from the ops table, then
> using that template to put different parts of the path in various params.
358c359
< Search through the op_templates var until we find one for op that matches any
---
> Search through the templates in the ops table until we find one that matches any