HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/PvdBoogaard/indoorski.nl/backup/oude-site/cms/includes/sections/viewcategory.php
<?php
/**
 * This file contains the iwp_styleguide class.
 *
 * @author Jordie <jordie+code@interspire.com>
 *
 * @package IWP
 * @subpackage IWP_API
 */

/**
 * This class extends upon the base iwp_base class.
 * This file deals specifically with the style guide for themes
 *
 * @package IWP
 * @subpackage IWP_API
 *
 * @see iwp_base
 */

class iwp_section_viewcategory {

	public function ProcessBlock($styleGuideObj, $domElement, $attributes){

		$thisElement = iwp_domhelper::GetElementByClass($domElement, 'tplflag-category-breadcrumb-replace');
		$thisElement->parentNode->insertBefore(iwp_domhelper::NewDOMText('{$categoryBreadcrumb}'), $thisElement);
		$thisElement->parentNode->removeChild($thisElement);

		iwp_domhelper::modifyTagByClassName($domElement, 'tplflag-category-breadcrumb', '{$categoryBreadcrumb}');

		iwp_domhelper::modifyTagByClassName($domElement, 'tplvar-category-title', '{$categoryTitle}');
		iwp_domhelper::modifyTagByClassName($domElement, 'tplvar-category-description', '{$categoryDescription}');

		iwp_domhelper::modifyTagByClassName($domElement, 'tplflag-category-paging', '{$categoryPaging}');
		iwp_domhelper::modifyTagByClassName($domElement, 'tplflag-category-contentlist', "{if \$hasContent}\n{\$categoryContentList}\n{else}\n{\$noContentMsg}\n{/if}");
		iwp_domhelper::modifyTagByClassName($domElement, 'tplflag-category-subcategories', '{$categorySubCategories}');


		return iwp_domhelper::outerHTML($domElement);
	}
}