Source for file SharethisSystem.php
Documentation is available at SharethisSystem.php
// master list of all possible style kernel configs, this list matches options in admin_sharethis_inc.php
'sharethis_style_tab_web',
'sharethis_style_tab_post',
'sharethis_style_tab_email',
'sharethis_style_color_linkfg',
'sharethis_style_color_headerbg',
'sharethis_style_color_inactivebg',
'sharethis_style_color_inactivefg',
* assembles a hash of active style settings
* this provides a simple hash the tpl can easily
* loop over to assemble the request to the
foreach ( $options as $val ){
if( $gBitSystem->getConfig( $val ) && $gBitSystem->getConfig( $val ) != "n" ){
$this->mStyles[$type][$val] = $gBitSystem->getConfig( $val );
if ( !empty( $pServiceHash['content_type_guid'] ) ) {
return $gBitSystem->isFeatureActive( 'sharethis_'. $pServiceHash['content_type_guid'] );
|