Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Tenzing
/
Tz Tools
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
f089281b
authored
2011-03-13 23:31:35 +0000
by
Kevin Burton
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
updates user events, and notifications
1 parent
5f4155a1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
com/Notifications/Notifications.php
com/UserManager/views/edit_user_events.php
com/Notifications/Notifications.php
View file @
f089281
...
...
@@ -92,12 +92,18 @@ function print_user_notices($show_more = true) {
}
else
{
$rows
.=
'<td width="12" style="padding:0;padding-left:10px;vertical-align:middle;"><img src="assets/images/blank.gif" width="12" height="12" /></td>'
;
}
/*
if($system['system_message_type']=="none"):
$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>';
else:
*/
if
(
$system
[
'system_message_type'
]
==
"none"
)
{
$system
[
'system_message_type'
]
=
"notice"
;
}
$rows
.=
'<td width="80" style="vertical-align:middle;"><span>'
.
ucfirst
(
str_replace
(
"_"
,
" "
,
$system
[
'system_message_type'
]))
.
'</span></td>'
;
$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>'
;
endif
;
/*endif;*/
$rows
.=
'</tr>'
;
$last_id
=
$i
;
...
...
com/UserManager/views/edit_user_events.php
View file @
f089281
...
...
@@ -106,7 +106,7 @@ $posts = query_posts(Array(
if
(
isset
(
$event_term_slugs
[
'webinar'
]))
{
$is_archived
=
get_post_meta
(
$post
->
ID
,
'is_archived_webinar'
,
true
);
if
(
!
$is_archived
==
"on"
)
{
continue
;
}
/*if (!$is_archived == "on") { continue; }*/
}
else
{
if
(
$event_date
<=
(
time
()
+
(
60
*
60
*
24
))
)
{
...
...
Please
register
or
sign in
to post a comment