From 7a81759fb0121c8bebd3764ecd3a4f2d1e190f85 Mon Sep 17 00:00:00 2001 From: patdenice Date: Sat, 13 Mar 2010 01:19:57 +0000 Subject: Feature 1502 Move mail images. Change image path in mail-css files. Remove local css file for NBM. git-svn-id: http://piwigo.org/svn/trunk@5125 68402e56-0260-453c-a942-63ccdbb3a9ee --- themes/Sylvia/mail-css.tpl | 4 +-- themes/clear/mail-css.tpl | 6 ++--- themes/dark/mail-css.tpl | 8 +++--- themes/default/images/index.php | 30 +++++++++++++++++++++ themes/default/images/mail/footer-bg.png | Bin 0 -> 15656 bytes themes/default/images/mail/header-bg.png | Bin 0 -> 30525 bytes themes/default/images/mail/index.php | 30 +++++++++++++++++++++ themes/default/images/mail/mailbody-bg.png | Bin 0 -> 924 bytes themes/default/mail/index.php | 30 --------------------- themes/default/mail/text/html/images/footer-bg.jpg | Bin 9014 -> 0 bytes themes/default/mail/text/html/images/footer-bg.png | Bin 15656 -> 0 bytes themes/default/mail/text/html/images/header-bg.png | Bin 30525 -> 0 bytes themes/default/mail/text/html/images/index.php | 30 --------------------- .../default/mail/text/html/images/mailbody-bg.png | Bin 924 -> 0 bytes themes/default/mail/text/html/index.php | 30 --------------------- themes/default/mail/text/index.php | 30 --------------------- themes/default/mail/text/plain/index.php | 30 --------------------- themes/default/template/mail/text/html/header.tpl | 1 - themes/p0w0/mail-css.tpl | 8 +++--- themes/wipi/mail-css.tpl | 8 +++--- 20 files changed, 77 insertions(+), 168 deletions(-) create mode 100644 themes/default/images/index.php create mode 100644 themes/default/images/mail/footer-bg.png create mode 100644 themes/default/images/mail/header-bg.png create mode 100644 themes/default/images/mail/index.php create mode 100644 themes/default/images/mail/mailbody-bg.png delete mode 100644 themes/default/mail/index.php delete mode 100644 themes/default/mail/text/html/images/footer-bg.jpg delete mode 100644 themes/default/mail/text/html/images/footer-bg.png delete mode 100644 themes/default/mail/text/html/images/header-bg.png delete mode 100644 themes/default/mail/text/html/images/index.php delete mode 100644 themes/default/mail/text/html/images/mailbody-bg.png delete mode 100644 themes/default/mail/text/html/index.php delete mode 100644 themes/default/mail/text/index.php delete mode 100644 themes/default/mail/text/plain/index.php (limited to 'themes') diff --git a/themes/Sylvia/mail-css.tpl b/themes/Sylvia/mail-css.tpl index df0f7067f..66d51cac1 100644 --- a/themes/Sylvia/mail-css.tpl +++ b/themes/Sylvia/mail-css.tpl @@ -3,9 +3,9 @@ body {ldelim} background-color:#111; color:#666;} #the_page {ldelim} } #content {ldelim} } -#copyright {ldelim} background: transparent url({$ROOT_URL}template/{$themeconf.template}/mail/text/html/images/footer-bg.jpg) no-repeat scroll left bottom; +#copyright {ldelim} background: transparent url({$ROOT_URL}themes/{$themeconf.theme}/images/bottom-left-bg.jpg) no-repeat scroll left bottom; min-height: 220px; height: 220px; width: 100%; min-width: 100%; padding: 10px 100px 30px 100px; } -h2 {ldelim} color:#f70;background: transparent url({$ROOT_URL}template/{$themeconf.template}/themes/{$themeconf.theme}/images/fillet.gif) repeat-x scroll left bottom; padding-bottom: 5px;} +h2 {ldelim} color:#f70;background: transparent url({$ROOT_URL}themes/{$themeconf.theme}/images/fillet.gif) repeat-x scroll left bottom; padding-bottom: 5px;} img {ldelim} margin: 16px; border: 16px solid #444; -moz-border-radius: 4px; border-radius: 4px 4px; } img:hover {ldelim} padding: 15px; border: 0; background-color:#222;-moz-border-radius: 4px; border-radius: 4px 4px; } a {ldelim} color: #f70; background-color: transparent; border:0; text-decoration: none;} diff --git a/themes/clear/mail-css.tpl b/themes/clear/mail-css.tpl index 298926540..6c5e149cd 100644 --- a/themes/clear/mail-css.tpl +++ b/themes/clear/mail-css.tpl @@ -1,9 +1,9 @@ /* Theme clear mail css */ body {ldelim} background-color:#fff; color:#696969;} -#the_page {ldelim} background: #fff url({$ROOT_URL}template/{$themeconf.template}/mail/text/html/images/mailbody-bg.png) repeat-y scroll left top;} -#content {ldelim} background: transparent url({$ROOT_URL}template/{$themeconf.template}/mail/text/html/images/header-bg.png) no-repeat scroll left top;} -#copyright {ldelim} background: transparent url({$ROOT_URL}template/{$themeconf.template}/mail/text/html/images/footer-bg.png) no-repeat scroll left bottom; +#the_page {ldelim} background: #fff url({$ROOT_URL}themes/default/images/mail/mailbody-bg.png) repeat-y scroll left top;} +#content {ldelim} background: transparent url({$ROOT_URL}themes/default/images/mail/header-bg.png) no-repeat scroll left top;} +#copyright {ldelim} background: transparent url({$ROOT_URL}themes/default/images/mail/footer-bg.png) no-repeat scroll left bottom; color: #333;} h2 {ldelim} background-color: #ddd;} img {ldelim} margin: 16px; border: 16px solid #aaa; -moz-border-radius: 4px; border-radius: 4px 4px; } diff --git a/themes/dark/mail-css.tpl b/themes/dark/mail-css.tpl index 26b51578b..e904a248d 100644 --- a/themes/dark/mail-css.tpl +++ b/themes/dark/mail-css.tpl @@ -1,11 +1,11 @@ /* Theme dark mail css */ body {ldelim} background-color:#444; color:#fff;} -#the_page {ldelim} background: #444 url({$ROOT_URL}template/{$themeconf.template}/mail/text/html/images/mailbody-bg.png) repeat-y scroll left top;} -#content {ldelim} background: transparent url({$ROOT_URL}template/{$themeconf.template}/mail/text/html/images/header-bg.png) no-repeat scroll left top;} -#copyright {ldelim} background: transparent url({$ROOT_URL}template/{$themeconf.template}/mail/text/html/images/footer-bg.png) no-repeat scroll left bottom; +#the_page {ldelim} background: #444 url({$ROOT_URL}themes/default/images/mail/mailbody-bg.png) repeat-y scroll left top;} +#content {ldelim} background: transparent url({$ROOT_URL}themes/default/images/mail/header-bg.png) no-repeat scroll left top;} +#copyright {ldelim} background: transparent url({$ROOT_URL}themes/default/images/mail/footer-bg.png) no-repeat scroll left bottom; color: #69c;} -h2 {ldelim} background-color: #333;color:#fff48e;background-image: url({$ROOT_URL}template/{$themeconf.template}/themes/{$themeconf.theme}/images/tableh1_bg.png);} +h2 {ldelim} background-color: #333;color:#fff48e;background-image: url({$ROOT_URL}themes/{$themeconf.theme}/images/tableh1_bg.png);} img {ldelim} margin: 16px; border: 16px solid #111; -moz-border-radius: 4px; border-radius: 4px 4px; } img:hover {ldelim} padding: 15px; border: 1px solid yellow;background-color:#444;-moz-border-radius: 4px; border-radius: 4px 4px; } a {ldelim} color: #fff48e; background: transparent;border-bottom:1px dotted #005e89; } diff --git a/themes/default/images/index.php b/themes/default/images/index.php new file mode 100644 index 000000000..871b52b6a --- /dev/null +++ b/themes/default/images/index.php @@ -0,0 +1,30 @@ + diff --git a/themes/default/images/mail/footer-bg.png b/themes/default/images/mail/footer-bg.png new file mode 100644 index 000000000..fd3c2925f Binary files /dev/null and b/themes/default/images/mail/footer-bg.png differ diff --git a/themes/default/images/mail/header-bg.png b/themes/default/images/mail/header-bg.png new file mode 100644 index 000000000..1770a3ddc Binary files /dev/null and b/themes/default/images/mail/header-bg.png differ diff --git a/themes/default/images/mail/index.php b/themes/default/images/mail/index.php new file mode 100644 index 000000000..871b52b6a --- /dev/null +++ b/themes/default/images/mail/index.php @@ -0,0 +1,30 @@ + diff --git a/themes/default/images/mail/mailbody-bg.png b/themes/default/images/mail/mailbody-bg.png new file mode 100644 index 000000000..722a24f63 Binary files /dev/null and b/themes/default/images/mail/mailbody-bg.png differ diff --git a/themes/default/mail/index.php b/themes/default/mail/index.php deleted file mode 100644 index 871b52b6a..000000000 --- a/themes/default/mail/index.php +++ /dev/null @@ -1,30 +0,0 @@ - diff --git a/themes/default/mail/text/html/images/footer-bg.jpg b/themes/default/mail/text/html/images/footer-bg.jpg deleted file mode 100644 index 3d8a5eed2..000000000 Binary files a/themes/default/mail/text/html/images/footer-bg.jpg and /dev/null differ diff --git a/themes/default/mail/text/html/images/footer-bg.png b/themes/default/mail/text/html/images/footer-bg.png deleted file mode 100644 index fd3c2925f..000000000 Binary files a/themes/default/mail/text/html/images/footer-bg.png and /dev/null differ diff --git a/themes/default/mail/text/html/images/header-bg.png b/themes/default/mail/text/html/images/header-bg.png deleted file mode 100644 index 1770a3ddc..000000000 Binary files a/themes/default/mail/text/html/images/header-bg.png and /dev/null differ diff --git a/themes/default/mail/text/html/images/index.php b/themes/default/mail/text/html/images/index.php deleted file mode 100644 index 871b52b6a..000000000 --- a/themes/default/mail/text/html/images/index.php +++ /dev/null @@ -1,30 +0,0 @@ - diff --git a/themes/default/mail/text/html/images/mailbody-bg.png b/themes/default/mail/text/html/images/mailbody-bg.png deleted file mode 100644 index 722a24f63..000000000 Binary files a/themes/default/mail/text/html/images/mailbody-bg.png and /dev/null differ diff --git a/themes/default/mail/text/html/index.php b/themes/default/mail/text/html/index.php deleted file mode 100644 index 871b52b6a..000000000 --- a/themes/default/mail/text/html/index.php +++ /dev/null @@ -1,30 +0,0 @@ - diff --git a/themes/default/mail/text/index.php b/themes/default/mail/text/index.php deleted file mode 100644 index 871b52b6a..000000000 --- a/themes/default/mail/text/index.php +++ /dev/null @@ -1,30 +0,0 @@ - diff --git a/themes/default/mail/text/plain/index.php b/themes/default/mail/text/plain/index.php deleted file mode 100644 index 871b52b6a..000000000 --- a/themes/default/mail/text/plain/index.php +++ /dev/null @@ -1,30 +0,0 @@ - diff --git a/themes/default/template/mail/text/html/header.tpl b/themes/default/template/mail/text/html/header.tpl index 9ab46693c..e6af4c024 100644 --- a/themes/default/template/mail/text/html/header.tpl +++ b/themes/default/template/mail/text/html/header.tpl @@ -10,7 +10,6 @@ Content-Transfer-Encoding: 8bit diff --git a/themes/p0w0/mail-css.tpl b/themes/p0w0/mail-css.tpl index be4e4c22e..72d655ffa 100644 --- a/themes/p0w0/mail-css.tpl +++ b/themes/p0w0/mail-css.tpl @@ -1,11 +1,11 @@ /* Theme p0w0 mail css */ body {ldelim} background-color:#cde; color:#369;} -#the_page {ldelim} background: #cde url({$ROOT_URL}template/{$themeconf.template}/mail/text/html/images/mailbody-bg.png) repeat-y scroll left top;} -#content {ldelim} background: transparent url({$ROOT_URL}template/{$themeconf.template}/mail/text/html/images/header-bg.png) no-repeat scroll left top;} -#copyright {ldelim} background: transparent url({$ROOT_URL}template/{$themeconf.template}/mail/text/html/images/footer-bg.png) no-repeat scroll left bottom; +#the_page {ldelim} background: #cde url({$ROOT_URL}themes/default/images/mail/mailbody-bg.png) repeat-y scroll left top;} +#content {ldelim} background: transparent url({$ROOT_URL}themes/default/images/mail/header-bg.png) no-repeat scroll left top;} +#copyright {ldelim} background: transparent url({$ROOT_URL}themes/default/images/mail/footer-bg.png) no-repeat scroll left bottom; color: #69c;} -h2 {ldelim} color:#fff;background: #369 url({$ROOT_URL}template/{$themeconf.template}/themes/{$themeconf.theme}/images/button-bg.png);} +h2 {ldelim} color:#fff;background: #369 url({$ROOT_URL}themes/{$themeconf.theme}/images/button-bg.png);} img {ldelim} margin:16px;padding:15px;border:1px solid #69c;background-color:#eef;-moz-border-radius:4px; border-radius:4px 4px; } img:hover {ldelim} border: 1px solid #c60; -moz-border-radius:4px; border-radius:4px 4px; } a {ldelim} color: #f92; background: transparent; } diff --git a/themes/wipi/mail-css.tpl b/themes/wipi/mail-css.tpl index a8da286b3..6cbbede86 100644 --- a/themes/wipi/mail-css.tpl +++ b/themes/wipi/mail-css.tpl @@ -1,11 +1,11 @@ /* Theme wipi mail css */ body {ldelim} background-color:#111; color:#69c;} -#the_page {ldelim} background: #111 url({$ROOT_URL}template/{$themeconf.template}/mail/text/html/images/mailbody-bg.png) repeat-y scroll left top;} -#content {ldelim} background: transparent url({$ROOT_URL}template/{$themeconf.template}/mail/text/html/images/header-bg.png) no-repeat scroll left top;} -#copyright {ldelim} background: transparent url({$ROOT_URL}template/{$themeconf.template}/mail/text/html/images/footer-bg.png) no-repeat scroll left bottom; +#the_page {ldelim} background: #111 url({$ROOT_URL}themes/default/images/mail/mailbody-bg.png) repeat-y scroll left top;} +#content {ldelim} background: transparent url({$ROOT_URL}themes/default/images/mail/header-bg.png) no-repeat scroll left top;} +#copyright {ldelim} background: transparent url({$ROOT_URL}themes/default/images/mail/footer-bg.png) no-repeat scroll left bottom; color: #69c;} -h2 {ldelim} background-color: #222;color:#eee;background-image: url({$ROOT_URL}template/{$themeconf.template}/themes/{$themeconf.theme}/images/tableh1_bg.png);} +h2 {ldelim} background-color: #222;color:#eee;background-image: url({$ROOT_URL}themes/{$themeconf.theme}/images/tableh1_bg.png);} img {ldelim} margin: 16px; padding:15px;border:1px solid #eee; -moz-border-radius: 4px; border-radius: 4px 4px; } img:hover {ldelim} border:1px solid #69c; -moz-border-radius: 4px; border-radius: 4px 4px; } a {ldelim} color: #69c; background: transparent; } -- cgit v1.2.3