You are here

function _popups_test_popups in Popups API (Ajax Dialogs) 7

Same name and namespace in other branches
  1. 5 popups.module \_popups_test_popups()
  2. 6.2 popups_test.module \_popups_test_popups()
  3. 6 popups_test.module \_popups_test_popups()
1 string reference to '_popups_test_popups'
popups_menu in ./popups.module
hook_menu

File

./popups.module, line 375
popup.module

Code

function _popups_test_popups() {
  popups_add_popups();
  $output = '';
  $output .= l("Pop up entire local page.", 'popups/test/response', array(
    'attributes' => array(
      'class' => 'popups',
    ),
  )) . "<br />";

  //  $output .= l("Pop up entire local page.", drupal_get_path('module', 'popups') . '/test.html', array('attributes' => array('class' => 'popups'))) ."<br />";
  //  $output .= l("Pop up Google", 'http://google.com', array('attributes' => array('class' => 'popups-html'))) ."<br />";
  return $output;
}