Changeset 2285


Ignore:
Timestamp:
Mar 19, 2008, 12:43:38 AM (16 years ago)
Author:
rvelices
Message:
  • smarty for more mail templates/css
Location:
trunk
Files:
11 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/include/functions_notification_by_mail.inc.php

    r2284 r2285  
    338338  set_make_full_url();
    339339
    340   $env_nbm['mail_template']->assign_vars
     340  $env_nbm['mail_template']->assign
    341341  (
    342342    array
     
    419419        $section_action_by = ($is_subscribe ? 'subscribe_by_' : 'unsubscribe_by_');
    420420        $section_action_by .= ($is_admin_request ? 'admin' : 'himself');
    421         $env_nbm['mail_template']->assign_block_vars
    422         (
    423           $section_action_by, array('DUMMY' => 'dummy')
    424         );
     421        $env_nbm['mail_template']->assign( $section_action_by, true );
    425422
    426423        if (pwg_mail
  • trunk/admin/notification_by_mail.php

    r2262 r2285  
    322322              assign_vars_nbm_mail_content($nbm_user);
    323323
    324               $end_punct = ($conf['nbm_send_detailed_content'] ? ':' : '.');
    325 
    326324              if (!is_null($nbm_user['last_send']))
    327325              {
    328                 $env_nbm['mail_template']->assign_block_vars
     326                $env_nbm['mail_template']->assign
    329327                (
    330328                  'content_new_elements_between',
     
    333331                    'DATE_BETWEEN_1' => $nbm_user['last_send'],
    334332                    'DATE_BETWEEN_2' => $dbnow,
    335                     'END_PUNCT' => $end_punct
    336333                  )
    337334                );
     
    339336              else
    340337              {
    341                 $env_nbm['mail_template']->assign_block_vars
     338                $env_nbm['mail_template']->assign
    342339                (
    343340                  'content_new_elements_single',
     
    345342                  (
    346343                    'DATE_SINGLE' => $dbnow,
    347                     'END_PUNCT' => $end_punct
    348344                  )
    349345                );
     
    352348              if ($conf['nbm_send_detailed_content'])
    353349              {
    354                 foreach ($news as $data)
    355                 {
    356                   $env_nbm['mail_template']->assign_block_vars
    357                   (
    358                     'global_new_line.new_line', array('DATA' => $data)
    359                   );
    360                 }
     350                $env_nbm['mail_template']->assign('global_new_lines', $news);
    361351              }
    362352
     
    366356              if (!empty($nbm_user_customize_mail_content))
    367357              {
    368                 $env_nbm['mail_template']->assign_block_vars
     358                $env_nbm['mail_template']->assign
    369359                (
    370                   'custom',
    371                   array('CUSTOMIZE_MAIL_CONTENT' =>
    372                     $nbm_user_customize_mail_content)
     360                  'custom_mail_content', $nbm_user_customize_mail_content
    373361                );
    374362              }
     
    380368                foreach ($recent_post_dates as $date_detail)
    381369                {
    382                   $env_nbm['mail_template']->assign_block_vars
     370                  $env_nbm['mail_template']->append
    383371                  (
    384                     'recent_post.recent_post_block',
     372                    'recent_posts',
    385373                    array
    386374                    (
     
    392380              }
    393381
    394               $env_nbm['mail_template']->assign_block_vars
     382              $env_nbm['mail_template']->assign
    395383              (
    396                 'goto',
    397384                array
    398385                (
    399                   'GALLERY_TITLE' => $conf['gallery_title'],
    400                   'GALLERY_URL' => $conf['gallery_url']
     386                  'GOTO_GALLERY_TITLE' => $conf['gallery_title'],
     387                  'GOTO_GALLERY_URL' => $conf['gallery_url'],
     388                  'SEND_AS_NAME'      => $env_nbm['send_as_name'],
    401389                )
    402               );
    403 
    404               $env_nbm['mail_template']->assign_block_vars
    405               (
    406                 'byebye', array('SEND_AS_NAME' => $env_nbm['send_as_name'])
    407390              );
    408391
  • trunk/include/template.class.php

    r2278 r2285  
    270270    if ( $this->smarty->_fetch_resource_info($params) )
    271271    {
    272       if (!preg_match('~{(/(if|section|foreach))|\$[a-zA-Z_]+}~', @$params['source_content']) )
     272      if (!preg_match('~{(/(if|section|foreach))|ldelim|\$[a-zA-Z_]+}~', @$params['source_content']) )
    273273        $is_new = false;
    274274    }
  • trunk/template/yoga/admin/default-layout.css

    r2243 r2285  
    1212
    1313TABLE.table2 TD, TABLE.table2 TH {
    14   padding: 4px 8px;
     14  padding: 0 0.8em;
    1515}
    1616
  • trunk/template/yoga/mail/text/html/admin/notification_by_mail.tpl

    r2222 r2285  
    1 <!-- DEV TAG: not smarty migrated -->
     1{* $Id$ *}
    22<div id="nbm_message">
    3 <h2>{lang:Notification}</h2>
    4 <p>{lang:nbm_content_hello_1}{USERNAME}{lang:nbm_content_hello_2}</p>
     3<h2>{'Notification'|@translate}</h2>
     4<p>{'nbm_content_hello_1'|@translate}{$USERNAME}{'nbm_content_hello_2'|@translate}</p>
    55
    6 <!-- BEGIN subscribe_by_admin -->
    7 <p>{lang:nbm_content_subscribe_by_admin}</p>
    8 <!-- END subscribe_by_admin -->
    9 <!-- BEGIN subscribe_by_himself -->
    10 <p>{lang:nbm_content_subscribe_by_himself}</p>
    11 <!-- END subscribe_by_himself -->
    12 <!-- BEGIN unsubscribe_by_admin -->
    13 <p>{lang:nbm_content_unsubscribe_by_admin}</p>
    14 <!-- END unsubscribe_by_admin -->
    15 <!-- BEGIN unsubscribe_by_himself -->
    16 <p>{lang:nbm_content_unsubscribe_by_himself}</p>
    17 <!-- END unsubscribe_by_himself -->
    18 <!-- BEGIN content_new_elements_single -->
    19 <p>{lang:nbm_content_new_elements}{lang:nbm_content_new_elements_single}{content_new_elements_single.DATE_SINGLE}{content_new_elements_single.END_PUNCT}</p>
    20 <!-- END content_new_elements_single -->
    21 <!-- BEGIN content_new_elements_between -->
    22 <p>{lang:nbm_content_new_elements}{lang:nbm_content_new_elements_between_1}{content_new_elements_between.DATE_BETWEEN_1}{lang:nbm_content_new_elements_between_2}{content_new_elements_between.DATE_BETWEEN_2}{content_new_elements_between.END_PUNCT}</p>
    23 <!-- END content_new_elements_between -->
    24 <!-- BEGIN global_new_line -->
     6{if isset($subscribe_by_admin)}
     7<p>{'nbm_content_subscribe_by_admin'|@translate}</p>
     8{/if}
     9{if isset($subscribe_by_himself)}
     10<p>{'nbm_content_subscribe_by_himself'|@translate}</p>
     11{/if}
     12{if isset($unsubscribe_by_admin)}
     13<p>{'nbm_content_unsubscribe_by_admin'|@translate}</p>
     14{/if}
     15{if isset($unsubscribe_by_himself)}
     16<p>{'nbm_content_unsubscribe_by_himself'|@translate}</p>
     17{/if}
     18{if isset($content_new_elements_single)}
     19<p>{'nbm_content_new_elements'|@translate}{'nbm_content_new_elements_single'|@translate}{$content_new_elements_single.DATE_SINGLE}.</p>
     20{/if}
     21{if isset($content_new_elements_between)}
     22<p>{'nbm_content_new_elements'|@translate}{'nbm_content_new_elements_between_1'|@translate}{$content_new_elements_between.DATE_BETWEEN_1}{'nbm_content_new_elements_between_2'|@translate}{$content_new_elements_between.DATE_BETWEEN_2}.</p>
     23{/if}
     24
     25{if not empty($global_new_lines)}
    2526<ul id="nbm_new_line">
    26   <!-- BEGIN new_line -->
    27   <li>{global_new_line.new_line.DATA}</li>
    28   <!-- END new_line -->
     27{foreach from=$global_new_lines item=line}
     28  <li>{$line}</li>
     29{/foreach}
    2930</ul>
    30 <!-- END global_new_line -->
    31 <!-- BEGIN custom -->
    32 <p>{custom.CUSTOMIZE_MAIL_CONTENT}</p>
    33 <!-- END custom -->
    34 <!-- BEGIN goto -->
    35 <p>{lang:nbm_content_goto_1}<a href="{goto.GALLERY_URL}">{goto.GALLERY_TITLE}</a>{lang:nbm_content_goto_2}</p>
    36 <!-- END goto -->
    37 <p>{lang:nbm_content_byebye}</p>
    38 <p ALIGN=center>{SEND_AS_NAME}</p>
     31{/if}
     32
     33{if not empty($custom_mail_content)}
     34<p>{$custom_mail_content}</p>
     35{/if}
     36
     37{if not empty($GOTO_GALLERY_TITLE)}
     38<p>{'nbm_content_goto_1'|@translate}<a href="{$GOTO_GALLERY_URL}">{$GOTO_GALLERY_TITLE}</a>{'nbm_content_goto_2'|@translate}</p>
     39{/if}
     40<p>{'nbm_content_byebye'|@translate}</p>
     41<p style="text-align:center">{$SEND_AS_NAME}</p>
    3942<p>
    40 <br/><hr>
    41 {lang:nbm_content_unsubscribe_link}{lang:nbm_content_click_on}<a href="{UNSUBSCRIBE_LINK}">{UNSUBSCRIBE_LINK}</a><br/>
    42 {lang:nbm_content_subscribe_link}{lang:nbm_content_click_on}<a href="{SUBSCRIBE_LINK}">{SUBSCRIBE_LINK}</a><br/>
    43 {lang:nbm_content_problem_contact}<a href="mailto:{CONTACT_EMAIL}?subject={lang:nbm_content_pb_contact_object}">{CONTACT_EMAIL}</a><br/>
    44 <hr><br/>
     43<br/><hr/>
     44{'nbm_content_unsubscribe_link'|@translate}{'nbm_content_click_on'|@translate}<a href="{$UNSUBSCRIBE_LINK}">{$UNSUBSCRIBE_LINK}</a><br/>
     45{'nbm_content_subscribe_link'|@translate}{'nbm_content_click_on'|@translate}<a href="{$SUBSCRIBE_LINK}">{$SUBSCRIBE_LINK}</a><br/>
     46{'nbm_content_problem_contact'|@translate}<a href="mailto:{$CONTACT_EMAIL}?subject={'nbm_content_pb_contact_object'|@translate}">{$CONTACT_EMAIL}</a><br/>
     47<hr/><br/>
    4548</p>
    46 <!-- BEGIN recent_post -->
     49{if not empty($recent_posts)}
    4750</div>
    4851<div id="nbm_recent_post">
    49   <!-- BEGIN recent_post_block -->
    50   <h2>{recent_post.recent_post_block.TITLE}</h2>
    51   {recent_post.recent_post_block.HTML_DATA}
    52   <!-- END recent_post_block -->
    53 <!-- END recent_post -->
     52  {foreach from=$recent_posts item=recent_post }
     53  <h2>{$recent_post.TITLE}</h2>
     54  {$recent_post.HTML_DATA}
     55  {/foreach}
     56{/if}
    5457</div>
  • trunk/template/yoga/mail/text/html/global-mail-css.tpl

    r2278 r2285  
    11{* $Id$ *}
    22/* Global mail css */
    3 /* Including like css style on HTML mail */
    43
    5 body {ldelim}background-color:#fff;font-family: Univers, Helvetica, Optima;font-size:12px; margin:0px;padding:0px; color:#369;}
    6 #the_page {ldelim}background: #fff url({$ROOT_URL}template/{$themeconf.template}/mail/text/html/images/mailbody-bg.png) repeat-y scroll left top;
    7 margin:0px;padding:0px;text-align: left;}
    8 #content {ldelim}background: transparent url({$ROOT_URL}template/{$themeconf.template}/mail/text/html/images/header-bg.png) no-repeat scroll left top;
    9 margin:0px;padding:82px 0px 0px 62px; width:732px;}
    10 hr {ldelim}width:632px;margin-left:0px;}
    11 #copyright {ldelim}background: transparent url({$ROOT_URL}template/{$themeconf.template}/mail/text/html/images/footer-bg.png) no-repeat scroll left bottom;
    12 color: #69c;font-size:10px;margin:0px;padding:98px 0px 62px 62px;}
    13 .PWG {ldelim}font-family: verdana, sans-serif !important; font-size: 0.9em; font-weight: normal; letter-spacing: 0px;}
    14 h2 {ldelim}background-color:#ddd;padding: 7px 15px; width:617px;font-weight:bold;}
    15 img {ldelim}margin: 16px; border: 16px solid #aaa; -moz-border-radius: 4px; border-radius: 4px 4px; }
    16 img:hover {ldelim}padding: 15px; border: 1px solid yellow; -moz-border-radius: 4px; border-radius: 4px 4px; }
    17 a {ldelim}color: #005e89; background: transparent; }
    18 a:hover {ldelim}color: #858460; text-decoration: none;}
     4body {ldelim} font-family: Univers, Helvetica, Optima; font-size:12px; margin:0px; padding:0px; }
     5#the_page {ldelim} margin:0px; padding:0px; text-align:left;}
     6#content {ldelim} margin:0px; padding:82px 0px 0px 62px; width:732px;}
     7hr {ldelim} width:632px; margin-left:0;}
     8#copyright {ldelim} font-size:10px; margin:0px; padding:48px 0px 32px 62px;}
     9.PWG {ldelim} font-family:verdana, sans-serif !important; font-size:0.9em; font-weight:normal; letter-spacing:0px;}
     10h2 {ldelim} padding:7px 15px; width:617px; font-weight:bold;}
     11img {ldelim} margin:16px; border:16px solid #aaa; -moz-border-radius: 4px; border-radius: 4px 4px; }
     12img:hover {ldelim} padding: 15px; border: 1px solid yellow; -moz-border-radius: 4px; border-radius: 4px 4px; }
  • trunk/template/yoga/mail/text/plain/admin/notification_by_mail.tpl

    r2222 r2285  
    1 <!-- DEV TAG: not smarty migrated -->
    2 {lang:nbm_content_hello_1}{USERNAME}{lang:nbm_content_hello_2}
     1{* $Id$ *}
     2{'nbm_content_hello_1'|@translate}{$USERNAME}{'nbm_content_hello_2'|@translate}
    33
    4 <!-- BEGIN subscribe_by_admin -->
    5 {lang:nbm_content_subscribe_by_admin}
    6 <!-- END subscribe_by_admin -->
    7 <!-- BEGIN subscribe_by_himself -->
    8 {lang:nbm_content_subscribe_by_himself}
    9 <!-- END subscribe_by_himself -->
    10 <!-- BEGIN unsubscribe_by_admin -->
    11 {lang:nbm_content_unsubscribe_by_admin}
    12 <!-- END unsubscribe_by_admin -->
    13 <!-- BEGIN unsubscribe_by_himself -->
    14 {lang:nbm_content_unsubscribe_by_himself}
    15 <!-- END unsubscribe_by_himself -->
    16 <!-- BEGIN content_new_elements_single -->
    17 {lang:nbm_content_new_elements}{lang:nbm_content_new_elements_single}{content_new_elements_single.DATE_SINGLE}{content_new_elements_single.END_PUNCT}
    18 <!-- END content_new_elements_single -->
    19 <!-- BEGIN content_new_elements_between -->
    20 {lang:nbm_content_new_elements}{lang:nbm_content_new_elements_between_1}{content_new_elements_between.DATE_BETWEEN_1}{lang:nbm_content_new_elements_between_2}{content_new_elements_between.DATE_BETWEEN_2}{content_new_elements_between.END_PUNCT}
    21 <!-- END content_new_elements_between -->
    22 <!-- BEGIN global_new_line -->
    23 <!-- BEGIN new_line -->
    24   o {global_new_line.new_line.DATA}
    25 <!-- END new_line -->
    26 <!-- END global_new_line -->
    27 <!-- BEGIN custom -->
     4{if isset($subscribe_by_admin)}
     5{'nbm_content_subscribe_by_admin'|@translate}
     6{/if}
     7{if isset($subscribe_by_himself)}
     8{'nbm_content_subscribe_by_himself'|@translate}
     9{/if}
     10{if isset($unsubscribe_by_admin)}
     11{'nbm_content_unsubscribe_by_admin'|@translate}
     12{/if}
     13{if isset($unsubscribe_by_himself)}
     14{'nbm_content_unsubscribe_by_himself'|@translate}
     15{/if}
     16{if isset($content_new_elements_single)}
     17{'nbm_content_new_elements'|@translate}{'nbm_content_new_elements_single'|@translate}{$content_new_elements_single.DATE_SINGLE}.
     18{/if}
     19{if isset($content_new_elements_between)}
     20{'nbm_content_new_elements'|@translate}{'nbm_content_new_elements_between_1'|@translate}{$content_new_elements_between.DATE_BETWEEN_1}{'nbm_content_new_elements_between_2'|@translate}{$content_new_elements_between.DATE_BETWEEN_2}.
     21{/if}
     22{if not empty($global_new_lines)}
     23{foreach from=$global_new_lines item=line}
     24  o {$line}
     25{/foreach}
     26{/if}
     27{if not empty($custom_mail_content)}
     28{$custom_mail_content}
     29{/if}
     30{if not empty($GOTO_GALLERY_TITLE)}
     31{'nbm_content_goto_1'|@translate}{$GOTO_GALLERY_TITLE} {$GOTO_GALLERY_URL} {'nbm_content_goto_2'|@translate}
     32{/if}
    2833
    29 {custom.CUSTOMIZE_MAIL_CONTENT}
    30 <!-- END custom -->
    31 <!-- BEGIN goto -->
    32 
    33 {lang:nbm_content_goto_1}{goto.GALLERY_TITLE} {goto.GALLERY_URL} {lang:nbm_content_goto_2}
    34 <!-- END goto -->
    35 
    36 {lang:nbm_content_byebye}
    37   {SEND_AS_NAME}
     34{'nbm_content_byebye'|@translate}
     35  {$SEND_AS_NAME}
    3836
    3937______________________________________________________________________________
    4038
    41 {lang:nbm_content_unsubscribe_link}{lang:nbm_content_click_on}{UNSUBSCRIBE_LINK}
    42 {lang:nbm_content_subscribe_link}{lang:nbm_content_click_on}{SUBSCRIBE_LINK}
    43 {lang:nbm_content_problem_contact}{CONTACT_EMAIL}
     39{'nbm_content_unsubscribe_link'|@translate}{'nbm_content_click_on'|@translate}{$UNSUBSCRIBE_LINK}
     40{'nbm_content_subscribe_link'|@translate}{'nbm_content_click_on'|@translate}{$SUBSCRIBE_LINK}
     41{'nbm_content_problem_contact'|@translate}{$CONTACT_EMAIL}
    4442______________________________________________________________________________
  • trunk/template/yoga/theme/clear/mail-css.tpl

    r2222 r2285  
    1 <!-- DEV TAG: not smarty migrated -->
    2 /* $Id$ */
    3 /* Theme mail css */
    4 /* Including like css style on HTML mail */
     1{* $Id$ *}
     2/* Theme clear mail css */
    53
    6 body{background-color:#fff; color:#696969;}
    7 #the_page {background: #fff url({pwg_root}template/{themeconf:template}/mail/text/html/images/mailbody-bg.png) repeat-y scroll left top;}
    8 #content {background: transparent url({pwg_root}template/{themeconf:template}/mail/text/html/images/header-bg.png) no-repeat scroll left top;}
    9 #copyright {background: transparent url({pwg_root}template/{themeconf:template}/mail/text/html/images/footer-bg.png) no-repeat scroll left bottom;
     4body {ldelim} background-color:#fff; color:#696969;}
     5#the_page {ldelim} background: #fff url({$ROOT_URL}template/{$themeconf.template}/mail/text/html/images/mailbody-bg.png) repeat-y scroll left top;}
     6#content {ldelim} background: transparent url({$ROOT_URL}template/{$themeconf.template}/mail/text/html/images/header-bg.png) no-repeat scroll left top;}
     7#copyright {ldelim} background: transparent url({$ROOT_URL}template/{$themeconf.template}/mail/text/html/images/footer-bg.png) no-repeat scroll left bottom;
    108color: #333;}
    11 h2 { background-color: #ddd;}
    12 img { margin: 16px; border: 16px solid #aaa; -moz-border-radius: 4px; border-radius: 4px 4px; }
    13 img:hover { padding: 15px; border: 1px solid yellow;background-color:#faebd7; -moz-border-radius: 4px; border-radius: 4px 4px; }
    14 a { color: #369; background: transparent; }
    15 a:hover { color: #ddd; }
     9h2 {ldelim} background-color: #ddd;}
     10img {ldelim} margin: 16px; border: 16px solid #aaa; -moz-border-radius: 4px; border-radius: 4px 4px; }
     11img:hover {ldelim} padding: 15px; border: 1px solid yellow;background-color:#faebd7; -moz-border-radius: 4px; border-radius: 4px 4px; }
     12a {ldelim} color: #369; background: transparent; }
     13a:hover {ldelim} color: #ddd; }
  • trunk/template/yoga/theme/dark/mail-css.tpl

    r2222 r2285  
    1 <!-- DEV TAG: not smarty migrated -->
    2 /* $Id$ */
    3 /* Theme mail css */
    4 /* Including like css style on HTML mail */
     1{* $Id$ *}
     2/* Theme dark mail css */
    53
    6 body{background-color:#444; color:#fff;}
    7 #the_page {background: #444 url({pwg_root}template/{themeconf:template}/mail/text/html/images/mailbody-bg.png) repeat-y scroll left top;}
    8 #content {background: transparent url({pwg_root}template/{themeconf:template}/mail/text/html/images/header-bg.png) no-repeat scroll left top;}
    9 #copyright {background: transparent url({pwg_root}template/{themeconf:template}/mail/text/html/images/footer-bg.png) no-repeat scroll left bottom;
     4body {ldelim} background-color:#444; color:#fff;}
     5#the_page {ldelim} background: #444 url({$ROOT_URL}template/{$themeconf.template}/mail/text/html/images/mailbody-bg.png) repeat-y scroll left top;}
     6#content {ldelim} background: transparent url({$ROOT_URL}template/{$themeconf.template}/mail/text/html/images/header-bg.png) no-repeat scroll left top;}
     7#copyright {ldelim} background: transparent url({$ROOT_URL}template/{$themeconf.template}/mail/text/html/images/footer-bg.png) no-repeat scroll left bottom;
    108color: #69c;}
    11 h2 { background-color: #333;color:#fff48e;background-image: url({pwg_root}template/{themeconf:template}/theme/{themeconf:theme}/images/tableh1_bg.png);}
    12 img { margin: 16px; border: 16px solid #111; -moz-border-radius: 4px; border-radius: 4px 4px; }
    13 img:hover { padding: 15px; border: 1px solid yellow;background-color:#444;-moz-border-radius: 4px; border-radius: 4px 4px; }
    14 a { color: #fff48e; background: transparent;border-bottom:1px dotted #005e89; }
    15 a:hover {color: #fff48e;}
     9h2 {ldelim} background-color: #333;color:#fff48e;background-image: url({$ROOT_URL}template/{$themeconf.template}/theme/{$themeconf.theme}/images/tableh1_bg.png);}
     10img {ldelim} margin: 16px; border: 16px solid #111; -moz-border-radius: 4px; border-radius: 4px 4px; }
     11img:hover {ldelim} padding: 15px; border: 1px solid yellow;background-color:#444;-moz-border-radius: 4px; border-radius: 4px 4px; }
     12a {ldelim} color: #fff48e; background: transparent;border-bottom:1px dotted #005e89; }
     13a:hover {ldelim} color: #fff48e;}
  • trunk/template/yoga/theme/p0w0/mail-css.tpl

    r2222 r2285  
    1 <!-- DEV TAG: not smarty migrated -->
    2 /* $Id$ */
    3 /* Theme mail css */
    4 /* Including like css style on HTML mail */
     1{* $Id$ *}
     2/* Theme p0w0 mail css */
    53
    6 body{background-color:#cde; color:#369;}
    7 #the_page {background: #cde url({pwg_root}template/{themeconf:template}/mail/text/html/images/mailbody-bg.png) repeat-y scroll left top;}
    8 #content {background: transparent url({pwg_root}template/{themeconf:template}/mail/text/html/images/header-bg.png) no-repeat scroll left top;}
    9 #copyright {background: transparent url({pwg_root}template/{themeconf:template}/mail/text/html/images/footer-bg.png) no-repeat scroll left bottom;
     4body {ldelim} background-color:#cde; color:#369;}
     5#the_page {ldelim} background: #cde url({$ROOT_URL}template/{$themeconf.template}/mail/text/html/images/mailbody-bg.png) repeat-y scroll left top;}
     6#content {ldelim} background: transparent url({$ROOT_URL}template/{$themeconf.template}/mail/text/html/images/header-bg.png) no-repeat scroll left top;}
     7#copyright {ldelim} background: transparent url({$ROOT_URL}template/{$themeconf.template}/mail/text/html/images/footer-bg.png) no-repeat scroll left bottom;
    108color: #69c;}
    11 h2 {color:#fff;background: #369 url({pwg_root}template/{themeconf:template}/theme/{themeconf:theme}/images/button-bg.png);}
    12 img { margin:16px;padding:15px;border:1px solid #69c;background-color:#eef;-moz-border-radius:4px; border-radius:4px 4px; }
    13 img:hover {border: 1px solid #c60; -moz-border-radius:4px; border-radius:4px 4px; }
    14 a { color: #f92; background: transparent; }
     9h2 {ldelim} color:#fff;background: #369 url({$ROOT_URL}template/{$themeconf.template}/theme/{$themeconf.theme}/images/button-bg.png);}
     10img {ldelim} margin:16px;padding:15px;border:1px solid #69c;background-color:#eef;-moz-border-radius:4px; border-radius:4px 4px; }
     11img:hover {ldelim} border: 1px solid #c60; -moz-border-radius:4px; border-radius:4px 4px; }
     12a {ldelim} color: #f92; background: transparent; }
  • trunk/template/yoga/theme/wipi/mail-css.tpl

    r2222 r2285  
    1 <!-- DEV TAG: not smarty migrated -->
    2 /* $Id$ */
    3 /* Theme mail css */
    4 /* Including like css style on HTML mail */
     1{* $Id$ *}
     2/* Theme wipi mail css */
    53
    6 body{background-color:#111; color:#69c;}
    7 #the_page {background: #111 url({pwg_root}template/{themeconf:template}/mail/text/html/images/mailbody-bg.png) repeat-y scroll left top;}
    8 #content {background: transparent url({pwg_root}template/{themeconf:template}/mail/text/html/images/header-bg.png) no-repeat scroll left top;}
    9 #copyright {background: transparent url({pwg_root}template/{themeconf:template}/mail/text/html/images/footer-bg.png) no-repeat scroll left bottom;
     4body {ldelim} background-color:#111; color:#69c;}
     5#the_page {ldelim} background: #111 url({$ROOT_URL}template/{$themeconf.template}/mail/text/html/images/mailbody-bg.png) repeat-y scroll left top;}
     6#content {ldelim} background: transparent url({$ROOT_URL}template/{$themeconf.template}/mail/text/html/images/header-bg.png) no-repeat scroll left top;}
     7#copyright {ldelim} background: transparent url({$ROOT_URL}template/{$themeconf.template}/mail/text/html/images/footer-bg.png) no-repeat scroll left bottom;
    108color: #69c;}
    11 h2 { background-color: #222;color:#eee;background-image: url({pwg_root}template/{themeconf:template}/theme/{themeconf:theme}/images/tableh1_bg.png);}
    12 img { margin: 16px; padding:15px;border:1px solid #eee; -moz-border-radius: 4px; border-radius: 4px 4px; }
    13 img:hover {border:1px solid #69c; -moz-border-radius: 4px; border-radius: 4px 4px; }
    14 a { color: #69c; background: transparent; }
    15 a:hover { color: #f92; }
    16 a.PWG { border: 0px; }
    17 a.PWG .P { color : #f92; }
    18 a.PWG .W { color : #aaa; }
    19 a.PWG .G { color : #69c; }
    20 a.PWG:hover .P { color : #69c; }
    21 a.PWG:hover .G { color : #f92; }
     9h2 {ldelim} background-color: #222;color:#eee;background-image: url({$ROOT_URL}template/{$themeconf.template}/theme/{$themeconf.theme}/images/tableh1_bg.png);}
     10img {ldelim} margin: 16px; padding:15px;border:1px solid #eee; -moz-border-radius: 4px; border-radius: 4px 4px; }
     11img:hover {ldelim} border:1px solid #69c; -moz-border-radius: 4px; border-radius: 4px 4px; }
     12a {ldelim} color: #69c; background: transparent; }
     13a:hover {ldelim} color: #f92; }
     14a.PWG {ldelim} border: 0px; }
     15a.PWG .P {ldelim} color : #f92; }
     16a.PWG .W {ldelim} color : #aaa; }
     17a.PWG .G {ldelim} color : #69c; }
     18a.PWG:hover .P {ldelim} color : #69c; }
     19a.PWG:hover .G {ldelim} color : #f92; }
Note: See TracChangeset for help on using the changeset viewer.