aboutsummaryrefslogtreecommitdiff
path: root/mod/developers/views/default/theme_preview/icons.php
blob: 792818e3123b85ed0560611c4f8d4167f1f732cc (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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<?php
/**
 * Icons CSS
 */

?>
<style>li {margin: 10px; float: left;} ul {background-color: #e0e0e0;}</style>
<div class="elgg-page mal">
	<h1 class="mbs">
		<a href="index.php">Index</a> > <a href="<?php echo $url; ?>"><?php echo $title; ?></a>
	</h1>
	<div class="mbl">
		<a href="widgets.php">< previous</a>&nbsp;&nbsp;next >
	</div>
	<h2>Icon Sprites</h2>
	<ul class="mbl clearfix">
		<li><span class="elgg-icon elgg-icon-settings"></span>Settings</li>
		<li><span class="elgg-icon elgg-icon-friends"></span>Friends</li>
		<li><span class="elgg-icon elgg-icon-help"></span>Help</li>
		<li><span class="elgg-icon elgg-icon-delete"></span>Delete</li>
		<li><span class="elgg-icon elgg-icon-likes"></span>Likes</li>
		<li><span class="elgg-icon elgg-icon-liked"></span>Liked</li>
		<li><span class="elgg-icon elgg-icon-following"></span>Following</li>
		<li><span class="elgg-icon elgg-icon-dragger"></span>Dragger</li>
		<li><span class="elgg-icon elgg-icon-rss"></span>RSS</li>
		<li><span class="elgg-icon elgg-icon-arrow-s"></span>Arrow S</li>
		<li><span class="elgg-icon elgg-icon-hover-menu"></span>Hover Menu</li>
	</ul>
	<h2>Ajax loader</h2>
	<div class="mbl">
		<?php echo elgg_view('graphics/ajax_loader', array('hidden' => false)); ?>
	</div>
	<h2>Avatars</h2>
	<div class="mbl">
		<?php
			$user = new ElggUser();
			$sizes = array('large', 'medium', 'small', 'tiny');
			echo '<table>';
			echo '<tr>';
			foreach ($sizes as $size) {
				echo "<td class=\"center\"><h4>$size</h4></td>";
			}
			echo '</tr>';
			echo '<tr>';
			foreach ($sizes as $size) {
				echo '<td class="phs">';
				echo elgg_view_entity_icon($user, $size, array('hover' => false));
				echo '</td>';
			}
			echo '</tr>';
			echo '</table>';
		?>
	</div>
</div>