%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/views/user/ |
Upload File : |
<?php /** * Kunena Component * @package Kunena.Administrator * @subpackage Views * * @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 (); /** * User view for Kunena backend */ class KunenaAdminViewUser extends KunenaView { public function displayEdit() { $this->setToolBarEdit(); $this->user = $this->get('user'); $this->sub = $this->get('subscriptions'); $this->subscatslist = $this->get('catsubcriptions'); $this->ipslist = $this->get('IPlist'); $avatarint = KunenaFactory::getAvatarIntegration(); $this->editavatar = ($avatarint instanceof KunenaAvatarKunena) ? true : false; $this->avatar = $avatarint->getLink($this->user, '', 'users'); // make the select list for the moderator flag $yesnoMod [] = JHtml::_ ( 'select.option', '1', JText::_('COM_KUNENA_YES') ); $yesnoMod [] = JHtml::_ ( 'select.option', '0', JText::_('COM_KUNENA_NO') ); // build the html select list $this->selectMod = JHtml::_ ( 'select.genericlist', $yesnoMod, 'moderator', 'class="inputbox" size="2"', 'value', 'text', $this->user->moderator ); // make the select list for the moderator flag $yesnoOrder [] = JHtml::_ ( 'select.option', '0', JText::_('COM_KUNENA_USER_ORDER_ASC') ); $yesnoOrder [] = JHtml::_ ( 'select.option', '1', JText::_('COM_KUNENA_USER_ORDER_DESC') ); // build the html select list $this->selectOrder = JHtml::_ ( 'select.genericlist', $yesnoOrder, 'neworder', 'class="inputbox" size="2"', 'value', 'text', $this->user->ordering ); $this->modCats = $this->get('listmodcats'); $this->selectRank = $this->get('listuserranks'); $this->display(); } public function displayMove() { $this->setToolBarMove(); $this->catslist = $this->get('movecatslist'); $this->users = $this->get('moveuser'); $this->display(); } protected function setToolBarEdit() { // Set the titlebar text JToolBarHelper::title ( JText::_('COM_KUNENA'), 'users' ); JToolBarHelper::spacer(); JToolBarHelper::save('save'); JToolBarHelper::spacer(); JToolBarHelper::cancel('cancel', 'COM_KUNENA_CANCEL'); JToolBarHelper::spacer(); } protected function setToolBarMove() { // Set the titlebar text JToolBarHelper::title ( JText::_('COM_KUNENA'), 'users' ); JToolBarHelper::spacer(); JToolBarHelper::custom('movemessages', 'save.png', 'save_f2.png', 'COM_KUNENA_MOVE_USERMESSAGES'); JToolBarHelper::spacer(); JToolBarHelper::cancel(); JToolBarHelper::spacer(); } }