This patch should allow the comment approval module to run on Drupal 5.x

Comments

mikejoconnor’s picture

StatusFileSize
new7.77 KB

I updated the menu from admin/approval to admin/content/approval.

robertdouglass’s picture

Version: 4.7.x-1.0-beta » 4.7.x-1.x-dev
Status: Needs review » Reviewed & tested by the community

use drupal_add_css and some extra logic to measure the vertical height of comments by linebreaks (for adding scrolling div in approval view). Please note that this applies to DRUPAL-4-7!

robertdouglass’s picture

StatusFileSize
new12.77 KB

ahh, the patch.

mikejoconnor’s picture

StatusFileSize
new12.77 KB

Change line 314 from
+ if ($lines > 4 ||Êstrlen($comment) > 512) {
to
+ if ($lines > 4 || strlen($comment) > 512) {

robertdouglass’s picture

Hmmm. Wonder how that got in there. Thanks for catching.

mikejoconnor’s picture

Assigned: Unassigned » mikejoconnor
Status: Reviewed & tested by the community » Closed (fixed)

Committed