master
Jean-Christian Paul Denis 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 20210817. entryPhotoExifWidget 1.0.1
=========================================================== - Move to Franck style
* First release
* Find images of an entry and paste their exif on a widget 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) Dotaddict repository. (See Dotclear's documentation to know how do this)
Add and configure "Photo Exif Widget" from widgets manager. 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 ------------------------------------ # -- END LICENSE BLOCK ------------------------------------
if (!defined('DC_CONTEXT_ADMIN')) if (!defined('DC_CONTEXT_ADMIN')) {
{
return null; return null;
} }

View File

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

View File

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