updates user events, and notifications
Showing
2 changed files
with
8 additions
and
2 deletions
| ... | @@ -92,12 +92,18 @@ function print_user_notices($show_more = true) { | ... | @@ -92,12 +92,18 @@ function print_user_notices($show_more = true) { |
| 92 | } else { | 92 | } else { |
| 93 | $rows .= '<td width="12" style="padding:0;padding-left:10px;vertical-align:middle;"><img src="assets/images/blank.gif" width="12" height="12" /></td>'; | 93 | $rows .= '<td width="12" style="padding:0;padding-left:10px;vertical-align:middle;"><img src="assets/images/blank.gif" width="12" height="12" /></td>'; |
| 94 | } | 94 | } |
| 95 | /* | ||
| 95 | if($system['system_message_type']=="none"): | 96 | if($system['system_message_type']=="none"): |
| 96 | $rows .= '<td colspan="2" style="vertical-align:middle;">'.nl2br($content).'<br /><span class="legal">Sent: '.date("M j, Y @ h:ia",$notices[$i]['sent_date']).'</span></td>'; | 97 | $rows .= '<td colspan="2" style="vertical-align:middle;">'.nl2br($content).'<br /><span class="legal">Sent: '.date("M j, Y @ h:ia",$notices[$i]['sent_date']).'</span></td>'; |
| 97 | else: | 98 | else: |
| 99 | */ | ||
| 100 | if ($system['system_message_type'] == "none") { | ||
| 101 | $system['system_message_type'] = "notice"; | ||
| 102 | } | ||
| 103 | |||
| 98 | $rows .= '<td width="80" style="vertical-align:middle;"><span>'.ucfirst(str_replace("_"," ",$system['system_message_type'])).'</span></td>'; | 104 | $rows .= '<td width="80" style="vertical-align:middle;"><span>'.ucfirst(str_replace("_"," ",$system['system_message_type'])).'</span></td>'; |
| 99 | $rows .= '<td style="vertical-align:middle;">'.nl2br($content).'<br /><span class="legal">Sent: '.date("M j, Y @ h:ia",$notices[$i]['sent_date']).'</span></td>'; | 105 | $rows .= '<td style="vertical-align:middle;">'.nl2br($content).'<br /><span class="legal">Sent: '.date("M j, Y @ h:ia",$notices[$i]['sent_date']).'</span></td>'; |
| 100 | endif; | 106 | /*endif;*/ |
| 101 | $rows .= '</tr>'; | 107 | $rows .= '</tr>'; |
| 102 | $last_id = $i; | 108 | $last_id = $i; |
| 103 | 109 | ... | ... |
| ... | @@ -106,7 +106,7 @@ $posts = query_posts(Array( | ... | @@ -106,7 +106,7 @@ $posts = query_posts(Array( |
| 106 | 106 | ||
| 107 | if (isset($event_term_slugs['webinar'])) { | 107 | if (isset($event_term_slugs['webinar'])) { |
| 108 | $is_archived = get_post_meta($post->ID, 'is_archived_webinar', true); | 108 | $is_archived = get_post_meta($post->ID, 'is_archived_webinar', true); |
| 109 | if (!$is_archived == "on") { continue; } | 109 | /*if (!$is_archived == "on") { continue; }*/ |
| 110 | } else { | 110 | } else { |
| 111 | 111 | ||
| 112 | if ($event_date <= (time() + (60*60*24)) ) { | 112 | if ($event_date <= (time() + (60*60*24)) ) { | ... | ... |
-
Please register or sign in to post a comment