From cbac30e337228b8c376fe53416553360b571fb48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9gory=20Mage?= Date: Mon, 11 Nov 2019 21:35:36 +0100 Subject: [PATCH] Ajout d'une variable smarty "xmcontent_page" sur la page viewcontent.php --- viewcontent.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/viewcontent.php b/viewcontent.php index da6bf3c..00ed40c 100644 --- a/viewcontent.php +++ b/viewcontent.php @@ -67,7 +67,7 @@ $xoopsTpl->assign('content_dosocial', $content->getVar('content_dosocial')); $xoopsTpl->assign('content_domail', $content->getVar('content_domail')); $xoopsTpl->assign('content_dotitle', $content->getVar('content_dotitle')); - +$xoopsTpl->assign('xmcontent_page', XOOPS_URL . 'modules/xmcontent/viewcontent.php?content_id=' . $content_id); //xmdoc if (xoops_isActiveModule('xmdoc') && $helper->getConfig('options_xmdoc', 0) == 1) { xoops_load('utility', 'xmdoc');