From a6437b81e68d5b14ded9cd2eaed7f134999ab794 Mon Sep 17 00:00:00 2001 From: rvelices Date: Thu, 13 Mar 2008 01:43:45 +0000 Subject: - changes to template to accomodate nbm (solved issue when we had same template filename with different root dirs) - started some changes in mail templates git-svn-id: http://piwigo.org/svn/trunk@2278 68402e56-0260-453c-a942-63ccdbb3a9ee --- .../yoga/mail/text/html/admin/cat_group_info.tpl | 14 ++++++------ template/yoga/mail/text/html/footer.tpl | 16 +++++++------- template/yoga/mail/text/html/global-mail-css.tpl | 25 +++++++++++----------- template/yoga/mail/text/html/header.tpl | 16 +++++++------- .../yoga/mail/text/plain/admin/cat_group_info.tpl | 12 +++++------ template/yoga/mail/text/plain/footer.tpl | 4 ++-- template/yoga/mail/text/plain/header.tpl | 6 +++--- 7 files changed, 46 insertions(+), 47 deletions(-) (limited to 'template/yoga/mail/text') diff --git a/template/yoga/mail/text/html/admin/cat_group_info.tpl b/template/yoga/mail/text/html/admin/cat_group_info.tpl index 8d744746c..2c8c45d6a 100644 --- a/template/yoga/mail/text/html/admin/cat_group_info.tpl +++ b/template/yoga/mail/text/html/admin/cat_group_info.tpl @@ -1,9 +1,9 @@ - +{* $Id$ *}
-

{lang:Informations}

-

{IMG_URL}

-

{lang:Hello,}

-

{lang:Come to discover the category:} {CAT_NAME}

-

{CPL_CONTENT}

-

{lang:See you soon.}

+

{'Informations'|@translate}

+

{$IMG_URL}

+

{'Hello,'|@translate}

+

{'Come to discover the category:'|@translate} {$CAT_NAME}

+

{$CPL_CONTENT}

+

{'See you soon.'|@translate}

diff --git a/template/yoga/mail/text/html/footer.tpl b/template/yoga/mail/text/html/footer.tpl index 50b661486..0b627bc00 100644 --- a/template/yoga/mail/text/html/footer.tpl +++ b/template/yoga/mail/text/html/footer.tpl @@ -1,17 +1,17 @@ - +{* $Id$ *} diff --git a/template/yoga/mail/text/html/global-mail-css.tpl b/template/yoga/mail/text/html/global-mail-css.tpl index f3c59f1e5..c47505e66 100644 --- a/template/yoga/mail/text/html/global-mail-css.tpl +++ b/template/yoga/mail/text/html/global-mail-css.tpl @@ -1,19 +1,18 @@ - -/* $Id$ */ +{* $Id$ *} /* Global mail css */ /* Including like css style on HTML mail */ -body{background-color:#fff;font-family: Univers, Helvetica, Optima;font-size:12px; margin:0px;padding:0px; color:#369;} -#the_page {background: #fff url({pwg_root}template/{themeconf:template}/mail/text/html/images/mailbody-bg.png) repeat-y scroll left top; +body {ldelim}background-color:#fff;font-family: Univers, Helvetica, Optima;font-size:12px; margin:0px;padding:0px; color:#369;} +#the_page {ldelim}background: #fff url({$ROOT_URL}template/{$themeconf.template}/mail/text/html/images/mailbody-bg.png) repeat-y scroll left top; margin:0px;padding:0px;text-align: left;} -#content {background: transparent url({pwg_root}template/{themeconf:template}/mail/text/html/images/header-bg.png) no-repeat 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; margin:0px;padding:82px 0px 0px 62px; width:732px;} -hr {width:632px;margin-left:0px;} -#copyright {background: transparent url({pwg_root}template/{themeconf:template}/mail/text/html/images/footer-bg.png) no-repeat scroll left bottom; +hr {ldelim}width:632px;margin-left:0px;} +#copyright {ldelim}background: transparent url({$ROOT_URL}template/{$themeconf.template}/mail/text/html/images/footer-bg.png) no-repeat scroll left bottom; color: #69c;font-size:10px;margin:0px;padding:98px 0px 62px 62px;} -.PWG {font-family: verdana, sans-serif !important; font-size: 0.9em; font-weight: normal; letter-spacing: 0px;} -h2 { background-color:#ddd;padding: 7px 15px; width:617px;font-weight:bold;} -img { margin: 16px; border: 16px solid #aaa; -moz-border-radius: 4px; border-radius: 4px 4px; } -img:hover { padding: 15px; border: 1px solid yellow; -moz-border-radius: 4px; border-radius: 4px 4px; } -a { color: #005e89; background: transparent; } -a:hover { color: #858460; text-decoration: none;} +.PWG {ldelim}font-family: verdana, sans-serif !important; font-size: 0.9em; font-weight: normal; letter-spacing: 0px;} +h2 {ldelim}background-color:#ddd;padding: 7px 15px; width:617px;font-weight:bold;} +img {ldelim}margin: 16px; border: 16px solid #aaa; -moz-border-radius: 4px; border-radius: 4px 4px; } +img:hover {ldelim}padding: 15px; border: 1px solid yellow; -moz-border-radius: 4px; border-radius: 4px 4px; } +a {ldelim}color: #005e89; background: transparent; } +a:hover {ldelim}color: #858460; text-decoration: none;} diff --git a/template/yoga/mail/text/html/header.tpl b/template/yoga/mail/text/html/header.tpl index 63ccbe327..598e25c62 100644 --- a/template/yoga/mail/text/html/header.tpl +++ b/template/yoga/mail/text/html/header.tpl @@ -1,17 +1,17 @@ - ------={BOUNDARY_KEY} -Content-Type: {CONTENT_TYPE}; charset="{CONTENT_ENCODING}"; +{* $Id$ *} +-----={$BOUNDARY_KEY} +Content-Type: {$CONTENT_TYPE}; charset="{$CONTENT_ENCODING}"; Content-Transfer-Encoding: 8bit - + PhpWebGallery Mail - + diff --git a/template/yoga/mail/text/plain/admin/cat_group_info.tpl b/template/yoga/mail/text/plain/admin/cat_group_info.tpl index c6df0aac9..d91c0ebcc 100644 --- a/template/yoga/mail/text/plain/admin/cat_group_info.tpl +++ b/template/yoga/mail/text/plain/admin/cat_group_info.tpl @@ -1,9 +1,9 @@ - -{lang:Hello,} +{* $Id$ *} +{'Hello,'|@translate} -{lang:Come to discover the category:} {CAT_NAME} -{LINK} +{'Come to discover the category:'|@translate} {$CAT_NAME} +{$LINK} -{CPL_CONTENT} +{$CPL_CONTENT} -{lang:See you soon.} \ No newline at end of file +{'See you soon.'|@translate} diff --git a/template/yoga/mail/text/plain/footer.tpl b/template/yoga/mail/text/plain/footer.tpl index b3e48bc30..cb740c96a 100644 --- a/template/yoga/mail/text/plain/footer.tpl +++ b/template/yoga/mail/text/plain/footer.tpl @@ -1,4 +1,4 @@ - +{* $Id$ *} ------------------------ -PhpWebGallery {VERSION} +PhpWebGallery {$VERSION} diff --git a/template/yoga/mail/text/plain/header.tpl b/template/yoga/mail/text/plain/header.tpl index 2b710b439..7471010c9 100644 --- a/template/yoga/mail/text/plain/header.tpl +++ b/template/yoga/mail/text/plain/header.tpl @@ -1,4 +1,4 @@ - ------={BOUNDARY_KEY} -Content-Type: {CONTENT_TYPE}; charset="{CONTENT_ENCODING}"; +{* $Id$ *} +-----={$BOUNDARY_KEY} +Content-Type: {$CONTENT_TYPE}; charset="{$CONTENT_ENCODING}"; Content-Transfer-Encoding: 8bit -- cgit v1.2.3