|
Revision 11418, 1.6 kB
(checked in by p_lindheimer, 2 years ago)
|
closes #4793 added to contributed repository with full access for author
|
- Property svn:executable set to
*
|
| Line | |
|---|
| 1 |
<?php |
|---|
| 2 |
|
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 |
|
|---|
| 6 |
|
|---|
| 7 |
|
|---|
| 8 |
|
|---|
| 9 |
|
|---|
| 10 |
|
|---|
| 11 |
|
|---|
| 12 |
|
|---|
| 13 |
|
|---|
| 14 |
|
|---|
| 15 |
|
|---|
| 16 |
|
|---|
| 17 |
|
|---|
| 18 |
|
|---|
| 19 |
?> |
|---|
| 20 |
<p style="margin-bottom:5px"><b>Database Editor (version 1.0)</b> - for mysql and pgsql</p> |
|---|
| 21 |
|
|---|
| 22 |
<script type="text/javascript"> |
|---|
| 23 |
// fix a jQuery/Opera/ie bug with determining the window height |
|---|
| 24 |
var windowHeight = Math.max( |
|---|
| 25 |
$(window).height(), |
|---|
| 26 |
/* For opera and ie 8 (not sure about others): */ |
|---|
| 27 |
document.documentElement.clientHeight |
|---|
| 28 |
); |
|---|
| 29 |
var frameHeight = Math.round((windowHeight * 76)/100); |
|---|
| 30 |
|
|---|
| 31 |
document.write('<iframe src="<?php echo($_SERVER['PHP_SELF'].'?handler=file&module=dbeditor&file=dbkiss.html.php')?>" name="dbkiss" id="dbkiss" width="100%" height="'+frameHeight+'px" style="display:block;">'); |
|---|
| 32 |
|
|---|
| 33 |
$(document).ready(function() { |
|---|
| 34 |
// force iFrame reload because main page may be cached by FreePBX |
|---|
| 35 |
$('#dbkiss').contentWindow.location.reload(true); |
|---|
| 36 |
}); |
|---|
| 37 |
</script> |
|---|
| 38 |
<p>Your browser does not support iframes.</p> |
|---|
| 39 |
</iframe> |
|---|
| 40 |
<p>For updates, bug reports, or feature requests visit <a href="http://www.qualityansweringservice.com/anatomy-oscc/freepbx/dbeditor">Database Editor Home</a></p> |
|---|
| 41 |
|
|---|
| 42 |
|
|---|