diff --git a/database/seeds/SettingsTableSeeder.php b/database/seeds/SettingsTableSeeder.php index 0e29c067..5a08881b 100644 --- a/database/seeds/SettingsTableSeeder.php +++ b/database/seeds/SettingsTableSeeder.php @@ -59,6 +59,14 @@ class SettingsTableSeeder extends Seeder 'name' => 'app_analytics_gs', 'value' => 'GSN-712462-P', ], + [ + 'name' => 'app_analytics_pi_url', + 'value' => 'piwik.example.org', + ], + [ + 'name' => 'app_analytics_pi_siteid', + 'value' => '1', + ], [ 'name' => 'display_graphs', 'value' => '1', diff --git a/resources/lang/de/forms.php b/resources/lang/de/forms.php index 88ffd8a6..8c6d45da 100755 --- a/resources/lang/de/forms.php +++ b/resources/lang/de/forms.php @@ -81,18 +81,20 @@ return [ 'settings' => [ /// Application setup 'app-setup' => [ - 'site-name' => 'Name der Seite', - 'site-url' => 'URL der Seite', - 'site-timezone' => 'Wählen Sie Ihre Zeitzone', - 'site-locale' => 'Wählen Sie Ihre Sprache', - 'date-format' => 'Datumsformat', - 'display-graphs' => 'Display graphs on status page?', - 'about-this-page' => 'Über diese Seite', - 'days-of-incidents' => 'Wie viele (vergangene) Tage sollen angezeigt werden?', - 'banner' => 'Banner-Bild', - 'banner-help' => 'Wählen Sie möglichst ein Bild mit 930 px Breite.', - 'analytics_google' => 'Google Analytics code', - 'analytics_gosquared' => 'GoSquared Analytics code', + 'site-name' => 'Name der Seite', + 'site-url' => 'URL der Seite', + 'site-timezone' => 'Wählen Sie Ihre Zeitzone', + 'site-locale' => 'Wählen Sie Ihre Sprache', + 'date-format' => 'Datumsformat', + 'display-graphs' => 'Display graphs on status page?', + 'about-this-page' => 'Über diese Seite', + 'days-of-incidents' => 'Wie viele (vergangene) Tage sollen angezeigt werden?', + 'banner' => 'Banner-Bild', + 'banner-help' => 'Wählen Sie möglichst ein Bild mit 930 px Breite.', + 'analytics_google' => 'Google Analytics code', + 'analytics_gosquared' => 'GoSquared Analytics code', + 'analytics_piwik_url' => 'URL of your Piwik instance (without http(s)://)', + 'analytics_piwik_siteid' => 'Piwik\'s site id', ], 'security' => [ 'allowed-domains' => 'Erlaubte Domains', diff --git a/resources/lang/en/forms.php b/resources/lang/en/forms.php index d5f34487..74af5d1f 100755 --- a/resources/lang/en/forms.php +++ b/resources/lang/en/forms.php @@ -90,20 +90,22 @@ return [ 'settings' => [ /// Application setup 'app-setup' => [ - 'site-name' => 'Site Name', - 'site-url' => 'Site URL', - 'site-timezone' => 'Site Timezone', - 'site-locale' => 'Site Language', - 'date-format' => 'Date Format', - 'incident-date-format' => 'Incident Timestamp Format', - 'display-graphs' => 'Display graphs on status page?', - 'about-this-page' => 'About this page', - 'days-of-incidents' => 'How many days of incidents to show?', - 'banner' => 'Banner Image', - 'banner-help' => "It's recommended that you upload files no bigger than 930px wide .", - 'analytics_google' => 'Google Analytics code', - 'analytics_gosquared' => 'GoSquared Analytics code', - 'subscribers' => 'Allow people to signup to email notifications?', + 'site-name' => 'Site Name', + 'site-url' => 'Site URL', + 'site-timezone' => 'Site Timezone', + 'site-locale' => 'Site Language', + 'date-format' => 'Date Format', + 'incident-date-format' => 'Incident Timestamp Format', + 'display-graphs' => 'Display graphs on status page?', + 'about-this-page' => 'About this page', + 'days-of-incidents' => 'How many days of incidents to show?', + 'banner' => 'Banner Image', + 'banner-help' => "It's recommended that you upload files no bigger than 930px wide .", + 'analytics_google' => 'Google Analytics code', + 'analytics_gosquared' => 'GoSquared Analytics code', + 'analytics_piwik_url' => 'URL of your Piwik instance (without http(s)://)', + 'analytics_piwik_siteid' => 'Piwik\'s site id', + 'subscribers' => 'Allow people to signup to email notifications?', ], 'security' => [ 'allowed-domains' => 'Allowed domains', diff --git a/resources/lang/es/forms.php b/resources/lang/es/forms.php index 10a6792e..8b390a45 100755 --- a/resources/lang/es/forms.php +++ b/resources/lang/es/forms.php @@ -82,18 +82,20 @@ return [ 'settings' => [ /// Application setup 'app-setup' => [ - 'site-name' => 'Nombre del sitio', - 'site-url' => 'URL del sitio', - 'site-timezone' => 'Zona horaria del sitio', - 'site-locale' => 'Idioma del sitio', - 'date-format' => 'Formato de la fecha', - 'display-graphs' => '¿Visualizar gráficas en la página de estado?', - 'about-this-page' => 'Sobre esta página', - 'days-of-incidents' => '¿Cuántos días de incidentes mostrar?', - 'banner' => 'Imagen de inicio', - 'banner-help' => 'Se recomienda subir una imagen no más grande de 930px de ancho .', - 'analytics_google' => 'Google Analytics code', - 'analytics_gosquared' => 'GoSquared Analytics code', + 'site-name' => 'Nombre del sitio', + 'site-url' => 'URL del sitio', + 'site-timezone' => 'Zona horaria del sitio', + 'site-locale' => 'Idioma del sitio', + 'date-format' => 'Formato de la fecha', + 'display-graphs' => '¿Visualizar gráficas en la página de estado?', + 'about-this-page' => 'Sobre esta página', + 'days-of-incidents' => '¿Cuántos días de incidentes mostrar?', + 'banner' => 'Imagen de inicio', + 'banner-help' => 'Se recomienda subir una imagen no más grande de 930px de ancho .', + 'analytics_google' => 'Google Analytics code', + 'analytics_gosquared' => 'GoSquared Analytics code', + 'analytics_piwik_url' => 'URL of your Piwik instance (without http(s)://)', + 'analytics_piwik_siteid' => 'Piwik\'s site id', ], 'security' => [ 'allowed-domains' => 'Dominios permitidos', diff --git a/resources/lang/fr/forms.php b/resources/lang/fr/forms.php index b2145052..5bd50d09 100755 --- a/resources/lang/fr/forms.php +++ b/resources/lang/fr/forms.php @@ -81,18 +81,20 @@ return [ 'settings' => [ /// Application setup 'app-setup' => [ - 'site-name' => 'Nom du site', - 'site-url' => 'URL du site', - 'site-timezone' => 'Fuseau horaire du site', - 'site-locale' => 'Langue du site', - 'date-format' => 'Format de date', - 'display-graphs' => 'Display graphs on status page?', - 'about-this-page' => 'À propos de cette page', - 'days-of-incidents' => 'Nombre de jours à afficher ?', - 'banner' => 'Bannière', - 'banner-help' => 'Il est recommandé de télécharger des fichiers de moins de 930 pixels de large.', - 'analytics_google' => 'Google Analytics code', - 'analytics_gosquared' => 'GoSquared Analytics code', + 'site-name' => 'Nom du site', + 'site-url' => 'URL du site', + 'site-timezone' => 'Fuseau horaire du site', + 'site-locale' => 'Langue du site', + 'date-format' => 'Format de date', + 'display-graphs' => 'Display graphs on status page?', + 'about-this-page' => 'À propos de cette page', + 'days-of-incidents' => 'Nombre de jours à afficher ?', + 'banner' => 'Bannière', + 'banner-help' => 'Il est recommandé de télécharger des fichiers de moins de 930 pixels de large.', + 'analytics_google' => 'Code Google Analytics', + 'analytics_gosquared' => 'Code GoSquared Analytics', + 'analytics_piwik_url' => 'URL de votre instance de Piwik (sans http(s)://)', + 'analytics_piwik_siteid' => 'Identifiant du site dans Piwik (site id)', ], 'security' => [ 'allowed-domains' => 'Domaines autorisés. ', diff --git a/resources/lang/id/forms.php b/resources/lang/id/forms.php index 8b463d46..b3cad248 100644 --- a/resources/lang/id/forms.php +++ b/resources/lang/id/forms.php @@ -84,18 +84,20 @@ return [ 'settings' => [ /// Application setup 'app-setup' => [ - 'site-name' => 'Nama Situs', - 'site-url' => 'URL', - 'site-timezone' => 'Zona Waktu', - 'site-locale' => 'Bahasa', - 'date-format' => 'Format Tanggal', - 'display-graphs' => 'Tampilkan grafik di halaman status?', - 'about-this-page' => 'Tentang halaman ini', - 'days-of-incidents' => 'Berapa hari insiden akan ditampilkan?', - 'banner' => 'Gambar Banner', - 'banner-help' => 'Disarankan gambar yang anda unggah tidak lebih lebar dari 930px.', - 'analytics_google' => 'Google Analytics code', - 'analytics_gosquared' => 'GoSquared Analytics code', + 'site-name' => 'Nama Situs', + 'site-url' => 'URL', + 'site-timezone' => 'Zona Waktu', + 'site-locale' => 'Bahasa', + 'date-format' => 'Format Tanggal', + 'display-graphs' => 'Tampilkan grafik di halaman status?', + 'about-this-page' => 'Tentang halaman ini', + 'days-of-incidents' => 'Berapa hari insiden akan ditampilkan?', + 'banner' => 'Gambar Banner', + 'banner-help' => 'Disarankan gambar yang anda unggah tidak lebih lebar dari 930px.', + 'analytics_google' => 'Google Analytics code', + 'analytics_gosquared' => 'GoSquared Analytics code', + 'analytics_piwik_url' => 'URL of your Piwik instance (without http(s)://)', + 'analytics_piwik_siteid' => 'Piwik\'s site id', ], 'security' => [ 'allowed-domains' => 'Domain yang dibolehkan', diff --git a/resources/lang/nl/forms.php b/resources/lang/nl/forms.php index ed565e34..9ba93cf1 100755 --- a/resources/lang/nl/forms.php +++ b/resources/lang/nl/forms.php @@ -84,18 +84,20 @@ return [ 'settings' => [ /// Application setup 'app-setup' => [ - 'site-name' => 'Naam site', - 'site-url' => 'URL site', - 'site-timezone' => 'Tijdzone site', - 'site-locale' => 'Taal site', - 'date-format' => 'Datumformaat', - 'display-graphs' => 'Grafieken tonen op statuspagina?', - 'about-this-page' => 'Over deze pagina', - 'days-of-incidents' => 'Hoeveel dagen van incidenten tonen?', - 'banner' => 'Bannerafbeelding', - 'banner-help' => 'Het wordt aangeraden om geen bestanden groter dan 930px breed te uploaden.', - 'analytics_google' => 'Google Analytics code', - 'analytics_gosquared' => 'GoSquared Analytics code', + 'site-name' => 'Naam site', + 'site-url' => 'URL site', + 'site-timezone' => 'Tijdzone site', + 'site-locale' => 'Taal site', + 'date-format' => 'Datumformaat', + 'display-graphs' => 'Grafieken tonen op statuspagina?', + 'about-this-page' => 'Over deze pagina', + 'days-of-incidents' => 'Hoeveel dagen van incidenten tonen?', + 'banner' => 'Bannerafbeelding', + 'banner-help' => 'Het wordt aangeraden om geen bestanden groter dan 930px breed te uploaden.', + 'analytics_google' => 'Google Analytics code', + 'analytics_gosquared' => 'GoSquared Analytics code', + 'analytics_piwik_url' => 'URL of your Piwik instance (without http(s)://)', + 'analytics_piwik_siteid' => 'Piwik\'s site id', ], 'security' => [ 'allowed-domains' => 'Toegestane domeinen', diff --git a/resources/lang/pl/forms.php b/resources/lang/pl/forms.php index 1b0b83d4..d5a04b2e 100755 --- a/resources/lang/pl/forms.php +++ b/resources/lang/pl/forms.php @@ -84,18 +84,20 @@ return [ 'settings' => [ /// Application setup 'app-setup' => [ - 'site-name' => 'Nazwa strony', - 'site-url' => 'Adres URL strony', - 'site-timezone' => 'Strefa czasowa', - 'site-locale' => 'Język', - 'date-format' => 'Format daty', - 'display-graphs' => 'Wyświetlać wykresy na panelu głównym?', - 'about-this-page' => 'O tej stronie', - 'days-of-incidents' => 'Ile dni incydentów pokazywać?', - 'banner' => 'Obrazek z logo', - 'banner-help' => 'Zaleca się wrzuać pliki nie szersze niż 930px.', - 'analytics_google' => 'Google Analytics code', - 'analytics_gosquared' => 'GoSquared Analytics code', + 'site-name' => 'Nazwa strony', + 'site-url' => 'Adres URL strony', + 'site-timezone' => 'Strefa czasowa', + 'site-locale' => 'Język', + 'date-format' => 'Format daty', + 'display-graphs' => 'Wyświetlać wykresy na panelu głównym?', + 'about-this-page' => 'O tej stronie', + 'days-of-incidents' => 'Ile dni incydentów pokazywać?', + 'banner' => 'Obrazek z logo', + 'banner-help' => 'Zaleca się wrzuać pliki nie szersze niż 930px.', + 'analytics_google' => 'Google Analytics code', + 'analytics_gosquared' => 'GoSquared Analytics code', + 'analytics_piwik_url' => 'URL of your Piwik instance (without http(s)://)', + 'analytics_piwik_siteid' => 'Piwik\'s site id', ], 'security' => [ 'allowed-domains' => 'Dozwolone domenyw', diff --git a/resources/lang/pt-BR/forms.php b/resources/lang/pt-BR/forms.php index b5a2607f..818f28b6 100755 --- a/resources/lang/pt-BR/forms.php +++ b/resources/lang/pt-BR/forms.php @@ -84,18 +84,20 @@ return [ 'settings' => [ /// Application setup 'app-setup' => [ - 'site-name' => 'Nome do site', - 'site-url' => 'URL do site', - 'site-timezone' => 'Fuso horário do site', - 'site-locale' => 'Idioma do site', - 'date-format' => 'Formato da Data', - 'display-graphs' => '', - 'about-this-page' => 'Sobre esta página', - 'days-of-incidents' => 'Quantos dias de incidentes para mostrar?', - 'banner' => 'Imagem do banner', - 'banner-help' => 'É recomendável que você faça upload de arquivos menores que 930px .', - 'analytics_google' => 'Google Analytics code', - 'analytics_gosquared' => 'GoSquared Analytics code', + 'site-name' => 'Nome do site', + 'site-url' => 'URL do site', + 'site-timezone' => 'Fuso horário do site', + 'site-locale' => 'Idioma do site', + 'date-format' => 'Formato da Data', + 'display-graphs' => '', + 'about-this-page' => 'Sobre esta página', + 'days-of-incidents' => 'Quantos dias de incidentes para mostrar?', + 'banner' => 'Imagem do banner', + 'banner-help' => 'É recomendável que você faça upload de arquivos menores que 930px .', + 'analytics_google' => 'Google Analytics code', + 'analytics_gosquared' => 'GoSquared Analytics code', + 'analytics_piwik_url' => 'URL of your Piwik instance (without http(s)://)', + 'analytics_piwik_siteid' => 'Piwik\'s site id', ], 'security' => [ 'allowed-domains' => 'Domínios permitidos', diff --git a/resources/lang/zh-CN/forms.php b/resources/lang/zh-CN/forms.php index 17b2f2e4..594adcc6 100644 --- a/resources/lang/zh-CN/forms.php +++ b/resources/lang/zh-CN/forms.php @@ -84,18 +84,20 @@ return [ 'settings' => [ /// Application setup 'app-setup' => [ - 'site-name' => '站点名称', - 'site-url' => '站点URL', - 'site-timezone' => '站点时区', - 'site-locale' => '站点语言', - 'date-format' => '日期格式', - 'display-graphs' => '是否在状态页上显示图表', - 'about-this-page' => '关于这个页面', - 'days-of-incidents' => '显示多少天的事件?', - 'banner' => '横幅图像', - 'banner-help' => '建议上传文件宽度不大于930像素。', - 'analytics_google' => 'Google Analytics code', - 'analytics_gosquared' => 'GoSquared Analytics code', + 'site-name' => '站点名称', + 'site-url' => '站点URL', + 'site-timezone' => '站点时区', + 'site-locale' => '站点语言', + 'date-format' => '日期格式', + 'display-graphs' => '是否在状态页上显示图表', + 'about-this-page' => '关于这个页面', + 'days-of-incidents' => '显示多少天的事件?', + 'banner' => '横幅图像', + 'banner-help' => '建议上传文件宽度不大于930像素。', + 'analytics_google' => 'Google Analytics code', + 'analytics_gosquared' => 'GoSquared Analytics code', + 'analytics_piwik_url' => 'URL of your Piwik instance (without http(s)://)', + 'analytics_piwik_siteid' => 'Piwik\'s site id', ], 'security' => [ 'allowed-domains' => '允许的域', diff --git a/resources/lang/zh-TW/forms.php b/resources/lang/zh-TW/forms.php index 4c599743..5ebaa3aa 100644 --- a/resources/lang/zh-TW/forms.php +++ b/resources/lang/zh-TW/forms.php @@ -84,18 +84,20 @@ return [ 'settings' => [ /// Application setup 'app-setup' => [ - 'site-name' => '網站名稱', - 'site-url' => '網站 URL', - 'site-timezone' => '網站時區', - 'site-locale' => '網站語言', - 'date-format' => '日期格式', - 'display-graphs' => '在狀態頁上顯示圖片?', - 'about-this-page' => '關於本站', - 'days-of-incidents' => '顯示多少天前的事件?', - 'banner' => '圖片橫幅', - 'banner-help' => '橫幅寬度建議少於 930px 。', - 'analytics_google' => 'Google Analytics code', - 'analytics_gosquared' => 'GoSquared Analytics code', + 'site-name' => '網站名稱', + 'site-url' => '網站 URL', + 'site-timezone' => '網站時區', + 'site-locale' => '網站語言', + 'date-format' => '日期格式', + 'display-graphs' => '在狀態頁上顯示圖片?', + 'about-this-page' => '關於本站', + 'days-of-incidents' => '顯示多少天前的事件?', + 'banner' => '圖片橫幅', + 'banner-help' => '橫幅寬度建議少於 930px 。', + 'analytics_google' => 'Google Analytics code', + 'analytics_gosquared' => 'GoSquared Analytics code', + 'analytics_piwik_url' => 'URL of your Piwik instance (without http(s)://)', + 'analytics_piwik_siteid' => 'Piwik\'s site id', ], 'security' => [ 'allowed-domains' => '容許訪問的域名', diff --git a/resources/views/dashboard/settings/app-setup.blade.php b/resources/views/dashboard/settings/app-setup.blade.php index eff2f669..2475ae67 100644 --- a/resources/views/dashboard/settings/app-setup.blade.php +++ b/resources/views/dashboard/settings/app-setup.blade.php @@ -59,6 +59,22 @@ +