blob: 1b2beae5363a4935684d1e8ee1e0866e06f6c0fa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
<?php
/**
* Elgg file browser.
* File renderer.
*
* @package ElggFile
* @author Marcus Povey
* @copyright Curverider Ltd 2008
* @link http://elgg.com/
*/
global $CONFIG;
$tags = $vars['tags'];
$title = $vars['title'];
$desc = $vars['description'];
?>
<div class="file">
<table width="100%">
<tr>
<td valign="top">
<div class="file_icon">
</div>
</td>
<td valign="top">
<div class="title"><?php echo $title; ?></div>
<div class="description"><?php echo $desc; ?></div>
<div class="tags"><?php
foreach ($tags as $tag)
echo "<a href=\"" . $CONFIG->wwwroot . "pg/file/". $_SESSION['user']->username . "/world/?tag=$tag\">$tag</a> ";
?></div>
</td>
</tr>
</table>
</div>
|