' . l($vars['logo'] . ' ' . $vars['site_name'], 'forward/emailref', array('absolute' => TRUE, 'query' => 'path=' . $vars['path'], 'html' => TRUE)) . '

' . $vars['forward_message']; if ($vars['message']) { $output .= '

' . t('Message from Sender') . ':

' . $vars['message'] . '

'; } $output .= '

' . l($vars['content']->title, 'forward/emailref', array('absolute' => TRUE, 'query' => 'path=' . $vars['path'])) . '

'; if (theme_get_setting('toggle_node_info_' . $vars['content']->type)) { $output .= '

' . t('by %author', array('%author' => $vars['content']->name)) . '

'; } $output .= '
' . $vars['content']->teaser . '

' . l(t('Click here to read more on our site'), 'forward/emailref', array('absolute' => TRUE, 'query' => 'path=' . $vars['path'])) . '

'; $output .= '
' . $vars['dynamic_content'] . '
' . $vars['forward_ad_footer'] . '
' . $vars['forward_footer'] . '
'; return $output; } /** * Format the e-postcards * * @param vars * An array of email variables */ function theme_forward_postcard($variables) { $vars = $variables['vars']; $output = '

' . l($vars['logo'] . ' ' . $vars['site_name'], 'forward/emailref', array('absolute' => TRUE, 'query' => 'path=' . variable_get('site_frontpage', 'node'), 'html' => TRUE)) . '

' . $vars['forward_message']; if ($vars['message']) { $output .= '

' . t('Message from Sender') . ':

' . $vars['message'] . '

'; } $output .= '

' . l(t('Click here to read more on our site'), 'forward/emailref', array('absolute' => TRUE, 'query' => 'path=' . variable_get('site_frontpage', 'node'))) . '

'; $output .= '
' . $vars['dynamic_content'] . '
' . $vars['forward_ad_footer'] . '
' . $vars['forward_footer'] . '
'; return $output; }