This commit is contained in:
JcDenis 2021-08-17 22:24:00 +02:00
parent 3cc6e0b8c3
commit 69f3aca75c
6 changed files with 479 additions and 479 deletions

View file

@ -1,4 +1,6 @@
entryPhotoExifWidget 1.0 - 2016-11-04
===========================================================
* First release
* Find images of an entry and paste their exif on a widget
20210817. entryPhotoExifWidget 1.0.1
- Move to Franck style
20161104. entryPhotoExifWidget 1.0
- First release
- Find images of an entry and paste their exif on a widget

View file

@ -20,3 +20,9 @@ First install entryPhotoExifWidget, manualy from a zip package or from
Dotaddict repository. (See Dotclear's documentation to know how do this)
Add and configure "Photo Exif Widget" from widgets manager.
# MORE
* License : GNU GPL v2
* Source & contribution : [GitHub Page](https://github.com/JcDenis/entryPhotoExifWidget)
* Packages & details: [Dotaddict Page](https://plugins.dotaddict.org/dc2/details/entryPhotoExifWidget)

View file

@ -12,8 +12,7 @@
#
# -- END LICENSE BLOCK ------------------------------------
if (!defined('DC_CONTEXT_ADMIN'))
{
if (!defined('DC_CONTEXT_ADMIN')) {
return null;
}

View file

@ -12,22 +12,20 @@
#
# -- END LICENSE BLOCK ------------------------------------
if (!defined('DC_RC_PATH'))
{
if (!defined('DC_RC_PATH')) {
return null;
}
$this->registerModule(
/* Name */ "Entry Photo Exif Widget",
/* Description*/ "Show images exif of an entry",
/* Author */ "Jean-Christian Denis and contibutors",
/* Version */ '1.0',
/* Properties */
array(
'Entry Photo Exif Widget', // Name
'Show images exif of an entry', // Description
'Jean-Christian Denis and contibutors', // Author
'1.0.1', // Version
[
'permissions' => 'admin',
'type' => 'plugin',
'dc_min' => '2.10',
'support' => 'http://forum.dotclear.org/',
'details' => 'http://plugins.dotaddict.org/dc2/details/photoExifWidget'
)
'details' => 'https://plugins.dotaddict.org/dc2/details/entryPhotoExifWidget'
]
);

View file

@ -12,8 +12,7 @@
#
# -- END LICENSE BLOCK ------------------------------------
if (!defined('DC_RC_PATH'))
{
if (!defined('DC_RC_PATH')) {
return null;
}

View file

@ -12,15 +12,11 @@
#
# -- END LICENSE BLOCK ------------------------------------
if (!defined('DC_RC_PATH'))
{
if (!defined('DC_RC_PATH')) {
return null;
}
$core->addBehavior(
'initWidgets',
array('entryPhotoExifWidget','setWidget')
);
$core->addBehavior('initWidgets', ['entryPhotoExifWidget', 'setWidget']);
class entryPhotoExifWidget
{