File manager - Edit - /home/jardides/www/Jardi-design/j37/administrator/components/com_pagebuilderck/views/page/tmpl/ajaxstylescss.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 - http://www.template-creator.com - http://www.joomlack.fr */ // No direct access to this file defined('_JEXEC') or die('Restricted access'); $app = JFactory::getApplication(); $objclass = $app->input->get('objclass', ''); $objid = $app->input->get('ckobjid', ''); $expertmode = $app->input->get('expertmode', false); $saveFunc = $app->input->get('savefunc', 'ckSaveEditionPopup', 'cmd'); $showheight = (stristr($objclass, 'mainbanner') OR stristr($objclass, 'bannerlogo') OR stristr($objclass, 'horizmenu')) ? true : false; $showwidth = ((stristr($objclass, 'wrapper') OR stristr($objclass, 'bannerlogo') OR stristr($objclass, 'banner') OR stristr($objclass, 'column')) AND !stristr($objclass, 'content')) ? true : false; $isContent = (stristr($objclass, 'content') OR stristr($objclass, 'bannerlogodesc')) ? true : false; $isBody = stristr($objclass, 'body') ? true : false; $isWrapper = stristr($objclass, 'wrapper') ? true : false; $isContainer = (stristr($objclass, 'body') OR stristr($objclass, 'wrapper') OR stristr($objclass, 'mainbanner') OR stristr($objclass, 'bannerlogo') OR stristr($objclass, 'flexiblemodules') OR stristr($objclass, 'maincontent') OR stristr($objclass, 'content') OR ( stristr($objclass, 'center') && !stristr($objclass, 'centertop') && !stristr($objclass, 'centerbottom') )) ? true : false; $isColumn = (stristr($objclass, 'column1') OR stristr($objclass, 'column2')) ? true : false; $isLogo = (stristr($objclass, 'bannerlogo')) ? true : false; $isModulesContainer = stristr($objclass, 'flexiblemodules') ? true : false; $isMaincontentContainer = stristr($objclass, 'maincontent') ? true : false; $isHoriznav = (stristr($objclass, 'horiznav') || stristr($objclass, 'bannermenu')) ? true : false; $menustyles = new MenuStyles(); ?> <div class="ckpopupoverlay"></div> <div class="ckpopupheader"> <div class="ckpopuplogo"></div> <div class="ckpopuptitle"><?php echo JText::_('CK_CSS_EDIT') . ' - [ ' . $objid . ' ]'; ?></div> <div style="float:right;"> <div class="ckclose ckcancel" onclick="$ck('#popup_editionck').empty().hide();"><?php echo JText::_('CK_CANCEL'); ?></div> <div class="ckclose cksave" onclick="<?php echo $saveFunc ?>();"><?php echo JText::_('CK_VALIDATE'); ?></div> <!--<div class="ckclose ckpaste" id="pastefromclipboard" onclick="pastefromclipboard(this)"><?php //echo JText::_('CK_PASTE'); ?></div> <div class="ckclose ckcopy" id="copytoclipboard" onclick="copytoclipboard(this)"><?php //echo JText::_('CK_COPYALLCSS'); ?></div>--> </div> <div class="clr"></div> </div> <div id="elementscontainer"> <?php if ($isLogo) { ?> <div class="menulink current" tab="tab_blocstyles"><?php echo JText::_('CK_LOGO_STYLES'); ?></div> <div class="menulink" tab="tab_logodescstyles"><?php echo JText::_('CK_LOGODESC_STYLES'); ?></div> <div class="clr"></div> <div id="elementscontent"> <div class="tab menustyles current ckproperty" id="tab_blocstyles"> <table> <tr> <td style="vertical-align:top;"> <div class="layoutinfos"> <div class="layoutinfostitle"><?php echo JText::_('CK_LOGO_INFOS'); ?></div> <div class="layoutinfosdesc"><?php echo JText::_('CK_LOGO_DESC'); ?></div> </div> </td> <td style="vertical-align:top;"> <?php echo $menustyles->createLogoStyles('bloc', $objclass) ?> </td> </tr> </table> <div class="clr"></div> </div> <div class="tab menustyles ckproperty" id="tab_logodescstyles"> <table> <tr> <td style="vertical-align:top;"> <div class="layoutinfos"> <div class="layoutinfostitle"><?php echo JText::_('CK_LOGODESC_INFOS'); ?></div> <div class="layoutinfosdesc"><?php echo JText::_('CK_LOGODESC_DESC'); ?></div> </div> </td> <td style="vertical-align:top;"> <?php echo $menustyles->createBlocStyles('logodesc', $objclass, $expertmode, false) ?> </td> </tr> </table> <div class="clr"></div> </div> </div> <?php } else { $menulinktext = $isWrapper ? JText::_('CK_WRAPPER_STYLES') : JText::_('CK_BLOCK_STYLES'); $blocinfos = $isWrapper ? JText::_('CK_WRAPPER_INFOS') : JText::_('CK_BLOC_INFOS'); $blocdesc = $isWrapper ? JText::_('CK_WRAPPER_DESC') : JText::_('CK_BLOC_DESC'); ?> <div class="menulink current" tab="tab_blocstyles"><?php echo $menulinktext; ?></div> <div class="menulink" tab="tab_animations"><?php echo JText::_('CK_ANIMATIONS'); ?></div> <div class="menulink" tab="tab_videobgstyles"><?php echo JText::_('CK_VIDEO_BACKGROUND_STYLES'); ?></div> <div class="menulink" tab="tab_overlaystyles"><?php echo JText::_('CK_OVERLAY_STYLES'); ?></div> <div class="clr"></div> <div id="elementscontent"> <div class="tab menustyles current ckproperty" id="tab_blocstyles"> <table> <tr> <td style="vertical-align:top;"> <div class="layoutinfos"> <div class="layoutinfostitle"><?php echo $blocinfos; ?></div> <div class="layoutinfosdesc"><?php echo $blocdesc; ?></div> </div> </td> <td style="vertical-align:top;"> <?php echo $menustyles->createBlocStyles('bloc', $objclass, $expertmode) ?> </td> </tr> </table> <div class="clr"></div> </div> <div class="tab menustyles ckproperty" id="tab_animations"> <table> <tr> <td style="vertical-align:top;"> <div class="layoutinfos"> <div class="layoutinfostitle"><?php echo JText::_('CK_ANIMATIONS_INFOS'); ?></div> <div class="layoutinfosdesc"><?php echo JText::_('CK_ANIMATIONS_DESC'); ?></div> </div> </td> <td style="vertical-align:top;"> <?php echo $menustyles->createAnimations('bloc') ?> </td> </tr> </table> <div class="clr"></div> </div> <div class="tab menustyles ckproperty" id="tab_videobgstyles"> <table> <tr> <td style="vertical-align:top;"> <div class="layoutinfos"> <div class="layoutinfostitle"><?php echo JText::_('CK_VIDEO_BACKGROUND_INFOS'); ?></div> <div class="layoutinfosdesc"><?php echo JText::_('CK_VIDEO_BACKGROUND_DESC'); ?></div> </div> </td> <td style="vertical-align:top;"> <?php echo $menustyles->createVideobgStyles() ?> </td> </tr> </table> <div class="clr"></div> </div> <div class="tab menustyles ckproperty" id="tab_overlaystyles"> <table> <tr> <td style="vertical-align:top;"> <div class="layoutinfos"> <div class="layoutinfostitle"><?php echo JText::_('CK_OVERLAY_INFOS'); ?></div> <div class="layoutinfosdesc"><?php echo JText::_('CK_OVERLAY_DESC'); ?></div> </div> </td> <td style="vertical-align:top;"> <?php echo $menustyles->createOverlayStyles() ?> </td> </tr> </table> <div class="clr"></div> </div> </div> <?php } ?> </div> <?php if (!$isLogo) { ?> <div id="previewarea" class="clearfix" style="margin: 20px 20px 20px 250px;"> <div class="container-fluid workspace" style="position:relative;"> <div class="previewareatitle"><?php echo JText::_('CK_PREVIEWAREA_TITLE'); ?></div> <div id="previewareabloc"> <div class="ckstyle"></div> <div class="inner clearfix"> </div> </div> </div> </div> <?php } ?> <div class="clr"></div> <script language="javascript" type="text/javascript"> var focus = $ck('.cssfocus'); $ck('#previewareabloc > .inner').html(focus.find('> .inner').html()); $ck('#previewareabloc > .inner').find('.addcontent').remove(); if (focus.hasClass('rowck')) { $ck('#previewareabloc').addClass('row-fluid'); } $ck('#elementscontent div.tab:not(.current)').hide(); $ck('.menulink', $ck('#elementscontainer')).each(function(i, tab) { $ck(tab).click(function() { $ck('#elementscontent div.tab').hide(); $ck('.menulink', $ck('#elementscontainer')).removeClass('current'); if ($ck('#' + $ck(tab).attr('tab')).length) $ck('#' + $ck(tab).attr('tab')).show(); $ck(this).addClass('current'); }); }); ckInitColorPickers(); initModalPopup(); ckInitAccordions(); </script> <?php exit();
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.03 |
proxy
|
phpinfo
|
Settings