Add export function

This commit is contained in:
Gregory Soutade
2015-09-17 20:32:29 +02:00
parent b255a8cd90
commit 1d22f425e9
3 changed files with 65 additions and 0 deletions

View File

@@ -171,6 +171,19 @@ if ($user != "")
}
?>
</div>
<div id="export_database">
<?php
global $user;
if ($user != "")
{
echo "<b>Export</b><br/>\n";
echo '<input type="button" value="Export" onclick="export_database();"/>';
echo '<a id="export_link">Download</a>';
}
?>
</div>
</div>
</body>
</html>