You are here

function theme_popups_dialog in Popups API (Ajax Dialogs) 5

hook_theme - doesn't exist in D5

function popups_theme($existing, $type) { return array( 'popups_popup' => array( 'template' => 'popups-popup', // 'arguments' => array('content' => NULL), ), 'popups_save_dialog' => array(), ); }

File

./popups.module, line 133
popups.module

Code

function theme_popups_dialog() {
  return '<div id="popups">
  <div id="popups-title">
    <div id="popups-close"><a href="#">' . t('Close') . '</a></div>
    <div class="title">%title</div>
    <div class="clear-block"></div>
  </div>
  <div id="popups-body">%body</div>
  <div id="popups-buttons">%buttons</div>
  <div id="popups-footer"></div>
</div>';
}