You are here

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

Same name and namespace in other branches
  1. 7.3 admin.php \ShareaholicAdmin::show_header()
2 calls to ShareaholicAdmin::show_header()
shareaholic_admin_advanced.tpl.php in templates/shareaholic_admin_advanced.tpl.php
shareaholic_admin_settings.tpl.php in templates/shareaholic_admin_settings.tpl.php

File

./admin.php, line 175

Class

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

Code

public static function show_header() {
  $settings = ShareaholicUtilities::get_settings();
  $settings['base_link'] = ShareaholicUtilities::URL . '/publisher_tools/' . $settings['api_key'] . '/';
  $settings['website_settings_link'] = $settings['base_link'] . 'websites/edit?verification_key=' . $settings['verification_key'];
  ShareaholicUtilities::load_template('header', array(
    'settings' => $settings,
  ));
}