Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
finished up commentable integration, adding form to test email sendin…
…g in newsletter manager.
- Loading branch information
1 parent
becc57f
commit f22ee63
Showing
8 changed files
with
91 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<?php | ||
echo $this->element( 'comments/add', array( 'plugin' => 'core', 'fk' => $this->data['Post']['id'] ) ); | ||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,13 @@ | ||
<?php echo $this->Letter->adminOtherHead( $this ); ?> | ||
<h3><?php __( 'Newsletter Preview' ); ?></h3> | ||
<?php | ||
echo $this->Letter->preview( $newsletter['Newsletter']['id'], 'newsletters' ); | ||
?> | ||
|
||
<h3><?php __( 'Test in a mail client' ); ?></h3> | ||
<?php | ||
echo $this->Form->create( 'Newsletter', array( 'action' => 'view' ) ); | ||
echo '<p>'.__( 'Enter the email addresses you would like to send to seperated by a , {comma}.', true ).'</p>'; | ||
echo $this->Form->input( 'email_addresses', array( 'type' => 'textarea', 'class' => 'title', 'value' => 'dogmatic69@gmail.com,carl@php-dev.co.za' ) ); | ||
echo $this->Form->end( 'Send the test' ); | ||
?> |