Bug #21521 » 12545_v2.diff
t3lib/class.t3lib_div.php (working copy) | ||
---|---|---|
* @param array Array of GET parameters to include
|
||
* @return string
|
||
*/
|
||
public static function linkThisScript(array $getParams = array()) {
|
||
public static function linkThisScript(array $getParams = array(), $xhtmlMode = TRUE) {
|
||
$parts = t3lib_div::getIndpEnv('SCRIPT_NAME');
|
||
$params = t3lib_div::_GET();
|
||
... | ... | |
}
|
||
$pString = t3lib_div::implodeArrayForUrl('', $params);
|
||
return $pString ? $parts . '?' . preg_replace('/^&/', '', $pString) : $parts;
|
||
$pString = $pString ? $parts . '?' . preg_replace('/^&/', '', $pString) : $parts;
|
||
return $xhtmlMode ? preg_replace('/&(?!amp;)/', '&', $pString) : $pString;
|
||
}
|
||
/**
|
- « Previous
- 1
- 2
- Next »