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
db5f0fea
Commit
db5f0fea
authored
Sep 08, 2009
by
Richard Mansfield
Browse files
Show tags on view preview
Signed-off-by:
Richard Mansfield
<
richardm@catalyst.net.nz
>
parent
8ba217fe
Changes
2
Show whitespace changes
Inline
Side-by-side
htdocs/theme/raw/templates/view/viewcontent.tpl
View file @
db5f0fea
...
...
@@ -10,4 +10,9 @@
</div>
</div>
</div>
{
if
$tags
}
<div
class=
"viewfooter"
>
<div
class=
"tags"
>
{
str
tag
=
tags
}
:
{
list_tags
owner
=
0
tags
=
$tags
}
</div>
</div>
{/
if
}
</div>
htdocs/view/viewcontent.json.php
View file @
db5f0fea
...
...
@@ -40,6 +40,7 @@ $smarty->assign('viewtitle', $view->get('title'));
$smarty
->
assign
(
'ownername'
,
$view
->
formatted_owner
());
$smarty
->
assign
(
'viewdescription'
,
$view
->
get
(
'description'
));
$smarty
->
assign
(
'viewcontent'
,
$view
->
build_columns
());
$smarty
->
assign
(
'tags'
,
$view
->
get
(
'tags'
));
ob_start
();
$smarty
->
display
(
'view/viewcontent.tpl'
);
$html
=
ob_get_contents
();
...
...
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