Файл: upload/module/core/include/component/ajax/admincp/ajax.class.php
Строк: 47
<?php
/**
* [PHPFOX_HEADER]
*/
defined('PHPFOX') or exit('NO DICE!');
/**
*
*
* @copyright [PHPFOX_COPYRIGHT]
* @author Raymond Benc
* @package Module_Core
* @version $Id: ajax.class.php 1289 2009-12-02 16:13:11Z Raymond_Benc $
*/
class Core_Component_Ajax_Admincp_Ajax extends Phpfox_Ajax
{
public function updateNote()
{
Phpfox::getService('core.admincp.process')->updateNote($this->get('admincp_note'));
$this->hide('#js_save_note');
}
public function viewAdminLogin()
{
Phpfox::getBlock('core.view-admincp-login');
}
public function countryChildTranslate()
{
Phpfox::getBlock('core.translate-child-country');
}
public function translateCountryChildProcess()
{
if (Phpfox::getService('core.country.child.process')->translate($this->get('val')))
{
}
}
public function countryTranslate()
{
Phpfox::getBlock('core.translate-country');
}
public function translateCountryProcess()
{
if (Phpfox::getService('core.country.process')->translate($this->get('val')))
{
}
}
}
?>