Skip to content
This repository has been archived by the owner on Jan 28, 2021. It is now read-only.

Commit

Permalink
Removed ftelnet stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
echicken committed Feb 15, 2018
1 parent c65bf9c commit b3d2baf
Showing 1 changed file with 1 addition and 30 deletions.
31 changes: 1 addition & 30 deletions web/root/pages/000-home.xjs
@@ -1,31 +1,2 @@
<!--Home-->
<?xjs
if (typeof argv[0] != 'boolean' || !argv[0]) exit();
load(settings.web_lib + 'ftelnet.js');
var _hpl = getLanguage(settings.language_file || 'english.ini', 'page_home');
?>

<script src="./ftelnet/ftelnet.norip.xfer.min.js" id="fTelnetScript"></script>
<style>.fTelnetStatusBar { display : none; }</style>
<div id="fTelnetContainer" style="margin-bottom:1em;clear:both;"></div>
<div class="row">
<div class="center-block" style="width:200px;margin-bottom:1em;">
<button id="ftelnet-connect" class="btn btn-primary">
<?xjs write(_hpl.button_ftelnet); ?>
</button>
</div>
</div>
<script type="text/javascript">
var Options = new fTelnetOptions();
Options.Hostname = '<?xjs write(http_request.vhost); ?>';
Options.Port = <?xjs write(settings.websocket_telnet_port || webSocket.Port); ?>;
Options.ConnectionType = 'telnet';
Options.SplashScreen = '<?xjs write(getSplash()); ?>';
Options.VirtualKeyboardVisible = (
/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(
navigator.userAgent
)
);
var ftClient = new fTelnetClient('fTelnetContainer', Options);
$('#ftelnet-connect').click(function() { ftClient.Connect(); });
</script>
Things go here.

0 comments on commit b3d2baf

Please sign in to comment.