You are here

function theme_context_block_script_placeholder in Context 6

Same name and namespace in other branches
  1. 6.3 theme/context_reaction_block.theme.inc \theme_context_block_script_placeholder()
  2. 7.3 theme/context_reaction_block.theme.inc \theme_context_block_script_placeholder()

Use placeholder content for script tags that need to be replaced.

1 theme call to theme_context_block_script_placeholder()
context_reaction_block::editor_form in plugins/context_reaction_block.inc
Context editor form for blocks.

File

theme/context_reaction_block.theme.inc, line 64

Code

function theme_context_block_script_placeholder($text = '') {
  $message = t('Please reload the page to view this block.');
  return "<div class='script-placeholder'><strong>{$text}</strong><div class='description'>{$message}</div></div>";
}