Файл: upload/module/admincp/include/component/controller/seo/nofollow.class.php
Строк: 47
<?php
/**
* [PHPFOX_HEADER]
*/
defined('PHPFOX') or exit('NO DICE!');
/**
* Add a new setting from the Admin CP
*
* @copyright [PHPFOX_COPYRIGHT]
* @author Raymond Benc
* @package Module_Admincp
* @version $Id: nofollow.class.php 4163 2012-05-14 08:45:16Z Raymond_Benc $
*/
class Admincp_Component_Controller_Seo_Nofollow extends Phpfox_Component
{
/**
* Class process method wnich is used to execute this component.
* @todo Complete the update routine...
*/
public function process()
{
$this->template()->setTitle(Phpfox::getPhrase('admincp.nofollow_urls'))
->setBreadcrumb(Phpfox::getPhrase('admincp.nofollow_urls'), $this->url()->makeUrl('admincp.seo.nofollow'))
->assign(array(
'aNoFollows' => Phpfox::getService('admincp.seo')->getNoFollows()
)
);
}
/**
* Garbage collector. Is executed after this class has completed
* its job and the template has also been displayed.
*/
public function clean()
{
(($sPlugin = Phpfox_Plugin::get('admincp.component_controller_seo_nofollow_clean')) ? eval($sPlugin) : false);
}
}
?>