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
9cfc2768
Commit
9cfc2768
authored
Dec 17, 2013
by
Aaron Wells
Committed by
Gerrit Code Review
Dec 17, 2013
Browse files
Merge "Tag links now for current owner not just owner = 1 (bug #1196213)"
parents
c680a5f7
2125398d
Changes
2
Show whitespace changes
Inline
Side-by-side
htdocs/lib/mahara.php
View file @
9cfc2768
...
...
@@ -3155,6 +3155,7 @@ function build_portfolio_search_html(&$data) {
$smarty
=
smarty_core
();
$smarty
->
assign_by_ref
(
'data'
,
$data
->
data
);
$smarty
->
assign
(
'owner'
,
$data
->
owner
->
id
);
$data
->
tablerows
=
$smarty
->
fetch
(
'portfoliosearchresults.tpl'
);
$pagination
=
build_pagination
(
array
(
'id'
=>
'results_pagination'
,
...
...
htdocs/theme/raw/templates/portfoliosearchresults.tpl
View file @
9cfc2768
...
...
@@ -6,7 +6,7 @@
<div
class=
"postedon"
>
{
$result
->
ctime
}
</div>
<div
class=
"detail"
>
{
$result
->
description
|
str_shorten_html
:
100
|
strip_tags
|
safe
}
</div>
{
if
$result
->
tags
}
<div
class=
"tags"
><label>
{
str
tag
=
tags
}
:
</label>
{
list_tags
tags
=
$result
->
tags
owner
=
1
}
</div>
<div
class=
"tags"
><label>
{
str
tag
=
tags
}
:
</label>
{
list_tags
tags
=
$result
->
tags
owner
=
$owner
}
</div>
{/
if
}
</div>
</div>
...
...
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