CoreFiles by mySites.guru
url.php31 lines, 587 bytes, from Joomla_3.7.0-alpha1-Alpha-Full_Package.zip
Raw History Compare with 3.6.0-alpha
md5
fee0096ffe8318b8d6b3dd0022506c54
sha1
22a27f620a9599c8618cdf2573ca4a69e0ab0837
sha256
b51859bbda96acb488e9fdda2f6f3e5504d2c8001ca27497640e2d17f54eda85
<?php
/**
 * @package     Joomla.Site
 * @subpackage  com_fields
 * 
 * @copyright   Copyright (C) 2005 - 2016 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */
defined('_JEXEC') or die;

if (!key_exists('field', $displayData))
{
	return;
}

$field = $displayData['field'];
$value = $field->value;

if ($value == '')
{
	return;
}

$attributes = '';

if (!JUri::isInternal($value))
{
	$attributes = 'rel="nofollow" target="_blank"';
}

echo '<a href="' . $value . '" ' . $attributes . '>' . $value . '</a>';

No other release has this exact content. See every version of this file.