Changeset 865 in ExiteCMS for modules/common/newsletters/php-files/modules/newsletters/newsletters.php
- Timestamp:
- 10/03/07 21:40:33 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/common/newsletters/php-files/modules/newsletters/newsletters.php
r836 r865 315 315 $content = str_replace("{:DATE:D:}", "<span style='font-family:monospace;color:red;font-size:12px'>".showdate('%d-%m-%Y')."</span>", $content); 316 316 $content = str_replace("{:DATE:T:}", "<span style='font-family:monospace;color:red;font-size:12px'>".showdate('%T')."</span>", $content); 317 $variables['html'] = str_replace("{:DATE:}", "<span style='font-family:monospace;color:red;font-size:12px'>".showdate('shortdate')."</span>", $content); 317 $content = str_replace("{:DATE:}", "<span style='font-family:monospace;color:red;font-size:12px'>".showdate('shortdate')."</span>", $content); 318 // convert &, htmlentities is way to strict for this! 319 $variables['html'] = str_replace('&', '&', str_replace('&', '&', $content)); 320 318 321 $template_panels[] = array('type' => 'body', 'title' => $subject, 'name' => 'modules.newsletters.preview', 'template' => '_custom_html.tpl'); 319 322 $template_variables['modules.newsletters.preview'] = $variables;
Note: See TracChangeset
for help on using the changeset viewer.
