cosmetics

This commit is contained in:
Jean-Christian Denis 2021-09-16 23:52:13 +02:00
parent 0c104856fa
commit 3bfa7f31d0
Signed by: JcDenis
GPG key ID: 1B5B8C5B90B6C951
6 changed files with 32 additions and 12 deletions

View file

@ -1,9 +1,13 @@
xxx.xx.xx xxx.xx.xx
- Never fix breaking comments or complexe public url
- [ ] Add public page of the list of know urls and in/visible status - [ ] Add public page of the list of know urls and in/visible status
- [ ] Add passworded links - [ ] Add passworded links
- [ ] fix deprecated external service
- [x] update php header to phpdoc style 2021.09.16
- [x] fix post page options display - remove deprecated external service
- update php header to phpdoc style
- fix post page options display
- hack plugin permission to load plugin and shorten url on the fly
2021.08.28 - pre release 2021.08.28 - pre release
- add dashboard icon - add dashboard icon

View file

@ -1,5 +1,12 @@
# README # README
[![Release](https://img.shields.io/github/v/release/JcDenis/kUtRL)](https://github.com/JcDenis/kUtRL/releases)
[![Date](https://img.shields.io/github/release-date/JcDenis/kUtRL)](https://github.com/JcDenis/kUtRL/releases)
[![Issues](https://img.shields.io/github/issues/JcDenis/kUtRL)](https://github.com/JcDenis/kUtRL/issues)
[![Dotclear](https://img.shields.io/badge/dotclear-v2.19-blue.svg)](https://fr.dotclear.org/download)
[![Dotaddict](https://img.shields.io/badge/dotaddict-official-green.svg)](https://plugins.dotaddict.org/dc2/details/kUtRL)
[![License](https://img.shields.io/github/license/JcDenis/kUtRL)](https://github.com/JcDenis/kUtRL/blob/master/LICENSE)
## WHAT IS KUTRL ? ## WHAT IS KUTRL ?
"kUtRL" is a plugin for the open-source "kUtRL" is a plugin for the open-source
@ -11,7 +18,8 @@ Create short URL on its own or from external services.
kUtRL requires: kUtRL requires:
* admin permission * admin permission to configure
* no permissions to shorten links on the fly
* Dotclear 2.19 * Dotclear 2.19
## USAGE ## USAGE
@ -22,8 +30,16 @@ Dotaddict repository. (See Dotclear's documentation to know how do this)
Manage settings, services and short URLs from sidebar menu "URL shortener". Manage settings, services and short URLs from sidebar menu "URL shortener".
You can also add widgets, template block and values. You can also add widgets, template block and values.
## MORE ## Links
* License : GNU GPL v2 * License : [GNU GPL v2](https://www.gnu.org/licenses/old-licenses/lgpl-2.0.html)
* Source & contribution : [GitHub Page](https://github.com/JcDenis/kUtRL) * Source & contribution : [GitHub Page](https://github.com/JcDenis/kUtRL)
* Packages & details: [Dotaddict Page](https://plugins.dotaddict.org/dc2/details/kUtRL) * Packages & details: [Dotaddict Page](https://plugins.dotaddict.org/dc2/details/kUtRL)
* Discussion & Help: [Dotclear Forum](http://forum.dotclear.org/viewtopic.php?pid=331158)
## CONTRIBUTORS
* Jean-Christian Denis
* Pierre Van Glabeke
You are welcome to contribute to this code.

View file

@ -16,7 +16,7 @@ if (!defined('DC_RC_PATH')) {
} }
$this->registerModule( $this->registerModule(
'kUtRL', 'URL shortener',
'Use, create and serve short url on your blog', 'Use, create and serve short url on your blog',
'Jean-Christian Denis and contributors', 'Jean-Christian Denis and contributors',
'2021.08.28', '2021.08.28',

View file

@ -63,7 +63,7 @@ try {
$s->put('kutrl_allow_external_url', true, 'boolean', 'Limited short url to current blog\'s url', false, true); $s->put('kutrl_allow_external_url', true, 'boolean', 'Limited short url to current blog\'s url', false, true);
$s->put('kutrl_tpl_passive', true, 'boolean', 'Return long url on kutrl tags if kutrl is unactivate', false, true); $s->put('kutrl_tpl_passive', true, 'boolean', 'Return long url on kutrl tags if kutrl is unactivate', false, true);
$s->put('kutrl_tpl_active', false, 'boolean', 'Return short url on dotclear tags if kutrl is active', false, true); $s->put('kutrl_tpl_active', false, 'boolean', 'Return short url on dotclear tags if kutrl is active', false, true);
$s->put('kutrl_admin_entry_default', true, 'boolean', 'Create short link an new entry by default', false, true); $s->put('kutrl_admin_entry_default', true, 'boolean', 'Create short link on new entry by default', false, true);
# Settings for "local" service # Settings for "local" service
$local_css = $local_css =
".shortenkutrlwidget input { border: 1px solid #CCCCCC; }\n" . ".shortenkutrlwidget input { border: 1px solid #CCCCCC; }\n" .

View file

@ -1,10 +1,11 @@
<modules xmlns:da="http://dotaddict.org/da/"> <modules xmlns:da="http://dotaddict.org/da/">
<module id="kUtRL"> <module id="kUtRL">
<name>kUtRL</name> <name>URL shortener</name>
<version>2021.08.28</version> <version>2021.08.28</version>
<author>Jean-Christian Denis and contributors</author> <author>Jean-Christian Denis and contributors</author>
<desc>Use, create and serve short url on your blog</desc> <desc>Use, create and serve short url on your blog</desc>
<file>https://github.com/JcDenis/kUtRL/releases/download/v2021.08.28/plugin-kUtRL.zip</file> <file>https://github.com/JcDenis/kUtRL/releases/download/v2021.08.28/plugin-kUtRL.zip</file>
<da:dcmin>2.19</da:dcmin>
<da:details>http://plugins.dotaddict.org/dc2/details/kUtRL</da:details> <da:details>http://plugins.dotaddict.org/dc2/details/kUtRL</da:details>
<da:support>https://github.com/JcDenis/kUtRL</da:support> <da:support>https://github.com/JcDenis/kUtRL</da:support>
</module> </module>

View file

@ -522,4 +522,3 @@ $GLOBALS['__l10n']['Service:'] = 'Service :';
#index.php:540 #index.php:540
$GLOBALS['__l10n']['Delete selected short links'] = 'Effacer les liens sélectionnés'; $GLOBALS['__l10n']['Delete selected short links'] = 'Effacer les liens sélectionnés';