Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
mahara
mahara
Commits
827ac6de
Commit
827ac6de
authored
Dec 02, 2007
by
Nigel McNie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Only output the URL for path items that have a URL. Output a : separator between items.
parent
5003ca23
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
htdocs/theme/default/templates/view/artefact.tpl
htdocs/theme/default/templates/view/artefact.tpl
+1
-1
No files found.
htdocs/theme/default/templates/view/artefact.tpl
View file @
827ac6de
{
include
file
=
"header.tpl"
}
{
include
file
=
"columnfullstart.tpl"
}
<h3><a
href=
"
{
$WWWROOT
}
view/view.php?id=
{
$viewid
|
escape
}
"
>
{
$viewtitle
|
escape
}
</a>
{
str
tag
=
by
section
=
view
}
<a
href=
"
{
$WWWROOT
}
user/view.php?id=
{
$viewowner
}
"
>
{
$formattedowner
|
escape
}
</a>
:
{
foreach
from
=
$artefactpath
item
=
path
}{
if
$path.url
}
<a
href=
"
{
$path.url
|
escape
}
"
>
{/
if
}{
$path.title
|
escape
}{
if
$path.url
}
</a>
{/
if
}{/
foreach
}
</h3>
<h3><a
href=
"
{
$WWWROOT
}
view/view.php?id=
{
$viewid
|
escape
}
"
>
{
$viewtitle
|
escape
}
</a>
{
str
tag
=
by
section
=
view
}
<a
href=
"
{
$WWWROOT
}
user/view.php?id=
{
$viewowner
}
"
>
{
$formattedowner
|
escape
}
</a>
:
{
foreach
name
=
path
from
=
$artefactpath
item
=
path
}{
if
$path.url
}
<a
href=
"
{
$path.url
|
escape
}
"
>
{/
if
}{
$path.title
|
escape
}{
if
$path.url
}
</a>
{/
if
}{
if
!
$smarty.foreach.path.last
}
:
{/
if
}{/
foreach
}
</h3>
<div
id=
"view"
>
<div
id=
"bottom-pane"
>
<div
id=
"column-container"
>
...
...
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