| @@ 762-770 (lines=9) @@ | ||
| 759 | * |
|
| 760 | * action to show one campaign... |
|
| 761 | */ |
|
| 762 | public function viewcampaign($request) |
|
| 763 | { |
|
| 764 | $id = intval($request->param("ID")); |
|
| 765 | $this->campaign = CampaignMonitorCampaign::get()->byID($id); |
|
| 766 | if (!$this->campaign) { |
|
| 767 | return $this->httpError(404, _t("CAMPAIGNMONITORSIGNUPPAGE.CAMPAIGN_NOT_FOUND", "Message not found.")); |
|
| 768 | } |
|
| 769 | return array(); |
|
| 770 | } |
|
| 771 | ||
| 772 | /** |
|
| 773 | * |
|
| @@ 776-784 (lines=9) @@ | ||
| 773 | * |
|
| 774 | * action to show one campaign TEXT ONLY... |
|
| 775 | */ |
|
| 776 | public function viewcampaigntextonly($request) |
|
| 777 | { |
|
| 778 | $id = intval($request->param("ID")); |
|
| 779 | $this->campaign = CampaignMonitorCampaign::get()->byID($id); |
|
| 780 | if (!$this->campaign) { |
|
| 781 | return $this->httpError(404, _t("CAMPAIGNMONITORSIGNUPPAGE.CAMPAIGN_NOT_FOUND", "Message not found.")); |
|
| 782 | } |
|
| 783 | return array(); |
|
| 784 | } |
|
| 785 | ||
| 786 | /** |
|
| 787 | * |
|