CoreFiles by mySites.guru
system.php35 lines, 649 bytes, from Joomla_2.5.9-Stable-Full_Package.zip
Raw History Compare with 2.5.8
md5
cf471f782ece98d0fb7d9cf2f17fe8d2
sha1
4ff989d6b5433bb8c8e5d249118d0d79a83a5dc8
sha256
cf468bf9fd7570afaac37ca2312fc1dbbc6c288d55e0f0d9a9e8d5ac260d0eca
<?php
/**
 * @copyright	Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
 * @license		GNU General Public License version 2 or later; see LICENSE.txt
 */

// no direct access
defined('_JEXEC') or die;

/**
 * Utility class working with system
 *
 * @package		Joomla.Administrator
 * @subpackage	com_admin
 * @since		1.6
 */
abstract class JHtmlSystem
{
	/**
	 * method to generate a string message for a value
	 *
	 * @param string $val a php ini value
	 *
	 * @return string html code
	 */
	public static function server($val)
	{
		if (empty($val)) {
			return JText::_('COM_ADMIN_NA');
		}
		else {
			return $val;
		}
	}
}

The same content is in 8 releases, Joomla 2.5.9 to 2.5.17. See them all, or every version of this file.