update license and minor fix

This commit is contained in:
Jean-Christian Paul Denis 2021-08-19 23:33:19 +02:00
parent 9ebc2c4f8f
commit e9274e5b43
6 changed files with 141 additions and 101 deletions

5
CHANGELOG.md Normal file
View File

@ -0,0 +1,5 @@
simplyFavicon 2021.08.18
* update license
simplyFavicon 2011.04.08
* first version

31
README.md Normal file
View File

@ -0,0 +1,31 @@
# README
## WHAT IS simplyFavicon ?
simplyFavicon is a plugin for the open-source
web publishing software called Dotclear.
.
## REQUIREMENTS
simplyFavicon requires:
* Administrator permissions
* Dotclear 2.18
* A readable public directory.
## USAGE
First install simplyFavicon, manualy from a zip package or from
Dotaddict repository. (See Dotclear's documentation to know how do this)
Add un file called ''favicon.xxx'' where xxx could be ico, jpg, png,
on your blog public root directory and
simplyFavicon add required code to public page to show favicon on browser.
## MORE
* License : GNU GPL v2
* Source & contribution : [GitHub Page](https://github.com/JcDenis/simplyFavicon)
* Packages & details: [Dotaddict Page](https://plugins.dotaddict.org/dc2/details/simplyFavicon)

View File

@ -1,13 +1,14 @@
<?php
# -- BEGIN LICENSE BLOCK ----------------------------------
#
# This file is part of simplyFavicon, a plugin for Dotclear 2.
#
# Copyright (c) 2009-2011 JC Denis and contributors
# jcdenis@gdwd.com
# Copyright (c) 2009-2021 Jean-Christian Denis and contributors
#
# Licensed under the GPL version 2.0 license.
# A copy of this license is available in LICENSE file or at
# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
#
# -- END LICENSE BLOCK ------------------------------------
if (!defined('DC_CONTEXT_ADMIN')) {

View File

@ -1,13 +1,14 @@
<?php
# -- BEGIN LICENSE BLOCK ----------------------------------
#
# This file is part of simplyFavicon, a plugin for Dotclear 2.
#
# Copyright (c) 2009-2011 JC Denis and contributors
# jcdenis@gdwd.com
# Copyright (c) 2009-2021 Jean-Christian Denis and contributors
#
# Licensed under the GPL version 2.0 license.
# A copy of this license is available in LICENSE file or at
# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
#
# -- END LICENSE BLOCK ------------------------------------
if (!defined('DC_RC_PATH')){
@ -15,9 +16,9 @@ if (!defined('DC_RC_PATH')){
}
$this->registerModule(
/* Name */ "Simply favicon",
/* Description*/ "Multi-agents favicon",
/* Author */ "JC Denis",
/* Version */ '2021.08.16',
/* Permissions */ 'admin'
"Simply favicon",
"Multi-agents favicon",
"Jean-Christian Denis",
'2021.08.18',
'admin'
);

View File

@ -1,13 +1,14 @@
<?php
# -- BEGIN LICENSE BLOCK ----------------------------------
#
# This file is part of simplyFavicon, a plugin for Dotclear 2.
#
# Copyright (c) 2009-2011 JC Denis and contributors
# jcdenis@gdwd.com
# Copyright (c) 2009-2021 Jean-Christian Denis and contributors
#
# Licensed under the GPL version 2.0 license.
# A copy of this license is available in LICENSE file or at
# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
#
# -- END LICENSE BLOCK ------------------------------------
if (!defined('DC_RC_PATH')){

View File

@ -1,20 +1,21 @@
<?php
# -- BEGIN LICENSE BLOCK ----------------------------------
#
# This file is part of simplyFavicon, a plugin for Dotclear 2.
#
# Copyright (c) 2009-2011 JC Denis and contributors
# jcdenis@gdwd.com
# Copyright (c) 2009-2021 Jean-Christian Denis and contributors
#
# Licensed under the GPL version 2.0 license.
# A copy of this license is available in LICENSE file or at
# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
#
# -- END LICENSE BLOCK ------------------------------------
if (!defined('DC_RC_PATH')){
return;
}
$core->addBehavior('publicHeadContent', ['publicSimplyFavicon','publicHeadContent']);
$core->addBehavior('publicHeadContent', ['publicSimplyFavicon', 'publicHeadContent']);
class publicSimplyFavicon extends dcUrlHandlers
{