File manager - Edit - /home/verseaumee/blueversion/wp-content/plugins/unlimited-elements-for-elementor/inc_php/framework/settings_output_inline.class.php
Back
<?php /** * @package Unlimited Elements * @author unlimited-elements.com * @copyright (C) 2021 Unlimited Elements, All Rights Reserved. * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html * */ defined('UNLIMITED_ELEMENTS_INC') or die('Restricted access'); class UniteSettingsOutputInlineUC extends UniteCreatorSettingsOutput{ /** * constuct function */ public function __construct(){ $this->isParent = true; self::$serial++; $this->wrapperID = "unite_settings_wide_output_".self::$serial; $this->settingsMainClass = "unite-settings-inline"; $this->showDescAsTips = true; } /** * draw settings row * @param $setting */ protected function drawSettingRow($setting, $mode=""){ //set cellstyle: $cellStyle = ""; if(isset($setting[UniteSettingsUC::PARAM_CELLSTYLE])){ $cellStyle .= $setting[UniteSettingsUC::PARAM_CELLSTYLE]; } if($cellStyle != "") $cellStyle = "style='".$cellStyle."'"; $textStyle = $this->drawSettingRow_getTextStyle($setting); $rowClass = $this->drawSettingRow_getRowClass($setting, "unite-setting-row"); $text = $this->drawSettingRow_getText($setting); $description = UniteFunctionsUC::getVal($setting,"description"); $addField = UniteFunctionsUC::getVal($setting, UniteSettingsUC::PARAM_ADDFIELD); ?> <div id="<?php echo esc_attr($setting["id_row"])?>" <?php echo UniteProviderFunctionsUC::escAddParam($rowClass)?>> <div class="unite-setting-text" <?php echo UniteProviderFunctionsUC::escAddParam($textStyle)?> > <?php if($this->showDescAsTips == true): ?> <span class='setting_text' title="<?php echo esc_attr($description)?>"><?php echo $text?></span> <?php else:?> <?php echo $text?> <?php endif?> </div> <div class="unite-setting-content" <?php echo UniteProviderFunctionsUC::escAddParam($cellStyle)?>> <?php $this->drawInputs($setting); $this->drawInputAdditions($setting); ?> </div> </div> <?php } /** * draw wrapper end after settings */ protected function drawSettingsAfter(){ ?><div class="unite-clear"></div><?php } } ?>
| ver. 1.4 |
Github
|
.
| PHP 8.5.7 | Generation time: 0 |
proxy
|
phpinfo
|
Settings