function socialmedia_socialmedia_iconset_info in Social media 7
File
- ./
socialmedia.icons.inc, line 99 - Functions pertaining to iconset management
Code
function socialmedia_socialmedia_iconset_info() {
$icons['levelten_glossy'] = array(
'name' => 'LevelTen Glossy',
// name of your icon set
'publisher' => 'LevelTen Interactive',
// name of publisher
'publisher url' => 'http://www.leveltendesign.com',
// url to publisher's site
'styles' => array(
// different variants of icons available
'16x16' => '16x16',
'32x32' => '32x32',
'48x48' => '48x48',
),
'path callback' => 'socialmedia_icon_path_levelten_glossy',
);
$icons['icondock'] = array(
'name' => 'Icon Dock Vector',
'publisher' => 'Icon Dock',
'publisher url' => 'http://icondock.com',
'styles' => array(
'16px' => '16x16',
'24px' => '24x24',
'32px' => '32x32',
),
'path callback' => 'socialmedia_icon_path_icondock',
'download' => 'http://icondock.com/free/vector-social-media-icons',
);
$icons['dryicons'] = array(
'name' => 'DryIcons Social',
'publisher' => 'DryIcons',
'publisher url' => 'http://dryicons.com',
'styles' => array(
'16x16' => '16x16',
'24x24' => '24x24',
'32x32' => '32x32',
'48x48' => '48x48',
'64x64' => '64x64',
'128x128' => '128x128',
),
'path callback' => 'socialmedia_icon_path_dryicons',
'download' => 'http://dryicons.com/free-icons/category/social/',
'additional instructions' => t('Download the PNG version of all four sets. Some directories are misnamed in set 2. For example, the correct file path to the 32x32 twitter icon should be "socialmedia/icons/dryicons/png/32x32/twitter.png". Merge icons from folders ending in "px", e.g. 64x64px, into their non px equivalents, e.g. 64x64. NOTE: there are some inconsistancies in file naming that may need to be corrected for specific icon sizes.', array(
'%directory' => drupal_get_path('module', 'socialmedia') . '/icons/dryicons/',
)),
);
$icons['instantshift'] = array(
'name' => 'SocialShift',
'publisher' => 'instantShift',
'publisher url' => 'http://www.instantshift.com',
'styles' => array(
'16' => '16x16',
'32' => '32x32',
'64' => '64x64',
),
'path callback' => 'socialmedia_icon_path_instantshift',
'download' => 'http://www.instantshift.com/2010/12/07/socialshift-icon-set-246-free-social-networking-icons/',
);
$icons['jankoatwarpspeed'] = array(
'name' => 'Handycons',
'publisher' => 'Janko at Warp Speed',
'publisher url' => 'http://www.jankoatwarpspeed.com',
'styles' => array(
'16x16' => '16x16',
'32x32' => '32x32',
'64x64' => '64x64',
'128x128' => '128x128',
),
'path callback' => 'socialmedia_icon_path_jankoatwarpspeed',
'download' => 'http://www.jankoatwarpspeed.com/post/2008/10/20/handycons-a-free-hand-drawn-social-media-icon-set.aspx',
'additional instructions' => t('Also download and install the !link. NOTE: Make sure to install the Handycons2 icon set.', array(
'!link' => l(t('Handycons 2 set'), 'http://www.jankoatwarpspeed.com/post/2009/02/23/Handycons-2-another-free-hand-drawn-icon-set.aspx'),
)),
);
$icons['ristaumedia'] = array(
'name' => 'ristaumedia Social Media',
'publisher' => 'ristaumedia',
'publisher url' => 'http://ristaumedia.deviantart.com',
'styles' => array(
'32x32' => '32x32',
),
'path callback' => 'socialmedia_icon_path_ristaumedia',
'download' => 'http://ristaumedia.deviantart.com/art/Social-Media-Icons-Volume-3-268850170',
);
$icons['theg-force'] = array(
'name' => 'Hand Drawn',
'publisher' => 'TheG-Force',
'publisher url' => 'http://theg-force.deviantart.com/',
'styles' => array(
'24x24' => '24x24',
'32x32' => '32x32',
'48x48' => '48x48',
'64x64' => '64x64',
),
'path callback' => 'socialmedia_icon_path_thegforce',
'download' => 'http://theg-force.deviantart.com/art/Social-Icons-hand-drawned-109467069',
);
$icons['arbent/clean'] = array(
'name' => 'Social Media Circles (clean)',
'publisher' => 'Ar-bent-ing',
'publisher url' => 'http://arbent.net',
'styles' => array(
'32x32' => '32x32',
'64x64' => '64x64',
'128x128' => '128x128',
),
'path callback' => 'socialmedia_icon_path_arbent_clean',
'download' => 'http://arbent.net/blog/social-media-circles-icon-set',
);
$icons['arbent/grunge'] = array(
'name' => 'Social Media Circles (grunge)',
'publisher' => 'Ar-bent-ing',
'publisher url' => 'http://arbent.net',
'styles' => array(
'32x32' => '32x32',
'64x64' => '64x64',
'128x128' => '128x128',
),
'path callback' => 'socialmedia_icon_path_arbent_grunge',
'download' => 'http://arbent.net/blog/social-media-circles-icon-set',
);
return $icons;
}