[LON-CAPA-cvs] cvs: loncom /interface lonannounce.pm
www
lon-capa-cvs-allow@mail.lon-capa.org
Sun, 18 May 2008 19:45:47 -0000
www Sun May 18 15:45:47 2008 EDT
Modified files:
/loncom/interface lonannounce.pm
Log:
Bug #5670: stop browsers from displaying cached "current" announcements
Index: loncom/interface/lonannounce.pm
diff -u loncom/interface/lonannounce.pm:1.69 loncom/interface/lonannounce.pm:1.70
--- loncom/interface/lonannounce.pm:1.69 Tue May 15 14:55:22 2007
+++ loncom/interface/lonannounce.pm Sun May 18 15:45:46 2008
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Announce
#
-# $Id: lonannounce.pm,v 1.69 2007/05/15 18:55:22 raeburn Exp $
+# $Id: lonannounce.pm,v 1.70 2008/05/18 19:45:46 www Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -523,7 +523,7 @@
$r->print ('<br /><label><input type="checkbox" name="postto_'.$host.'" /> '.
$host.' <tt>'.$hostname{$host}.'</tt> '.
'</label><a href="http://'.$hostname{$host}.
- '/announcement.txt" target="annowin">current</a>');
+ '/announcement.txt?time='.time.'" target="annowin">current</a>');
}
}
$r->print(