X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Flibs%2Frewrite_functions.php;h=36c07942bb37ee4d140ae63c639540e62d9367c0;hp=e7fa920e68c4d433f8919b0cb8a50ec4f1993fc4;hb=f3e4c2c048761589836fdbe6bd2e46599a1833a7;hpb=c5e685ff1b1bd296243b9bfcd8921969fa09d53f diff --git a/inc/libs/rewrite_functions.php b/inc/libs/rewrite_functions.php index e7fa920e68..36c07942bb 100644 --- a/inc/libs/rewrite_functions.php +++ b/inc/libs/rewrite_functions.php @@ -10,7 +10,12 @@ * -------------------------------------------------------------------- * * Kurzbeschreibung : Spezielle Funktion fuer rewrite-Erweiterung * * -------------------------------------------------------------------- * - * * + * $Revision:: 856 $ * + * $Date:: 2009-03-06 20:24:32 +0100 (Fr, 06. Mär 2009) $ * + * $Tag:: 0.2.1-FINAL $ * + * $Author:: stelzi $ * + * Needs to be in all Files and every File needs "svn propset * + * svn:keywords Date Revision" (autoprobset!) at least!!!!!! * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2008 by Roland Haeder * * For more information visit: http://www.mxchange.org * @@ -83,7 +88,7 @@ function REWRITE_LINKS ($HTML) { // Simple from->to replacements $REPLACE = array( - 'search' => array("u_id", "url", "page", "offset", "mid", "bid", "sub", "home"), + 'search' => array("uid", "url", "page", "offset", "mid", "bid", "sub", "home"), 'replace' => array("u" , "url", "page", "offset", "m" , "b" , "s" , "h") ); @@ -96,7 +101,7 @@ function REWRITE_LINKS ($HTML) { // Replace all array elements through foreach ($REPLACE['search'] as $k => $v) { if (eregi("$v=", $test)) { - // Replace &u_id= with /u/ + // Replace &uid= with /u/ $test = preg_replace("/&".$v."=/i", "/".$REPLACE['replace'][$k]."/", $test); } // END - if } // END - foreach