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
c54107c6
Commit
c54107c6
authored
Jul 08, 2008
by
Richard Mansfield
Browse files
Return to group views after editing group view layout
parent
848aef31
Changes
2
Hide whitespace changes
Inline
Side-by-side
htdocs/theme/default/templates/view/blocks.tpl
View file @
c54107c6
...
...
@@ -63,7 +63,10 @@
<input
class=
"submit"
type=
"submit"
value=
"
{
str
tag
=
'next'
}
"
>
</form>
{
else
}
<form
action=
"
{
$WWWROOT
}
view/"
method=
"GET"
>
<form
action=
"
{
$WWWROOT
}
view/
{
if
$groupid
}
groupviews.php
{/
if
}
"
method=
"GET"
>
{
if
$groupid
}
<input
type=
"hidden"
name=
"group"
value=
"
{
$groupid
}
"
>
{/
if
}
<input
class=
"submit"
type=
"submit"
value=
"
{
str
tag
=
'done'
}
"
>
</form>
{/
if
}
...
...
htdocs/view/blocks.php
View file @
c54107c6
...
...
@@ -114,6 +114,7 @@ $smarty->assign('formurl', get_config('wwwroot') . 'view/blocks.php');
$smarty
->
assign
(
'category'
,
$category
);
$smarty
->
assign
(
'new'
,
$new
);
$smarty
->
assign
(
'view'
,
$view
->
get
(
'id'
));
$smarty
->
assign
(
'groupid'
,
$view
->
get
(
'group'
));
$smarty
->
assign
(
'can_change_layout'
,
(
!
$USER
->
get_account_preference
(
'addremovecolumns'
)
||
(
$view
->
get
(
'numcolumns'
)
>
1
&&
$view
->
get
(
'numcolumns'
)
<
5
)));
$smarty
->
display
(
'view/blocks.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