Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- *** email-before-download.php.original 2012-07-26 11:55:28.938763468 +1000
- --- email-before-download.php 2012-07-26 12:06:26.955958298 +1000
- ***************
- *** 97,102 ****
- --- 97,103 ----
- 'title' => NULL,
- 'file' => NULL,
- 'format' => NULL,
- + 'form_download_format_id' => NULL,
- 'delivered_as' => NULL,
- 'masked'=>NULL,
- 'attachment'=>NULL,
- ***************
- *** 130,137 ****
- $date = date("jS M Y", strtotime($d->date));
- if ($title == NULL || $title == '') $title_tmp .= $d->title . '|';
- $url = $d->url;
- ! $chekboxes .= '<br />' . $d->title. ' <input type="checkbox" checked="true" name="ebd_downloads[]" value="'. $dl_id . '"/>';
- ! $chekboxesL .= '<br /> <input type="checkbox" checked="true" name="ebd_downloads[]" value="'. $dl_id . '"/> '. $d->title;
- }
- }
- --- 131,142 ----
- $date = date("jS M Y", strtotime($d->date));
- if ($title == NULL || $title == '') $title_tmp .= $d->title . '|';
- $url = $d->url;
- ! $d_title = $d->title;
- ! if ($form_download_format_id != NULL) {
- ! $d_title = do_shortcode("[download id=".$dl_id." format=".$form_download_format_id."]");
- ! }
- ! $chekboxes .= '<br />' . $d_title. ' <input type="checkbox" checked="true" name="ebd_downloads[]" value="'. $dl_id . '"/>';
- ! $chekboxesL .= '<br /> <input type="checkbox" checked="true" name="ebd_downloads[]" value="'. $dl_id . '"/> '. $d_title;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement