git-svn-id: https://192.168.0.254/svn/Proyectos.FundacionLQDVI_WebCongresos/trunk@2 94ccb1af-fd9d-d947-8d90-7f70ea60afc8
35 lines
732 B
PHP
35 lines
732 B
PHP
<?php
|
|
/**
|
|
* Element: Author
|
|
* Displays a selectbox of authors
|
|
*
|
|
* @package NoNumber! Elements
|
|
* @version 1.2.8
|
|
*
|
|
* @author Peter van Westen <peter@nonumber.nl>
|
|
* @link http://www.nonumber.nl
|
|
* @copyright Copyright (C) 2010 NoNumber! All Rights Reserved
|
|
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
|
|
*/
|
|
|
|
// No direct access
|
|
defined( '_JEXEC' ) or die( 'Restricted access' );
|
|
|
|
/**
|
|
* Author Element
|
|
*/
|
|
class JElementAuthor extends JElement
|
|
{
|
|
/**
|
|
* Element name
|
|
*
|
|
* @access protected
|
|
* @var string
|
|
*/
|
|
var $_name = 'Author';
|
|
|
|
function fetchElement( $name, $value, &$node, $control_name )
|
|
{
|
|
return JHTML::_( 'list.users', $control_name.'['.$name.']', $value, 1 );
|
|
}
|
|
} |