Changeset 2285
- Timestamp:
- Mar 19, 2008, 12:43:38 AM (16 years ago)
- Location:
- trunk
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/include/functions_notification_by_mail.inc.php
r2284 r2285 338 338 set_make_full_url(); 339 339 340 $env_nbm['mail_template']->assign _vars340 $env_nbm['mail_template']->assign 341 341 ( 342 342 array … … 419 419 $section_action_by = ($is_subscribe ? 'subscribe_by_' : 'unsubscribe_by_'); 420 420 $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 ); 425 422 426 423 if (pwg_mail -
trunk/admin/notification_by_mail.php
r2262 r2285 322 322 assign_vars_nbm_mail_content($nbm_user); 323 323 324 $end_punct = ($conf['nbm_send_detailed_content'] ? ':' : '.');325 326 324 if (!is_null($nbm_user['last_send'])) 327 325 { 328 $env_nbm['mail_template']->assign _block_vars326 $env_nbm['mail_template']->assign 329 327 ( 330 328 'content_new_elements_between', … … 333 331 'DATE_BETWEEN_1' => $nbm_user['last_send'], 334 332 'DATE_BETWEEN_2' => $dbnow, 335 'END_PUNCT' => $end_punct336 333 ) 337 334 ); … … 339 336 else 340 337 { 341 $env_nbm['mail_template']->assign _block_vars338 $env_nbm['mail_template']->assign 342 339 ( 343 340 'content_new_elements_single', … … 345 342 ( 346 343 'DATE_SINGLE' => $dbnow, 347 'END_PUNCT' => $end_punct348 344 ) 349 345 ); … … 352 348 if ($conf['nbm_send_detailed_content']) 353 349 { 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); 361 351 } 362 352 … … 366 356 if (!empty($nbm_user_customize_mail_content)) 367 357 { 368 $env_nbm['mail_template']->assign _block_vars358 $env_nbm['mail_template']->assign 369 359 ( 370 'custom', 371 array('CUSTOMIZE_MAIL_CONTENT' => 372 $nbm_user_customize_mail_content) 360 'custom_mail_content', $nbm_user_customize_mail_content 373 361 ); 374 362 } … … 380 368 foreach ($recent_post_dates as $date_detail) 381 369 { 382 $env_nbm['mail_template']->a ssign_block_vars370 $env_nbm['mail_template']->append 383 371 ( 384 'recent_post .recent_post_block',372 'recent_posts', 385 373 array 386 374 ( … … 392 380 } 393 381 394 $env_nbm['mail_template']->assign _block_vars382 $env_nbm['mail_template']->assign 395 383 ( 396 'goto',397 384 array 398 385 ( 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'], 401 389 ) 402 );403 404 $env_nbm['mail_template']->assign_block_vars405 (406 'byebye', array('SEND_AS_NAME' => $env_nbm['send_as_name'])407 390 ); 408 391 -
trunk/include/template.class.php
r2278 r2285 270 270 if ( $this->smarty->_fetch_resource_info($params) ) 271 271 { 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']) ) 273 273 $is_new = false; 274 274 } -
trunk/template/yoga/admin/default-layout.css
r2243 r2285 12 12 13 13 TABLE.table2 TD, TABLE.table2 TH { 14 padding: 4px 8px;14 padding: 0 0.8em; 15 15 } 16 16 -
trunk/template/yoga/mail/text/html/admin/notification_by_mail.tpl
r2222 r2285 1 <!-- DEV TAG: not smarty migrated --> 1 {* $Id$ *} 2 2 <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> 5 5 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)} 25 26 <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} 29 30 </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> 39 42 <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/> 45 48 </p> 46 <!-- BEGIN recent_post --> 49 {if not empty($recent_posts)} 47 50 </div> 48 51 <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} 54 57 </div> -
trunk/template/yoga/mail/text/html/global-mail-css.tpl
r2278 r2285 1 1 {* $Id$ *} 2 2 /* Global mail css */ 3 /* Including like css style on HTML mail */4 3 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;} 4 body {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;} 7 hr {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;} 10 h2 {ldelim} padding:7px 15px; width:617px; font-weight:bold;} 11 img {ldelim} margin:16px; border:16px solid #aaa; -moz-border-radius: 4px; border-radius: 4px 4px; } 12 img: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} 3 3 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} 28 33 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} 38 36 39 37 ______________________________________________________________________________ 40 38 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} 44 42 ______________________________________________________________________________ -
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 */ 5 3 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;4 body {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; 10 8 color: #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; }9 h2 {ldelim} background-color: #ddd;} 10 img {ldelim} margin: 16px; border: 16px solid #aaa; -moz-border-radius: 4px; border-radius: 4px 4px; } 11 img:hover {ldelim} padding: 15px; border: 1px solid yellow;background-color:#faebd7; -moz-border-radius: 4px; border-radius: 4px 4px; } 12 a {ldelim} color: #369; background: transparent; } 13 a: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 */ 5 3 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;4 body {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; 10 8 color: #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;}9 h2 {ldelim} background-color: #333;color:#fff48e;background-image: url({$ROOT_URL}template/{$themeconf.template}/theme/{$themeconf.theme}/images/tableh1_bg.png);} 10 img {ldelim} margin: 16px; border: 16px solid #111; -moz-border-radius: 4px; border-radius: 4px 4px; } 11 img:hover {ldelim} padding: 15px; border: 1px solid yellow;background-color:#444;-moz-border-radius: 4px; border-radius: 4px 4px; } 12 a {ldelim} color: #fff48e; background: transparent;border-bottom:1px dotted #005e89; } 13 a: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 */ 5 3 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;4 body {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; 10 8 color: #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; }9 h2 {ldelim} color:#fff;background: #369 url({$ROOT_URL}template/{$themeconf.template}/theme/{$themeconf.theme}/images/button-bg.png);} 10 img {ldelim} margin:16px;padding:15px;border:1px solid #69c;background-color:#eef;-moz-border-radius:4px; border-radius:4px 4px; } 11 img:hover {ldelim} border: 1px solid #c60; -moz-border-radius:4px; border-radius:4px 4px; } 12 a {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 */ 5 3 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;4 body {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; 10 8 color: #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; }9 h2 {ldelim} background-color: #222;color:#eee;background-image: url({$ROOT_URL}template/{$themeconf.template}/theme/{$themeconf.theme}/images/tableh1_bg.png);} 10 img {ldelim} margin: 16px; padding:15px;border:1px solid #eee; -moz-border-radius: 4px; border-radius: 4px 4px; } 11 img:hover {ldelim} border:1px solid #69c; -moz-border-radius: 4px; border-radius: 4px 4px; } 12 a {ldelim} color: #69c; background: transparent; } 13 a:hover {ldelim} color: #f92; } 14 a.PWG {ldelim} border: 0px; } 15 a.PWG .P {ldelim} color : #f92; } 16 a.PWG .W {ldelim} color : #aaa; } 17 a.PWG .G {ldelim} color : #69c; } 18 a.PWG:hover .P {ldelim} color : #69c; } 19 a.PWG:hover .G {ldelim} color : #f92; }
Note: See TracChangeset
for help on using the changeset viewer.