DrupalBin
Submit Code
About
Recent Posts
float?
2 hours 58 min
ago
views handler
6 hours 29 min
ago
Code
6 hours 44 min
ago
Code
6 hours 45 min
ago
more
Tags
CCK
drupal
fapi
jquery
menu
module
Panels
php
simpletest
test
theme
views
more tags
User login
Log in using OpenID:
What is OpenID?
Username:
*
Password:
*
Create new account
Request new password
Log in using OpenID
Cancel OpenID login
Home
My question is: Have a better way to do this? or best pratice to get the user on this function? thanks!
View
Download
Fix
January 17, 2008 - 11:06am — Anonymous
function
customized_node_submitted
(
$node
)
{
$user
=
user_load
(
array
(
'name'
=>
$node
->
name
)
)
;
return
t
(
'Submitted by !username on @datetime'
,
array
(
'!username'
=>
$user
->
profile_full_name
,
'@datetime'
=>
format_date
(
$node
->
created
)
,
)
)
;
}
drupal
template.php