You are here

function socialmedia_icon_platforms in Social media 7

2 calls to socialmedia_icon_platforms()
socialmedia_admin_settings in ./socialmedia.admin.inc
Builds and returns the socialmedia settings form.
socialmedia_token_info in ./socialmedia.tokens.inc
@file Token processing for social media

File

./socialmedia.icons.inc, line 44
Functions pertaining to iconset management

Code

function socialmedia_icon_platforms($featured = FALSE) {
  $platforms = array(
    //'box' => t('Box'),

    //'blinklist' => t('Blinklist'),
    'delicious' => t('Del.icio.us'),
    'digg' => t('Digg'),
    'email' => t('E-mail'),
    'facebook' => t('Facebook'),
    'flickr' => t('Flickr'),
    //'furl' => t('Furl'),
    'google' => t('Google Bookmark'),
    'googleplus' => t('Google+'),
    'lastfm' => t('Last.fm'),
    'linkedin' => t('LinkedIn'),
    //'misterwong' => t('Mister Wong'),

    //'mixx' => t('Mixx'),

    //'myspace' => t('MySpace'),
    'newsvine' => t('Newsvine'),
    'pinterest' => t('Pinterest'),
    'reddit' => t('Reddit'),
    'rss' => t('RSS'),
    //'slashdot' => t('Slashdot'),
    'slideshare' => t('Slideshare'),
    'stumbleupon' => t('StumbleUpon'),
    'technorati' => t('Technorati'),
    'twitter' => t('Twitter'),
    'vimeo' => t('Vimeo'),
    'yahoo' => t('Yahoo!'),
    'youtube' => t('YouTube'),
  );
  if ($featured) {
    unset($platforms['blinklist']);
    unset($platforms['lastfm']);

    //unset($platforms['slideshare']);
  }
  return $platforms;
}