diff --git a/README.md b/README.md index 01196335..39bc7f35 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ -[![license](https://img.shields.io/github/license/Jeedom-Plugins-Extra/plugin-template.svg)](./LICENSE) [![GitHub contributors](https://img.shields.io/github/contributors/Jeedom-Plugins-Extra/plugin-template.svg)](../../graphs/contributors) [![GitHub release](https://img.shields.io/github/release/Jeedom-Plugins-Extra/plugin-template.svg)](../../releases) [![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.me/_USERNAME) [![Waffle.io - Columns and their card count](https://badge.waffle.io/Jeedom-Plugins-Extra/plugin-template.svg?columns=all)](https://waffle.io/Jeedom-Plugins-Extra/plugin-template) +[![license](https://img.shields.io/github/license/Jeedom-Plugins-Extra/plugin-Template.svg)](./LICENSE) [![GitHub contributors](https://img.shields.io/github/contributors/Jeedom-Plugins-Extra/plugin-Template.svg)](../../graphs/contributors) [![GitHub release](https://img.shields.io/github/release/Jeedom-Plugins-Extra/plugin-Template.svg)](../../releases) [![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.me/_USERNAME) [![Waffle.io - Columns and their card count](https://badge.waffle.io/Jeedom-Plugins-Extra/plugin-Template.svg?columns=all)](https://waffle.io/Jeedom-Plugins-Extra/plugin-Template) -### Master: [![Build Status](https://travis-ci.org/Jeedom-Plugins-Extra/plugin-template.svg?branch=master)](https://travis-ci.org/Jeedom-Plugins-Extra/plugin-template) [![Coverage Status](https://coveralls.io/repos/github/Jeedom-Plugins-Extra/plugin-template/badge.svg?branch=master)](https://coveralls.io/github/Jeedom-Plugins-Extra/plugin-template?branch=master) +### Master: [![Build Status](https://travis-ci.org/Jeedom-Plugins-Extra/plugin-Template.svg?branch=master)](https://travis-ci.org/Jeedom-Plugins-Extra/plugin-Template) [![Coverage Status](https://coveralls.io/repos/github/Jeedom-Plugins-Extra/plugin-Template/badge.svg?branch=master)](https://coveralls.io/github/Jeedom-Plugins-Extra/plugin-Template?branch=master) -### Develop: [![Build Status](https://travis-ci.org/Jeedom-Plugins-Extra/plugin-template.svg?branch=develop)](https://travis-ci.org/Jeedom-Plugins-Extra/plugin-template) [![Coverage Status](https://coveralls.io/repos/github/Jeedom-Plugins-Extra/plugin-template/badge.svg?branch=develop)](https://coveralls.io/github/Jeedom-Plugins-Extra/plugin-template?branch=develop) +### Develop: [![Build Status](https://travis-ci.org/Jeedom-Plugins-Extra/plugin-Template.svg?branch=develop)](https://travis-ci.org/Jeedom-Plugins-Extra/plugin-Template) [![Coverage Status](https://coveralls.io/repos/github/Jeedom-Plugins-Extra/plugin-Template/badge.svg?branch=develop)](https://coveralls.io/github/Jeedom-Plugins-Extra/plugin-Template?branch=develop) # Présentation: @@ -31,7 +31,7 @@ Template de permettant de céér des plugins pour Jeedom # Documentation complète: -[![Read the Docs](plugin_info/template_icon.png)](https://jeedom-plugins-extra.github.io/plugin-template) +[![Read the Docs](plugin_info/Template_icon.png)](https://jeedom-plugins-extra.github.io/plugin-Template) [![Support via PayPal](https://cdn.rawgit.com/twolfson/paypal-github-button/1.0.0/dist/button.svg)](https://www.paypal.me/_USERNAME/) diff --git a/core/ajax/template.ajax.php b/core/ajax/Template.ajax.php similarity index 100% rename from core/ajax/template.ajax.php rename to core/ajax/Template.ajax.php diff --git a/core/i18n/en_US.json b/core/i18n/en_US.json index 868ca3d2..1d4822ff 100644 --- a/core/i18n/en_US.json +++ b/core/i18n/en_US.json @@ -1,5 +1,5 @@ { - "plugins\/template\/desktop\/php\/template.php": { + "plugins\/Template\/desktop\/php\/Template.php": { "Action": "Action", "Activer": "Activate", "Ajouter": "Add", @@ -21,7 +21,7 @@ "Type": "Type", "Visible": "Visible" }, - "plugins\/template\/plugin_info\/configuration.php": { + "plugins\/Template\/plugin_info\/configuration.php": { "Global param 1": "First global parameter", "Global param 2": "Second global parameter", "Global param 3": "Third global parameter", diff --git a/core/i18n/fr_FR.json b/core/i18n/fr_FR.json index 41b05651..440d8140 100644 --- a/core/i18n/fr_FR.json +++ b/core/i18n/fr_FR.json @@ -1,5 +1,5 @@ { - "plugins\/template\/desktop\/php\/template.php": { + "plugins\/Template\/desktop\/php\/Template.php": { "Action": "Action", "Activer": "Activer", "Ajouter": "Ajouter", @@ -21,7 +21,7 @@ "Type": "Type", "Visible": "Visible" }, - "plugins\/template\/plugin_info\/configuration.php": { + "plugins\/Template\/plugin_info\/configuration.php": { "Global param 1": "Premier paramètre global", "Global param 2": "Deuxième paramètre global", "Global param 3": "Troisième paramètre global", diff --git a/core/php/template.inc.php b/core/php/Template.inc.php similarity index 100% rename from core/php/template.inc.php rename to core/php/Template.inc.php diff --git a/desktop/js/template.js b/desktop/js/Template.js similarity index 100% rename from desktop/js/template.js rename to desktop/js/Template.js diff --git a/desktop/modal/modal.template.php b/desktop/modal/modal.Template.php similarity index 100% rename from desktop/modal/modal.template.php rename to desktop/modal/modal.Template.php diff --git a/desktop/php/template.php b/desktop/php/Template.php similarity index 99% rename from desktop/php/template.php rename to desktop/php/Template.php index ef3ed50d..f3caf036 100644 --- a/desktop/php/template.php +++ b/desktop/php/Template.php @@ -2,7 +2,7 @@ if (!isConnect('admin')) { throw new \Exception('{{401 - Accès non autorisé}}'); } -$plugin = plugin::byId('template'); +$plugin = plugin::byId('Template'); sendVarToJS('eqType', $plugin->getId()); $eqLogics = eqLogic::byType($plugin->getId()); ?> @@ -165,5 +165,5 @@