You are here

function theme_popup_ahah_placeholder in Popup 6.x

Same name and namespace in other branches
  1. 8 includes/popup.theme.inc \theme_popup_ahah_placeholder()
  2. 7 includes/popup.theme.inc \theme_popup_ahah_placeholder()
  3. 7.x includes/popup.theme.inc \theme_popup_ahah_placeholder()
1 theme call to theme_popup_ahah_placeholder()
popup_element in includes/popup.api.inc
Renders a popup elements' HTML

File

./popup.module, line 290

Code

function theme_popup_ahah_placeholder($type, $attributes) {
  $hash = _popup_cache_attributes($attributes);
  $extra = $attributes['ajax_extra'];
  return '<div class="popup-ahah-placeholder">' . t('Loading') . '<a href="/ahah/popup/' . $type . '/' . $hash . '/' . $extra . '"></a>' . '</div><noscript><p class="error">' . t('Please enable Javascript to be able to view this content.') . '</p></noscript>';
}