You are here

public static function ShareaholicAdmin::draw_tos_popup in Share Buttons, Related Posts, Content Analytics - Shareaholic 7.3

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

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

2 calls to ShareaholicAdmin::draw_tos_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
shareaholic_admin_advanced.tpl.php in templates/shareaholic_admin_advanced.tpl.php

File

./admin.php, line 36

Class

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

Code

public static function draw_tos_popup() {
  $form = drupal_get_form('shareaholic_tos_modal_form');
  print drupal_render($form);
}