X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=modules%2Fpopup-dialog.php;h=13abc947f1febcfca57b7b9844f3f4a76d94721d;hb=667a82727cd95cc75e006b8509b6249e3f7f46e6;hp=8a1b2020937793cb9eea4dde4b54c9e4c2f73b6a;hpb=6a2034f9ffb51c96ceb8e5bfacb7497ffe6f0820;p=tt-rss.git diff --git a/modules/popup-dialog.php b/modules/popup-dialog.php index 8a1b2020..13abc947 100644 --- a/modules/popup-dialog.php +++ b/modules/popup-dialog.php @@ -1,179 +1,398 @@ "; - print "
" . __("Last update:") . " " . date("Y.m.d, G:i", $stamp); + } if ($param == 3) { 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"); + $stamp = (int) file_get_contents(LOCK_DIRECTORY . "/update_daemon.stamp"); - print "
" . __("Last update:") . " " . date("Y.m.d, G:i", $stamp); + print "
" . __("Last update:") . " " . date("Y.m.d, G:i", $stamp); } print ""; - - print "