Server : Apache System : Linux webd348.cluster026.gra.hosting.ovh.net 5.15.148-ovh-vps-grsec-zfs-classid #1 SMP Thu Feb 8 09:41:04 UTC 2024 x86_64 User : hednacluml ( 122243) PHP Version : 8.3.9 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl Directory : /home/hednacluml/ecrire/plugins-dist/forum/inc/ |
<?php if (!defined('_ECRIRE_INC_VERSION')) { return; } /** * Moderation des forums specifique a un article * * @param int $id_objet identifiant de l'article * @return string : "non", "pos"(teriori), "pri"(ori), "abo"(nnement) */ function inc_article_accepter_forums_publics_dist($id_objet) { $accepter_forum = $GLOBALS['meta']['forums_publics']; $art_accepter_forum = sql_getfetsel('accepter_forum', 'spip_articles', [ 'id_article = ' . intval($id_objet) ]); if ($art_accepter_forum) { $accepter_forum = $art_accepter_forum; } return substr($accepter_forum, 0, 3); }