Project

General

Profile

« Previous | Next » 

Revision 1043

Added by Matthias almost 15 years ago

Codechanges to get rid of the empty display(style) declaration "style='display: ;'", and to avoid to generate (hidden) elements if the user isn't alowed to edit one.

View differences:

access.htt
3 3
<table cellpadding="0" cellspacing="0" border="0" width="99%" align="center">
4 4
<tr>
5 5
	<td align="center" valign="top">
6
		
7
		<table cellpadding="0" cellspacing="0" border="0" class="section" style="display: {DISPLAY_USERS};">
6
		<!-- BEGIN users_block -->	
7
		<table cellpadding="0" cellspacing="0" border="0" class="section" {DISPLAY_USERS} >
8 8
		<tr>
9
			<td class="graphic" align="center" valign="middle" rowspan="2">
10
				<a href="{ADMIN_URL}/users/index.php">
11
					<img src="{THEME_URL}/icons/users.png" alt="{USERS}" />
12
				</a>
13
			</td>
14
			<td class="title">
15
				<a href="{ADMIN_URL}/users/index.php">{USERS}</a>
16
			</td>
9
			<td class="graphic" align="center" valign="middle" rowspan="2"><a href="{ADMIN_URL}/users/index.php"><img src="{THEME_URL}/icons/users.png" alt="{USERS}" /></a></td>
10
			<td class="title"><a href="{ADMIN_URL}/users/index.php">{USERS}</a></td>
17 11
		</tr>
18 12
		<tr>
19
			<td class="description">
20
				{USERS_OVERVIEW}
21
			</td>
13
			<td class="description">{USERS_OVERVIEW}</td>
22 14
		</tr>
23 15
		</table>
24
				
25
		
26
		<table cellpadding="0" cellspacing="0" border="0" class="section" style="display: {DISPLAY_GROUPS};">
16
		<!-- END users_block -->
17
		<!-- BEGIN groups_block -->
18
		<table cellpadding="0" cellspacing="0" border="0" class="section" {DISPLAY_GROUPS} >
27 19
		<tr>
28
			<td class="graphic" align="center" valign="middle" rowspan="2">
29
				<a href="{ADMIN_URL}/groups/index.php">
30
					<img src="{THEME_URL}/icons/groups.png" alt="{GROUPS}" />
31
				</a>
32
			</td>
33
			<td class="title">
34
				<a href="{ADMIN_URL}/groups/index.php">{GROUPS}</a>
35
			</td>
20
			<td class="graphic" align="center" valign="middle" rowspan="2"><a href="{ADMIN_URL}/groups/index.php"><img src="{THEME_URL}/icons/groups.png" alt="{GROUPS}" /></a></td>
21
			<td class="title"><a href="{ADMIN_URL}/groups/index.php">{GROUPS}</a></td>
36 22
		</tr>
37 23
		<tr>
38
			<td class="description">
39
				{GROUPS_OVERVIEW}
40
			</td>
24
			<td class="description">{GROUPS_OVERVIEW}</td>
41 25
		</tr>
42 26
		</table>
43
		
27
		<!-- END groups_block -->
44 28
	</td>
45 29
</tr>
46 30
</table>

Also available in: Unified diff