You've already forked joomla_test
first commit
This commit is contained in:
39
administrator/components/com_admin/helpers/html/system.php
Normal file
39
administrator/components/com_admin/helpers/html/system.php
Normal file
@ -0,0 +1,39 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage com_admin
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user