User: inactivist Branch: DRUPAL-5 Date: Sun, 25 Feb 2007 22:26:12 +0000 Modified files: /modules/ed_classified ed_classified.module Log message: Per-category expiration durations - enforce some reasonable limits on _submit() - Need to prevent users bypassing normal expiration dates. - If user doesn't (or cannot) select the 'reset ad expiration' option, the expiration date is lesser of of current expiration and tentative new expiration. - If user can and does select 'reset ad expiration' option, the expiration will be the largest value among all selected categories for this ad. - Added some checking to ensure that the user can't skirt permission checking and extend ad duration by manipulating form values on post. Will log if attempt is detected. - Fixed problem with hook_view() - was not displaying the expiration date in body or teasers. Links: http://cvs.drupal.org/diff.php?path=contributions/modules/ed_classified/ed_c...