10080 => "Weekly");
$script_started = getmicrotime();
+ $script_dt_add = time();
$link = db_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME);
type=\"text/css\" href=\"tt-rss_compact.css\"/>";
}
- print "<script type=\"text/javascript\" src=\"functions.js\"></script>
- <script type=\"text/javascript\" src=\"feedlist.js\"></script>
+ print "<script type=\"text/javascript\" src=\"functions.js?$script_dt_add\"></script>
+ <script type=\"text/javascript\" src=\"feedlist.js?$script_dt_add\"></script>
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">
<!--[if gte IE 5.5000]>
<script type=\"text/javascript\" src=\"pngfix.js\"></script>
type=\"text/css\" href=\"tt-rss_compact.css\"/>";
}
- print "<script type=\"text/javascript\" src=\"functions.js\"></script>
+ print "<script type=\"text/javascript\" src=\"functions.js?$script_dt_add\"></script>
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">
</head><body $rtl_tag>";
}
print "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">
- <script type=\"text/javascript\" src=\"functions.js\"></script>
- <script type=\"text/javascript\" src=\"viewfeed.js\"></script>
+ <script type=\"text/javascript\" src=\"functions.js?$script_dt_add\"></script>
+ <script type=\"text/javascript\" src=\"viewfeed.js?$script_dt_add\"></script>
<!--[if gte IE 5.5000]>
<script type=\"text/javascript\" src=\"pngfix.js\"></script>
<link rel=\"stylesheet\" type=\"text/css\" href=\"tt-rss-ie.css\">
print "<html><head>
<title>Tiny Tiny RSS : Help</title>
<link rel=\"stylesheet\" href=\"tt-rss.css\" type=\"text/css\">
- <script type=\"text/javascript\" src=\"functions.js\"></script>
+ <script type=\"text/javascript\" src=\"functions.js?$script_dt_add\"></script>
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">
</head><body>";
}
$link = db_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME);
login_sequence($link);
+
+ $dt_add = time();
+
?>
<html>
<head>
<? } ?>
- <script type="text/javascript" src="functions.js"></script>
- <script type="text/javascript" src="prefs.js"></script>
+ <script type="text/javascript" src="functions.js?<?= $dt_add ?>"></script>
+ <script type="text/javascript" src="prefs.js?<?= $dt_add ?>"></script>
<!--[if gte IE 5.5000]>
<script type="text/javascript" src="pngfix.js"></script>
login_sequence($link);
+ $dt_add = time();
+
?>
<html>
<head>
<? } ?>
- <script type="text/javascript" src="tt-rss.js"></script>
- <script type="text/javascript" src="functions.js"></script>
+ <script type="text/javascript" src="tt-rss.js?<?= $dt_add ?>"></script>
+ <script type="text/javascript" src="functions.js?<?= $dt_add ?>"></script>
<!--[if gte IE 5.5000]>
<script type="text/javascript" src="pngfix.js"></script>
<link rel="stylesheet" type="text/css" href="tt-rss-ie.css">