File: D:/HostingSpaces/PvdBoogaard/indoorski.nl/backup/oude-site/cms/includes/sections/viewarchive.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_viewarchive {
public function ProcessBlock($styleGuideObj, $domElement, $attributes){
$thisElement = iwp_domhelper::GetElementByClass($domElement, 'tplflag-archive-breadcrumb-replace');
$thisElement->parentNode->insertBefore(iwp_domhelper::NewDOMText('{$archiveBreadcrumb}'), $thisElement);
$thisElement->parentNode->removeChild($thisElement);
iwp_domhelper::modifyTagByClassName($domElement, 'tplflag-archive-breadcrumb', '{$archiveBreadcrumb}');
iwp_domhelper::modifyTagByClassName($domElement, 'tplvar-archive-title', '{$archiveTitle}');
iwp_domhelper::modifyTagByClassName($domElement, 'tplflag-archive-paging', '{$archivePaging}');
iwp_domhelper::modifyTagByClassName($domElement, 'tplflag-archive-contentlist', "{if \$hasContent}\n{\$archiveContentList}\n{else}\n{\$noContentMsg}\n{/if}");
iwp_domhelper::modifyTagByClassName($domElement, 'tplflag-archive-subarchive', '{$archiveSubArchive}');
return iwp_domhelper::outerHTML($domElement);
}
}