manage_help.smarty
1.33 KB
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<h2>Existing permissions</h2>
{literal}
<style>
table.pretty {
margin: 0;
padding: 0;
border: 0;
border-top: 1px solid #cccccc;
border-left: 1px solid #cccccc;
}
table.pretty > thead > tr {
border: 0;
margin: 0;
padding: 0;
background-color: #feeeee;
}
table.pretty > thead > tr > th {
border-right: 1px solid #cccccc;
border-bottom: 2px solid #000000;
border-left: 0;
border-right: 0;
padding-left: 5px;
padding-right: 5px;
padding-top: 2px;
padding-bottom: 2px;
}
table.pretty > tbody > tr {
border: 0;
margin: 0;
padding: 0;
background-color: #eeeefe;
}
table.pretty > tbody > tr.odd {
background-color: #eeeefe;
}
table.pretty > tbody > tr.odd {
background-color: #fafafe;
}
table.pretty > tbody > tr > td {
border: 0;
border-right: 1px solid #cccccc;
border-bottom: 1px solid #cccccc;
margin: 0;
padding-top: 2px;
padding-bottom: 2px;
padding-left: 3px;
padding-right: 3px;
}
</style>
{/literal}
<table class="pretty" cellspacing="0" cellpadding="0" border="0">
<thead>
<tr>
<th>Name</th>
</tr>
</thead>
{ foreach item=oHelpReplacement from=$helps }
<tr class="{cycle values="odd,even"}">
<td>
<a href="{$smarty.server.PHP_SELF}?id={$oHelpReplacement->iId}">{ $oHelpReplacement->sName }</a>
</td>
</tr>
{ /foreach }
</table>