From 3c85da85eb242a921855f692ebefdb96f3f408db Mon Sep 17 00:00:00 2001 From: x2001corpet Date: Sat, 24 Mar 2007 09:00:54 +0000 Subject: [PATCH] miniwiki syntax for freetext comment git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@1603 839d8a87-29fc-0310-9880-83ba4fa771e5 --- modules/profile.php | 3 +-- templates/profile/general.tpl | 8 +++++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/modules/profile.php b/modules/profile.php index 88e850f..c80edf7 100644 --- a/modules/profile.php +++ b/modules/profile.php @@ -205,8 +205,7 @@ class ProfileModule extends PLModule $new = Env::v('modif') == 'new'; $user = get_user_details($login, S::v('uid'), $view); - require_once('url_catcher.inc.php'); - $user['freetext'] = url_catcher($user['freetext'], false); + $user['freetext'] = MiniWiki::WikiToHTML($user['freetext']); $title = $user['prenom'] . ' ' . empty($user['nom_usage']) ? $user['nom'] : $user['nom_usage']; $page->assign('xorg_title', $title); diff --git a/templates/profile/general.tpl b/templates/profile/general.tpl index 5a50d5a..8b6b737 100644 --- a/templates/profile/general.tpl +++ b/templates/profile/general.tpl @@ -343,10 +343,16 @@ Complément libre - Commentaire? ICQ? etc... + Commentaire ? ICQ ? etc... +
+ + + {icon name=information title="Syntaxe wiki"} Voir la syntaxe wiki autorisée pour le commentaire + + -- 2.1.4