OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-meta Date: 09-Mar-2006 22:01:36
Branch: HEAD Handle: 2006030921013500
Modified files:
openpkg-meta canvas.php
Log:
pass stretching information down to JavaScript code and for now (while
I'm hacking) expire the content immediately
Summary:
Revision Changes Path
1.14 +4 -4 openpkg-meta/canvas.php
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-meta/canvas.php
============================================================================
$ cvs diff -u -r1.13 -r1.14 canvas.php
--- openpkg-meta/canvas.php 9 Mar 2006 19:12:10 -0000 1.13
+++ openpkg-meta/canvas.php 9 Mar 2006 21:01:35 -0000 1.14
@@ -87,9 +87,9 @@
# determine content-type and expiry time
$spec = array(
- "html" => array(type => "text/html", maxage => 10),
- "css" => array(type => "text/css", maxage => 10),
- "js" => array(type => "text/javascript", maxage => 10),
+ "html" => array(type => "text/html", maxage => 0),
+ "css" => array(type => "text/css", maxage => 0),
+ "js" => array(type => "text/javascript", maxage => 0),
);
header(sprintf("Content-type: %s", $spec[$type]["type"]));
header(sprintf("Cache-Control: max-age=%d, must-revalidate",
$spec[$type]["maxage"]));
@@ -170,7 +170,7 @@
# externally linked
# (path intentionally left out for caching because
functionally unimportant)
echo "<link rel=\"stylesheet\" type=\"text/css\"";
- echo " href=\"$rooturl?type=css&pane=$pane\"/>\n";
+ echo "
href=\"$rooturl?type=css&pane=$pane&stretch=$stretch\"/>\n";
}
# JavaScript (JS)
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]