css
3 years ago
images
3 years ago
js
3 years ago
admin.php
3 years ago
class-grunion-contact-form-endpoint.php
1 year ago
grunion-contact-form.php
3 years ago
grunion-editor-view.php
4 years ago
grunion-form-view.php
3 years ago
grunion-response-email-template.php
3 years ago
grunion-response-email-template.php
31 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Grunion Contact Form Template |
| 4 | * The template contains several placeholders: |
| 5 | * %1$s is the hero text to display above the response |
| 6 | * %2$s is the response itself. |
| 7 | * %3$s is a link to the response page in wp-admin |
| 8 | * %4$s is a link to the embedded form to allow the site owner to edit it to change their email address. |
| 9 | * %5$s is the footer HTML. |
| 10 | * |
| 11 | * @package automattic/jetpack |
| 12 | */ |
| 13 | |
| 14 | // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable -- used in grunion-contact-form.php |
| 15 | $template = ' |
| 16 | <!doctype html> |
| 17 | <html xmlns="http://www.w3.org/1999/xhtml"> |
| 18 | <body> |
| 19 | <!-- title --> |
| 20 | %1$s |
| 21 | |
| 22 | <!-- response --> |
| 23 | <p>%2$s</p> |
| 24 | %3$s |
| 25 | %4$s |
| 26 | <!-- footer --> |
| 27 | <p>%5$s</p> |
| 28 | </body> |
| 29 | </html> |
| 30 | '; |
| 31 |