11 $res .=
'<div class="mailinglist_archive_form">';
12 $res .= drupal_render_children($vars[
'element']);
22 $res .=
'<div class="mailinglist_archive_form_header">';
23 $res .= drupal_render_children($vars[
'element']);
32 hide($vars[
'element'][
'url']);
33 $url = $vars[
'element'][
'url'][
'#item'];
35 $res .= date(
'Y-m-d H:i:s', (
int)$vars[
'element'][
'#date']);
37 $res .= l(drupal_render($vars[
'element'][
'subject']), $url);
39 $res .= drupal_render($vars[
'element'][
'name']);
41 $res .= drupal_render($vars[
'element'][
'email']);
44 $res .= drupal_render_children($vars[
'element']);
52 $types = array(
'disc',
'circle',
'square');
53 $element = &$vars[
'element'];
54 if(isset($element[
'#level'])) {
55 $level = $element[
'#level'];
61 $ulstyle = $types[$level%3];
63 if(count($element[
'items']) > 0) {
64 $res .=
"\n" .
'<ul class="ul-level-' . $level .
'">';
65 foreach($element[
'items'] as $key => &$item) {
67 $res .=
"\n" .
' <li>';
68 $res .= drupal_render($item);
72 $res .=
"\n" .
'</ul>';
74 $res .= drupal_render_children($vars[
'element']);
82 $element = &$vars[
'element'];
84 $res .=
'<div class="mailinglist_message">';
85 if(isset($element[
'reply_to'])){
86 $res .= t(
'Reply To:');
87 $res .= drupal_render($element[
'reply_to']);
89 $res .=
'<div class="mailinglist_message_header">';
90 $res .=
'Date: ' . date(
'M d, Y h:i:s a', $element[
'#date']);
91 $res .=
'<br>Subject: ' . drupal_render($element[
'subject']);
92 $res .=
'<br>From: ' . drupal_render($element[
'name']);
94 $res .= drupal_render($element[
'email']);
97 $res .=
'<br><br>' . drupal_render($element[
'body']);
98 if(isset($element[
'replies'])){
99 $res .= t(
'Replies:');
100 $res .= drupal_render($element[
'replies']);
103 $res .= drupal_render_children($element);
115 $res .= nl2br(check_plain($vars[
'element'][
'#item']));
116 $res .= drupal_render_children($vars[
'element']);
theme_mailinglist_message(&$vars)
theme_mailinglist_summary(&$vars)
theme_mailinglist_thread(&$vars)
theme_mailinglist_archive_form_header(&$vars)
theme_mailinglist_body(&$vars)
theme_mailinglist_archive_form(&$vars)