| Current Path : /home/sunflowe/www2/j15/administrator/components/com_easycaptcha/ |
| Current File : /home/sunflowe/www2/j15/administrator/components/com_easycaptcha/controller.php |
<?php
/**
* @version $Id: controller.php 638 2008-03-18 09:13:02Z snipersister $
* @package EasyCaptcha
* @link http://www.easy-joomla.org
* @license GNU/GPL
*/
// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );
jimport('joomla.application.component.controller');
/**
* EasyCaptcha Component Controller
*
* @package EasyCaptcha
*/
class EasyCaptchaController extends JController
{
/**
* Method to display the view
*
* @access public
*/
function display()
{
parent::display();
}
function about()
{
JRequest::setVar( 'view', 'about' );
JRequest::setVar( 'layout', 'default' );
parent::display();
}
function cancel()
{
$msg = JText::_( 'Operation Cancelled' );
$this->setRedirect( 'index.php?option=com_easycaptcha', $msg, 'notice' );
}
}
?>