From e947ddba10be56526118e82ebae5f19f5a4b20ea Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 23 May 2020 12:51:44 +0200 Subject: [PATCH] Fix RSS feed --- htdocs/website/index.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/htdocs/website/index.php b/htdocs/website/index.php index 8a6aa296efb..06c072dc86d 100644 --- a/htdocs/website/index.php +++ b/htdocs/website/index.php @@ -2977,6 +2977,19 @@ if ($action == 'editcss') print ''; + // RSS + print ''; + //$htmlhelp = $langs->trans("Example").' :
'; + //$htmlhelp .= dol_htmlentitiesbr($manifestjsoncontentdefault); + $htmlhelp = ''; + print $form->textwithpicto($langs->trans('RSSFeed'), $htmlhelp, 1, 'help', '', 0, 2, 'rsstooltip'); + print ''; + //print $langs->trans("RSS").': '.$form->selectyesno('WEBSITE_ENBALE_RSS', $website->use_rss, 1).'
'; + //$doleditor = new DolEditor('WEBSITE_ENBALE_RSS', $manifestjsoncontent, '', '220', 'ace', 'In', true, false, 'ace', 0, '100%', ''); + //print $doleditor->Create(1, '', true, $langs->trans("File").' manifest.json', 'text'); + print '/wrapper.php?rss=1[&lang=XX]'; + print ''; + print ''; dol_fiche_end();