private static function ShareaholicAdmin::header_message_html in Share Buttons, Related Posts, Content Analytics - Shareaholic 8
Same name and namespace in other branches
- 7.3 admin.php \ShareaholicAdmin::header_message_html()
The html for the Shareaholic notice as a string
Return value
String The html for the notice as a string
2 calls to ShareaholicAdmin::header_message_html()
- ShareaholicAdmin::show_pending_update_notice in ./
admin.php - Show the pending update notice on admin pages
- ShareaholicAdmin::show_terms_of_service_notice in ./
admin.php - Show the terms of service notice on admin pages except for shareaholic admin settings page
File
- ./
admin.php, line 86
Class
- ShareaholicAdmin
- This class takes care of all of the admin interface.
Code
private static function header_message_html($message) {
$img_check = SHAREAHOLIC_ASSET_DIR . '/img/check.png';
$html = <<<DOC
<div id="shareaholic-wrap-container" style="padding: 0 20px 0px 15px; background-color: #45a147; margin: 25px 0px 20px -18px;">
<img src="{<span class="php-variable">$img_check</span>}" style="vertical-align:middle;" />
<span id="shareaholic-text-container" style="color: #fff; text-shadow: 0px 1px 1px rgba(0,0,0,0.4); font-size: 14px; vertical-align:middle;">
<strong>{<span class="php-variable">$message</span>}</strong>
</span>
</div>
<div style="clear:both;"></div>
DOC;
return $html;
}