????? ?????? ?? ?????? ???? ?? ???? ???????? /you ?????
مرسل: الجمعة يناير 08, 2010 7:51 am
????? ?????? ?? ?????? ???? ?? ???? ???????? /you ?????
?? ????? ????? ??? ???????? ?? ????? ???? ?? ???
?? ?? ???? ??? ???? ???? ?????? ????????
???? ??? includes/functions_content.php
????
?? ?????
?? ???? ??? ??????? ????????? ??????? .. ?????? ?? ?? ??????
???? viewtopic.php
???? ??
??? ?????
????? ??? ???? ??? ??????? ???????
????????
?? ????? ????? ??? ???????? ?? ????? ???? ?? ???
?? ?? ???? ??? ???? ???? ?????? ????????
???? ??? includes/functions_content.php
????
كود: تحديد الكل
function?censor_text($text)
{
????static?$censors;???
كود: تحديد الكل
//by?saanina?,?replace?/you?with?username
global?$user;
if(strpos($text,?'/you')?!==?false)
{
????$username_you?=?get_username_string('full',?$user->data['user_id'],?$user->data['username'],?$user->data['user_colour']);
???$text?=?preg_replace('![^\[]\/you!',?'?'?.?$username_you?.?'?',?$text);
}???
???? viewtopic.php
???? ??
كود: تحديد الكل
$message?=?smiley_text($message);???
كود: تحديد الكل
//by?saanina?,?replace?/you?with?username
if(strpos($message,?'/you')?!==?false)
{
????$username_you?=?get_username_string('full',?$user->data['user_id'],?$user->data['username'],?$user->data['user_colour']);
????$message=?preg_replace('![^\[]\/you!',?'?'?.?$username_you?.?'?',?$message);
}???
????????