imagespath = PAGEBUILDERCK_MEDIA_URI .'/images/menustyles/'; } public function createBlocStyles($prefix = 'bloc', $objclass = '', $expert = false, $showlinks = true, $joomlaversion = 'j3', $showtext = true, $showdimensions = true, $showdecoration = true, $showshadow = true) { if (stristr($objclass, 'wrapper')) { $this->createBackground($prefix, true); if ($prefix == 'bloc') $this->createText($prefix); if ($prefix == 'bloc') $this->createDimensions($prefix, false, false, false, true); $this->createDecoration($prefix); $this->createShadow($prefix); $this->createCustom($prefix); } elseif (stristr($objclass, 'body')) { $this->createWrapperStyles($prefix, $joomlaversion); $this->createBackground($prefix, false, JText::_('CK_PAGEBACKGROUND')); $this->createText($prefix); $this->createCustom($prefix); } else { $this->createBackground($prefix); if ($prefix != 'level1bg' && $prefix != 'level2bg' && $objclass != 'video' && $objclass != 'animnumber') if ($showtext) $this->createText($prefix, $showlinks); if ($prefix == 'level1bg' || $prefix == 'level2bg' || $expert == 'true' || (stristr($objclass, 'bannerlogo') && !stristr($objclass, 'mainbanner')) && (!stristr($objclass, 'column') && !stristr($objclass, 'flexiblemodule'))) { $useheight = true; $usewidth = true; } else { $useheight = false; $usewidth = false; } if ($showdimensions) $this->createDimensions($prefix, $useheight, $usewidth, $expert); if ($showdecoration) $this->createDecoration($prefix); if ($showshadow) $this->createShadow($prefix); $this->createCustom($prefix); } } public function createOverlayStyles($prefix = 'overlay', $usegradient = true) { $this->createBackground('overlay', $usegradient = true, $title = '', $expert = false, $useaccordion = false); } public function createTextStyles($prefix = 'bloc', $objclass = '', $fromicon = '', $removebutton = false, $showlinks = false) { if ($fromicon) $this->createIcon($prefix, $fromicon, $space = true, $align = true, $font = false, $useaccordion = false, $removebutton); $this->createText($prefix, $showlinks); $this->createDimensions($prefix); $this->createCustom($prefix); } public function createIconStyles($prefix = 'bloc', $objclass = '', $fromicon = '', $space = true, $align = true, $font = false, $removebutton = false, $iconhover = false, $fontalign = true) { $this->createIcon($prefix, $fromicon, $space, $align, $font, true, $removebutton, $fontalign, $selection = true, $iconhover); // $this->createIconText($prefix, false); $this->createBackground($prefix); $this->createDimensions($prefix); $this->createDecoration($prefix); $this->createShadow($prefix); $this->createCustom($prefix); } public function createImageStyles($prefix = 'bloc', $objclass = '', $fromicon = '') { $this->createDimensions($prefix); $this->createDecoration($prefix); $this->createShadow($prefix); $this->createCustom($prefix); } public function createNormalStyles($prefix, $showlinks = true) { $this->createBackground($prefix); $this->createText($prefix, $showlinks); $this->createDimensions($prefix); $this->createDecoration($prefix); $this->createShadow($prefix); $this->createCustom($prefix); } public function createLogoStyles($prefix) { $this->createLogo($prefix); $this->createCustom($prefix); } public function createModuleStyles($prefix = 'module') { $this->createBackground($prefix); $this->createDimensions($prefix); $this->createDecoration($prefix); $this->createShadow($prefix); $this->createCustom($prefix); } public function createModuletitleStyles($prefix = 'moduletitle') { $this->createBackground($prefix); $this->createText($prefix, false); $this->createDimensions($prefix); $this->createDecoration($prefix); $this->createShadow($prefix); $this->createCustom($prefix); } public function createDivider($prefix = 'divider') { echo PagebuilderckHelper::showParamsMessage(); $file = PAGEBUILDERCK_PATH . '/pro/includes/shapes.php'; if (PagebuilderckHelper::getParams() == true && file_exists($file)) { include($file); } } function createVideobgStyles($prefix = 'bloc') { ?>
s
s
px

s
s
*/ ?>
px
px