aboutsummaryrefslogtreecommitdiff
path: root/mod/profile/views/default/profile/box.php
blob: 77c40853608382439855725642fd33222b5cf842 (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
<?php
/**
 * Profile info box
 */

?>
<div class="profile elgg-col-2of3">
	<div class="elgg-inner clearfix">
<?php
	echo elgg_view('profile/sidebar', array('section' => 'details'));
	echo elgg_view('profile/details', array('entity' => elgg_get_page_owner()));
?>
	</div>
</div>

<script type="text/javascript">
	$(document).ready(function() {
		$('#elgg-widget-col-1').css('min-height', $('.profile').outerHeight(true));
	//$(selector).each(function() {
	//	if ($(this).height() > maxHeight) {
	//		maxHeight = $(this).height();
	//	}
	//})
	//$(selector).css('min-height', maxHeight);
	});
</script>