38 lines
981 B
PHP
38 lines
981 B
PHP
|
|
<?php
|
||
|
|
/**
|
||
|
|
* patTemplate modfifier for Search Engine Friendly URL's
|
||
|
|
* @version $Id: Translate.php 14401 2010-01-26 14:10:00Z louis $
|
||
|
|
* @package Joomla.Framework
|
||
|
|
* @subpackage Template
|
||
|
|
* @copyright Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
|
||
|
|
* @license GNU/GPL, see LICENSE.php
|
||
|
|
* Joomla! is free software and parts of it may contain or be derived from the
|
||
|
|
* GNU General Public License or other free or open source software licenses.
|
||
|
|
* See COPYRIGHT.php for copyright notices and details.
|
||
|
|
*/
|
||
|
|
|
||
|
|
// Check to ensure this file is within the rest of the framework
|
||
|
|
defined('JPATH_BASE') or die();
|
||
|
|
|
||
|
|
/**
|
||
|
|
* JTemplate SEF modifier
|
||
|
|
*
|
||
|
|
* @package Joomla.Framework
|
||
|
|
* @subpackage Template
|
||
|
|
* @since 1.5
|
||
|
|
*/
|
||
|
|
class patTemplate_Modifier_Translate extends patTemplate_Modifier
|
||
|
|
{
|
||
|
|
/**
|
||
|
|
* modify the value
|
||
|
|
*
|
||
|
|
* @access public
|
||
|
|
* @param string value
|
||
|
|
* @return string modified value
|
||
|
|
*/
|
||
|
|
function modify( $value, $params = array() )
|
||
|
|
{
|
||
|
|
return JText::_( $value );
|
||
|
|
}
|
||
|
|
}
|