| Server IP : 54.36.91.62 / Your IP : 216.73.217.112 Web Server : Apache System : Linux webm013.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : coopiak ( 151928) PHP Version : 8.3.23 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/coopiak/amisdesseniors-fr/administrator/components/com_jlexreview/views/sync/ |
Upload File : |
<?php
/**
* @package JLex Review
* @version 4.2.3
* @copyright Copyright (c) 2013-2018 JLexArt. All rights reserved
* @license GNU General Public License version 2 or later;
* @author www.jlexart.com
*/
defined('_JEXEC') or die;
class JLexReviewViewSync extends JViewLegacy
{
public $form = null;
public $items = null;
public $pagination = null;
public $lists = null;
public function display($tpl = null, $toolbar = true)
{
$app = JFactory::getApplication();
$layout = $this->getLayout();
$doc = JFactory::getDocument();
if($layout=='form')
{
$doc->setTitle( JText::_("JR_SYNC_FORM") );
JToolbarHelper::title( JText::_("JR_SYNC_FORM") );
JToolbarHelper::save();
JToolbarHelper::cancel();
} else {
$doc->setTitle( JText::_("JR_SYNC") );
$prefix = "com_jlexreview.sync.";
JToolbarHelper::title( JText::_("JR_SYNC") );
JToolbarHelper::addNew();
JToolbarHelper::publishList();
JToolbarHelper::unpublishList();
if(!empty($this->items))
{
JToolBarHelper::custom('sync', 'refresh', 'refresh', jtext::_('JR_SYNC_BTN'), false);
}
$lists = array(
'order' => $app->getUserStateFromRequest( $prefix . 'filter_order', 'filter_order', 's.created_time' ),
'order_dir' => $app->getUserStateFromRequest( $prefix . 'filter_order_dir', 'filter_order_dir', 'DESC' )
);
$this->lists = $lists;
}
parent::display();
}
}