Logic block is a module designed to give site administrators extra control over how blocks are displayed - extending the default options for each block in some new ways.
Some things logic block can do
1) Merge two blocks into one
2) Prevent a block displaying if it contains certain words
3) Show another block if one is empty
4) Show a different block depending on a user's language
A default block is specified, and then its content is processed by this module in a one of four ways (although this module supports extending these).
1) ACTION
-- Concatenate two blocks together
-- Strip class=content from around a block
-- Add a prefix to a block
-- Replace content within a block
-- Add a suffix to a block
-- Swap a block for another
-- Wrap a block with HTML
2) LOGIC
-- Show a different block if the block contains certain content
-- Show a different block if the block is empty
-- Show a different block if the block's content is over, or under a certain amount
3) NODES
-- Show a different block depending on the node's language
-- Show a different block if the node is published
-- Show a different block depending on the node type
4) USER
-- Show a different block depending on user ID
-- Show a different block depending on when a user was last active
-- Show a different block depending on a role