function flippy_block_hash_delta in Flippy 7
function to return a hash for deltas longer than 32 characters
2 calls to flippy_block_hash_delta()
- flippy_block_info in ./
flippy.module - Implements hook_block_info().
- flippy_pager_block in ./
flippy.module - Render the Flippy pager block.
File
- ./
flippy.module, line 609 - Allows administrators to add previous/next pagers to any node type.
Code
function flippy_block_hash_delta($delta) {
return 'flippy_pager-node_type-' . substr(drupal_hash_base64($delta), 0, 9);
}