Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
extensions
cc.tadpole.petitionemail
Commits
b264f0f6
Commit
b264f0f6
authored
Nov 21, 2014
by
Jamie McClelland
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
civi 4.5 creates narrow textarea boxes - so specify wider
parent
c81f160b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
petitionemail.php
petitionemail.php
+2
-2
No files found.
petitionemail.php
View file @
b264f0f6
...
...
@@ -223,12 +223,12 @@ function petitionemail_civicrm_buildForm( $formName, &$form ) {
$i
++
;
}
$form
->
add
(
'select'
,
'location_type_id'
,
ts
(
'Email'
),
$location_options
);
$form
->
add
(
'textarea'
,
'recipients'
,
ts
(
"Send petitions to"
));
$form
->
add
(
'textarea'
,
'recipients'
,
ts
(
"Send petitions to"
)
,
'rows=20 cols=100'
);
$form
->
add
(
'select'
,
'message_field'
,
ts
(
'Custom Message Field'
),
$custom_field_options
);
$form
->
add
(
'select'
,
'subject_field'
,
ts
(
'Custom Subject Field'
),
$custom_field_options
);
$form
->
add
(
'textarea'
,
'default_message'
,
ts
(
'Default Message'
),
'rows=20'
);
$form
->
add
(
'textarea'
,
'default_message'
,
ts
(
'Default Message'
),
'rows=20
cols=100
'
);
$form
->
add
(
'text'
,
'subject'
,
ts
(
'Default Email Subject Line'
),
array
(
'size'
=>
70
));
$form
->
add
(
'textarea'
,
'links'
,
ts
(
'Links to sign the petition'
),
'rows=5'
)
->
freeze
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment