Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Giehl <stefan@piwik.org>2018-07-03 01:38:35 +0300
committerdiosmosis <diosmosis@users.noreply.github.com>2018-07-03 01:38:35 +0300
commit1a37b8487f6ce7effc5088301909743bd15a19ee (patch)
treef0fc678423a2a80fea2ae915bc96d4a98dc07839 /plugins/WebsiteMeasurable
parent1f2753aa2af2ae98b7bb5dfc6b15546c705b7bbc (diff)
Make it possible to use line breaks in placeholders (#13125)
* Make it possible to use line breaks in placeholders for safari those line breaks will be replaced with 200 white spaces, as line breaks aren't supported there * use example.com and example.org as placeholders
Diffstat (limited to 'plugins/WebsiteMeasurable')
-rw-r--r--plugins/WebsiteMeasurable/Settings/Urls.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/WebsiteMeasurable/Settings/Urls.php b/plugins/WebsiteMeasurable/Settings/Urls.php
index 29b9e3bdfb..5b63440be0 100644
--- a/plugins/WebsiteMeasurable/Settings/Urls.php
+++ b/plugins/WebsiteMeasurable/Settings/Urls.php
@@ -41,7 +41,7 @@ class Urls extends \Piwik\Settings\Measurable\MeasurableProperty
$config->uiControlAttributes = array(
'cols' => '25',
'rows' => '3',
- 'placeholder' => "https://siteUrl.com/ https://siteUrl2.com/",
+ 'placeholder' => "http://example.com/\nhttps://www.example.org/",
);
$self = $this;