mirror of
https://github.com/Codiad/Codiad.git
synced 2026-03-09 10:46:47 +01:00
28 lines
889 B
PHP
28 lines
889 B
PHP
<?php
|
|
|
|
/*
|
|
* Copyright (c) Codiad & Kent Safranski (codiad.com), distributed
|
|
* as-is and without warranty under the MIT License. See
|
|
* [root]/license.txt for more. This information must remain intact.
|
|
*/
|
|
|
|
|
|
require_once('../../common.php');
|
|
|
|
//////////////////////////////////////////////////////////////////
|
|
// Verify Session or Key
|
|
//////////////////////////////////////////////////////////////////
|
|
|
|
checkSession();
|
|
|
|
?>
|
|
<style>#terminal { border: 1px solid #2b2b2b; }</style>
|
|
<iframe id="terminal" width="100%" height="400" src="plugins/terminal/emulator/index.php?id=kd9kdi8nundj"></iframe>
|
|
<button onclick="codiad.modal.unload(); return false;">Close Terminal</button>
|
|
<script>
|
|
$(function(){
|
|
var wheight = $(window)
|
|
.outerHeight() - 300;
|
|
$('#terminal').css('height',wheight+'px');
|
|
});
|
|
</script>
|