| 1295 |
lars |
1 |
<style>
|
|
|
2 |
ul{
|
|
|
3 |
list-style-type:none;
|
|
|
4 |
}
|
|
|
5 |
</style>
|
|
|
6 |
<script type="text/javascript">
|
|
|
7 |
function checkAll(father)
|
|
|
8 |
{
|
|
|
9 |
for(i=0; i<document.formname.elements.length;i++)
|
|
|
10 |
{
|
|
|
11 |
if(document.formname.elements[i].id==father)
|
|
|
12 |
{
|
|
|
13 |
f_checked=document.formname.elements[i].checked;
|
|
|
14 |
}
|
|
|
15 |
id_arr=document.formname.elements[i].id.split("_");
|
|
|
16 |
if(id_arr[0]==father)
|
|
|
17 |
{
|
|
|
18 |
document.formname.elements[i].checked=f_checked;
|
|
|
19 |
}
|
|
|
20 |
}
|
|
|
21 |
}
|
|
|
22 |
</script>
|
|
|
23 |
<form method="post" action="" name="formname" enctype="multipart/form-data" id="user_rechte_form">
|
|
|
24 |
<input type="hidden" name="{$csrf_name}" value="{$csrf_value}" />
|
|
|
25 |
<table style="width:585px" border="1" cellspacing="0" cellpadding="3">
|
|
|
26 |
<tr bgcolor="#{$webs.bgcolor_links}">
|
|
|
27 |
<td colspan="2">
|
|
|
28 |
<table style="width:100%" border="0" cellspacing="0" cellpadding="0">
|
|
|
29 |
<tr>
|
| 1369 |
lars |
30 |
<td><b>Benutzer-Rechte: ändern</b></td>
|
| 1295 |
lars |
31 |
<td style="width:50%" style="text-align:right"></td>
|
|
|
32 |
</tr>
|
|
|
33 |
</table>
|
|
|
34 |
</td>
|
|
|
35 |
</tr>
|
|
|
36 |
{*if $user.domain==$webs.domain*}
|
|
|
37 |
<tr>
|
|
|
38 |
<td style="width:13%"><b>Login:</b></td>
|
|
|
39 |
<td>{$user.user}</td>
|
|
|
40 |
</tr>
|
|
|
41 |
<tr>
|
|
|
42 |
<td style="width:13%" style="vertical-align:top">
|
|
|
43 |
<b>Rechte:</b>
|
|
|
44 |
</td>
|
|
|
45 |
<td>
|
|
|
46 |
<table border="0" cellspacing="0" cellpadding="0">
|
|
|
47 |
{section loop=$modules name=m_ind}
|
|
|
48 |
<tr>
|
|
|
49 |
<td>
|
|
|
50 |
<input type="checkbox"/>
|
|
|
51 |
</td>
|
|
|
52 |
<td colspan="3">
|
|
|
53 |
{$modules[m_ind].name}
|
|
|
54 |
</td>
|
|
|
55 |
</tr>
|
|
|
56 |
{section loop=$modules[m_ind].tools name=t_ind}
|
|
|
57 |
<tr>
|
|
|
58 |
<td> </td>
|
|
|
59 |
<td>
|
|
|
60 |
<input type="checkbox" onclick="javascript:checkAll({$modules[m_ind].tools[t_ind].ID})" id="{$modules[m_ind].tools[t_ind].ID}"/>
|
|
|
61 |
</td>
|
|
|
62 |
<td colspan="2">
|
|
|
63 |
{$modules[m_ind].tools[t_ind].name}
|
|
|
64 |
</td>
|
|
|
65 |
</tr>
|
|
|
66 |
{section loop=$modules[m_ind].tools[t_ind].properties name=p_ind}
|
|
|
67 |
{assign var=p_id value=$modules[m_ind].tools[t_ind].properties[p_ind].ID}
|
|
|
68 |
<tr>
|
|
|
69 |
<td colspan="2"> </td>
|
|
|
70 |
<td>
|
|
|
71 |
<input type="hidden" name="modules[{$modules[m_ind].ID}][{$modules[m_ind].tools[t_ind].ID}][{$modules[m_ind].tools[t_ind].properties[p_ind].ID}]" value="0">
|
|
|
72 |
<input type="checkbox" name="modules[{$modules[m_ind].ID}][{$modules[m_ind].tools[t_ind].ID}][{$modules[m_ind].tools[t_ind].properties[p_ind].ID}]" value="1"{if ( isset($user.properties[$p_id]))} checked="checked"{/if} id="{$modules[m_ind].tools[t_ind].ID}_{$modules[m_ind].tools[t_ind].properties[p_ind].ID}">
|
|
|
73 |
</td>
|
|
|
74 |
<td>
|
|
|
75 |
{$modules[m_ind].tools[t_ind].properties[p_ind].name}
|
|
|
76 |
</td>
|
|
|
77 |
</tr>
|
|
|
78 |
{/section}
|
|
|
79 |
{/section}
|
|
|
80 |
{/section}
|
|
|
81 |
</table>
|
|
|
82 |
</td>
|
|
|
83 |
</tr>
|
|
|
84 |
{*/if*}
|
|
|
85 |
<tr>
|
|
|
86 |
<td style="text-align:right" colspan="2">
|
|
|
87 |
<input type="hidden" name="ID" value="{$user.ID}"/>
|
|
|
88 |
<input type="hidden" name="action" value="update"/>
|
|
|
89 |
</td>
|
|
|
90 |
</tr>
|
|
|
91 |
</table>
|
|
|
92 |
</form>
|