@copyright Copyright (C) 2015. All Rights Reserved @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html A sermon distributor that links to Dropbox. /----------------------------------------------------------------------------------------------------------------------------------*/ // No direct access to this file defined('_JEXEC') or die('Restricted access'); // set the defaults $items = $displayData->vwbstastics; $user = JFactory::getUser(); $id = $displayData->item->id; // set the edit URL $edit = "index.php?option=com_sermondistributor&view=statistics&task=statistic.edit"; // set a return value $return = ($id) ? "index.php?option=com_sermondistributor&view=sermon&layout=edit&id=" . $id : ""; // check for a return value $jinput = JFactory::getApplication()->input; if ($_return = $jinput->get('return', null, 'base64')) { $return .= "&return=" . $_return; } // check if return value was set if (SermondistributorHelper::checkString($return)) { // set the referral values $ref = ($id) ? "&ref=sermon&refid=" . $id . "&return=" . urlencode(base64_encode($return)) : "&return=" . urlencode(base64_encode($return)); } else { $ref = ($id) ? "&ref=sermon&refid=" . $id : ""; } ?>
$item): ?> authorise('core.manage', 'com_checkin') || $item->checked_out == $user->id || $item->checked_out == 0; $userChkOut = JFactory::getUser($item->checked_out); $canDo = SermondistributorHelper::getActions('statistic',$item,'statistics'); ?> published == 1): ?> published == 0): ?> published == 2): ?> published == -2): ?>
get('statistic.edit')): ?> filename; ?> checked_out): ?> name, $item->checked_out_time, 'statistics.', $canCheckin); ?> filename; ?> escape($item->sermon_name); ?> authorise('preacher.edit', 'com_sermondistributor.preacher.' . (int)$item->preacher)): ?> escape($item->preacher_name); ?> escape($item->preacher_name); ?> authorise('series.edit', 'com_sermondistributor.series.' . (int)$item->series)): ?> escape($item->series_name); ?> escape($item->series_name); ?> escape($item->counter); ?> id; ?>