You are here

function jquery_social_stream_tumblr_form in jQuery social stream 8.2

Same name and namespace in other branches
  1. 8 jquery_social_stream.module \jquery_social_stream_tumblr_form()
  2. 7.2 jquery_social_stream.module \jquery_social_stream_tumblr_form()
  3. 7 jquery_social_stream.module \jquery_social_stream_tumblr_form()

Tumblr settings form.

File

./jquery_social_stream.module, line 676
Code for the Campaign social media module.

Code

function jquery_social_stream_tumblr_form($conf) {
  $form = array();
  _jquery_social_stream_settings_text($form, $conf, 'id', 'Tumblr usernames', 'You can enter multiple usernames separated by comma.', '', 512);
  _jquery_social_stream_settings_text($form, $conf, 'intro', 'Feed item intro text', 'Posted');
  _jquery_social_stream_settings_text($form, $conf, 'out', 'Output', 'Stream item output: content blocks & order. Available options: intro, title, text, user, share', 'intro,title,text,user,share');
  _jquery_social_stream_settings_select($form, $conf, 'thumb', 'Width of thumbnail image', '', array(
    '75' => t('75px'),
    '100' => t('100px'),
    '250' => t('250px'),
    '400' => t('400px'),
    '500' => t('500px'),
    '1280' => t('1280px'),
  ), '100');
  _jquery_social_stream_settings_select($form, $conf, 'video', 'Width of video player', 'For video type posts.', array(
    '250' => t('250px'),
    '400' => t('400px'),
    '500' => t('500px'),
  ), '250');
  return $form;
}