Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
d547957b
Commit
d547957b
authored
Jun 15, 2001
by
Dries
Browse files
- Small visual update to watchdog.module. - Updated CHANGELOG
parent
1045715f
Changes
3
Hide whitespace changes
Inline
Side-by-side
CHANGELOG
View file @
d547957b
...
...
@@ -6,7 +6,8 @@ drupal x.xx, xx/xx/xxxx (CVS, unstable)
- removed FAQ and documentation module and merged them into a "book module".
- removed ban module and integrated it into account.module as "access control":
* access control is based on much more powerful regular expressions (regex) now rather than on MySQL pattern matching.
- rewrote watchdog and submission throttle
- rewrote watchdog and submission throttle:
* improved watchdog messages and added watchdog filter.
- rewrote headline code and renamed it to import.module and export.module:
* added various improvements, including a better parser, bundles and better control over individual feeds.
- rewrote section code and renamed it to structure.module:
...
...
modules/watchdog.module
View file @
d547957b
...
...
@@ -27,7 +27,7 @@ function watchdog_overview($type) {
$output
.
=
" <TR><TH>date</TH><TH>message</TH><TH>user</TH><TH>operations</TH></TR>
\n
"
;
while
(
$watchdog
=
db_fetch_object
(
$result
))
{
if
(
$background
=
$color
[
$watchdog
->
type
])
{
$output
.
=
" <TR BGCOLOR=
\"
$background
\"
><TD>"
.
format_date
(
$watchdog
->
timestamp
,
"small"
)
.
"</TD><TD>"
.
substr
(
check_output
(
$watchdog
->
message
),
0
,
50
)
.
"</TD><TD ALIGN=
\"
center
\"
>"
.
format_username
(
$watchdog
->
userid
)
.
"</A></TD><TD ALIGN=
\"
center
\"
><A HREF=
\"
admin.php?mod=watchdog&op=view&id=
$watchdog->id
\"
>details</A></TD></TR>
\n
"
;
$output
.
=
" <TR BGCOLOR=
\"
$background
\"
><TD>"
.
format_date
(
$watchdog
->
timestamp
,
"small"
)
.
"</TD><TD>"
.
substr
(
check_output
(
$watchdog
->
message
),
0
,
64
)
.
"</TD><TD ALIGN=
\"
center
\"
>"
.
format_username
(
$watchdog
->
userid
)
.
"</A></TD><TD ALIGN=
\"
center
\"
><A HREF=
\"
admin.php?mod=watchdog&op=view&id=
$watchdog->id
\"
>details</A></TD></TR>
\n
"
;
}
}
$output
.
=
"</TABLE>
\n
"
;
...
...
modules/watchdog/watchdog.module
View file @
d547957b
...
...
@@ -27,7 +27,7 @@ function watchdog_overview($type) {
$output
.
=
" <TR><TH>date</TH><TH>message</TH><TH>user</TH><TH>operations</TH></TR>
\n
"
;
while
(
$watchdog
=
db_fetch_object
(
$result
))
{
if
(
$background
=
$color
[
$watchdog
->
type
])
{
$output
.
=
" <TR BGCOLOR=
\"
$background
\"
><TD>"
.
format_date
(
$watchdog
->
timestamp
,
"small"
)
.
"</TD><TD>"
.
substr
(
check_output
(
$watchdog
->
message
),
0
,
50
)
.
"</TD><TD ALIGN=
\"
center
\"
>"
.
format_username
(
$watchdog
->
userid
)
.
"</A></TD><TD ALIGN=
\"
center
\"
><A HREF=
\"
admin.php?mod=watchdog&op=view&id=
$watchdog->id
\"
>details</A></TD></TR>
\n
"
;
$output
.
=
" <TR BGCOLOR=
\"
$background
\"
><TD>"
.
format_date
(
$watchdog
->
timestamp
,
"small"
)
.
"</TD><TD>"
.
substr
(
check_output
(
$watchdog
->
message
),
0
,
64
)
.
"</TD><TD ALIGN=
\"
center
\"
>"
.
format_username
(
$watchdog
->
userid
)
.
"</A></TD><TD ALIGN=
\"
center
\"
><A HREF=
\"
admin.php?mod=watchdog&op=view&id=
$watchdog->id
\"
>details</A></TD></TR>
\n
"
;
}
}
$output
.
=
"</TABLE>
\n
"
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment