| Current Path : /proc/1908984/root/proc/thread-self/root/proc/thread-self/root/proc/3013816/cwd/ |
| Current File : //proc/1908984/root/proc/thread-self/root/proc/thread-self/root/proc/3013816/cwd/author.php.tar |
home/digilove/public_html/110/plugins/system/nnframework/fields/author.php 0000644 00000001105 15235523133 0022717 0 ustar 00 <?php
/**
* Element: Author
* Displays a selectbox of authors
*
* @package NoNumber Framework
* @version 14.11.6
*
* @author Peter van Westen <peter@nonumber.nl>
* @link http://www.nonumber.nl
* @copyright Copyright © 2014 NoNumber All Rights Reserved
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
*/
defined('_JEXEC') or die;
class JFormFieldNN_Author extends JFormField
{
public $type = 'Author';
protected function getInput()
{
return JHtml::_('list.users', $this->name, $this->value, 1);
}
}
home/digilove/public_html/plugins/system/nnframework/fields/author.php 0000644 00000001105 15235557606 0022432 0 ustar 00 <?php
/**
* Element: Author
* Displays a selectbox of authors
*
* @package NoNumber Framework
* @version 14.11.6
*
* @author Peter van Westen <peter@nonumber.nl>
* @link http://www.nonumber.nl
* @copyright Copyright © 2014 NoNumber All Rights Reserved
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
*/
defined('_JEXEC') or die;
class JFormFieldNN_Author extends JFormField
{
public $type = 'Author';
protected function getInput()
{
return JHtml::_('list.users', $this->name, $this->value, 1);
}
}
home/digilove/public_html/110/layouts/joomla/content/info_block/author.php 0000644 00000001553 15243775764 0022704 0 ustar 00 <?php
/**
* @package Joomla.Site
* @subpackage Layout
*
* @copyright (C) 2013 Open Source Matters, Inc. <https://www.joomla.org>
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
?>
<dd class="createdby" itemprop="author" itemscope itemtype="https://schema.org/Person">
<?php $author = ($displayData['item']->created_by_alias ?: $displayData['item']->author); ?>
<?php $author = '<span itemprop="name">' . $author . '</span>'; ?>
<?php if (!empty($displayData['item']->contact_link ) && $displayData['params']->get('link_author') == true) : ?>
<?php echo JText::sprintf('COM_CONTENT_WRITTEN_BY', JHtml::_('link', $displayData['item']->contact_link, $author, array('itemprop' => 'url'))); ?>
<?php else : ?>
<?php echo JText::sprintf('COM_CONTENT_WRITTEN_BY', $author); ?>
<?php endif; ?>
</dd>