From be5848fd4fa280e5a4606fef25669974414547a5 Mon Sep 17 00:00:00 2001 From: maTh Date: Tue, 15 Mar 2022 22:58:30 +0100 Subject: Improved: Sharing/Integration configuration (#4269) * stick plus button to select list * HTML improved very much * drag and drop improved * add URL button * fix remove button behavior * prepare for PR#4238 * improve length of inputs * First draft of documentation of the sharing services * new config option: depricated * i18n for depricated text * Doc: Blogotext depricated to 2023 * dropdown menu with config link and depricated sign * Update entry_bottom.phtml * Update 08_sharing_services.md * Update template.rtl.css * Typo Deprecated/Depricated * typo * updated the documentation comment * Update shares.php * Update app/i18n/fr/conf.php Co-authored-by: Alexandre Alapetite * Update p/scripts/draggable.js Co-authored-by: Alexandre Alapetite * Update p/scripts/draggable.js Co-authored-by: Alexandre Alapetite * Documentation: services from #4270 Co-authored-by: Alexandre Alapetite --- app/shares.php | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'app/shares.php') diff --git a/app/shares.php b/app/shares.php index 9761ed609..16b2787bf 100644 --- a/app/shares.php +++ b/app/shares.php @@ -7,23 +7,27 @@ * * For each share there is different configuration options. Here is the description * of those options: - * - url is a mandatory option. It is a string representing the share URL. It + * - 'deprecated' (optional) is a boolean. Default: 'false'. + * 'true', if the sharing service is planned to remove in the future. + * Add more information into the documentation center. + * - 'url' is a mandatory option. It is a string representing the share URL. It * supports 4 different placeholders for custom data. The ~URL~ placeholder * represents the URL of the system used to share, it is configured by the * user. The ~LINK~ placeholder represents the link of the shared article. * The ~TITLE~ placeholder represents the title of the shared article. The * ~ID~ placeholder represents the id of the shared article (only useful * for internal use) - * - transform is an array of transformation to apply on links and titles - * - help is a URL to a help page (mandatory for form = 'advanced') - * - form is the type of form to display during configuration. It’s either + * - 'transform' is an array of transformation to apply on links and titles + * - 'help' is a URL to a help page (mandatory for form = 'advanced') + * - 'form' is the type of form to display during configuration. It’s either * 'simple' or 'advanced'. 'simple' is used when only the name is configurable, * 'advanced' is used when the name and the location are configurable. - * - method is the HTTP method (POST or GET) used to share a link. + * - 'method' is the HTTP method (POST or GET) used to share a link. */ return array( 'blogotext' => array( + 'deprecated' => true, 'url' => '~URL~/admin/links.php?url=~LINK~', 'transform' => array(), 'help' => 'http://lehollandaisvolant.net/blogotext/fr/', -- cgit v1.2.3