Skip to content

Commit 6af5e9d

Browse files
author
mike_p
committed
Create ids for the html so that css styling can be used
1 parent dd52284 commit 6af5e9d

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

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

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,22 @@
99

1010
$items[] = array( 'title' => "Add DNS Zone",
1111
'target' => 'content',
12-
'link' => 'dns/dns_wizard.php');
12+
'link' => 'dns/dns_wizard.php',
13+
'html_id' => 'dns_wizard');
1314

1415
if($_SESSION["s"]["user"]["typ"] == 'admin') {
15-
16-
$items[] = array( 'title' => "Templates",
17-
'target' => 'content',
18-
'link' => 'dns/dns_template_list.php');
16+
$items[] = array( 'title' => "Templates",
17+
'target' => 'content',
18+
'link' => 'dns/dns_template_list.php',
19+
'html_id' => 'dns_template_list');
1920
}
2021

2122

2223
$module["nav"][] = array( 'title' => 'DNS Wizard',
2324
'open' => 1,
2425
'items' => $items);
2526

26-
27+
2728
unset($items);
2829

2930
/*
@@ -33,11 +34,13 @@
3334

3435
$items[] = array( 'title' => "Zones",
3536
'target' => 'content',
36-
'link' => 'dns/dns_soa_list.php');
37+
'link' => 'dns/dns_soa_list.php',
38+
'html_id' => 'dns_soa_list');
3739
/*
3840
$items[] = array( 'title' => "A-Records",
3941
'target' => 'content',
40-
'link' => 'dns/dns_a_list.php');
42+
'link' => 'dns/dns_a_list.php',
43+
'html_id' => 'dns_a_list');
4144
*/
4245

4346

0 commit comments

Comments
 (0)