[TASK] Rename bg-image (login/error) to avoid browser caching issues
authorErnesto Baschny <ernst@cron-it.de>
Thu, 29 Nov 2012 19:30:30 +0000 (20:30 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sat, 1 Dec 2012 21:05:21 +0000 (22:05 +0100)
Once you upgrade to TYPO3 6.0 your browser might still use the old cached
gray gradient background "images/login/background.png" which doesn't fit
the new login screen layout.

By renaming it, we make sure that browser will fetch the new one.

As the file is also being used by the "error page", we move it to a more
generic location (images/backgrounds instead of images/login).

Releases: 6.1, 6.0
Resolves: #43323
Change-Id: I8e5e96112878006a111d1bff37500c699dd279a3
Reviewed-on: http://review.typo3.org/16864
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Stefan Neufeind
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/t3skin/images/backgrounds/gray-gradient.png [new file with mode: 0644]
typo3/sysext/t3skin/images/login/background.png [deleted file]
typo3/sysext/t3skin/stylesheets/standalone/errorpage-message.css
typo3/sysext/t3skin/stylesheets/visual/login_screen.css

diff --git a/typo3/sysext/t3skin/images/backgrounds/gray-gradient.png b/typo3/sysext/t3skin/images/backgrounds/gray-gradient.png
new file mode 100644 (file)
index 0000000..46eb21d
Binary files /dev/null and b/typo3/sysext/t3skin/images/backgrounds/gray-gradient.png differ
diff --git a/typo3/sysext/t3skin/images/login/background.png b/typo3/sysext/t3skin/images/login/background.png
deleted file mode 100644 (file)
index 46eb21d..0000000
Binary files a/typo3/sysext/t3skin/images/login/background.png and /dev/null differ
index d69af34..77c4948 100644 (file)
@@ -11,7 +11,7 @@ body {
 }
 
 .t3-message-page {
-       background: url("../../images/login/background.png") repeat-x fixed 0 0 #4f4f4f;
+       background: url("../../images/backgrounds/gray-gradient.png") repeat-x fixed 0 0 #4f4f4f;
        padding-bottom: 20px;
        padding-top: 75px;
 }
index 374340e..3a86185 100644 (file)
@@ -7,7 +7,7 @@
  */
 #typo3-index-php {
        background-color: #494949;
-       background-image: url('../../images/login/background.png');
+       background-image: url('../../images/backgrounds/gray-gradient.png');
        background-repeat: repeat-x;
 }