Subversion-Projekte lars-tiefland.ci

Revision

Revision 1129 | Revision 1295 | Zur aktuellen Revision | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 1129 Revision 1130
Zeile 2... Zeile 2...
2
	ul{
2
	ul{
3
		list-style-type:none;
3
		list-style-type:none;
4
	}
4
	}
5
</style>
5
</style>
6
<script type="text/javascript">
6
<script type="text/javascript">
7
	$(function(){
-
 
8
		$('#rechte').accordion({
-
 
9
			autoHeight: false,
-
 
10
			navigation: true,
-
 
11
			collapsible:true
-
 
12
		});
-
 
13
	})
-
 
14
    function checkAll(father)
7
    function checkAll(father)
15
    {
8
    {
16
        for(i=0; i<document.formname.elements.length;i++)
9
        for(i=0; i<document.formname.elements.length;i++)
17
        {
10
        {
18
            if(document.formname.elements[i].id==father)
11
            if(document.formname.elements[i].id==father)
Zeile 48... Zeile 41...
48
		<tr>
41
		<tr>
49
			<td style="width:13%" style="vertical-align:top">
42
			<td style="width:13%" style="vertical-align:top">
50
				<b>Rechte:</b>
43
				<b>Rechte:</b>
51
			</td>
44
			</td>
52
			<td>
45
			<td>
53
				<div id="rechte">
-
 
54
					{foreach $modules as $module}
-
 
55
					<h3>{$module.name}</h3>
-
 
56
					<div>
-
 
57
						<ul>
-
 
58
						{foreach $module.tools as $tool}
-
 
59
							<li>
-
 
60
								<input type="checkbox" onclick="javascript:checkAll({$tool.ID})" id="{$tool.ID}"/>
-
 
61
								<label for="{$tool.ID}">{$tool.name}</label>
-
 
62
								<ul>
-
 
63
								{foreach $tool.properties as $property}
-
 
64
									<li>
-
 
65
										<input type="hidden" name="modules[{$module.ID}][{$tool.ID}][{$property.ID}]" value="0"/>
-
 
66
										<input type="checkbox" name="modules[{$module.ID}][{$tool.ID}][{$property.ID}]" value="1"{if ( isset($user.properties[$property.ID]))} checked="checked"{/if} id="{$tool.ID}_{$property.ID}"/>
-
 
67
										<label for="{$tool.ID}_{$property.ID}">{$property.name}</label>
-
 
68
									</li>
-
 
69
								{/foreach}
-
 
70
								</ul>
-
 
71
							</li>
-
 
72
						{/foreach}
-
 
73
						</ul>
-
 
74
					</div>
-
 
75
					{/foreach}
-
 
76
				</div>
-
 
77
				<!--<table border="0" cellspacing="0" cellpadding="0">
46
				<table border="0" cellspacing="0" cellpadding="0">
78
				{section loop=$modules name=m_ind}
47
				{section loop=$modules name=m_ind}
79
					<tr>
48
					<tr>
80
						<td>
49
						<td>
81
							<input type="checkbox"/>
50
							<input type="checkbox"/>
82
						</td>
51
						</td>
Zeile 107... Zeile 76...
107
						</td>
76
						</td>
108
					</tr>
77
					</tr>
109
					{/section}
78
					{/section}
110
					{/section}
79
					{/section}
111
				{/section}
80
				{/section}
112
				</table>-->
81
				</table>
113
			</td>
82
			</td>
114
		</tr>
83
		</tr>
115
		{*/if*}
84
		{*/if*}
116
		<tr>
85
		<tr>
117
			<td style="text-align:right" colspan="2">
86
			<td style="text-align:right" colspan="2">