You are here

public static function ShareaholicAdmin::draw_failure_popup in Share Buttons, Related Posts, Content Analytics - Shareaholic 8

Same name and namespace in other branches
  1. 7.3 admin.php \ShareaholicAdmin::draw_failure_popup()

Outputs the actual html for either the terms_of_service modal to be rendered on the admin pages

1 call to ShareaholicAdmin::draw_failure_popup()
ShareaholicAdmin::draw_modal_popup in ./admin.php
Outputs the actual html for either the terms_of_service modal or the failed_create_api_key modal depending on what is in the database

File

./admin.php, line 47

Class

ShareaholicAdmin
This class takes care of all of the admin interface.

Code

public static function draw_failure_popup() {
  $form = drupal_get_form('shareaholic_failure_modal_form');
  print drupal_render($form);
}