Projet

Général

Profil

Révision a2baadd1

Ajouté par Assos Assos il y a environ 10 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/print/print_mail/print_mail.inc
116 116
    '#required' => TRUE,
117 117
  );
118 118
  if (!empty($title)) {
119
    // To prevent useless translation strings, try to translate only node titles
120
    if (drupal_substr($path, 0, 5) == 'node/') {
119
    // To prevent useless translation strings, try to translate only non-node titles
120
    if (drupal_substr($path, 0, 5) != 'node/') {
121 121
      $title = t($title);
122 122
    }
123 123

  
......
150 150
    '#type' => 'submit',
151 151
    '#value' => t('Send email'),
152 152
  );
153
  $form['btn_clear'] = array(
154
    '#type' => 'markup',
155
    '#markup' => '<input type="reset" name="clear" id="edit-btn-clear" value="' . t('Clear form') . '" class="form-submit" />',
156
  );
157 153
  $form['btn_cancel'] = array(
158 154
    '#name' => 'cancel',
159 155
    '#type' => 'submit',

Formats disponibles : Unified diff