DrupalBin
Submit Code
About
Recent Posts
Code
Fix for Fix for Code
Fix for Code
Code
Node type whitelist
an axe coach accessories
coach purses married
Fix for de las ghd alturas
de las ghd alturas
Code
more
User login
Log in using OpenID:
What is OpenID?
Username:
*
Password:
*
Log in using OpenID
Cancel OpenID login
Create new account
Request new password
Tags
CCK
drupal
fapi
jquery
menu
module
php
simpletest
taxonomy
test
theme
views
more tags
Home
function
theme_pager
March 9, 2010 - 12:15pm — Anonymous
/**
* Format a query pager.
*
* Menu callbacks that display paged query results should call theme('pager') to
* retrieve a pager control so that users can view other results.
* Format a list
function
pager
theme
Read more
Custom format_date function
September 21, 2009 - 3:47pm — Anonymous
<?php
$month
=
t
(
format_date
(
$fields
[
'created'
]
-
>
raw
,
'custom'
,
'M'
)
)
;
$day
=
format_date
(
$fields
[
'created'
]
-
>
raw
,
'custom'
,
'd'
)
;
$calendar
=
'<div class="datewrap">'
;
$calendar
.=
format_date
function
views
Read more