First, thanks for the great module!
Second, wouldn't it be better, for the sake of a small performance gain, to move the "show on teasers" and "content type" checks in hook_nodeapi closer to the case statement, so there is no need for all those variable gets and string concatenations if the button ain't going to be displayed.
My $.02 anyways :)
Comments
Comment #1
corbacho commented+1 about this. the
if ($show) {should be as early as possible.Comment #2
jerdiggity commentedGood call. Committed to dev release... Will be committed to next stable release along with a few other fixes.
Thanks!
:)
j