[Rt-commit] r3429 - in rt/branches/3.5-TESTING: . html/NoAuth/css
html/NoAuth/js
trs at bestpractical.com
trs at bestpractical.com
Fri Jul 8 10:03:22 EDT 2005
Author: trs
Date: Fri Jul 8 10:03:18 2005
New Revision: 3429
Added:
rt/branches/3.5-TESTING/html/NoAuth/css/autohandler
rt/branches/3.5-TESTING/html/NoAuth/js/autohandler
Modified:
rt/branches/3.5-TESTING/ (props changed)
rt/branches/3.5-TESTING/html/NoAuth/css/body.css
rt/branches/3.5-TESTING/html/NoAuth/css/footer.css
rt/branches/3.5-TESTING/html/NoAuth/css/forms.css
rt/branches/3.5-TESTING/html/NoAuth/css/header.css
rt/branches/3.5-TESTING/html/NoAuth/css/main.css
rt/branches/3.5-TESTING/html/NoAuth/css/misc.css
rt/branches/3.5-TESTING/html/NoAuth/css/nav-left.css
rt/branches/3.5-TESTING/html/NoAuth/css/nav.css
rt/branches/3.5-TESTING/html/NoAuth/js/util.js
Log:
r4925 at wintermute: tom | 2005-07-08 09:54:15 -0400
Cleanup how the content-type is set for CSS and JS
Added: rt/branches/3.5-TESTING/html/NoAuth/css/autohandler
==============================================================================
--- (empty file)
+++ rt/branches/3.5-TESTING/html/NoAuth/css/autohandler Fri Jul 8 10:03:18 2005
@@ -0,0 +1,5 @@
+<%init>
+$r->content_type('text/css');
+$m->call_next();
+return();
+</%init>
Modified: rt/branches/3.5-TESTING/html/NoAuth/css/body.css
==============================================================================
--- rt/branches/3.5-TESTING/html/NoAuth/css/body.css (original)
+++ rt/branches/3.5-TESTING/html/NoAuth/css/body.css Fri Jul 8 10:03:18 2005
@@ -118,6 +118,3 @@
padding: 0.1em 0.5em 0.1em 0.5em;
}
-<%init>
- $r->content_type('text/css');
-</%init>
Modified: rt/branches/3.5-TESTING/html/NoAuth/css/footer.css
==============================================================================
--- rt/branches/3.5-TESTING/html/NoAuth/css/footer.css (original)
+++ rt/branches/3.5-TESTING/html/NoAuth/css/footer.css Fri Jul 8 10:03:18 2005
@@ -88,6 +88,3 @@
clear: both;
}
-<%init>
- $r->content_type('text/css');
-</%init>
Modified: rt/branches/3.5-TESTING/html/NoAuth/css/forms.css
==============================================================================
--- rt/branches/3.5-TESTING/html/NoAuth/css/forms.css (original)
+++ rt/branches/3.5-TESTING/html/NoAuth/css/forms.css Fri Jul 8 10:03:18 2005
@@ -95,6 +95,3 @@
.submit .extra-buttons { float: left; }
.submit .button { font-size: 0.9em; }
-<%init>
- $r->content_type('text/css');
-</%init>
Modified: rt/branches/3.5-TESTING/html/NoAuth/css/header.css
==============================================================================
--- rt/branches/3.5-TESTING/html/NoAuth/css/header.css (original)
+++ rt/branches/3.5-TESTING/html/NoAuth/css/header.css Fri Jul 8 10:03:18 2005
@@ -153,6 +153,3 @@
text-decoration: underline;
}
-<%init>
- $r->content_type('text/css');
-</%init>
Modified: rt/branches/3.5-TESTING/html/NoAuth/css/main.css
==============================================================================
--- rt/branches/3.5-TESTING/html/NoAuth/css/main.css (original)
+++ rt/branches/3.5-TESTING/html/NoAuth/css/main.css Fri Jul 8 10:03:18 2005
@@ -52,6 +52,3 @@
@import "header.css";
@import "footer.css";
-<%init>
- $r->content_type('text/css');
-</%init>
Modified: rt/branches/3.5-TESTING/html/NoAuth/css/misc.css
==============================================================================
--- rt/branches/3.5-TESTING/html/NoAuth/css/misc.css (original)
+++ rt/branches/3.5-TESTING/html/NoAuth/css/misc.css Fri Jul 8 10:03:18 2005
@@ -113,6 +113,3 @@
.hide, .hidden { display: none !important; }
-<%init>
- $r->content_type('text/css');
-</%init>
Modified: rt/branches/3.5-TESTING/html/NoAuth/css/nav-left.css
==============================================================================
--- rt/branches/3.5-TESTING/html/NoAuth/css/nav-left.css (original)
+++ rt/branches/3.5-TESTING/html/NoAuth/css/nav-left.css Fri Jul 8 10:03:18 2005
@@ -81,6 +81,3 @@
#nav ul { padding: 0; }
-<%init>
- $r->content_type('text/css');
-</%init>
Modified: rt/branches/3.5-TESTING/html/NoAuth/css/nav.css
==============================================================================
--- rt/branches/3.5-TESTING/html/NoAuth/css/nav.css (original)
+++ rt/branches/3.5-TESTING/html/NoAuth/css/nav.css Fri Jul 8 10:03:18 2005
@@ -127,6 +127,3 @@
#nav ul.odd { background: #08c url(<%$RT::WebImagesURL%>/css/ct-light.gif) no-repeat top left; }
#nav ul.odd .first { background: transparent url(<%$RT::WebImagesURL%>/css/cb-light.gif) no-repeat bottom left; }
-<%init>
- $r->content_type('text/css');
-</%init>
Added: rt/branches/3.5-TESTING/html/NoAuth/js/autohandler
==============================================================================
--- (empty file)
+++ rt/branches/3.5-TESTING/html/NoAuth/js/autohandler Fri Jul 8 10:03:18 2005
@@ -0,0 +1,5 @@
+<%init>
+$r->content_type('application/x-javascript');
+$m->call_next();
+return();
+</%init>
Modified: rt/branches/3.5-TESTING/html/NoAuth/js/util.js
==============================================================================
--- rt/branches/3.5-TESTING/html/NoAuth/js/util.js (original)
+++ rt/branches/3.5-TESTING/html/NoAuth/js/util.js Fri Jul 8 10:03:18 2005
@@ -1,5 +1,3 @@
-% $r->content_type('application/x-javascript');
-
function rollup(id) {
var e = document.getElementById(id);
var link = document.getElementById(id+"-link");
@@ -72,5 +70,3 @@
var objWindow = window.open('<%$RT::WebPath%>/CalPopup.html?field='+field, 'Pick', 'height=400,width=400,scrollbars=1');
objWindow.focus();
}
-
-% $m->abort;
More information about the Rt-commit
mailing list