-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.php
More file actions
60 lines (55 loc) · 1.12 KB
/
config.php
File metadata and controls
60 lines (55 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<?php
$config = [
/**
* where to send emails
*
* must be set
*/
'recipient-email' => '',
/**
* message subject
*/
'subject' => 'New message from the contact form',
/**
* server sender address and name
*/
/*
'server-sender' => [
'name' => 'awesome bob',
'email' => 'bob@my-domain.com'
],
*/
/**
* style
*/
'css' => '
.contactForm-input, .contactForm-message, contactForm-label {
display: block;
width: 100%;
max-width: 30em;
box-sizing: border-box;
margin-bottom: 1em;
}
.contactForm-message {
color: white;
padding: 1em;
font-weight: bold;
}
.contactForm-message-error {
background: red;
}
.contactForm-message-info {
background: green;
}
',
/**
* labels
*/
'labels' => [
'name' => 'Your name:',
'email' => 'Your email:',
'message' => 'Your message:',
'submit' => 'Send'
],
];
return $config;