Projet

Général

Profil

Révision feca1e4a

Ajouté par Assos Assos il y a presque 7 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/webform/components/hidden.inc
117 117
  return $element;
118 118
}
119 119

  
120
/**
121
 *
122
 */
120 123
function theme_webform_display_hidden($variables) {
121 124
  $element = $variables['element'];
122 125

  
......
155 158

  
156 159
  $rows[0] = array(t('Empty'), ($submissions - $nonblanks));
157 160
  $rows[1] = array(t('Non-empty'), $nonblanks);
158
  $other[0] = array(t('Average submission length in words (ex blanks)'), ($nonblanks != 0 ? number_format($wordcount/$nonblanks, 2) : '0'));
161
  $other[0] = array(t('Average submission length in words (ex blanks)'), ($nonblanks != 0 ? number_format($wordcount / $nonblanks, 2) : '0'));
159 162

  
160 163
  return array(
161 164
    'table_rows' => $rows,

Formats disponibles : Unified diff