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
b45dd2bf
Commit
b45dd2bf
authored
Jun 24, 2009
by
Richard Mansfield
Browse files
Remove calls to create_template_form() which no longer exists
parent
be12f743
Changes
3
Hide whitespace changes
Inline
Side-by-side
htdocs/admin/site/views.php
View file @
b45dd2bf
...
@@ -59,7 +59,6 @@ $smarty->assign('views', $data->data);
...
@@ -59,7 +59,6 @@ $smarty->assign('views', $data->data);
$smarty
->
assign
(
'institution'
,
'mahara'
);
$smarty
->
assign
(
'institution'
,
'mahara'
);
$smarty
->
assign
(
'pagination'
,
$pagination
[
'html'
]);
$smarty
->
assign
(
'pagination'
,
$pagination
[
'html'
]);
$smarty
->
assign
(
'createviewform'
,
pieform
(
create_view_form
(
null
,
'mahara'
)));
$smarty
->
assign
(
'createviewform'
,
pieform
(
create_view_form
(
null
,
'mahara'
)));
$smarty
->
assign
(
'createtemplateform'
,
pieform
(
create_template_form
(
null
,
'mahara'
)));
$smarty
->
display
(
'view/index.tpl'
);
$smarty
->
display
(
'view/index.tpl'
);
...
...
htdocs/view/groupviews.php
View file @
b45dd2bf
...
@@ -79,7 +79,6 @@ $smarty->assign('member', $member);
...
@@ -79,7 +79,6 @@ $smarty->assign('member', $member);
$smarty
->
assign
(
'views'
,
$data
->
data
);
$smarty
->
assign
(
'views'
,
$data
->
data
);
$smarty
->
assign
(
'pagination'
,
$pagination
[
'html'
]);
$smarty
->
assign
(
'pagination'
,
$pagination
[
'html'
]);
$smarty
->
assign
(
'createviewform'
,
pieform
(
create_view_form
(
$group
->
id
)));
$smarty
->
assign
(
'createviewform'
,
pieform
(
create_view_form
(
$group
->
id
)));
$smarty
->
assign
(
'createtemplateform'
,
pieform
(
create_template_form
(
$group
->
id
)));
if
(
$can_edit
)
{
// && !$shared) {
if
(
$can_edit
)
{
// && !$shared) {
$smarty
->
display
(
'view/index.tpl'
);
$smarty
->
display
(
'view/index.tpl'
);
...
...
htdocs/view/institutionviews.php
View file @
b45dd2bf
...
@@ -78,7 +78,6 @@ $smarty->assign('views', $data->data);
...
@@ -78,7 +78,6 @@ $smarty->assign('views', $data->data);
$smarty
->
assign
(
'institution'
,
$institution
);
$smarty
->
assign
(
'institution'
,
$institution
);
$smarty
->
assign
(
'pagination'
,
$pagination
[
'html'
]);
$smarty
->
assign
(
'pagination'
,
$pagination
[
'html'
]);
$smarty
->
assign
(
'createviewform'
,
pieform
(
create_view_form
(
null
,
$institution
)));
$smarty
->
assign
(
'createviewform'
,
pieform
(
create_view_form
(
null
,
$institution
)));
$smarty
->
assign
(
'createtemplateform'
,
pieform
(
create_template_form
(
null
,
$institution
)));
$smarty
->
display
(
'view/index.tpl'
);
$smarty
->
display
(
'view/index.tpl'
);
...
...
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