summaryrefslogtreecommitdiff
path: root/templates/icon_browser.tpl
blob: ad79eb5566afe5229a4ea2c36e8d5996af32a842 (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
55
56
57
58
{strip}
<div class="listing themes">
	<div class="header">
		<h1>{tr}Icon Listing{/tr}</h1>
	</div>

	<div class="body">
		<p class="help">
			{tr}These are the icons available in a standard set of icons. Icons from the Tango icon style are displayed here since this is the default style and should be used as refernce. Both sizes <em>large</em> and <em>small</em> are displayed side by side.{/tr}<br />
			Please view the <a class="external" href="http://tango.freedesktop.org/Tango_Icon_Gallery">Tango icon gallery</a> for the originally designated uses of the icons.
		</p>
		<table class="data">
			<tr>
				<th class="width1p" colspan="2">{tr}Default Icons{/tr}</th>
				<th class="width1p" colspan="2">{if $activeIcons}{tr}Active Icons{/tr}{/if}</th>
				<th class="width70p;">{tr}Icon name{/tr}</th>
				<th class="width29p;">{tr}bitweaver uses{/tr}</th>
			</tr>

			{foreach from=$iconNames item=name}
				<tr class="{cycle values="odd,even"}">
					<td>
					{if $defaultIcons.$name}
						{* avoid translation here by not using iexplain *}
						{biticon istyle=tango ipackage=icons iname="small/`$defaultIcons.$name`"}
					{/if}
					</td>
					<td>
					{if $defaultIcons.$name}
						{biticon istyle=tango ipackage=icons iname="large/`$defaultIcons.$name`"}
					{/if}
					</td>
					<td>
					{if $activeIcons.$name}
						{* avoid translation here by not using iexplain *}
						{biticon ipackage=icons iname="small/`$activeIcons.$name`"}
					{/if}
					</td>
					<td>
					{if $activeIcons.$name}
						{biticon ipackage=icons iname="large/`$activeIcons.$name`"}
					{/if}
					</td>
					<td>
						{$name}<br />
						<small>{ldelim}biticon ipackage="icons" iname="{$name}" iexplain="Icon"{rdelim}</small>
					</td>
					<td>
						{if $iconUsage.$name}
							{$iconUsage.$name}
						{/if}
					</td>
				</tr>
			{/foreach}
		</table>
	</div><!-- end .body -->
</div><!-- end .___ -->
{/strip}