X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=modules%2Fpopup-dialog.php;h=00efdcb74f9b1577fa3397d742c243526bed672f;hb=698776460d3cd7075024b8795dbbaf7132415890;hp=ff0b18bbb446b810ec7b3503e874373cb0db3761;hpb=3076c7b8ed6b9fa9cdb8019c0bdc79860fac29be;p=tt-rss.git diff --git a/modules/popup-dialog.php b/modules/popup-dialog.php index ff0b18bb..00efdcb7 100644 --- a/modules/popup-dialog.php +++ b/modules/popup-dialog.php @@ -1,25 +1,29 @@ ".__('Notice').""; print "
" . __("Last update:") . " " . date("Y.m.d, G:i", $stamp); + } if ($param == 2) { - $msg = check_for_update($link, false); + $msg = check_for_update($link); if (!$msg) { - print __("You are running the latest version of Tiny Tiny RSS. The - fact that you are seeing this dialog is probably a bug."); + print __("You are running the latest version of Tiny Tiny RSS. The fact that you are seeing this dialog is probably a bug."); } else { print $msg; } @@ -27,51 +31,63 @@ } if ($param == 3) { - print __("TT-RSS has detected that update daemon is taking too long to - perform a feed update. This could indicate a problem like crash - or a hang. Please check the daemon process or contact instance - owner."); + print __("Update daemon is taking too long to perform a feed update. This could indicate a problem like crash or a hang. Please check the daemon process or contact instance owner."); + + $stamp = (int)read_stampfile("update_daemon.stamp"); + + print "
" . __("Last update:") . " " . date("Y.m.d, G:i", $stamp); + } print "
Unknown dialog $id