Skip to content

Commit 9b56b72

Browse files
author
mike_p
committed
Create ids for the html so that css styling can be used
1 parent 02ab707 commit 9b56b72

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414

1515
$items[] = array( 'title' => 'Password and Language',
1616
'target' => 'content',
17-
'link' => 'tools/user_settings.php');
17+
'link' => 'tools/user_settings.php',
18+
'html_id'=> 'user_settings');
1819

1920

2021
$module['nav'][] = array( 'title' => 'User Settings',
@@ -23,10 +24,10 @@
2324

2425

2526
$menu_dir = ISPC_WEB_PATH.'/tools/lib/menu.d';
26-
27+
2728
if (is_dir($menu_dir)) {
2829
if ($dh = opendir($menu_dir)) {
29-
//** Go trough all files in the menu dir
30+
//** Go through all files in the menu dir
3031
while (($file = readdir($dh)) !== false) {
3132
if($file != '.' && $file != '..' && substr($file,-9,9) == '.menu.php') {
3233
include_once($menu_dir.'/'.$file);

0 commit comments

Comments
 (0)