mirror of
https://github.com/tuxis-ie/nsedit.git
synced 2025-04-18 19:59:30 +03:00
Changed "Save logs" to "Download logs" for clarity.
Removed the rotate logs icon. Updated warning text for clearing logs, if rotation is allowed.
This commit is contained in:
parent
d1b817443c
commit
56c1789b30
1 changed files with 4 additions and 3 deletions
|
@ -114,7 +114,9 @@ if ($blocklogin === TRUE) {
|
|||
<div id="dnssecinfo">
|
||||
</div>
|
||||
<div id="clearlogs" style="display: none;">
|
||||
Are you sure you want to clear all the logs? Maybe save them first?
|
||||
Are you sure you want to clear all the logs? Maybe download them
|
||||
first<?php if($allowrotatelogs) { ?>, or use "Rotate logs" to save
|
||||
them on the server<?php } ?>?
|
||||
</div>
|
||||
<div id="rotatelogs" style="display: none;">
|
||||
Are you sure you want to rotate the logs?
|
||||
|
@ -1048,7 +1050,6 @@ $(document).ready(function () {
|
|||
},
|
||||
<?php if($allowrotatelogs === TRUE) { ?>
|
||||
{
|
||||
icon: 'img/export.png',
|
||||
text: 'Rotate logs',
|
||||
click: function() {
|
||||
$("#rotatelogs").dialog({
|
||||
|
@ -1096,7 +1097,7 @@ $(document).ready(function () {
|
|||
<?php } ?>
|
||||
{
|
||||
icon: 'img/export.png',
|
||||
text: 'Save logs',
|
||||
text: 'Download logs',
|
||||
click: function () {
|
||||
var $zexport = $.get("logs.php?action=export", function(data) {
|
||||
console.log(data);
|
||||
|
|
Loading…
Add table
Reference in a new issue