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
57b3f9b4
Commit
57b3f9b4
authored
Jun 22, 2009
by
Nigel McNie
Browse files
Remove create_template_form - no more 'create template' button.
parent
983dfe56
Changes
1
Show whitespace changes
Inline
Side-by-side
htdocs/lib/view.php
View file @
57b3f9b4
...
...
@@ -2431,17 +2431,6 @@ function createview_cancel_submit(Pieform $form, $values) {
redirect
(
get_config
(
'wwwroot'
)
.
'view/'
);
}
function
create_template_form
(
$group
=
null
,
$institution
=
null
)
{
$form
=
create_view_form
(
$group
,
$institution
,
null
);
$form
[
'name'
]
=
'createtemplate'
;
$form
[
'elements'
][
'istemplate'
]
=
array
(
'type'
=>
'hidden'
,
'value'
=>
1
,
);
$form
[
'elements'
][
'submit'
][
'value'
]
=
get_string
(
'createtemplate'
,
'view'
);
return
$form
;
}
function
add_feedback_form
(
$attachments
=
false
)
{
global
$USER
;
...
...
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