You are here

function theme_popup_page in Popups API (Ajax Dialogs) 7

File

./popups.module, line 116
popup.module

Code

function theme_popup_page($content) {
  return drupal_json(array(
    'title' => drupal_get_title(),
    'messages' => theme('status_messages'),
    'path' => $_GET['q'],
    'content' => $content,
  ));
}