aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Include/myFunctions.php
diff options
context:
space:
mode:
authorAntonio Gallo <tonicucoz@gmail.com>2010-10-30 16:17:50 +0000
committerAntonio Gallo <tonicucoz@gmail.com>2010-10-30 16:17:50 +0000
commit19272c7c88f5df7fbba47f120efe440b5a472315 (patch)
treef083c49d68644ca2aea0175c886e94de4e6eb18c /h-source/Application/Include/myFunctions.php
parent4641de870cfa9c5d4c41a94328a8fb1f4adfdc78 (diff)
improved users history - part 1
Diffstat (limited to 'h-source/Application/Include/myFunctions.php')
-rw-r--r--h-source/Application/Include/myFunctions.php23
1 files changed, 1 insertions, 22 deletions
diff --git a/h-source/Application/Include/myFunctions.php b/h-source/Application/Include/myFunctions.php
index b72be6c..b95cc61 100644
--- a/h-source/Application/Include/myFunctions.php
+++ b/h-source/Application/Include/myFunctions.php
@@ -85,27 +85,6 @@ function getOrderByClause($string)
}
-// function isEqual($str1, $str2)
-// {
-// // $str1 = str_replace("\n",'',$str1);
-// // $str1 = str_replace("\r",null,$str1);
-// // $str2 = str_replace("\n",'',$str1);
-// // $str2 = str_replace("\r",null,$str1);
-//
-// return (strcmp($str1,$str2) === 0) ? true : false;
-// }
-//
-// function getNewKeys($array,$ovalue)
-// {
-// $res = array();
-// for ($i = 0; $i < count($array); $i++)
-// {
-// if (isEqual($array[$i],$ovalue)) $res[] = $i;
-// // if (strcmp($keys[$i],$ovalue) === 0) $res[] = $i;
-// }
-// return $res;
-// }
-
function diff($old, $new){
$maxlen = 0;
foreach($old as $oindex => $ovalue){
@@ -168,7 +147,7 @@ function getLinkToUser($user)
}
else
{
- return "<a href='http://".DOMAIN_NAME."/users/meet/".Lang::$current."/$user'>$user</a>";
+ return "<a href='http://".DOMAIN_NAME."/meet/user/".Lang::$current."/$user'>$user</a>";
}
}