aboutsummaryrefslogtreecommitdiff
path: root/mod/guidbrowser/views/default/guidbrowser/entity.php
blob: 94fd4e92cc4932d735f1e970e15d6284aba843bf (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
<?php
	/**
	 * Elgg GUID browser
	 * 
	 * @package ElggDevTools
	 * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
	 * @author Marcus Povey <marcus@marcus-povey.co.uk>
	 * @copyright Curverider Ltd 2008
	 * @link http://elgg.com/
	 */

	$guid = $vars['entity_guid'];
	$type = $vars['type'];
	$subtype = $vars['subtype'];
	$full = $vars['full'];
	
?>

<div id="guid-<?php echo $guid; ?>">
	<span onClick="showhide('guid-<?php echo $guid; ?>-full')">
		<table width="100%">
			<tr>
				<td width="50"><b><?php echo $guid; ?></b></td>
				<td><?php echo "$type / $subtype"; ?></td>
				
			</tr>
		</table>
	</span>
	<div id="guid-<?php echo $guid; ?>-full" style="display:none">
		<?php echo $full; ?>
	</div>
</div>