Skip to content
Extraits de code Groupes Projets
Valider 548f2d3e rédigé par mattab's avatar mattab
Parcourir les fichiers

Fix double encoding in Scheduled report edit page

parent b81732c7
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -194,6 +194,7 @@ class Goals extends \Piwik\Plugin ...@@ -194,6 +194,7 @@ class Goals extends \Piwik\Plugin
// Add the general Goal metrics: ie. total Goal conversions, // Add the general Goal metrics: ie. total Goal conversions,
// Goal conv rate or Goal total revenue. // Goal conv rate or Goal total revenue.
// This API call requires a custom parameter // This API call requires a custom parameter
$goal['name'] = Common::sanitizeInputValue($goal['name']);
$reports[] = array( $reports[] = array(
'category' => $goalsCategory, 'category' => $goalsCategory,
'name' => Piwik::translate('Goals_GoalX', $goal['name']), 'name' => Piwik::translate('Goals_GoalX', $goal['name']),
......
...@@ -130,7 +130,7 @@ ...@@ -130,7 +130,7 @@
<input type='{{ reportInputType }}' id="{{ reportType }}{{ report.uniqueId }}" report-unique-id='{{ report.uniqueId }}' <input type='{{ reportInputType }}' id="{{ reportType }}{{ report.uniqueId }}" report-unique-id='{{ report.uniqueId }}'
name='{{ reportType }}Reports'/> name='{{ reportType }}Reports'/>
<label for="{{ reportType }}{{ report.uniqueId }}"> <label for="{{ reportType }}{{ report.uniqueId }}">
{{ report.name }} {{ report.name|raw }}
{% if report.uniqueId=='MultiSites_getAll' %} {% if report.uniqueId=='MultiSites_getAll' %}
<div class="entityInlineHelp">{{ 'ScheduledReports_ReportIncludeNWebsites'|translate('"'~countWebsites~' "') <div class="entityInlineHelp">{{ 'ScheduledReports_ReportIncludeNWebsites'|translate('"'~countWebsites~' "')
}}</div> }}</div>
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter