File manager - Edit - /home/jardides/www/Jardi-design/old/plugins/pagebuilderck/contact2/layouts/edit_contact2.php
Back
<?php /** * @name Page Builder CK * @package com_pagebuilderck * @copyright Copyright (C) 2015. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt * @author Cedric Keiflin - https://www.template-creator.com - https://www.joomlack.fr */ defined('_JEXEC') or die; $input = new JInput(); $id = $input->get('ckid', '', 'string'); $this->imagespath_plugin = JUri::root(true) . '/plugins/pagebuilderck/contact2/assets/images/'; $c = new PagebuilderckController(); $loadAjaxData = method_exists($c,'ajaxLoadPluginCustomData'); if (! $loadAjaxData) { $msg = '<p style="color:red;">' . JText::_('PLG_PAGEBUILDERCK_CONTACT_NOT_UPTODATE') . '</p>'; echo $msg; } //$query = "SELECT custom_data FROM #__extensions WHERE type='plugin' AND element ='contact2' AND folder='pagebuilderck'"; //$db = JFactory::getDbo(); //$db->setQuery($query); //$data = $db->loadResult(); //$options = unserialize($data); ?> <script type="text/javascript" src="<?php echo PAGEBUILDERCK_MEDIA_URL ?>/assets/fields.js?v=2.1.0" ></script> <div id="elementscontainer"> <div class="menulink" tab="tab_contact"><?php echo JText::_('PLG_PAGEBUILDERCK_CONTACT_FORM_EDITION'); ?></div> <div class="tab menustyles ckproperty" id="tab_contact" style="padding: 5px;"> <div> <span class="ckoption-label"> <img class="ckoption-icon" src="<?php echo $this->imagespath_plugin; ?>application_tile_horizontal.png" width="16" height="16" /> <?php echo JText::_('CK_NUMBER_COLS'); ?> </span> <input id="nbcols" class="inputbox" name="nbcols" value="" type="hidden"> <span class="ckoption-field ckbutton-group"> <input id="nbcols_1" class="" name="nbcols" value="1" type="radio"> <label class="ckbutton" for="nbcols_1"> <?php echo JText::_('1'); ?> </label> <input id="nbcols_2" class="" name="nbcols" value="2" type="radio"> <label class="ckbutton" for="nbcols_2"> <?php echo JText::_('2'); ?> </label> <input id="nbcols_3" class="" name="nbcols" value="3" type="radio"> <label class="ckbutton" for="nbcols_3"> <?php echo JText::_('3'); ?> </label> <input id="nbcols_4" class="" name="nbcols" value="4" type="radio"> <label class="ckbutton" for="nbcols_4"> <?php echo JText::_('4'); ?> </label> </span> <div class="clr"></div> </div> <div> <span class="ckoption-label"> <img class="ckoption-icon" src="<?php echo $this->imagespath_plugin; ?>text_padding_left.png" width="16" height="16" /> <?php echo JText::_('CK_GUTTER'); ?> </span> <span class="ckoption-field"> <input id="gutter" name="gutter" class="inputbox" value="" type="text" placeholder="10"/> </span> <div class="clr"></div> </div> <div class="menupanetitle"><?php echo JText::_('PLG_PAGEBUILDERCK_CONTACT_FIELDS'); ?></div> <div id="ckcontactfieldslist"> </div> <div> <div class="ckbutton ckbutton-success" onclick="ckContactAddField()"><span class="fa fa-plus"></span> <?php echo JText::_('PLG_PAGEBUILDERCK_CONTACT_ADD_FIELD'); ?></div> </div> <div> <span class="ckoption-label"> <img class="ckoption-icon" src="<?php echo $this->imagespath; ?>text_signature.png" width="16" height="16" /> <?php echo JText::_('PLG_PAGEBUILDERCK_CONTACT_SEND_BUTTON_TEXT'); ?> </span> <span class="ckoption-field"> <input id="sendbuttontext" name="sendbuttontext" class="inputbox" value="" type="text" placeholder="PLG_PAGEBUILDERCK_CONTACT_SEND" /> </span> <div class="clr"></div> </div> <div> <span class="ckoption-label"> <img class="ckoption-icon" src="<?php echo $this->imagespath_plugin; ?>door.png" width="16" height="16" /> <?php echo JText::_('PLG_PAGEBUILDERCK_CONTACT_ENABLE_CAPTCHA'); ?> </span> <?php // get info from the plugin options $plugin = JPluginHelper::getPlugin('pagebuilderck', 'contact2'); $pluginParams = new JRegistry($plugin->params); $captcha = $pluginParams->get('enablecaptcha', '1'); if ($captcha == '1') { ?> <div class="ckbutton active" data-value="1" id="enablecaptcha"><?php echo JText::_('JYES') ?></div> <?php } else { ?> <div class="ckbutton active ckbutton-danger" data-value="0" id="enablecaptcha"><?php echo JText::_('JNO') ?></div> <?php } ?> <div class="ckalert"><a href="index.php?option=com_plugins&view=plugins&filter[search]=contact&filter[folder]=pagebuilderck" target="_blank"><?php echo JText::_('PLG_PAGEBUILDERCK_CONTACT_ENABLE_CAPTCHA_INFOS') ?></a></div> <div class="clr"></div> </div> <div class="menupanetitle"><?php echo JText::_('PLG_PAGEBUILDERCK_CONTACT_LAYOUT'); ?></div> <select class="inputbox" type="list" value="" name="contactcklayout" id="contactcklayout" style="width:90%; min-width: 200px; clear:both;" onchange="ckSetContactOptions()" > <option value="horizontal"><?php echo JText::_('CK_HORIZONTAL'); ?></option> <option value="vertical"><?php echo JText::_('CK_VERTICAL'); ?></option> </select> <div> <span class="ckoption-label"> <img class="ckoption-icon" src="<?php echo $this->imagespath; ?>width.png" width="16" height="16" /> <?php echo JText::_('PLG_PAGEBUILDERCK_CONTACT_LABELS_WIDTH'); ?> </span> <span class="ckoption-field"> <input id="contactcklabelswidth" name="contactcklabelswidth" class="inputbox" value="" type="text" onchange="ckSetContactOptions()" /> </span> <div class="clr"></div> </div> <div> <span class="ckoption-label"> <img class="ckoption-icon" src="<?php echo $this->imagespath; ?>width.png" width="16" height="16" /> <?php echo JText::_('PLG_PAGEBUILDERCK_CONTACT_FIELDS_WIDTH'); ?> </span> <span class="ckoption-field"> <input id="contactckinputswidth" name="contactckinputswidth" class="inputbox" value="" type="text" onchange="ckSetContactOptions()" /> </span> <div class="clr"></div> </div> <div class="menupanetitle"><?php echo JText::_('PLG_PAGEBUILDERCK_CONTACT_SHOW_LABELS'); ?></div> <select class="inputbox" type="list" value="" name="contactckshowlabels" id="contactckshowlabels" style="width:90%; min-width: 200px; clear:both;" onchange="ckSetContactOptions()" > <option value="1"><?php echo JText::_('JYES'); ?></option> <option value="0"><?php echo JText::_('JNO'); ?></option> <option value="placeholder"><?php echo JText::_('PLG_PAGEBUILDERCK_LABEL_IN_PLACEHOLDER'); ?></option> </select> <div class="menupanetitle"><?php echo JText::_('PLG_PAGEBUILDERCK_CONTACT_BUTTON_ALIGN'); ?></div> <span class="ckoption-field ckbutton-group"> <input id="buttonalignementleft" class="inputbox" name="buttonalignement" value="left" type="radio" onclick="ckSetAlignButton()"> <label class="ckbutton" for="buttonalignementleft"> <img src="<?php echo $this->imagespath; ?>text_align_left.png" width="16" height="16" /> </label> <input id="buttonalignementcenter" class="inputbox" name="buttonalignement" value="center" type="radio" onclick="ckSetAlignButton()"> <label class="ckbutton" for="buttonalignementcenter"> <img src="<?php echo $this->imagespath; ?>text_align_center.png" width="16" height="16" /> </label> <input id="buttonalignementright" class="inputbox" name="buttonalignement" value="right" type="radio" onclick="ckSetAlignButton()"> <label class="ckbutton" for="buttonalignementright"> <img src="<?php echo $this->imagespath; ?>text_align_right.png" width="16" height="16" /> </label> </span> <div> <span class="ckoption-label"> <img class="ckoption-icon" src="<?php echo $this->imagespath; ?>width.png" width="16" height="16" /> <?php echo JText::_('PLG_PAGEBUILDERCK_BLOG_RESPONSIVE'); ?> </span> <span class="ckoption-field"> <input id="responsiveresolution" name="responsiveresolution" class="inputbox" value="" type="text" placeholder="640" /> </span> <div class="clr"></div> </div> <div style="clear:both;"></div> </div> <div class="menulink" tab="tab_contactemail"><?php echo JText::_('PLG_PAGEBUILDERCK_CONTACT_CONTACT'); ?></div> <div class="tab menustyles ckproperty" id="tab_contactemail" style="padding: 5px;"> <div id="contactck-source-email"> <span class="ckoption-label"> <img class="ckoption-icon" src="<?php echo $this->imagespath; ?>text_signature.png" width="16" height="16" /> <?php echo JText::_('PLG_PAGEBUILDERCK_CONTACT_EMAIL'); ?> </span> <span class="ckoption-field"> <input id="contactemail" name="contactemail" class="inputbox" value="" type="text" /> </span> <div class="clr"></div> </div> <div id="contactck-cc-email"> <span class="ckoption-label"> <img class="ckoption-icon" src="<?php echo $this->imagespath; ?>text_signature.png" width="16" height="16" /> <?php echo JText::_('PLG_PAGEBUILDERCK_CONTACT_CC_EMAIL'); ?> </span> <span class="ckoption-field"> <input id="contactccemail" name="contactccemail" class="inputbox" value="" type="text" /> </span> <div class="clr"></div> </div> <div id="contactck-bcc-email"> <span class="ckoption-label"> <img class="ckoption-icon" src="<?php echo $this->imagespath; ?>text_signature.png" width="16" height="16" /> <?php echo JText::_('PLG_PAGEBUILDERCK_CONTACT_BCC_EMAIL'); ?> </span> <span class="ckoption-field"> <input id="contactbccemail" name="contactbccemail" class="inputbox" value="" type="text" /> </span> <div class="clr"></div> </div> <div> <span class="ckoption-label"> <img class="ckoption-icon" src="<?php echo $this->imagespath; ?>email_go.png" width="16" height="16" /> <?php echo JText::_('PLG_PAGEBUILDERCK_CONTACT_BCC_EMAIL_ENABLE_COPY'); ?> </span> <span class="ckoption-field ckbutton-group"> <select class="inputbox" type="list" value="" name="show_email_copy" id="show_email_copy" style="width:auto;" > <option value="0"><?php echo JText::_('JNO'); ?></option> <option value="1"><?php echo JText::_('JYES'); ?></option> <option value="2"><?php echo JText::_('PLG_PAGEBUILDERCK_CONTACT_FORCE'); ?></option> </select> </span> <div class="clr"></div> </div> </div> <div class="menulink" tab="tab_successmessage"><?php echo JText::_('PLG_PAGEBUILDERCK_CONTACT_SUCCESS_MESSAGE'); ?></div> <div class="tab menustyles ckproperty" id="tab_successmessage"> <div class="ckoption"> <textarea id="successmessage" name="successmessage" style="width: 265px;"></textarea> </div> <div class="ckoption"> <span class="ckoption-label"> <img class="ckoption-icon" src="<?php echo $this->imagespath; ?>link.png" width="16" height="16" /> <?php echo JText::_('PLG_PAGEBUILDERCK_CONTACT_SUCCESS_REDIRECT'); ?> </span> <span class="ckoption-field"> <input id="successredirect" name="successredirect" value="" type="text" placeholder="CURRENT_URI" /> </span> <div class="clr"></div> </div> </div> <div class="menulink" tab="tab_emailmessage"><?php echo JText::_('PLG_PAGEBUILDERCK_CONTACT_EMAIL_MESSAGE'); ?></div> <div class="tab menustyles ckproperty" id="tab_emailmessage"> <div class="ckoption"> <textarea id="emailmessage" name="emailmessage" style="width: 265px;"></textarea> <div id="emailmessagefields"><span class="emailmessagefield" onclick="ckAddEmailMessageField('{fieldslist}')">{fieldslist}</span></div> </div> </div> <div class="menulink" tab="tab_blocstyles"><?php echo JText::_('CK_STYLES'); ?></div> <div class="tab menustyles ckproperty" id="tab_blocstyles"> <?php echo $this->menustyles->createBlocStyles('bloc', 'contact', '') ?> </div> <div class="menulink" tab="tab_rowstyles"><?php echo JText::_('PLG_PAGEBUILDERCK_CONTACT_ROW_STYLE'); ?></div> <div class="tab menustyles ckproperty" id="tab_rowstyles"> <div class="menustylescustom" data-prefix="contactckrows" data-rule=".contactck .contactck-group"><?php echo $this->menustyles->createBlocStyles('contactckrows') ?></div> </div> <div class="menulink" tab="tab_labelstyles"><?php echo JText::_('PLG_PAGEBUILDERCK_CONTACT_LABEL_STYLE'); ?></div> <div class="tab menustyles ckproperty" id="tab_labelstyles"> <div class="menustylescustom" data-prefix="contactcklabels" data-rule=".contactck label"><?php echo $this->menustyles->createBlocStyles('contactcklabels') ?></div> </div> <div class="menulink" tab="tab_inputstyles"><?php echo JText::_('PLG_PAGEBUILDERCK_CONTACT_INPUT_STYLE'); ?></div> <div class="tab menustyles ckproperty" id="tab_inputstyles"> <div class="menustylescustom" data-prefix="contactckinputs" data-rule=".contactck input|.contactck textarea"><?php echo $this->menustyles->createBlocStyles('contactckinputs') ?></div> </div> <div class="menulink" tab="tab_inputfocusstyles"><?php echo JText::_('PLG_PAGEBUILDERCK_CONTACT_INPUT_FOCUS_STYLE'); ?></div> <div class="tab menustyles ckproperty" id="tab_inputfocusstyles"> <div class="menustylescustom" data-prefix="contactckinputsfocus" data-rule=".contactck input:focus|.contactck textarea:focus"><?php echo $this->menustyles->createBlocStyles('contactckinputsfocus') ?></div> </div> <div class="menulink" tab="tab_buttonstyles"><?php echo JText::_('PLG_PAGEBUILDERCK_CONTACT_BUTTON_STYLE'); ?></div> <div class="tab menustyles ckproperty" id="tab_buttonstyles"> <div class="menustylescustom" data-prefix="contactckbuttons" data-rule=".contactck .contactck-button"><?php echo $this->menustyles->createBlocStyles('contactckbuttons', '', $expert = false, $showlinks = false, '', $showtext = true, $showdimensions = true, $showdecoration = true, $showshadow = true, $showmargins = true) ?></div> </div> <div class="menulink" tab="tab_buttonhoverstyles"><?php echo JText::_('PLG_PAGEBUILDERCK_CONTACT_BUTTON_HOVER_STYLE'); ?></div> <div class="tab menustyles ckproperty" id="tab_buttonhoverstyles"> <div class="menustylescustom" data-prefix="contactckbuttonshover" data-rule=".contactck .contactck-button:hover"><?php echo $this->menustyles->createBlocStyles('contactckbuttonshover', '', $expert = false, $showlinks = false, '', $showtext = true, $showdimensions = true, $showdecoration = true, $showshadow = true, $showmargins = true) ?></div> </div> </div> <script language="javascript" type="text/javascript"> var focus = $ck('.editfocus'); function ckLoadEditionPopup() { var focus = $ck('.editfocus'); ckFixCopyIds(); ckFillEditionPopup(focus.attr('id')); ckSetAlignButton(); ckMakeLayoutSortable(); $ck('.editfocus').addClass('ckpointerevents'); var nbcols = $ck('#nbcols').val() ? $ck('#nbcols').val() : '1'; $ck('#elementscontainer [name="nbcols"][type="radio"]').removeAttr('checked'); $ck('#elementscontainer [id="nbcols_' + nbcols + '"][type="radio"]').prop('checked', 'checked'); $ck('#elementscontainer [name="nbcols"][type="radio"]').change(function() { $ck('#nbcols').val($ck('[name="nbcols"][type="radio"]:checked').val()).trigger('change'); ckUpdateLayout(); }); $ck('#elementscontainer #gutter').change(function() { ckUpdateLayout(); }); ckUpdateFieldsList(); ckUpdateCaptcha(); <?php if ($loadAjaxData) { ?> ckLoadContactOptions('successmessage_' + focus.attr('id'), $ck('#successmessage')); ckLoadContactOptions('emailmessage_' + focus.attr('id'), $ck('#emailmessage')); ckLoadContactOptions('contactemail_' + focus.attr('id'), $ck('#contactemail')); ckLoadContactOptions('contactccemail_' + focus.attr('id'), $ck('#contactccemail')); ckLoadContactOptions('contactbccemail_' + focus.attr('id'), $ck('#contactbccemail')); ckLoadContactOptions('successredirect_' + focus.attr('id'), $ck('#successredirect')); <?php } ?> } // replace the IDs, in case it was copied from another form function ckFixCopyIds() { var newid = focus.attr('id'); var oldid = focus.find('.contactck > div').attr('id').replace('contactck', ''); var re = new RegExp(oldid, 'g'); focus.html(focus.html().replace(re,newid)); } function ckContactAddField(fieldid, returnFunc) { if (! fieldid) fieldid = false; if (! returnFunc) returnFunc = 'ckGetFiedFromInterface'; var opts = { id : focus.attr('id'), cssClass : 'ckcontactfield', rowWrapperTag : 'div', // any html tag, if set the wrapper is added rowWrapperClass : 'contactck-group clearfix', labelWrapperTag : 'div', // any html tag, if set the wrapper is added labelWrapperClass : 'contactck-label', fieldWrapperTag : 'div', // any html tag, if set the wrapper is added fieldWrapperClass : 'contactck-field' }; CKApi.CKFieldInterface.showManager(fieldid, opts, returnFunc); } function ckUpdateFieldsList() { $ck('#ckcontactfieldslist').empty(); var fieldslist = new Array(); focus.find('.ckcontactfield').each(function() { var name = $ck(this).attr('data-name'); if (fieldslist.indexOf(name) == -1) { $ck('#ckcontactfieldslist').append('<div class="ckcontactfieldedition" data-id="' + $ck(this).attr('id') + '"><span class="ckcontactfieldedition-label">' + ($ck(this).parent().attr('data-placeholder') ? $ck(this).parent().attr('data-placeholder') : $ck(this).attr('data-name')) + '</span><span class="ckcontactfieldedition-type label">' + $ck(this).attr('type') + '</span><span class="ckcontactfieldedition-edit" onclick="ckContactAddField(\'' + $ck(this).attr('id') + '\', \'ckUpdateFiedFromInterface\')"><span class="fa fa-edit"></span></span>' + ((name != 'email' && name != 'subject') ? '<span class="ckcontactfieldedition-remove" onclick="ckContactRemoveField(\'' + $ck(this).attr('id') + '\')"><span class="fa fa-remove"></span></span></div>' : '')); fieldslist.push(name); } // update the tags for the email message // $ck('#emailmessagefields').append('<span class="emailmessagefield" onclick="ckAddEmailMessageField(\'{' + name + '}\')">{' + name + '}</span>') }); } function ckAddEmailMessageField(text) { $ck('#emailmessage').val($ck('#emailmessage').val() + text); } function ckContactRemoveField(id) { if (! confirm('Are you sure to delete ?')) return; focus.find('#' + id).parents('.contactck-group').remove(); $ck('#ckcontactfieldslist').find('.ckcontactfieldedition[data-id="' + id + '"]').remove(); } function ckGetFiedFromInterface(fieldHtml) { focus.find('.contactck-column:first-child').prepend(fieldHtml); ckUpdateFieldsList(); } function ckUpdateFiedFromInterface(fieldHtml) { var newfieldrow = $ck(fieldHtml); var newfield = newfieldrow.find('.ckcontactfield'); var oldfieldrow = $ck(focus.find('[data-id="' + newfield.attr('data-id') + '"]').parents('.contactck-group')[0]); oldfieldrow.after(newfieldrow); oldfieldrow.remove(); } function ckUpdateCaptcha() { var enable = $ck('#elementscontainer #enablecaptcha').attr('data-value'); if (enable == 0) { focus.find('.contactck-group.captcha').hide(); } else { focus.find('.contactck-group.captcha').show(); } } function ckUpdateLayout() { var nbcols = $ck('#nbcols').val() ? $ck('#nbcols').val() : '3'; $ck('.editfocus').find('.contactck-column:nth-child('+nbcols+')~.contactck-column').remove(); if (nbcols > 1) { $ck('.editfocus').find('.contactck-column:last-child').after('<div class="contactck-column-fullwidth" ></div>'); } else { $ck('.editfocus').find('.contactck-column-fullwidth').remove(); } if (nbcols > $ck('.editfocus').find('.contactck-column').length) { $ck('.editfocus').find('.contactck-column-fullwidth').before('<div class="contactck-column"></div>'); ckMakeLayoutSortable(); } var gutter = $ck('#gutter').val() ? $ck('#gutter').val() : '10'; var w = 'calc(1/' + parseInt(nbcols) + '*100% - (1 - 1/' + parseInt(nbcols) + ')*' + parseInt(gutter) + 'px)'; $ck('.editfocus').find('.contactck-column').css('width', w).css('margin-bottom', parseInt(gutter) + 'px'); } function ckBeforeSaveEditionPopup() { var sendButtonText = $ck('#sendbuttontext').val(); sendButtonText = sendButtonText ? sendButtonText : 'Send'; $ck('.editfocus').find('.contactck-button').html(sendButtonText); <?php if ($loadAjaxData) { ?> ckSaveContactOptions(); <?php } ?> } function ckBeforeCloseEditionPopup() { $ck('.editfocus').removeClass('ckpointerevents'); try { $ck('.editfocus .contactck-column, .editfocus .contactck-column-fullwidth').sortable("destroy"); } catch(error) { console.error('PBCK LOG : ' + error); } } function ckSaveContactOptions() { var customdata = new Object(); var id = focus.attr('id'); customdata['successmessage_' + id] = $ck('#successmessage').val(); customdata['emailmessage_' + id] = $ck('#emailmessage').val(); customdata['contactemail_' + id] = $ck('#contactemail').val(); customdata['contactccemail_' + id] = $ck('#contactccemail').val(); customdata['contactbccemail_' + id] = $ck('#contactbccemail').val(); customdata['successredirect_' + id] = $ck('#successredirect').val(); var myurl = URIBASE + "/index.php?option=com_pagebuilderck&task=ajaxSetPluginOption&" + PAGEBUILDERCK.TOKEN; $ck.ajax({ type: "POST", url: myurl, data: { name: 'contact2.' + id, customdata: customdata } }).done(function(code) { }).fail(function() { alert(Joomla.JText._('CK_FAILED', 'Failed')); }); } function ckLoadContactOptions(key, field) { var id = focus.attr('id'); var myurl = URIBASE + "/index.php?option=com_pagebuilderck&task=ajaxGetPluginOption&" + PAGEBUILDERCK.TOKEN; $ck.ajax({ type: "POST", url: myurl, data: { name: 'contact2.' + id, key: key } }).done(function(code) { if (code && code !== 'ERROR') { field.val(code); } }).fail(function() { alert(Joomla.JText._('CK_FAILED', 'Failed')); }); } function jSelectContact(id, name) { $ck('#popup_editionck #contactid').val(id); $ck('#popup_editionck #contactname').val(name); CKBox.close(); } function ckSetAlignButton() { var align = $ck('input[name="buttonalignement"]:checked').val(); $ck('.editfocus .contactck-actions').css('text-align', align); } function ckSetContactOptions() { var focus = $ck('.editfocus'); if ($ck('#contactckshowlabels').val() == 'placeholder') { jQuery('.editfocus .contactck-field').each(function() { jQuery(this).find('input, textarea').attr('placeholder', jQuery(this).attr('data-placeholder')); }); } else { jQuery('.editfocus .contactck-field').each(function() { jQuery(this).find('input, textarea').attr('placeholder', ''); }); } if ($ck('#contactckshowlabels').val() == '1') { $ck('.editfocus .contactck-label').show(); } else { $ck('.editfocus .contactck-label').hide(); } if ($ck('#contactcklayout').val() == 'horizontal') { $ck('.editfocus .contactck').removeClass('verticalck'); focus.removeClass('verticalck'); } else { $ck('.editfocus .contactck').addClass('verticalck'); focus.addClass('verticalck'); } $ck('.editfocus .contactck-label').width($ck('#contactcklabelswidth').val()); $ck('.contactck-label', focus).width($ck('#contactcklabelswidth').val()); $ck('.editfocus .contactck-field').width($ck('#contactckinputswidth').val()); $ck('.contactck-field', focus).width($ck('#contactckinputswidth').val()); } function ckSelectContact(id, name, c, d, url) { $ck('#contactid').val(id); $ck('#contactname').val(name); CKBox.close(); } /*--------------------------*/ function ckMakeLayoutSortable() { $ck('.editfocus .contactck-column, .editfocus .contactck-column-fullwidth').sortable({ items : '.contactck-group, .contactck-actions', connectWith: '.contactck-column, .editfocus .contactck-column-fullwidth', placeholder: 'placeholderck', update: function(e, ui){ ckUpdateFieldsList(); } }).disableSelection(); } </script>
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.06 |
proxy
|
phpinfo
|
Settings