Project

General

Profile

« Previous | Next » 

Revision 1043

Added by Matthias over 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:

trunk/CHANGELOG
12 12

  
13 13
------------------------------------- 2.8.0 -------------------------------------
14 14
08-July-2009 Dietrich Roland Pehlke
15
!	admin -> addons -> index.php	codechanges
16
!	admin -> access -> index.php	codechanges
17
	Codechanges to get rid of the empty display(style) declaration "style='display: ;'",
18
	and to avoid to generate (hidden) elements if the user isn't alowed to edit one.
19
!	wb_theme|classic_theme|argos_theme -> templates -> addons.htt
20
!	wb_theme|classic_theme|argos_theme -> templates -> access.htt
21
	add block-comments
15 22
#	Bugfix inside wb/admin/groups/get_permissions.php - replacing wrong "AND" within "OR" in line 64
16 23
	if one checkbox of "user" or "group" is selected (like in line 178; advanced settings).
17 24
07-July-2009 Matthias Gallas
trunk/wb/admin/access/index.php
30 30
// Setup template object
31 31
$template = new Template(THEME_PATH.'/templates');
32 32
$template->set_file('page', 'access.htt');
33

  
33 34
$template->set_block('page', 'main_block', 'main');
35
$template->set_block('main_block', 'users_block', 'user');
36
$template->set_block('main_block', 'groups_block', 'group');
34 37

  
35 38
// Insert values into the template object
36 39
$template->set_var(array(
37
								'ADMIN_URL' => ADMIN_URL,
38
								'THEME_URL' => THEME_URL,
39
								'WB_URL' => WB_URL
40
								)
41
						);
40
		'ADMIN_URL' => ADMIN_URL,
41
		'THEME_URL' => THEME_URL,
42
		'WB_URL' => WB_URL
43
	)
44
);
42 45

  
43
// Insert permission values into the template object
44
if($admin->get_permission('users') != true) {
45
	$template->set_var('DISPLAY_USERS', 'none');
46
}
47
if($admin->get_permission('groups') != true) {
48
	$template->set_var('DISPLAY_GROUPS', 'none');
49
}
46
/**
47
 *	Insert permission values into the template object
48
 *	Deprecated - as we are using blocks.
49
 */
50
$display_none = "style=\"display: none;\"";
51
if($admin->get_permission('users') != true)	$template->set_var('DISPLAY_USERS', $display_none);
52
if($admin->get_permission('groups') != true) $template->set_var('DISPLAY_GROUPS', $display_none);
50 53

  
51 54
// Insert section names and descriptions
52 55
$template->set_var(array(
53
								'USERS' => $MENU['USERS'],
54
								'GROUPS' => $MENU['GROUPS'],
55
								'ACCESS' => $MENU['ACCESS'],
56
								'USERS_OVERVIEW' => $OVERVIEW['USERS'],
57
								'GROUPS_OVERVIEW' => $OVERVIEW['GROUPS'],
58
								)
59
						);
56
		'USERS' => $MENU['USERS'],
57
		'GROUPS' => $MENU['GROUPS'],
58
		'ACCESS' => $MENU['ACCESS'],
59
		'USERS_OVERVIEW' => $OVERVIEW['USERS'],
60
		'GROUPS_OVERVIEW' => $OVERVIEW['GROUPS'],
61
	)
62
);
60 63

  
64
if ( $admin->get_permission('users') == true )	$template->parse('main_block', "users_block", true);
65
if ( $admin->get_permission('groups') == true )	$template->parse('main_block', "groups_block", true);
66

  
61 67
// Parse template object
62 68
$template->parse('main', 'main_block', false);
63 69
$template->pparse('output', 'page');
trunk/wb/admin/addons/index.php
34 34

  
35 35
// Insert values into the template object
36 36
$template->set_var(array(
37
								'ADMIN_URL' => ADMIN_URL,
38
								'THEME_URL' => THEME_URL,
39
								'WB_URL' => WB_URL
40
								)
41
						);
37
		'ADMIN_URL' => ADMIN_URL,
38
		'THEME_URL' => THEME_URL,
39
		'WB_URL' => WB_URL
40
	)
41
);
42 42

  
43
// Insert permission values into the template object
44
if($admin->get_permission('modules') != true) {
45
	$template->set_var('DISPLAY_MODULES', 'none');
46
}
47
if($admin->get_permission('templates') != true) {
48
	$template->set_var('DISPLAY_TEMPLATES', 'none');
49
}
50
if($admin->get_permission('languages') != true) {
51
	$template->set_var('DISPLAY_LANGUAGES', 'none');
52
}
53
if(!isset($_GET['advanced']) || $admin->get_permission('admintools') != true) {
54
	$template->set_var('DISPLAY_RELOAD', 'none');
55
}
43
/**
44
 *	Setting up the blocks
45
 */
46
$template->set_block('main_block', "modules_block", "modules");
47
$template->set_block('main_block', "templates_block", "templates");
48
$template->set_block('main_block', "languages_block", "languages");
49
$template->set_block('main_block', "reload_block", "reload");
56 50

  
57
// Insert section names and descriptions
51
/**
52
 *	Insert permission values into the template object
53
 *	Obsolete as we are using blocks ... see "parsing the blocks" section
54
 */
55
$display_none = "style=\"display: none;\"";
56
if($admin->get_permission('modules') != true) 	$template->set_var('DISPLAY_MODULES', $display_none);	
57
if($admin->get_permission('templates') != true)	$template->set_var('DISPLAY_TEMPLATES', $display_none);
58
if($admin->get_permission('languages') != true)	$template->set_var('DISPLAY_LANGUAGES', $display_none);
59
if(!isset($_GET['advanced']) || $admin->get_permission('admintools') != true)
60
	$template->set_var('DISPLAY_RELOAD', $display_none);
61

  
62
/**
63
 *	Insert section names and descriptions
64
 */
58 65
$template->set_var(array(
59 66
	'ADDONS_OVERVIEW' => $MENU['ADDONS'],
60 67
	'MODULES' => $MENU['MODULES'],
......
72 79
	)
73 80
);
74 81

  
75
// Parse template object
82
/**
83
 *	Parsing the blocks ...
84
 */
85
if ( $admin->get_permission('modules') == true) $template->parse('main_block', "modules_block", true);
86
if ( $admin->get_permission('templates') == true) $template->parse('main_block', "templates_block", true);
87
if ( $admin->get_permission('languages') == true) $template->parse('main_block', "languages_block", true);
88
if ( isset($_GET['advanced']) AND $admin->get_permission('admintools') == true) $template->parse('main_block', "reload_block", true);
89

  
90
/**
91
 *	Parse template object
92
 */
76 93
$template->parse('main', 'main_block', false);
77 94
$template->pparse('output', 'page');
78 95

  
79
// Print admin footer
96
/**
97
 *	Print admin footer
98
 */
80 99
$admin->print_footer();
81 100

  
82 101
?>
trunk/wb/templates/classic_theme/templates/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 9
			<td class="graphic" align="center" valign="middle" rowspan="2">
10 10
				<a href="{ADMIN_URL}/users/index.php">
......
21 21
			</td>
22 22
		</tr>
23 23
		</table>
24
				
25
		
26
		<table cellpadding="0" cellspacing="0" border="0" class="section" style="display: {DISPLAY_GROUPS};">
24
		<!-- END users_block -->
25
		<!-- BEGIN groups_block -->		
26
		<table cellpadding="0" cellspacing="0" border="0" class="section" {DISPLAY_GROUPS} >
27 27
		<tr>
28 28
			<td class="graphic" align="center" valign="middle" rowspan="2">
29 29
				<a href="{ADMIN_URL}/groups/index.php">
......
40 40
			</td>
41 41
		</tr>
42 42
		</table>
43
		
43
		<!-- END groups_block -->
44 44
	</td>
45 45
</tr>
46 46
</table>
trunk/wb/templates/classic_theme/templates/addons.htt
1
<!-- BEGIN main_block -->
2

  
3

  
4
<div class="box">
5
	{URL_ADVANCED}
6
</div>
7

  
8
<table cellpadding="0" cellspacing="0" border="0" width="99%" align="center">
9
<tr>
10
	<td align="center" valign="top">
11
		
12
		<table cellpadding="0" cellspacing="0" border="0" class="section" style="display: {DISPLAY_MODULES};">
13
		<tr>
14
			<td class="graphic" align="center" valign="middle" rowspan="2">
15
				<a href="{ADMIN_URL}/modules/index.php">
16
					<img src="{THEME_URL}/icons/modules.png" alt="0" />
17
				</a>
18
			</td>
19
			<td class="title">
20
				<a href="{ADMIN_URL}/modules/index.php">{MODULES}</a>
21
			</td>
22
		</tr>
23
		<tr>
24
			<td class="description">{MODULES_OVERVIEW}</td>
25
		</tr>
26
		</table>
27
				
28
		
29
		<table cellpadding="0" cellspacing="0" border="0" class="section" style="display: {DISPLAY_TEMPLATES};">
30
		<tr>
31
			<td class="graphic" align="center" valign="middle" rowspan="2">
32
				<a href="{ADMIN_URL}/templates/index.php">
33
					<img src="{THEME_URL}/icons/templates.png" alt="{TEMPLATES}" />
34
				</a>
35
			</td>
36
			<td class="title">
37
				<a href="{ADMIN_URL}/templates/index.php">{TEMPLATES}</a>
38
			</td>
39
		</tr>
40
		<tr>
41
			<td class="description">{TEMPLATES_OVERVIEW}</td>
42
		</tr>
43
		</table>
44
				
45
		
46
		<table cellpadding="0" cellspacing="0" border="0" class="section" style="display: {DISPLAY_LANGUAGES};">
47
		<tr>
48
			<td class="graphic" align="center" valign="middle" rowspan="2">
49
				<a href="{ADMIN_URL}/languages/index.php">
50
					<img src="{THEME_URL}/icons/languages.png" alt="{LANGUAGES}" />
51
				</a>
52
			</td>
53
			<td class="title">
54
				<a href="{ADMIN_URL}/languages/index.php">{LANGUAGES}</a>
55
			</td>
56
		</tr>
57
		<tr>
58
			<td class="description">{LANGUAGES_OVERVIEW}</td>
59
		</tr>
60
		</table>
61

  
62
		<table cellpadding="0" cellspacing="0" border="0" class="section" style="display:{DISPLAY_RELOAD};">
63
		<tr>
64
			<td class="graphic" align="center" valign="middle" rowspan="2">
65
				<img src="{THEME_URL}/icons/admintools.png" alt="{TXT_ADMIN_SETTINGS}" />
66
			</td>
67
			<td class="title">{TXT_ADMIN_SETTINGS}</td>
68
		</tr>
69
		<tr>
70
			<td class="description">
71
				<form action="{RELOAD_URL}" method="post">
72
				{MESSAGE_RELOAD_ADDONS}<br style="margin-bottom: 0.5em" />
73
				
74
				<input style="display:{DISPLAY_MODULES};" type="checkbox" name="reload_modules" id="reload_modules" value="true" />
75
				<label style="display:{DISPLAY_MODULES};" for="reload_modules">{MODULES}</label>
76
		
77
				<input style="display:{DISPLAY_TEMPLATES};" type="checkbox" name="reload_templates" id="reload_templates" value="true" />
78
				<label style="display:{DISPLAY_TEMPLATES};" for="reload_templates">{TEMPLATES}</label>
79
				
80
				<input style="display:{DISPLAY_LANGUAGES};" type="checkbox" name="reload_languages" id="reload_languages" value="true" />
81
				<label style="display:{DISPLAY_LANGUAGES};" for="reload_languages">{LANGUAGES}</label>
82

  
83
				<input type="submit" name="submit" value="{TEXT_RELOAD}" />
84
				</form>
85
			</td>
86
		</tr>
87
		</table>
88

  
89
	</td>
90
</tr>
91
</table>
92

  
1
<!-- BEGIN main_block -->
2
<div class="box">
3
	{URL_ADVANCED}
4
</div>
5

  
6
<table cellpadding="0" cellspacing="0" border="0" width="99%" align="center">
7
<tr>
8
	<td align="center" valign="top">
9
		<!-- BEGIN modules_block -->
10
		<table cellpadding="0" cellspacing="0" border="0" class="section" {DISPLAY_MODULES} >
11
		<tr>
12
			<td class="graphic" align="center" valign="middle" rowspan="2"><a href="{ADMIN_URL}/modules/index.php"><img src="{THEME_URL}/icons/modules.png" alt="0" /></a></td>
13
			<td class="title"><a href="{ADMIN_URL}/modules/index.php">{MODULES}</a></td>
14
		</tr>
15
		<tr>
16
			<td class="description">{MODULES_OVERVIEW}</td>
17
		</tr>
18
		</table>
19
		<!-- END modules_block -->		
20
		<!-- BEGIN templates_block -->
21
		<table cellpadding="0" cellspacing="0" border="0" class="section" {DISPLAY_TEMPLATES} >
22
		<tr>
23
			<td class="graphic" align="center" valign="middle" rowspan="2"><a href="{ADMIN_URL}/templates/index.php"><img src="{THEME_URL}/icons/templates.png" alt="{TEMPLATES}" /></a></td>
24
			<td class="title"><a href="{ADMIN_URL}/templates/index.php">{TEMPLATES}</a></td>
25
		</tr>
26
		<tr>
27
			<td class="description">{TEMPLATES_OVERVIEW}</td>
28
		</tr>
29
		</table>
30
		<!-- END templates_block -->
31
		<!-- BEGIN languages_block -->
32
		<table cellpadding="0" cellspacing="0" border="0" class="section" {DISPLAY_LANGUAGES} >
33
		<tr>
34
			<td class="graphic" align="center" valign="middle" rowspan="2"><a href="{ADMIN_URL}/languages/index.php"><img src="{THEME_URL}/icons/languages.png" alt="{LANGUAGES}" /></a></td>
35
			<td class="title"><a href="{ADMIN_URL}/languages/index.php">{LANGUAGES}</a></td>
36
		</tr>
37
		<tr>
38
			<td class="description">{LANGUAGES_OVERVIEW}</td>
39
		</tr>
40
		</table>
41
		<!-- END languages_block -->
42
		<!-- BEGIN reload_block -->
43
		<table cellpadding="0" cellspacing="0" border="0" class="section" {DISPLAY_RELOAD} >
44
		<tr>
45
			<td class="graphic" align="center" valign="middle" rowspan="2"><img src="{THEME_URL}/icons/admintools.png" alt="{TXT_ADMIN_SETTINGS}" /></td>
46
			<td class="title">{TXT_ADMIN_SETTINGS}</td>
47
		</tr>
48
		<tr>
49
			<td class="description">
50
				<form action="{RELOAD_URL}" method="post">
51
				{MESSAGE_RELOAD_ADDONS}<br style="margin-bottom: 0.5em" />
52
				<input {DISPLAY_MODULES} type="checkbox" name="reload_modules" id="reload_modules" value="true" />
53
				<label {DISPLAY_MODULES} for="reload_modules">{MODULES}</label>
54
				<input {DISPLAY_TEMPLATES} type="checkbox" name="reload_templates" id="reload_templates" value="true" />
55
				<label {DISPLAY_TEMPLATES} for="reload_templates">{TEMPLATES}</label>
56
				<input {DISPLAY_LANGUAGES} type="checkbox" name="reload_languages" id="reload_languages" value="true" />
57
				<label {DISPLAY_LANGUAGES} for="reload_languages">{LANGUAGES}</label>
58
				<input type="submit" name="submit" value="{TEXT_RELOAD}" />
59
				</form>
60
			</td>
61
		</tr>
62
		</table>
63
		<!-- END reload_block -->
64
	</td>
65
</tr>
66
</table>
67

  
93 68
<!-- END main_block -->
trunk/wb/templates/wb_theme/templates/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>
trunk/wb/templates/wb_theme/templates/addons.htt
1
<!-- BEGIN main_block -->
2

  
3

  
4
<div class="box">
5
	{URL_ADVANCED}
6
</div>
7

  
8
<table cellpadding="0" cellspacing="0" border="0" width="99%" align="center">
9
<tr>
10
	<td align="center" valign="top">
11
		
12
		<table cellpadding="0" cellspacing="0" border="0" class="section" style="display: {DISPLAY_MODULES};">
13
		<tr>
14
			<td class="graphic" align="center" valign="middle" rowspan="2">
15
				<a href="{ADMIN_URL}/modules/index.php">
16
					<img src="{THEME_URL}/icons/modules.png" alt="0" />
17
				</a>
18
			</td>
19
			<td class="title">
20
				<a href="{ADMIN_URL}/modules/index.php">{MODULES}</a>
21
			</td>
22
		</tr>
23
		<tr>
24
			<td class="description">{MODULES_OVERVIEW}</td>
25
		</tr>
26
		</table>
27
				
28
		
29
		<table cellpadding="0" cellspacing="0" border="0" class="section" style="display: {DISPLAY_TEMPLATES};">
30
		<tr>
31
			<td class="graphic" align="center" valign="middle" rowspan="2">
32
				<a href="{ADMIN_URL}/templates/index.php">
33
					<img src="{THEME_URL}/icons/templates.png" alt="{TEMPLATES}" />
34
				</a>
35
			</td>
36
			<td class="title">
37
				<a href="{ADMIN_URL}/templates/index.php">{TEMPLATES}</a>
38
			</td>
39
		</tr>
40
		<tr>
41
			<td class="description">{TEMPLATES_OVERVIEW}</td>
42
		</tr>
43
		</table>
44
				
45
		
46
		<table cellpadding="0" cellspacing="0" border="0" class="section" style="display: {DISPLAY_LANGUAGES};">
47
		<tr>
48
			<td class="graphic" align="center" valign="middle" rowspan="2">
49
				<a href="{ADMIN_URL}/languages/index.php">
50
					<img src="{THEME_URL}/icons/languages.png" alt="{LANGUAGES}" />
51
				</a>
52
			</td>
53
			<td class="title">
54
				<a href="{ADMIN_URL}/languages/index.php">{LANGUAGES}</a>
55
			</td>
56
		</tr>
57
		<tr>
58
			<td class="description">{LANGUAGES_OVERVIEW}</td>
59
		</tr>
60
		</table>
61

  
62
		<table cellpadding="0" cellspacing="0" border="0" class="section" style="display:{DISPLAY_RELOAD};">
63
		<tr>
64
			<td class="graphic" align="center" valign="middle" rowspan="2">
65
				<img src="{THEME_URL}/icons/admintools.png" alt="{TXT_ADMIN_SETTINGS}" />
66
			</td>
67
			<td class="title">{TXT_ADMIN_SETTINGS}</td>
68
		</tr>
69
		<tr>
70
			<td class="description">
71
				<form action="{RELOAD_URL}" method="post">
72
				{MESSAGE_RELOAD_ADDONS}<br style="margin-bottom: 0.5em" />
73
				
74
				<input style="display:{DISPLAY_MODULES};" type="checkbox" name="reload_modules" id="reload_modules" value="true" />
75
				<label style="display:{DISPLAY_MODULES};" for="reload_modules">{MODULES}</label>
76
		
77
				<input style="display:{DISPLAY_TEMPLATES};" type="checkbox" name="reload_templates" id="reload_templates" value="true" />
78
				<label style="display:{DISPLAY_TEMPLATES};" for="reload_templates">{TEMPLATES}</label>
79
				
80
				<input style="display:{DISPLAY_LANGUAGES};" type="checkbox" name="reload_languages" id="reload_languages" value="true" />
81
				<label style="display:{DISPLAY_LANGUAGES};" for="reload_languages">{LANGUAGES}</label>
82

  
83
				<input type="submit" name="submit" value="{TEXT_RELOAD}" />
84
				</form>
85
			</td>
86
		</tr>
87
		</table>
88

  
89
	</td>
90
</tr>
91
</table>
92

  
1
<!-- BEGIN main_block -->
2
<div class="box">
3
	{URL_ADVANCED}
4
</div>
5

  
6
<table cellpadding="0" cellspacing="0" border="0" width="99%" align="center">
7
<tr>
8
	<td align="center" valign="top">
9
		<!-- BEGIN modules_block -->
10
		<table cellpadding="0" cellspacing="0" border="0" class="section" {DISPLAY_MODULES} >
11
		<tr>
12
			<td class="graphic" align="center" valign="middle" rowspan="2"><a href="{ADMIN_URL}/modules/index.php"><img src="{THEME_URL}/icons/modules.png" alt="0" /></a></td>
13
			<td class="title"><a href="{ADMIN_URL}/modules/index.php">{MODULES}</a></td>
14
		</tr>
15
		<tr>
16
			<td class="description">{MODULES_OVERVIEW}</td>
17
		</tr>
18
		</table>
19
		<!-- END modules_block -->		
20
		<!-- BEGIN templates_block -->
21
		<table cellpadding="0" cellspacing="0" border="0" class="section" {DISPLAY_TEMPLATES} >
22
		<tr>
23
			<td class="graphic" align="center" valign="middle" rowspan="2"><a href="{ADMIN_URL}/templates/index.php"><img src="{THEME_URL}/icons/templates.png" alt="{TEMPLATES}" /></a></td>
24
			<td class="title"><a href="{ADMIN_URL}/templates/index.php">{TEMPLATES}</a></td>
25
		</tr>
26
		<tr>
27
			<td class="description">{TEMPLATES_OVERVIEW}</td>
28
		</tr>
29
		</table>
30
		<!-- END templates_block -->
31
		<!-- BEGIN languages_block -->
32
		<table cellpadding="0" cellspacing="0" border="0" class="section" {DISPLAY_LANGUAGES} >
33
		<tr>
34
			<td class="graphic" align="center" valign="middle" rowspan="2"><a href="{ADMIN_URL}/languages/index.php"><img src="{THEME_URL}/icons/languages.png" alt="{LANGUAGES}" /></a></td>
35
			<td class="title"><a href="{ADMIN_URL}/languages/index.php">{LANGUAGES}</a></td>
36
		</tr>
37
		<tr>
38
			<td class="description">{LANGUAGES_OVERVIEW}</td>
39
		</tr>
40
		</table>
41
		<!-- END languages_block -->
42
		<!-- BEGIN reload_block -->
43
		<table cellpadding="0" cellspacing="0" border="0" class="section" {DISPLAY_RELOAD} >
44
		<tr>
45
			<td class="graphic" align="center" valign="middle" rowspan="2"><img src="{THEME_URL}/icons/admintools.png" alt="{TXT_ADMIN_SETTINGS}" /></td>
46
			<td class="title">{TXT_ADMIN_SETTINGS}</td>
47
		</tr>
48
		<tr>
49
			<td class="description">
50
				<form action="{RELOAD_URL}" method="post">
51
				{MESSAGE_RELOAD_ADDONS}<br style="margin-bottom: 0.5em" />
52
				<input {DISPLAY_MODULES} type="checkbox" name="reload_modules" id="reload_modules" value="true" />
53
				<label {DISPLAY_MODULES} for="reload_modules">{MODULES}</label>
54
				<input {DISPLAY_TEMPLATES} type="checkbox" name="reload_templates" id="reload_templates" value="true" />
55
				<label {DISPLAY_TEMPLATES} for="reload_templates">{TEMPLATES}</label>
56
				<input {DISPLAY_LANGUAGES} type="checkbox" name="reload_languages" id="reload_languages" value="true" />
57
				<label {DISPLAY_LANGUAGES} for="reload_languages">{LANGUAGES}</label>
58
				<input type="submit" name="submit" value="{TEXT_RELOAD}" />
59
				</form>
60
			</td>
61
		</tr>
62
		</table>
63
		<!-- END reload_block -->
64
	</td>
65
</tr>
66
</table>
67

  
93 68
<!-- END main_block -->
trunk/wb/templates/argos_theme/templates/access.htt
1 1
<!-- BEGIN main_block -->
2 2
<h2>{ACCESS}</h2>
3 3
<table cellpadding="0" cellspacing="0" border="0" width="99%" align="center">
4
  <tr>
5
    <td align="center" valign="top">
6
      <table cellpadding="0" cellspacing="0" border="0" class="section" style="display: {DISPLAY_USERS};">
7
        <tr>
8
          <td class="graphic" align="center" valign="top" rowspan="2"> <a href="{ADMIN_URL}/users/index.php"> <img src="{THEME_URL}/icons/users.png" alt="{USERS}" /> </a> </td>
9
          <td class="description" valign="top"> <a href="{ADMIN_URL}/users/index.php"><div class="title">{USERS}</div></a>
10
		  {USERS_OVERVIEW}
11
		  </td>
12
        </tr>
13
      </table>
14
      <table cellpadding="0" cellspacing="0" border="0" class="section" style="display: {DISPLAY_GROUPS};">
15
        <tr>
16
          <td class="graphic" align="center" valign="top" rowspan="2"> <a href="{ADMIN_URL}/groups/index.php"> <img src="{THEME_URL}/icons/groups.png" alt="{GROUPS}" /> </a> </td>
17
          <td class="description" valign="top"> <a href="{ADMIN_URL}/groups/index.php"><div class="title">{GROUPS}</div></a>
18
		  {GROUPS_OVERVIEW}
19
		  </td>
20
        </tr>
21
      </table>
22
    </td>
23
  </tr>
4
	<tr>
5
		<td align="center" valign="top">
6
			<!-- BEGIN users_block -->	
7
			<table cellpadding="0" cellspacing="0" border="0" class="section" {DISPLAY_USERS} >
8
				<tr>
9
					<td class="graphic" align="center" valign="top" rowspan="2"> <a href="{ADMIN_URL}/users/index.php"> <img src="{THEME_URL}/icons/users.png" alt="{USERS}" /> </a> </td>
10
					<td class="description" valign="top"> <a href="{ADMIN_URL}/users/index.php"><div class="title">{USERS}</div></a>
11
			{USERS_OVERVIEW}
12
			</td>
13
				</tr>
14
			</table>	
15
			<!-- END users_block -->
16
			<!-- BEGIN groups_block -->		
17
			<table cellpadding="0" cellspacing="0" border="0" class="section" {DISPLAY_GROUPS} >
18
				<tr>
19
					<td class="graphic" align="center" valign="top" rowspan="2"> <a href="{ADMIN_URL}/groups/index.php"> <img src="{THEME_URL}/icons/groups.png" alt="{GROUPS}" /> </a> </td>
20
					<td class="description" valign="top"> <a href="{ADMIN_URL}/groups/index.php"><div class="title">{GROUPS}</div></a>
21
			{GROUPS_OVERVIEW}
22
			</td>
23
				</tr>
24
			</table>
25
			<!-- END groups_block -->
26
		</td>
27
	</tr>
24 28
</table>
25 29
<!-- END main_block -->
trunk/wb/templates/argos_theme/templates/addons.htt
1 1
<!-- BEGIN main_block -->
2

  
3 2
<table cellpadding="5" cellspacing="0" border="0" align="center" width="100%" style="margin-bottom:10px;">
4 3
	<tr style="background:#f0f0f0;">
5 4
		<td valign="middle" align="left"><h2>{ADDONS_OVERVIEW}</h2></td>
6 5
		<td align="right">{URL_ADVANCED}</td>
7
     </tr>
6
	</tr>
8 7
</table>
9 8

  
10 9
<table cellpadding="0" cellspacing="0" border="0" width="99%" align="center">
11
  <tr>
12
    <td align="center" valign="top">
13
      <table cellpadding="0" cellspacing="0" border="0" class="section" style="display:{DISPLAY_MODULES};">
14
        <tr>
15
          <td class="graphic" align="center" valign="middle" rowspan="2"><a href="{ADMIN_URL}/modules/index.php"><img src="{THEME_URL}/icons/modules.png" alt="0" /> </a> </td>
16
          <td class="description" valign="top"><a href="{ADMIN_URL}/modules/index.php"><div class="title">{MODULES}</div></a>
17
          {MODULES_OVERVIEW}
18
		  </td>
19
        </tr>
20
      </table>
21
      <table cellpadding="0" cellspacing="0" border="0" class="section" style="display:{DISPLAY_TEMPLATES};">
22
        <tr>
23
          <td class="graphic" align="center" valign="middle" rowspan="2"><a href="{ADMIN_URL}/templates/index.php"><img src="{THEME_URL}/icons/templates.png" alt="{TEMPLATES}" /> </a> </td>
24
          <td class="description" valign="top"><a href="{ADMIN_URL}/templates/index.php"><div class="title">{TEMPLATES}</div></a>
25
		  {TEMPLATES_OVERVIEW}
26
		  </td>
27
        </tr>
28
      </table>
29
      <table cellpadding="0" cellspacing="0" border="0" class="section" style="display:{DISPLAY_LANGUAGES};">
30
        <tr>
31
          <td class="graphic" align="center" valign="middle" rowspan="2"><a href="{ADMIN_URL}/languages/index.php"><img src="{THEME_URL}/icons/languages.png" alt="{LANGUAGES}" /> </a> </td>
32
          <td class="description" valign="top"> <a href="{ADMIN_URL}/languages/index.php"><div class="title">{LANGUAGES}</div></a>
33
		  {LANGUAGES_OVERVIEW}
34
		  </td>
35
        </tr>
36
      </table>
37
      <table cellpadding="0" cellspacing="0" border="0" class="section" style="display:{DISPLAY_RELOAD};">
38
        <tr>
39
          <td class="graphic" align="center" valign="middle" rowspan="2"><img src="{THEME_URL}/icons/admintools.png" alt="{TXT_ADMIN_SETTINGS}" /> </td>
40
          <td class="description" valign="top"><div class="title">{TXT_ADMIN_SETTINGS}</div>
41
            <form action="{RELOAD_URL}" method="post">
42
              {MESSAGE_RELOAD_ADDONS}
43
              <br style="margin-bottom: 0.5em" />
44
              <input style="display:{DISPLAY_MODULES};" type="checkbox" name="reload_modules" id="reload_modules" value="true" />
45
              <label style="display:{DISPLAY_MODULES};" for="reload_modules">{MODULES}</label>
46
              <input style="display:{DISPLAY_TEMPLATES};" type="checkbox" name="reload_templates" id="reload_templates" value="true" />
47
              <label style="display:{DISPLAY_TEMPLATES};" for="reload_templates">{TEMPLATES}</label>
48
              <input style="display:{DISPLAY_LANGUAGES};" type="checkbox" name="reload_languages" id="reload_languages" value="true" />
49
              <label style="display:{DISPLAY_LANGUAGES};" for="reload_languages">{LANGUAGES}</label>
50
              <input type="submit" name="submit" value="{TEXT_RELOAD}" />
51
            </form>
52
          </td>
53
        </tr>
54
      </table>
55
    </td>
56
  </tr>
10
	<tr>
11
		<td align="center" valign="top">
12
			<!-- BEGIN modules_block -->
13
			<table cellpadding="0" cellspacing="0" border="0" class="section" {DISPLAY_MODULES} >
14
				<tr>
15
					<td class="graphic" align="center" valign="middle" rowspan="2"><a href="{ADMIN_URL}/modules/index.php"><img src="{THEME_URL}/icons/modules.png" alt="0" /> </a> </td>
16
					<td class="description" valign="top"><a href="{ADMIN_URL}/modules/index.php"><div class="title">{MODULES}</div></a>{MODULES_OVERVIEW}</td>
17
				</tr>
18
			</table>
19
			<!-- END modules_block -->
20
			<!-- BEGIN templates_block -->
21
			<table cellpadding="0" cellspacing="0" border="0" class="section" {DISPLAY_TEMPLATES} >
22
				<tr>
23
					<td class="graphic" align="center" valign="middle" rowspan="2"><a href="{ADMIN_URL}/templates/index.php"><img src="{THEME_URL}/icons/templates.png" alt="{TEMPLATES}" /> </a> </td>
24
					<td class="description" valign="top"><a href="{ADMIN_URL}/templates/index.php"><div class="title">{TEMPLATES}</div></a>{TEMPLATES_OVERVIEW}</td>
25
				</tr>
26
			</table>
27
			<!-- END templates_block -->
28
			<!-- BEGIN languages_block -->
29
			<table cellpadding="0" cellspacing="0" border="0" class="section" {DISPLAY_LANGUAGES} >
30
				<tr>
31
					<td class="graphic" align="center" valign="middle" rowspan="2"><a href="{ADMIN_URL}/languages/index.php"><img src="{THEME_URL}/icons/languages.png" alt="{LANGUAGES}" /> </a> </td>
32
					<td class="description" valign="top"> <a href="{ADMIN_URL}/languages/index.php"><div class="title">{LANGUAGES}</div></a>{LANGUAGES_OVERVIEW}</td>
33
				</tr>
34
			</table>
35
			<!-- END languages_block -->
36
			<!-- BEGIN reload_block -->
37
			<table cellpadding="0" cellspacing="0" border="0" class="section" {DISPLAY_RELOAD} >
38
				<tr>
39
					<td class="graphic" align="center" valign="middle" rowspan="2"><img src="{THEME_URL}/icons/admintools.png" alt="{TXT_ADMIN_SETTINGS}" /> </td>
40
					<td class="description" valign="top"><div class="title">{TXT_ADMIN_SETTINGS}</div>
41
						<form action="{RELOAD_URL}" method="post">
42
							{MESSAGE_RELOAD_ADDONS}
43
							<br style="margin-bottom: 0.5em" />
44
							<input {DISPLAY_MODULES} type="checkbox" name="reload_modules" id="reload_modules" value="true" />
45
							<label {DISPLAY_MODULES} for="reload_modules">{MODULES}</label>
46
							<input {DISPLAY_TEMPLATES} type="checkbox" name="reload_templates" id="reload_templates" value="true" />
47
							<label {DISPLAY_TEMPLATES} for="reload_templates">{TEMPLATES}</label>
48
							<input {DISPLAY_LANGUAGES} type="checkbox" name="reload_languages" id="reload_languages" value="true" />
49
							<label {DISPLAY_LANGUAGES} for="reload_languages">{LANGUAGES}</label>
50
							<input type="submit" name="submit" value="{TEXT_RELOAD}" />
51
						</form>
52
					</td>
53
				</tr>
54
			</table>
55
			<!-- END reload_block -->
56
		</td>
57
	</tr>
57 58
</table>
58
<!-- END main_block -->
59
<!-- END main_block -->

Also available in: Unified diff