Index: sifr3.inc =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/render/plugins/sifr3.inc,v retrieving revision 1.1 diff -u -r1.1 sifr3.inc --- sifr3.inc 17 Jan 2009 20:13:55 -0000 1.1 +++ sifr3.inc 9 Jul 2009 15:43:52 -0000 @@ -31,7 +31,7 @@ 'url' => 'http://novemberborn.net/sifr3', 'dependencies' => array('sifr.js', 'sifr.css'), 'file_masks' => array('.+\.swf'), - 'properties' => array('font', 'color', 'linkcolor', 'hovercolor', 'backgroundcolor', 'letterspacing', 'wmode', 'texttransform', 'fontsize', 'fontweight', 'fontstyle', 'marginleft', 'marginright', 'textalign', 'textindent', 'display', 'opacity', 'leading', 'kerning', 'cursor', 'underline'), + 'properties' => array('font', 'color', 'linkcolor', 'hovercolor', 'backgroundcolor', 'letterspacing', 'wmode', 'texttransform', 'fontsize', 'fontweight', 'fontstyle', 'marginleft', 'marginright', 'textalign', 'textindent', 'display', 'opacity', 'leading', 'kerning', 'cursor', 'underline', 'preventwrap', 'forcesingleline'), ); } @@ -303,6 +303,20 @@ '#default_value' => $edit['underline'], '#return_value' => 1, ); + $form['text']['preventwrap'] = array( + '#type' => 'checkbox', + '#title' => t('Prevent Wrap'), + '#default_value' => $edit['preventwrap'], + '#return_value' => 1, + '#description' => t('Tries to disable word wrap inside the Flash movie, but doesn\'t always work so well. Not the same as forceSingeLine'), + ); + $form['text']['forcesingleline'] = array( + '#type' => 'checkbox', + '#title' => t('Force single line'), + '#default_value' => $edit['forcesingleline'], + '#return_value' => 1, + '#description' => t('Forces the text to be displayed on a single line.'), + ); } /** @@ -365,7 +379,7 @@ ), ); - return array('font' => $font_path, 'selector' => $rule['selector'], 'css' => $css, 'wmode' => $rule['wmode']); + return array('font' => $font_path, 'selector' => $rule['selector'], 'css' => $css, 'wmode' => $rule['wmode'], 'preventWrap' => ($rule['preventwrap'] == 1) ? 'true' : 'false', 'forceSingleLine' => ($rule['forcesingleline'] == 1) ? 'true' : 'false'); } /**