Skip to content
Snippets Groups Projects
Commit 084d333b authored by echicken's avatar echicken :chicken:
Browse files

Convert xtrn section code from modopts to lowercase for use as key into xtrn_area.sec

parent 783d2353
No related branches found
No related tags found
No related merge requests found
......@@ -10,8 +10,8 @@
<div id="fTelnetContainer" style="margin-bottom:1em;"></div>
<script type="text/javascript">
fTelnet.Hostname = '<?xjs write(http_request.vhost); ?>';
fTelnet.Port = <?xjs write(webSocketRLogin.Port); ?>;
fTelnet.Hostname = '<?xjs write(system.inet_addr); ?>';
fTelnet.Port = 1514;//<?xjs write(webSocketRLogin.Port); ?>;
fTelnet.ConnectionType = 'telnet';
fTelnet.SplashScreen = '<?xjs write(getSplash()); ?>';
fTelnet.StatusBarVisible = false;
......@@ -37,6 +37,7 @@
settings.xtrn_sections.forEach(
function (section) {
section = section.toLowerCase();
writeln('<div class="list-group-item">');
writeln('<h4>' + xtrn_area.sec[section].name + '</h4>');
writeln('<ul class="nav nav-pills">');
......@@ -57,4 +58,4 @@
?>
</div>
\ No newline at end of file
</div>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment