Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
1dbfb6c7
Commit
1dbfb6c7
authored
Jan 13, 2015
by
Patrick O'Keeffe
Browse files
patch for required send message options (bug 1399063)
Change-Id: Ibad76d6ddafe7a7f78f075679acb3d115beaf5ba
parent
bc592eb7
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/artefact/multirecipientnotification/sendmessage.php
View file @
1dbfb6c7
...
@@ -182,6 +182,7 @@ $form = pieform(array(
...
@@ -182,6 +182,7 @@ $form = pieform(array(
'multiple'
=>
true
,
'multiple'
=>
true
,
'ajaxextraparams'
=>
array
(),
'ajaxextraparams'
=>
array
(),
'width'
=>
'400px'
,
'width'
=>
'400px'
,
'rules'
=>
array
(
'required'
=>
true
),
),
),
'subject'
=>
array
(
'subject'
=>
array
(
'title'
=>
get_string
(
'titlesubject'
,
'artefact.multirecipientnotification'
),
'title'
=>
get_string
(
'titlesubject'
,
'artefact.multirecipientnotification'
),
...
@@ -189,13 +190,14 @@ $form = pieform(array(
...
@@ -189,13 +190,14 @@ $form = pieform(array(
'name'
=>
'subject'
,
'name'
=>
'subject'
,
'size'
=>
'80'
,
'size'
=>
'80'
,
'defaultvalue'
=>
$subject
,
'defaultvalue'
=>
$subject
,
'rules'
=>
array
(
'required'
=>
true
),
),
),
'message'
=>
array
(
'message'
=>
array
(
'type'
=>
'textarea'
,
'type'
=>
'textarea'
,
'title'
=>
$messages
?
get_string
(
'Reply'
,
'group'
)
:
get_string
(
'message'
),
'title'
=>
$messages
?
get_string
(
'Reply'
,
'group'
)
:
get_string
(
'message'
),
'cols'
=>
80
,
'cols'
=>
80
,
'rows'
=>
10
,
'rows'
=>
10
,
'rules'
=>
array
(
'maxlength'
=>
65536
),
'rules'
=>
array
(
'maxlength'
=>
65536
,
'required'
=>
true
),
),
),
'goto'
=>
array
(
'goto'
=>
array
(
'type'
=>
'hidden'
,
'type'
=>
'hidden'
,
...
@@ -258,4 +260,4 @@ function translate_ids_to_names(array $ids) {
...
@@ -258,4 +260,4 @@ function translate_ids_to_names(array $ids) {
}
}
}
}
return
$results
;
return
$results
;
}
}
\ No newline at end of file
Write
Preview
Supports
Markdown
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