Bonjour,
apres la mise a jour du module News,
Je reçois des erreurs sur les pages et commencent toutes par ce qui suit
g'][30]['default'] = ''; /** * Mime Types * * Default values : Web pictures (png, gif, jpeg), zip, pdf, gtar, tar, pdf */ $modversion['config'][31]['name'] = 'mimetypes'; $modversion['config'][31]['title'] = '_MI_NEWS_MIME_TYPES'; $modversion['config'][31]['description'] = ''; $modversion['config'][31]['formtype'] = 'textarea'; $modversion['config'][31]['valuetype'] = 'text'; $modversion['config'][31]['default'] = "image/gifnimage/jpegnimage/pjpegnimage/x-pngnimage/pngnapplication/x-zip-compressednapplication/zipnapplication/pdfnapplication/x-gtarnapplication/x-tar"; /** * Use enhanced page separator ? */ $modversion['config'][32]['name'] = 'enhanced_pagenav'; $modversion['config'][32]['title'] = '_MI_NEWS_ENHANCED_PAGENAV'; $modversion['config'][32]['description'] = '_MI_NEWS_ENHANCED_PAGENAV_DSC'; $modversion['config'][32]['formtype'] = 'yesno'; $modversion['config'][32]['valuetype'] = 'int'; $modversion['config'][32]['default'] = 0; // Notification $modversion['hasNotification'] = 1; $modversion['notification']['lookup_file'] = 'include/notification.inc.php'; $modversion['notification']['lookup_func'] = 'news_notify_iteminfo'; $modversion['notification']['category'][1]['name'] = 'global'; $modversion['notification']['category'][1]['title'] = _MI_NEWS_GLOBAL_NOTIFY; $modversion['notification']['category'][1]['description'] = _MI_NEWS_GLOBAL_NOTIFYDSC; $modversion['notification']['category'][1]['subscribe_from'] = array('index.php', 'article.php'); $modversion['notification']['category'][2]['name'] = 'story'; $modversion['notification']['category'][2]['title'] = _MI_NEWS_STORY_NOTIFY; $modversion['notification']['category'][2]['description'] = _MI_NEWS_STORY_NOTIFYDSC; $modversion['notification']['category'][2]['subscribe_from'] = array('article.php'); $modversion['notification']['category'][2]['item_name'] = 'storyid'; $modversion['notification']['category'][2]['allow_bookmark'] = 1; // Added by Lankford on 2007/3/23 $modversion['notification']['category'][3]['name'] = 'category'; $modversion['notification']['category'][3]['title'] = _MI_NEWS_CATEGORY_NOTIFY; $modversion['notification']['category'][3]['description'] = _MI_NEWS_CATEGORY_NOTIFYDSC; $modversion['notification']['category'][3]['subscribe_from'] = array('index.php', 'article.php'); $modversion['notification']['category'][3]['item_name'] = 'storytopic'; $modversion['notification']['category'][3]['allow_bookmark'] = 1; $modversion['notification']['event'][1]['name'] = 'new_category'; $modversion['notification']['event'][1]['category'] = 'global'; $modversion['notification']['event'][1]['title'] = _MI_NEWS_GLOBAL_NEWCATEGORY_NOTIFY; $modversion['notification']['event'][1]['caption'] = _MI_NEWS_GLOBAL_NEWCATEGORY_NOTIFYCAP; $modversion['notification']['event'][1]['description'] = _MI_NEWS_GLOBAL_NEWCATEGORY_NOTIFYDSC; $modversion['notification']['event'][1]['mail_template'] = 'global_newcategory_notify'; $modversion['notification']['event'][1]['mail_subject'] = _MI_NEWS_GLOBAL_NEWCATEGORY_NOTIFYSBJ; $modversion['notification']['event'][2]['name'] = 'story_submit'; $modversion['notification']['event'][2]['category'] = 'global'; $modversion['notification']['event'][2]['admin_only'] = 1; $modversion['notification']['event'][2]['title'] = _MI_NEWS_GLOBAL_STORYSUBMIT_NOTIFY; $modversion['notification']['event'][2]['caption'] = _MI_NEWS_GLOBAL_STORYSUBMIT_NOTIFYCAP; $modversion['notification']['event'][2]['description'] = _MI_NEWS_GLOBAL_STORYSUBMIT_NOTIFYDSC; $modversion['notification']['event'][2]['mail_template'] = 'global_storysubmit_notify'; $modversion['notification']['event'][2]['mail_subject'] = _MI_NEWS_GLOBAL_STORYSUBMIT_NOTIFYSBJ; $modversion['notification']['event'][3]['name'] = 'new_story'; $modversion['notification']['event'][3]['category'] = 'global'; $modversion['notification']['event'][3]['title'] = _MI_NEWS_GLOBAL_NEWSTORY_NOTIFY; $modversion['notification']['event'][3]['caption'] = _MI_NEWS_GLOBAL_NEWSTORY_NOTIFYCAP; $modversion['notification']['event'][3]['description'] = _MI_NEWS_GLOBAL_NEWSTORY_NOTIFYDSC; $modversion['notification']['event'][3]['mail_template'] = 'global_newstory_notify'; $modversion['notification']['event'][3]['mail_subject'] = _MI_NEWS_GLOBAL_NEWSTORY_NOTIFYSBJ; $modversion['notification']['event'][4]['name'] = 'approve'; $modversion['notification']['event'][4]['category'] = 'story'; $modversion['notification']['event'][4]['invisible'] = 1; $modversion['notification']['event'][4]['title'] = _MI_NEWS_STORY_APPROVE_NOTIFY; $modversion['notification']['event'][4]['caption'] = _MI_NEWS_STORY_APPROVE_NOTIFYCAP; $modversion['notification']['event'][4]['description'] = _MI_NEWS_STORY_APPROVE_NOTIFYDSC; $modversion['notification']['event'][4]['mail_template'] = 'story_approve_notify'; $modversion['notification']['event'][4]['mail_subject'] = _MI_NEWS_STORY_APPROVE_NOTIFYSBJ; // Added by Lankford on 2007/3/23 $modversion['notification']['event'][5]['name'] = 'new_story'; $modversion['notification']['event'][5]['category'] = 'category'; $modversion['notification']['event'][5]['title'] = _MI_NEWS_CATEGORY_STORYPOSTED_NOTIFY; $modversion['notification']['event'][5]['caption'] = _MI_NEWS_CATEGORY_STORYPOSTED_NOTIFYCAP; $modversion['notification']['event'][5]['description'] = _MI_NEWS_CATEGORY_STORYPOSTED_NOTIFYDSC; $modversion['notification']['event'][5]['mail_template'] = 'category_newstory_notify'; $modversion['notification']['event'][5]['mail_subject'] = _MI_NEWS_CATEGORY_STORYPOSTED_NOTIFYSBJ; ?>
Je ne sais pas si vous avez une idée sur l'origine de ce truc.
MERCI !