__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
namespace Nextend\Framework\Form\Element\Text;
use Nextend\Framework\Asset\Js\Js;
use Nextend\Framework\Form\Element\AbstractChooserText;
use Nextend\Framework\Pattern\MVCHelperTrait;
use Nextend\Framework\Platform\Platform;
class Url extends AbstractChooserText {
protected function addScript() {
Js::addInline("new _N2.FormElementUrl('" . $this->fieldID . "', " . $this->getElementUrlParameters($this->getForm()) . " );");
}
/**
* @param MVCHelperTrait $MVCHelper
*
* @return string
*/
private function getElementUrlParameters($MVCHelper) {
$params = array(
'hasPosts' => Platform::hasPosts()
);
$params['url'] = $MVCHelper->createAjaxUrl("content/searchlink");
$params['labelButton'] = 'Joomla';
$params['labelDescription'] = n2_(/** @lang text */ 'Select article or menu item from your site.');
return json_encode($params);
}
protected function post() {
if (!Platform::hasPosts()) {
return '';
}
return parent::post();
}
/**
* @param int $width
*/
public function setWidth($width) {
$this->width = $width;
}
}| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| Color.php | File | 891 B | 0664 |
|
| Disabled.php | File | 190 B | 0664 |
|
| Family.php | File | 518 B | 0664 |
|
| FieldImage.php | File | 1.48 KB | 0664 |
|
| FieldImageResponsive.php | File | 328 B | 0664 |
|
| Folder.php | File | 1.08 KB | 0664 |
|
| HiddenText.php | File | 252 B | 0664 |
|
| Number.php | File | 2.68 KB | 0664 |
|
| NumberAutoComplete.php | File | 553 B | 0664 |
|
| NumberSlider.php | File | 1.04 KB | 0664 |
|
| TextAutoComplete.php | File | 595 B | 0664 |
|
| TextMultiAutoComplete.php | File | 861 B | 0664 |
|
| Url.php | File | 1.2 KB | 0664 |
|
| Video.php | File | 298 B | 0664 |
|