cosmetics
parent
0c104856fa
commit
3bfa7f31d0
10
CHANGELOG.md
10
CHANGELOG.md
|
@ -1,9 +1,13 @@
|
|||
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 passworded links
|
||||
- [ ] fix deprecated external service
|
||||
- [x] update php header to phpdoc style
|
||||
- [x] fix post page options display
|
||||
|
||||
2021.09.16
|
||||
- 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
|
||||
- add dashboard icon
|
||||
|
|
22
README.md
22
README.md
|
@ -1,5 +1,12 @@
|
|||
# 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 ?
|
||||
|
||||
"kUtRL" is a plugin for the open-source
|
||||
|
@ -11,7 +18,8 @@ Create short URL on its own or from external services.
|
|||
|
||||
kUtRL requires:
|
||||
|
||||
* admin permission
|
||||
* admin permission to configure
|
||||
* no permissions to shorten links on the fly
|
||||
* Dotclear 2.19
|
||||
|
||||
## 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".
|
||||
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)
|
||||
* 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.
|
|
@ -16,7 +16,7 @@ if (!defined('DC_RC_PATH')) {
|
|||
}
|
||||
|
||||
$this->registerModule(
|
||||
'kUtRL',
|
||||
'URL shortener',
|
||||
'Use, create and serve short url on your blog',
|
||||
'Jean-Christian Denis and contributors',
|
||||
'2021.08.28',
|
||||
|
|
|
@ -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_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_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
|
||||
$local_css =
|
||||
".shortenkutrlwidget input { border: 1px solid #CCCCCC; }\n" .
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
<modules xmlns:da="http://dotaddict.org/da/">
|
||||
<module id="kUtRL">
|
||||
<name>kUtRL</name>
|
||||
<name>URL shortener</name>
|
||||
<version>2021.08.28</version>
|
||||
<author>Jean-Christian Denis and contributors</author>
|
||||
<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>
|
||||
<da:dcmin>2.19</da:dcmin>
|
||||
<da:details>http://plugins.dotaddict.org/dc2/details/kUtRL</da:details>
|
||||
<da:support>https://github.com/JcDenis/kUtRL</da:support>
|
||||
</module>
|
||||
|
|
|
@ -522,4 +522,3 @@ $GLOBALS['__l10n']['Service:'] = 'Service :';
|
|||
|
||||
#index.php:540
|
||||
$GLOBALS['__l10n']['Delete selected short links'] = 'Effacer les liens sélectionnés';
|
||||
|
||||
|
|
Loading…
Reference in New Issue