Advertisement
Guest User

Untitled

a guest
Jul 25th, 2012
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.53 KB | None | 0 0
  1. *** email-before-download.php.original 2012-07-26 11:55:28.938763468 +1000
  2. --- email-before-download.php 2012-07-26 12:06:26.955958298 +1000
  3. ***************
  4. *** 97,102 ****
  5. --- 97,103 ----
  6. 'title' => NULL,
  7. 'file' => NULL,
  8. 'format' => NULL,
  9. + 'form_download_format_id' => NULL,
  10. 'delivered_as' => NULL,
  11. 'masked'=>NULL,
  12. 'attachment'=>NULL,
  13. ***************
  14. *** 130,137 ****
  15. $date = date("jS M Y", strtotime($d->date));
  16. if ($title == NULL || $title == '') $title_tmp .= $d->title . '|';
  17. $url = $d->url;
  18. ! $chekboxes .= '<br />' . $d->title. ' <input type="checkbox" checked="true" name="ebd_downloads[]" value="'. $dl_id . '"/>';
  19. ! $chekboxesL .= '<br /> <input type="checkbox" checked="true" name="ebd_downloads[]" value="'. $dl_id . '"/> '. $d->title;
  20. }
  21.  
  22. }
  23. --- 131,142 ----
  24. $date = date("jS M Y", strtotime($d->date));
  25. if ($title == NULL || $title == '') $title_tmp .= $d->title . '|';
  26. $url = $d->url;
  27. ! $d_title = $d->title;
  28. ! if ($form_download_format_id != NULL) {
  29. ! $d_title = do_shortcode("[download id=".$dl_id." format=".$form_download_format_id."]");
  30. ! }
  31. ! $chekboxes .= '<br />' . $d_title. ' <input type="checkbox" checked="true" name="ebd_downloads[]" value="'. $dl_id . '"/>';
  32. ! $chekboxesL .= '<br /> <input type="checkbox" checked="true" name="ebd_downloads[]" value="'. $dl_id . '"/> '. $d_title;
  33. }
  34.  
  35. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement