Bug #17116 ยป class.tslib_content.php_jumpurl.diff
class.tslib_content.php 2007-03-13 14:11:26.185436800 +0100 | ||
---|---|---|
function filelink($theValue, $conf) {
|
||
$output = '';
|
||
$aTagParams = $this->getATagParams($conf);
|
||
$initP = '?id='.$GLOBALS['TSFE']->id.'&type='.$GLOBALS['TSFE']->type;
|
||
$initP = '?id='.$GLOBALS['TSFE']->id.'&type='.$GLOBALS['TSFE']->type . $GLOBALS['TSFE']->linkVars;;
|
||
$conf['path'] = $this->stdWrap($conf['path'],$conf['path.']);
|
||
$theFile = trim($conf['path']).$theValue;
|
||
if (@is_file($theFile)) {
|
||
... | ... | |
$textpieces = explode('http://', $data);
|
||
$pieces = count($textpieces);
|
||
$textstr = $textpieces[0];
|
||
$initP = '?id='.$GLOBALS['TSFE']->id.'&type='.$GLOBALS['TSFE']->type;
|
||
$initP = '?id='.$GLOBALS['TSFE']->id.'&type='.$GLOBALS['TSFE']->type . $GLOBALS['TSFE']->linkVars;;
|
||
for($i=1; $i<$pieces; $i++) {
|
||
$len=strcspn($textpieces[$i],chr(32).chr(9).chr(13).chr(10));
|
||
if (trim(substr($textstr,-1))=='' && $len) {
|
||
... | ... | |
|
||
$sectionMark = trim($this->stdWrap($conf['section'],$conf['section.']));
|
||
$sectionMark = $sectionMark ? (t3lib_div::testInt($sectionMark)?'#c':'#').$sectionMark : '';
|
||
$initP = '?id='.$GLOBALS['TSFE']->id.'&type='.$GLOBALS['TSFE']->type;
|
||
$initP = '?id='.$GLOBALS['TSFE']->id.'&type='.$GLOBALS['TSFE']->type . $GLOBALS['TSFE']->linkVars;;
|
||
$this->lastTypoLinkUrl = '';
|
||
$this->lastTypoLinkTarget = '';
|
||
if ($link_param) {
|
||
... | ... | |
*/
|
||
function getMailTo($mailAddress,$linktxt,$initP='?') {
|
||
if(!strcmp($linktxt,'')) { $linktxt = $mailAddress; }
|
||
|
||
$initP .= $GLOBALS['TSFE']->linkVars;
|
||
$mailToUrl = 'mailto:'.$mailAddress;
|
||
|
||
if (!$GLOBALS['TSFE']->config['config']['jumpurl_enable'] || $GLOBALS['TSFE']->config['config']['jumpurl_mailto_disable']) {
|