%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 49.231.201.246 / Your IP : 216.73.216.149 Web Server : Apache/2.4.18 (Ubuntu) System : Linux 246 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64 User : root ( 0) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/html/old/administrator/components/com_kunena/models/ |
Upload File : |
<?php /** * Kunena Component * @package Kunena.Administrator * @subpackage Models * * @copyright (C) 2008 - 2014 Kunena Team. All rights reserved. * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL * @link http://www.kunena.org **/ defined ( '_JEXEC' ) or die (); jimport ( 'joomla.application.component.model' ); require_once __DIR__ . '/cpanel.php'; /** * Tools Model for Kunena * * @since 2.0 */ class KunenaAdminModelTools extends KunenaAdminModelCpanel { function getPruneCategories() { $cat_params = array (); $cat_params['ordering'] = 'ordering'; $cat_params['toplevel'] = 0; $cat_params['sections'] = 0; $cat_params['direction'] = 1; $cat_params['unpublished'] = 1; $cat_params['action'] = 'admin'; $forum = JHtml::_('kunenaforum.categorylist', 'prune_forum[]', 0, null, $cat_params, 'class="inputbox" multiple="multiple"', 'value', 'text'); return $forum; } function getPruneListtrashdelete() { $trashdelete = array(); $trashdelete [] = JHtml::_ ( 'select.option', '0', JText::_('COM_KUNENA_TRASH_USERMESSAGES') ); $trashdelete [] = JHtml::_ ( 'select.option', '1', JText::_('COM_KUNENA_DELETE_PERMANENTLY') ); return JHtml::_('select.genericlist', $trashdelete, 'trashdelete', 'class="inputbox" size="1"', 'value', 'text', 0); } function getPruneControlOptions() { $contoloptions = array(); $contoloptions [] = JHtml::_ ( 'select.option', 'all', JText::_('COM_KUNENA_A_PRUNE_ALL') ); $contoloptions [] = JHtml::_ ( 'select.option', 'normal', JText::_('COM_KUNENA_A_PRUNE_NORMAL') ); $contoloptions [] = JHtml::_ ( 'select.option', 'locked', JText::_('COM_KUNENA_A_PRUNE_LOCKED') ); $contoloptions [] = JHtml::_ ( 'select.option', 'unanswered', JText::_('COM_KUNENA_A_PRUNE_UNANSWERED') ); $contoloptions [] = JHtml::_ ( 'select.option', 'answered', JText::_('COM_KUNENA_A_PRUNE_ANSWERED') ); $contoloptions [] = JHtml::_ ( 'select.option', 'unapproved', JText::_('COM_KUNENA_A_PRUNE_UNAPPROVED') ); $contoloptions [] = JHtml::_ ( 'select.option', 'deleted', JText::_('COM_KUNENA_A_PRUNE_DELETED') ); $contoloptions [] = JHtml::_ ( 'select.option', 'shadow', JText::_('COM_KUNENA_A_PRUNE_SHADOW') ); return JHtml::_('select.genericlist', $contoloptions, 'controloptions', 'class="inputbox" size="1"', 'value', 'text', 'normal'); } function getPruneKeepSticky() { $optionsticky = array(); $optionsticky [] = JHtml::_ ( 'select.option', '0', JText::_('COM_KUNENA_A_NO') ); $optionsticky [] = JHtml::_ ( 'select.option', '1', JText::_('COM_KUNENA_A_YES') ); return JHtml::_('select.genericlist', $optionsticky, 'keepsticky', 'class="inputbox" size="1"', 'value', 'text', 1); } }