Skip to content

Commit e90dd11

Browse files
author
mike_p
committed
Create ids for the html so that css styling can be used
1 parent 9623afa commit e90dd11

File tree

1 file changed

+10
-15
lines changed

1 file changed

+10
-15
lines changed

interface/web/client/lib/module.conf.php

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,19 @@
1313

1414
$items[] = array( 'title' => "Add Client",
1515
'target' => 'content',
16-
'link' => 'client/client_edit.php');
16+
'link' => 'client/client_edit.php',
17+
'html_id' => 'client_add');
1718

1819
$items[] = array( 'title' => "Edit Client",
1920
'target' => 'content',
20-
'link' => 'client/client_list.php');
21+
'link' => 'client/client_list.php',
22+
'html_id' => 'client_list');
2123

2224
if($_SESSION["s"]["user"]["typ"] == 'admin'){
2325
$items[] = array( 'title' => "Edit Client-Templates",
2426
'target' => 'content',
25-
'link' => 'client/client_template_list.php');
27+
'link' => 'client/client_template_list.php',
28+
'html_id' => 'client_template_list');
2629
}
2730

2831
$module["nav"][] = array( 'title' => 'Clients',
@@ -36,11 +39,13 @@
3639

3740
$items[] = array( 'title' => "Add Reseller",
3841
'target' => 'content',
39-
'link' => 'client/reseller_edit.php');
42+
'link' => 'client/reseller_edit.php',
43+
'html_id' => 'reseller_add');
4044

4145
$items[] = array( 'title' => "Edit Reseller",
4246
'target' => 'content',
43-
'link' => 'client/reseller_list.php');
47+
'link' => 'client/reseller_list.php',
48+
'html_id' => 'reseller_list');
4449

4550
$module["nav"][] = array( 'title' => 'Resellers',
4651
'open' => 1,
@@ -50,14 +55,4 @@
5055

5156

5257

53-
54-
55-
56-
57-
58-
59-
60-
61-
62-
6358
?>

0 commit comments

Comments
 (0)