Révision e9f59589
Ajouté par Assos Assos il y a presque 10 ans
drupal7/sites/all/modules/piwik/piwik.admin.js | ||
---|---|---|
66 | 66 |
|
67 | 67 |
$('fieldset#edit-linktracking', context).drupalSetSummary(function (context) { |
68 | 68 |
var vals = []; |
69 |
if ($('input#edit-piwik-trackmailto', context).is(':checked')) { |
|
70 |
vals.push(Drupal.t('Mailto links')); |
|
71 |
} |
|
69 | 72 |
if ($('input#edit-piwik-track', context).is(':checked')) { |
70 | 73 |
vals.push(Drupal.t('Outbound links')); |
71 | 74 |
vals.push(Drupal.t('Downloads')); |
... | ... | |
75 | 78 |
} |
76 | 79 |
return Drupal.t('@items enabled', {'@items' : vals.join(', ')}); |
77 | 80 |
}); |
78 |
|
|
81 |
|
|
82 |
$('fieldset#edit-messagetracking', context).drupalSetSummary(function (context) { |
|
83 |
var vals = []; |
|
84 |
$('input[type="checkbox"]:checked', context).each(function () { |
|
85 |
vals.push($.trim($(this).next('label').text())); |
|
86 |
}); |
|
87 |
if (!vals.length) { |
|
88 |
return Drupal.t('Not tracked'); |
|
89 |
} |
|
90 |
return Drupal.t('@items enabled', {'@items' : vals.join(', ')}); |
|
91 |
}); |
|
92 |
|
|
79 | 93 |
$('fieldset#edit-search', context).drupalSetSummary(function (context) { |
80 | 94 |
var vals = []; |
81 | 95 |
if ($('input#edit-piwik-site-search', context).is(':checked')) { |
Formats disponibles : Unified diff
Weekly update of contrib modules